You are not logged in.

#1 2024-08-12 16:54:39

hori
Member
Registered: 2024-08-12
Posts: 4

[Solved] Battle.net & Diablo 4 on Lutris

I have used Battle.net and played Warcraft 3 before on this system. Today i installed Diablo 4 which had an issue (it froze in the main menu). I tried to launch it with Proton Experimental which didn't help. I tried around with the rest of the runner options but neither did help or even started the Battle.net application. When i changed back to Wine-GE-8-26-x86_64 now Battle.net won't launch. It reaches the authentication phase and a window appears which has no content. Fresh starts of Lutris or the whole system didn't change this. I did not upgrade the kernel and the nvidia driver today, i usually wait a couple days to see if it borks it for someone before i do it.
I think nothing has changed since but something did and i can't find what.

Lutris has this during the attempt of starting Battle.net:

> lutris -d
2024-08-12 18:30:59,367: Command 'vulkaninfo' not found on your system
2024-08-12 18:30:59,367: Command 'fluidsynth' not found on your system
2024-08-12 18:30:59,698: The Battle.net source is unavailable because Google protobuf could not be loaded: Descriptors cannot be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
INFO     2024-08-12 18:30:59,786 [application.do_command_line:479]:Starting Lutris 0.5.17
DEBUG    2024-08-12 18:30:59,787 [system._execute:109]:Executing lspci
INFO     2024-08-12 18:30:59,795 [startup.run_all_checks:120]:NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile] (10de:2860 17aa:3b5a nvidia) Driver 555.58.02
DEBUG    2024-08-12 18:30:59,906 [xrandr.get_resolutions:91]:Retrieving resolution list
DEBUG    2024-08-12 18:30:59,908 [xrandr._get_vidmodes:18]:Retrieving 60 video modes from XrandR
DEBUG    2024-08-12 18:30:59,933 [path_cache._update_missing_games:114]:Checking for missing games
DEBUG    2024-08-12 18:30:59,947 [api.check_stale_runtime_versions:52]:Modified at Mon 12 Aug 2024 17:12:50 , will update after Mon 12 Aug 2024 23:12:50
DEBUG    2024-08-12 18:30:59,952 [lutriswindow.create_runtime_updater_cb:1244]:Runtime up to date
DEBUG    2024-08-12 18:31:06,680 [grid.on_item_activated:97]:Item activated: 1
DEBUG    2024-08-12 18:31:06,742 [xrandr.get_outputs:26]:Retrieving display outputs
DEBUG    2024-08-12 18:31:06,744 [xrandr._get_vidmodes:18]:Retrieving 60 video modes from XrandR
lutris-wrapper: Blizzard Battle.net
Started initial process 64052 from gamemoderun /home/hori/.local/share/lutris/runners/wine/wine-ge-8-26-x86_64/bin/wine /home/hori/Games/battlenet/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe
Start monitoring process.
fsync: up and running.
wine: Using setpriority to control niceness in the [-19,19] range
libEGL warning: egl: failed to create dri2 screen
wine: configuration in L"/home/hori/Games/battlenet" has been updated.
Initial process has exited (return code: 0)
wine client error:670: DEBUG    2024-08-12 18:34:55,934 [application.show_window:394]:Showing window EditGameConfigDialog1
DEBUG    2024-08-12 18:34:56,923 [xrandr.get_resolutions:91]:Retrieving resolution list
DEBUG    2024-08-12 18:34:56,926 [xrandr._get_vidmodes:18]:Retrieving 60 video modes from XrandR
DEBUG    2024-08-12 18:35:26,994 [process._read_content:37]:[Errno 2] No such file or directory: '/proc/66733/environ'
DEBUG    2024-08-12 18:35:28,996 [process._read_content:37]:[Errno 2] No such file or directory: '/proc/66742/environ'

Going trough previous, somewhat similar issues i have gathered some information:

x lspci -k | grep -A 3 -E "(VGA|3D)"
01:00.0 VGA compatible controller: NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile] (rev a1)
	Subsystem: Lenovo Device 3b5a
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

journalctl -b full log:
https://0x0.st/s/HApyCYX_mT2WdnqCZWKroQ/XWES.txt

Vulkan drivers

> pacman -Qs vulkan
local/lib32-nvidia-utils 555.58.02-1
    NVIDIA drivers utilities (32-bit)
local/lib32-vulkan-icd-loader 1.3.279-1
    Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/nvidia-utils 555.58.02-1
    NVIDIA drivers utilities
local/qt6-shadertools 6.7.2-1 (qt6)
    Provides functionality for the shader pipeline that allows Qt Quick to operate on Vulkan, Metal, and Direct3D, in
    addition to OpenGL
local/spirv-tools 2024.2-1 (vulkan-devel)
    API and commands for processing SPIR-V modules
local/vulkan-headers 1:1.3.285-1 (vulkan-devel)
    Vulkan header files
