redromnon / HeroicBashLauncher

Directly launch any Epic Games Store and GOG game from anywhere without Heroic on Linux.
GNU General Public License v3.0
353 stars 17 forks source link

[Bug] Divinity Original Sin 2 - Definitive Edition won't launch in Gamemode but does from Desktop #99

Closed N14tr0 closed 2 years ago

N14tr0 commented 2 years ago

Describe the bug I installed DOS2 - DE from the Heroic Games Launcher on my Steam Deck and ran it from there (after some Tweaks e.g. symlinking folders and a executable - because you have to (Guide to it: https://www.reddit.com/r/DivinityOriginalSin/comments/alrg6u/divinity_original_sin_2_de_on_linux_with/ij9iz08/?context=10000)).

Afterwards, I played a bit and closed it. Afterwards I created the .sh from your Script, restarted Steam and tried it from the Steam Desktop Version - works like a charm. Same behavior, if I try to run the .sh from the /Games/-Folder directly. So I booted back into the Gamemode and ran the Shortcut from my Libary. Nearly instant he provides me with the messagebox, which tells me that the Bash Launcher could not start Divinity Original Sin 2 - DE and I should check the logs. I tried to check the log, but could not understand, what causes the issue. My guess would be, that the gamingmode can't handle the Symlink(?)

Every other game (Pathfinder, XCOM2, For the King) works as expected - no matter the way I execute the .sh

To Reproduce Steps to reproduce the behavior:

  1. Go to the Steam Deck Gamingmode
  2. Click on the Shortcut for DOS2 created from the Bash Launcher
  3. Wait about a second
  4. See error

In Case of Desktop:

  1. Run the Shortcut from the Steam-Desktop-Client
  2. Game starts

Expected behavior The game to start - the same as if I ran the file directly

Details

Additional context Here are some logs - directly from the Heroic Launcher, from the Script if it works and from the script, if it doesn't: Direct Launch from the Heroic Launcher:

System Info:
Heroic Version: 2.4.0 Chopper
Legendary Version:  0.20.27 Dark Energy (hotfix)
OS: Freedesktop.org KERNEL: 5.13.0-valve21.1-1-neptune-02211-gc54cda5a36f3 ARCH: x64
CPU: AMD Custom APU 0405 @1.82 GOVERNOR: schedutil
RAM: Total: 14.49 GiB Available: 11.25 GiB
GRAPHICS: GPU0: Device 163f VRAM: 512MB DRIVER:  
PROTOCOL: x11
Game Settings: {
    "autoInstallDxvk": false,
    "autoInstallVkd3d": false,
    "preferSystemLibs": false,
    "autoSyncSaves": true,
    "maxSharpness": 2,
    "language": "",
    "launcherArgs": "--skip-launcher",
    "nvidiaPrime": false,
    "enviromentOptions": [],
    "wrapperOptions": [],
    "savesPath": "/home/deck/Games/Heroic/Prefixes/Divinity - Original Sin 2/dosdevices/c:/users/deck/Documents/Larian Studios/Divinity Original Sin 2 Definitive Edition/PlayerProfiles",
    "showFps": false,
    "targetExe": "",
    "useGameMode": false,
    "winePrefix": "/home/deck/Games/Heroic/Prefixes/Divinity - Original Sin 2",
    "wineVersion": {
        "bin": "/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-25/bin/wine",
        "name": "Wine - Wine-GE-Proton7-25",
        "type": "wine",
        "lib": "/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-25/lib64",
        "lib32": "/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-25/lib",
        "wineserver": "/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-25/bin/wineserver",
        "wineboot": "/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-25/bin/wineboot"
    },
    "useSteamRuntime": true,
    "eacRuntime": false,
    "battlEyeRuntime": false,
    "gogSaves": []
}

Game launched at: Fri Aug 12 2022 18:09:15 GMT+0200 (Central European Summer Time)

Launch Command: WINEPREFIX="/home/deck/Games/Heroic/Prefixes/Divinity - Original Sin 2" LD_LIBRARY_PATH=/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-25/lib:/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-25/lib64: /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl launch "/run/media/mmcblk0p1/Heroic/Divinity - Original Sin 2" 1584823040 --wine /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-25/bin/wine --wine-prefix "/home/deck/Games/Heroic/Prefixes/Divinity - Original Sin 2" --os windows --skip-version-check --skip-launcher

Game Log:
wine: using kernel write watches (experimental).
wineserver: using server-side synchronization.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
wine: using kernel write watches (experimental).
002c:fixme:winediag:LdrInitializeThunk wine-staging 7.0 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
0148:fixme:thread:SetThreadIdealProcessorEx (FFFFFFFFFFFFFFFE, 000000000011FC38, 0000000000000000): stub
0148:fixme:thread:SetThreadIdealProcessorEx (FFFFFFFFFFFFFFFE, 000000000011FBF0, 0000000000000000): stub
0148:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0148:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x5a8690, format DXGI_FORMAT_B8G8R8A8_UNORM, flags 0, mode_count 0x11f720, modes (nil) partial stub!
0148:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x5a8690, format DXGI_FORMAT_B8G8R8A8_UNORM, flags 0, mode_count 0x11f720, modes 0x7fffde0db200 partial stub!
0148:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x5a8630, format DXGI_FORMAT_B8G8R8A8_UNORM, flags 0, mode_count 0x11f6f0, modes (nil) partial stub!
0148:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x5a8630, format DXGI_FORMAT_B8G8R8A8_UNORM, flags 0, mode_count 0x11f6f0, modes 0x7fffde0db200 partial stub!
0148:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011F220 1 C) semi-stub
0148:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x6310d0, format DXGI_FORMAT_B8G8R8A8_UNORM, flags 0, mode_count 0x11f4f0, modes (nil) partial stub!
0148:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x6310d0, format DXGI_FORMAT_B8G8R8A8_UNORM, flags 0, mode_count 0x11f4f0, modes 0x7fffde0dba40 partial stub!
008c:fixme:imm:ImeSetActiveContext (0x4803d0, 0): stub
008c:fixme:imm:ImmReleaseContext (0000000000010020, 00000000004803D0): stub
0148:fixme:imm:ImmReleaseContext (0000000000040072, 00000000003403D0): stub
0148:fixme:msctf:ThreadMgr_ActivateEx Unimplemented flags 0x4
0148:fixme:imm:ImeSetCompositionString PROBLEM: This only sets the wine level string
0148:fixme:imm:ImeSetCompositionString Reading string unimplemented
0148:fixme:imm:NotifyIME NI_CLOSECANDIDATE
0148:fixme:imm:ImeSetActiveContext (0x3403d0, 1): stub
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
0148:fixme:d3d11:d3d_rasterizer_state_init Ignoring MultisampleEnable 0x1.
0148:fixme:dxgi:wined3d_swapchain_desc_from_dxgi Ignoring alpha mode 0.
0148:fixme:dxgi:wined3d_swapchain_flags_from_dxgi Unhandled flags 0x800.
0148:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
0148:fixme:d3d:wined3d_swapchain_init Unimplemented swap effect 0x2.
0148:fixme:dxgi:dxgi_output_GetDesc1 iface 0x632e70, desc 0x11f810 semi-stub!
0148:fixme:dxgi:d3d11_swapchain_ResizeBuffers Ignoring flags 0x802.
0148:fixme:dxgi:d3d11_swapchain_GetDesc Ignoring ScanlineOrdering and Scaling.
0180:fixme:thread:SetThreadIdealProcessorEx (FFFFFFFFFFFFFFFE, 000000000A59FF80, 0000000000000000): stub
0184:fixme:thread:SetThreadIdealProcessorEx (FFFFFFFFFFFFFFFE, 000000000A73FF80, 0000000000000000): stub
0188:fixme:thread:SetThreadIdealProcessorEx (FFFFFFFFFFFFFFFE, 000000000B98FF80, 0000000000000000): stub
018c:fixme:thread:SetThreadIdealProcessorEx (FFFFFFFFFFFFFFFE, 000000000C2EFF80, 0000000000000000): stub
0190:fixme:thread:SetThreadIdealProcessorEx (FFFFFFFFFFFFFFFE, 000000000CC8FF80, 0000000000000000): stub
0148:fixme:thread:SetThreadIdealProcessorEx (00000000000004D8, 000000000011FB30, 0000000000000000): stub
0194:fixme:thread:SetThreadIdealProcessorEx (00000000000004FC, 000000000D68FD50, 0000000000000000): stub
013c:fixme:oleacc:find_class_data unhandled window class: L"Static"
0148:fixme:xinput:XInputGetBatteryInformation index 0, type 0, battery 000000000011F6B8.
017c:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
01ac:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux0
01ac:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux1
01ac:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux0
01ac:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux1
01bc:fixme:thread:NtSetInformationThread Can't set other thread's platform description
01c0:fixme:thread:NtSetInformationThread Can't set other thread's platform description
01c8:fixme:thread:NtSetInformationThread Can't set other thread's platform description
01cc:fixme:thread:NtSetInformationThread Can't set other thread's platform description
01e0:fixme:thread:NtSetInformationThread Can't set other thread's platform description
01e4:fixme:thread:NtSetInformationThread Can't set other thread's platform description
0148:fixme:explorerframe:taskbar_list_SetProgressState iface 0000000000678790, hwnd 0000000000040072, flags 1 stub!
0148:fixme:explorerframe:taskbar_list_SetProgressValue iface 0000000000678790, hwnd 0000000000040072, ullCompleted 1, ullTotal 64 stub!
01ec:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000014A4F3D0 1 C) semi-stub
01ec:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000014A4F100 1 C) semi-stub
01ec:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000014A4F590 1 C) semi-stub
01ec:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000014A4EC60 1 C) semi-stub
Launch command: ['/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-25/bin/wine', '/run/media/mmcblk0p1/Heroic/Divinity - Original Sin 2/bin/SupportTool.exe', '--skip-version-check', '--skip-launcher']