local/vulkan-icd-loader 1.3.285-1
    Vulkan Installable Client Driver (ICD) Loader
local/vulkan-validation-layers 1.3.275-1 (vulkan-devel)
    Vulkan Validation Layers

printenv

> printenv
SHELL=/usr/bin/bash
WINDOWID=109873944630704
COLORTERM=truecolor
HYPRLAND_CMD=Hyprland
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_BACKEND=wayland
CLUTTER_BACKEND=wayland
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
DESKTOP_SESSION=hyprland
ELECTRON_OZONE_PLATFORM_HINT=wayland
HL_INITIAL_WORKSPACE_TOKEN=df01769c-7448-447a-bfa6-8fd7a10ed582
XCURSOR_SIZE=24
EDITOR=nvim
XDG_SEAT=seat0
PWD=/home/hori
XDG_SESSION_DESKTOP=Hyprland
LOGNAME=hori
QT_QPA_PLATFORMTHEME=qt5ct
XDG_SESSION_TYPE=wayland
APPIMAGELAUNCHER_DISABLE=1
MOTD_SHOWN=pam
HOME=/home/hori
LANG=en_GB.UTF-8
_JAVA_AWT_WM_NONREPARENTING=1
XDG_CURRENT_DESKTOP=Hyprland
STARSHIP_SHELL=bash
WAYLAND_DISPLAY=wayland-1
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
STARSHIP_SESSION_KEY=6518690235984711
QT_QPA_PLATFORM=wayland;xcb
ALACRITTY_SOCKET=/run/user/1000/Alacritty-wayland-1-62194.sock
XDG_SESSION_CLASS=user
TERM=alacritty
USER=hori
OZONE_PLATFORM=wayland
HYPRLAND_INSTANCE_SIGNATURE=918d8340afd652b011b937d29d5eea0be08467f5_1723475541_1987711410
DISPLAY=:1
SHLVL=2
MOZ_ENABLE_WAYLAND=1
LC_MESSAGES=en_GB.UTF-8
XDG_VTNR=1
XDG_SESSION_ID=2
LC_CTYPE=en_GB.UTF-8
XDG_RUNTIME_DIR=/run/user/1000
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
QT_AUTO_SCREEN_SCALE_FACTOR=1
GDK_BACKEND=wayland,x11,*
PATH=/usr/lib/ccache/bin/:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
GDK_SCALE=1
ALACRITTY_LOG=/tmp/Alacritty-62194.log
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/hori
ALACRITTY_WINDOW_ID=109873944630704
_=/usr/bin/printenv

Last edited by hori (2024-08-21 08:26:30)

Offline

#2 2024-08-14 06:55:05

Funny0facer
Member
From: Germany
Registered: 2022-12-03
Posts: 158

Re: [Solved] Battle.net & Diablo 4 on Lutris

I can't help you with your Lutris environment, but you could try it using bottles https://flathub.org/apps/com.usebottles.bottles
I run WC3 and Diablo 4 using ge-proton9-11 without problems with the battle.net launcher

Offline

#3 2024-08-14 16:24:56

hori
Member
Registered: 2024-08-12
Posts: 4

Re: [Solved] Battle.net & Diablo 4 on Lutris

Its a moderate success, because Warcraft 3 runs and i can get to the main menu of Diablo4. I can even create a character but cannot start the game. Could you share what settings do you use? I'm also unable to choose fullscreen, only windowed fullscreen or windowed. Do you have any suggestions on that?

Offline

#4 2024-08-14 17:52:18

Funny0facer
Member
From: Germany
Registered: 2022-12-03
Posts: 158

Re: [Solved] Battle.net & Diablo 4 on Lutris

My bottle.yml

Arch: win64
CompatData: ''
Creation_Date: '2024-06-03 15:00:16.973949'
Custom_Path: false
DLL_Overrides: {}
DXVK: dxvk-2.4
Environment: Gaming
Environment_Variables: {}
External_Programs:
    17f20096-2945-4625-814e-fbff193be34a:
        arguments: ''
        auto_discovered: true
        executable: EALauncher.exe
        folder: /home/basti/.var/app/com.usebottles.bottles/data/bottles/bottles/Win10Gaming/drive_c/Program
            Files/Electronic Arts/EA Desktop/EA Desktop
        icon: com.usebottles.bottles-program
        id: 17f20096-2945-4625-814e-fbff193be34a
        name: EALauncher
        path: C:\Program Files\Electronic Arts\EA Desktop\EA Desktop\EALauncher.exe
        removed: true
    60f22908-a9ae-43cd-90e9-56be4fc9673b:
        arguments: ''
        executable: UbisoftConnect.exe
        id: 60f22908-a9ae-43cd-90e9-56be4fc9673b
        name: Ubisoft Connect
        path: C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\UbisoftConnect.exe
    75a967fe-771e-43bc-bfdb-861562509fb0:
        executable: Battle.net.exe
        folder: /home/basti/.var/app/com.usebottles.bottles/data/bottles/bottles/Win10Gaming/drive_c/Program
            Files (x86)/Battle.net
        id: 75a967fe-771e-43bc-bfdb-861562509fb0
        name: Battle.net
        path: /home/basti/.var/app/com.usebottles.bottles/data/bottles/bottles/Win10Gaming/drive_c/Program
            Files (x86)/Battle.net/Battle.net.exe
    784a5f67-2478-42e3-9c6b-8ce4c88c12a3:
        arguments: -opengl -SkipBuildPatchPrereq
        executable: EpicGamesLauncher.exe
        id: 784a5f67-2478-42e3-9c6b-8ce4c88c12a3
        name: Epic Games Store
        path: C:\Program Files (x86)\Epic Games\Launcher\Portal\Binaries\Win32\EpicGamesLauncher.exe
    7c96df1e-e060-4f36-a801-087a738b37bc:
        arguments: ''
        auto_discovered: true
        executable: EAUpdater.exe
        folder: /home/basti/.var/app/com.usebottles.bottles/data/bottles/bottles/Win10Gaming/drive_c/Program
            Files/Electronic Arts/EA Desktop/EA Desktop
        icon: com.usebottles.bottles-program
        id: 7c96df1e-e060-4f36-a801-087a738b37bc
        name: EAUpdater
        path: C:\Program Files\Electronic Arts\EA Desktop\EA Desktop\EAUpdater.exe
        removed: true
    f73e0c43-1fe7-4ca0-adf2-35336fd14ebb:
        arguments: ''
        executable: EADesktop.exe
        id: f73e0c43-1fe7-4ca0-adf2-35336fd14ebb
        name: EA Client
        path: C:\Program Files\Electronic Arts\EA Desktop\EA Desktop\EADesktop.exe
Installed_Dependencies:
- d3dx9
- msls31
- arial32
- times32
- courie32
- d3dcompiler_43
- d3dcompiler_47
- mono
- gecko
- riched20
- arialb32
- vcredist2019
- andale32
- comic32
- georgi32
- impact32
- tahoma32
- trebuc32
- verdan32
- webdin32
- allfonts
- vcredist2015
Language: sys
LatencyFleX: latencyflex-v0.1.1
NVAPI: dxvk-nvapi-v0.7.0
Name: Win10Gaming
Parameters:
    custom_dpi: 96
    decorated: true
    discrete_gpu: true
    dxvk: true
    dxvk_nvapi: false
    fixme_logs: false
    fsr: false
    fsr_quality_mode: none
    fsr_sharpening_strength: 2
    fullscreen_capture: false
    gamemode: false
    gamescope: false
    gamescope_borderless: false
    gamescope_fps: 0
    gamescope_fps_no_focus: 0
    gamescope_fullscreen: true
    gamescope_game_height: 0
    gamescope_game_width: 0
    gamescope_scaling: false
    gamescope_window_height: 0
    gamescope_window_width: 0
    latencyflex: false
    mangohud: false
    mouse_warp: true
    obsvkc: false
    pulseaudio_latency: false
    renderer: gl
    sandbox: false
    sync: fsync
    take_focus: false
    use_be_runtime: true
    use_eac_runtime: true
    use_runtime: false
    use_steam_runtime: true
    versioning_automatic: false
    versioning_compression: false
    versioning_exclusion_patterns: false
    virtual_desktop: false
    virtual_desktop_res: 1280x720
    vkbasalt: false
    vkd3d: true
    vmtouch: false
    vmtouch_cache_cwd: false
Path: Win10Gaming
Runner: ge-proton9-11
RunnerPath: ''
Sandbox:
    share_net: false
    share_sound: false
State: 0
Uninstallers: {}
Update_Date: '2024-08-14 19:46:00.206492'
VKD3D: vkd3d-proton-2.13
Versioning: false
Versioning_Exclusion_Patterns: []
Windows: win10
WorkingDir: ''
data: {}
run_in_terminal: false
session_arguments: ''

For me, there is also no "Fullscreen" to choose from within Diablo 4, but I am happy with windowed fullscreen.

Last edited by Funny0facer (2024-08-14 17:55:58)

Offline

#5 2024-08-17 11:34:52

hori
Member
Registered: 2024-08-12
Posts: 4

Re: [Solved] Battle.net & Diablo 4 on Lutris

After a day, it works now with Bottles. Thanks for the suggestion!

Offline

#6 2024-08-17 22:10:47

Funny0facer
Member
From: Germany
Registered: 2022-12-03
Posts: 158

Re: [Solved] Battle.net & Diablo 4 on Lutris

remember to add the prefix [SOLVED] to the title of the first post. So people looking for solutions will have an easier time.

Offline

#7 2024-08-21 08:26:46

hori
Member
Registered: 2024-08-12
Posts: 4

Re: [Solved] Battle.net & Diablo 4 on Lutris

apologies, appended.

Offline

Board footer

Powered by FluxBB