Launch from the Bash-File but from the /Games/-Folder or via the shortcut in the Steam-Desktop:

3.32.0
Using Bash Launcher v2.9.0
NOTE - This is an independent project and not affiliated with Heroic Games Launcher.

wine: using kernel write watches (experimental).
wineserver: using server-side synchronization.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
wine: using kernel write watches (experimental).
002c:fixme:winediag:LdrInitializeThunk wine-staging 7.0 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
0144:fixme:thread:SetThreadIdealProcessorEx (FFFFFFFFFFFFFFFE, 000000000011FC38, 0000000000000000): stub
0144:fixme:thread:SetThreadIdealProcessorEx (FFFFFFFFFFFFFFFE, 000000000011FBF0, 0000000000000000): stub
0144:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0144:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x5785d0, format DXGI_FORMAT_B8G8R8A8_UNORM, flags 0, mode_count 0x11f6f0, modes (nil) partial stub!
0144:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x5785d0, format DXGI_FORMAT_B8G8R8A8_UNORM, flags 0, mode_count 0x11f6f0, modes 0x7fffde0db200 partial stub!
0144:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011F220 1 C) semi-stub
0144:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x621010, format DXGI_FORMAT_B8G8R8A8_UNORM, flags 0, mode_count 0x11f4f0, modes (nil) partial stub!
0144:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x621010, format DXGI_FORMAT_B8G8R8A8_UNORM, flags 0, mode_count 0x11f4f0, modes 0x7fffde0dba40 partial stub!
0070:fixme:imm:ImeSetActiveContext (0x4803d0, 0): stub
0070:fixme:imm:ImmReleaseContext (0000000000010020, 00000000004803D0): stub
0144:fixme:imm:ImmReleaseContext (000000000003006C, 00000000003403D0): stub
0144:fixme:msctf:ThreadMgr_ActivateEx Unimplemented flags 0x4
0144:fixme:imm:ImeSetCompositionString PROBLEM: This only sets the wine level string
0144:fixme:imm:ImeSetCompositionString Reading string unimplemented
0144:fixme:imm:NotifyIME NI_CLOSECANDIDATE
0144:fixme:imm:ImeSetActiveContext (0x3403d0, 1): stub
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
0144:fixme:d3d11:d3d_rasterizer_state_init Ignoring MultisampleEnable 0x1.
0144:fixme:dxgi:wined3d_swapchain_desc_from_dxgi Ignoring alpha mode 0.
0144:fixme:dxgi:wined3d_swapchain_flags_from_dxgi Unhandled flags 0x800.
0144:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
0144:fixme:d3d:wined3d_swapchain_init Unimplemented swap effect 0x2.
0144:fixme:dxgi:dxgi_output_GetDesc1 iface 0x622db0, desc 0x11f810 semi-stub!
0144:fixme:dxgi:d3d11_swapchain_ResizeBuffers Ignoring flags 0x802.
0144:fixme:dxgi:d3d11_swapchain_GetDesc Ignoring ScanlineOrdering and Scaling.
017c:fixme:thread:SetThreadIdealProcessorEx (FFFFFFFFFFFFFFFE, 000000000A58FF80, 0000000000000000): stub
0180:fixme:thread:SetThreadIdealProcessorEx (FFFFFFFFFFFFFFFE, 000000000A72FF80, 0000000000000000): stub
0184:fixme:thread:SetThreadIdealProcessorEx (FFFFFFFFFFFFFFFE, 000000000B97FF80, 0000000000000000): stub
0188:fixme:thread:SetThreadIdealProcessorEx (FFFFFFFFFFFFFFFE, 000000000C2DFF80, 0000000000000000): stub
018c:fixme:thread:SetThreadIdealProcessorEx (FFFFFFFFFFFFFFFE, 000000000CC9FF80, 0000000000000000): stub
0144:fixme:thread:SetThreadIdealProcessorEx (00000000000004D4, 000000000011FB30, 0000000000000000): stub
0190:fixme:thread:SetThreadIdealProcessorEx (00000000000004F8, 000000000D69FD50, 0000000000000000): stub
0138:fixme:oleacc:find_class_data unhandled window class: L"Static"
0144:fixme:xinput:XInputGetBatteryInformation index 0, type 0, battery 000000000011F6B8.
0178:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
01b4:fixme:thread:NtSetInformationThread Can't set other thread's platform description
01b0:fixme:thread:NtSetInformationThread Can't set other thread's platform description
01b8:fixme:thread:NtSetInformationThread Can't set other thread's platform description
01bc:fixme:thread:NtSetInformationThread Can't set other thread's platform description
01a8:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux0
01a8:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux1
01a8:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux0
01a8:fixme:pulse:pulse_channel_map_to_channel_mask Unhandled channel aux1
01d4:fixme:thread:NtSetInformationThread Can't set other thread's platform description
01d8:fixme:thread:NtSetInformationThread Can't set other thread's platform description
Launch command: ['/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-25/bin/wine', '/run/media/mmcblk0p1/Heroic/Divinity - Original Sin 2/bin/SupportTool.exe', '--skip-launcher']

And finally from the Bash-File via the Gamemode (the console-like-UI) (It's missing the --skip-version-check here, but if added, won't do much either)

ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
3.32.0
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Using Bash Launcher v2.9.0
NOTE - This is an independent project and not affiliated with Heroic Games Launcher.

ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
wine: using kernel write watches (experimental).
wineserver: using server-side synchronization.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
wine: using kernel write watches (experimental).
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
002c:fixme:winediag:LdrInitializeThunk wine-staging 7.0 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
wine: using kernel write watches (experimental).
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
wine: using kernel write watches (experimental).
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
wine: using kernel write watches (experimental).
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
wine: using kernel write watches (experimental).
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
wine: using kernel write watches (experimental).
wine: using kernel write watches (experimental).
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
wine: using kernel write watches (experimental).
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment.
ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment.
ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
wine: using kernel write watches (experimental).
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
wine: using kernel write watches (experimental).
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
wine: using kernel write watches (experimental).
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
wine: using kernel write watches (experimental).
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
wine: using kernel write watches (experimental).
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
wine: using kernel write watches (experimental).
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
wine: using kernel write watches (experimental).
wine: overriding CPU configuration, 8 logical CPUs, host CPUs 0,1,2,3,4,5,6,7.
014c:err:module:import_dll Library dxgi.dll (which is needed by L"C:\\windows\\system32\\d3d11.dll") not found
014c:err:module:import_dll Library d3d11.dll (which is needed by L"Z:\\run\\media\\mmcblk0p1\\Heroic\\Divinity - Original Sin 2\\bin\\SupportTool.exe") not found
014c:err:module:LdrInitializeThunk Importing dlls for L"Z:\\run\\media\\mmcblk0p1\\Heroic\\Divinity - Original Sin 2\\bin\\SupportTool.exe" failed, status c0000135
Launch command: ['/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton7-25/bin/wine', '/run/media/mmcblk0p1/Heroic/Divinity - Original Sin 2/bin/SupportTool.exe', '--skip-launcher']
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 84 != 2, skipping destruction (fork without exec?)

Quite the long issue, and kinda minor, because I can just launch it from the desktop mode but that forfeits a bit of the purpose. :) If I can try anything, please let me know.

Thanks for your time and your work!

redromnon commented 2 years ago

The critical errors in the last log include -

014c:err:module:import_dll Library dxgi.dll (which is needed by L"C:\\windows\\system32\\d3d11.dll") not found
014c:err:module:import_dll Library d3d11.dll (which is needed by L"Z:\\run\\media\\mmcblk0p1\\Heroic\\Divinity - Original Sin 2\\bin\\SupportTool.exe") not found

Is it not able to access those files? Since I don't own a Deck, I don't know if the gamemode supports symlinks.

I can think of two ways -

  1. Click on Auto Install DXVK in the game settings since that installs DXVK (a DX11 to Vulkan translation layer) although I'm not sure it'll be of much help
  2. Use Proton-GE instead of Wine-GE
  3. As a last resort, use Heroic's new Add To Steam feature instead (Game Settings -> Tools)
N14tr0 commented 2 years ago

Thanks for your answer. I was able to try your solutions.

1) Did it, even deleted the whole prefix in order to let it install DXVK etc. fresh and clean - no difference 2) Won't even start with Proton in the first place 3) That works. So it really seems, that the Gamemode cant handle the Symlinks. (Did not try that before, because there was a bug in the 2.4.0 Beta, which prevented the launch via this option)

So in that case, I will fallback to the third option. But thanks for your help! :)