Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
7.93k stars 420 forks source link

Bug when shifting from CrossOver & DXVK to GPTK: Launcher still calls Vulkan drivers #3953

Open le-flo opened 1 month ago

le-flo commented 1 month ago

Describe the bug

Running Heroic 2.15.1 on macOS 14.6.1 with an M2 CPU

Tried to shift from CrossOver 23.7.1.-1 & DXVK to GPTK (both latest 2.0 and stable 1.1). Any game requiring DX11/12 hardware I tried does quit on launch. Reason seems to be that Heroic still calls Vulkan drivers. See logs.

Tried GPTK builds via the Wine Manager as well as @Gcenx pre-built version. Could't check with a freshly compiled version as Apples script still seems broken, even using Xcode CLI 5.1

Add logs

-- HEROIC LOG -- 
(17:14:54) INFO:    [GlobalConfig]:     Searching for Gaming Porting Toolkit Wine
(17:14:54) INFO:    [GlobalConfig]:     Found Game Porting Toolkit Wine at /Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/bin
(17:14:56) INFO:    [Backend]:          1495134320: Setting wineVersion to {"wineserver":"/Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/bin/wineserver","lib":"/Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/lib","lib32":"/Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/lib","bin":"/Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/bin/wine64","name":"Game-Porting-Toolkit-latest","type":"toolkit"}
(17:15:00) INFO:    [Backend]:          Launching The Witcher 3: Wild Hunt - Complete Edition (1495134320)
(17:15:00) INFO:    [Backend]:          Downloading saves for The Witcher 3: Wild Hunt - Complete Edition
(17:15:00) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH="/Users/florian/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/arm64/darwin/gogdl --auth-config-path "/Users/florian/Library/Application Support/heroic/gog_store/auth.json" auth
(17:15:00) INFO:    [Backend]:          Preventing machine to sleep
(17:15:05) INFO:    [Gog]:              Syncing saves for The Witcher 3: Wild Hunt - Complete Edition
(17:15:05) INFO:    [Gog]:              Syncing saves for The Witcher 3: Wild Hunt - Complete Edition: GOGDL_CONFIG_PATH="/Users/florian/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/arm64/darwin/gogdl --auth-config-path "/Users/florian/Library/Application Support/heroic/gog_store/auth.json" save-sync "/Users/florian/Games/Heroic/Prefixes/default/The Witcher 3 Wild Hunt - Complete Edition/dosdevices/c:/users/crossover/Documents/The Witcher 3" 1495134320 --os windows --ts 1723647944.261017 --name saves --skip-upload
(17:15:12) INFO:    [Backend]:          Saves for The Witcher 3: Wild Hunt - Complete Edition downloaded
(17:15:12) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:15:12) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH="/Users/florian/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/arm64/darwin/gogdl --auth-config-path "/Users/florian/Library/Application Support/heroic/gog_store/auth.json" auth
(17:15:12) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:15:12) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:15:12) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:15:12) DEBUG:   [Backend]:          Running Wine command: wineboot --init
(17:15:17) INFO:    [Gog]:              GOG presence set
(17:15:23) INFO:    [Backend]:          Created/Updated Wineprefix at /Users/florian/Games/Heroic/Prefixes/default/The Witcher 3 Wild Hunt - Complete Edition
(17:15:23) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:15:23) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:15:23) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:15:23) DEBUG:   [Backend]:          Running Wine command: wineboot --init
(17:15:30) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:15:30) DEBUG:   [Backend]:          Running Wine command: cmd /c winepath -w /Users/florian/Library/Application Support/heroic/gogdlConfig/heroic_gogdl/gog-support/1495134320
(17:15:36) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:15:36) DEBUG:   [Backend]:          Running Wine command: cmd /c winepath -w /Users/florian/Games/Heroic/The Witcher 3 Wild Hunt GOTY
(17:15:42) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:15:42) DEBUG:   [Backend]:          Running Wine command: /Users/florian/Library/Application Support/heroic/tools/redist/gog/__redist/ISI/scriptinterpreter.exe /VERYSILENT /DIR=Z:\Users\florian\Games\Heroic\The Witcher 3 Wild Hunt GOTY /Language=German /LANG=German /ProductId=1495134320 /galaxyclient /buildId=57606063263997132 /versionName=4.04a_REDkit_Update_2 /lang-code=de-DE /supportDir=Z:\Users\florian\Library\Application Support\heroic\gogdlConfig\heroic_gogdl\gog-support\1495134320 /nodesktopshorctut /nodesktopshortcut
(17:15:51) INFO:    [Gog]:              SETUP: Installing redist DirectX 9.0c
(17:15:51) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:15:51) DEBUG:   [Backend]:          Running Wine command: /Users/florian/Library/Application Support/heroic/tools/redist/gog/__redist/DirectX/DXSETUP.exe /silent
(17:15:58) INFO:    [Gog]:              SETUP: Installing redist Visual C++ Redist 2012
(17:15:58) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:15:58) DEBUG:   [Backend]:          Running Wine command: /Users/florian/Library/Application Support/heroic/tools/redist/gog/__redist/MSVC2012/vcredist_x86.exe /q /norestart
(17:16:05) INFO:    [Gog]:              SETUP: Installing redist Visual C++ Redist 2012 (x64)
(17:16:05) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:16:05) DEBUG:   [Backend]:          Running Wine command: /Users/florian/Library/Application Support/heroic/tools/redist/gog/__redist/MSVC2012_x64/vcredist_x64.exe /q /norestart
(17:16:12) INFO:    [Gog]:              SETUP: Installing redist Visual C++ Redist 2013
(17:16:12) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:16:12) DEBUG:   [Backend]:          Running Wine command: /Users/florian/Library/Application Support/heroic/tools/redist/gog/__redist/MSVC2013/vcredist_x86.exe /install /quiet /norestart
(17:16:19) INFO:    [Gog]:              SETUP: Installing redist Visual C++ Redist 2013 (x64)
(17:16:19) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:16:19) DEBUG:   [Backend]:          Running Wine command: /Users/florian/Library/Application Support/heroic/tools/redist/gog/__redist/MSVC2013_x64/vcredist_x64.exe /install /quiet /norestart
(17:16:26) INFO:    [Gog]:              SETUP: Installing redist Visual C++ Redist 2019
(17:16:26) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:16:26) DEBUG:   [Backend]:          Running Wine command: /Users/florian/Library/Application Support/heroic/tools/redist/gog/__redist/MSVC2019/VC_redist.x86.exe /install /quiet /norestart
(17:16:33) INFO:    [Gog]:              SETUP: Installing redist Visual C++ Redist 2019 (x64)
(17:16:33) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:16:33) DEBUG:   [Backend]:          Running Wine command: /Users/florian/Library/Application Support/heroic/tools/redist/gog/__redist/MSVC2019_x64/VC_redist.x64.exe /install /quiet /norestart
(17:16:41) INFO:    [Gog]:              Setup: Finished
(17:16:41) INFO:    [Backend]:          Checking if wine version exists: Game-Porting-Toolkit-latest
(17:16:41) DEBUG:   [Backend]:          Running Wine command: cmd /c winepath -u C:\ProgramData\GOG.com\Galaxy\redists\GalaxyCommunication.exe
(17:16:47) INFO:    [Gog]:              Launching Comet!
(17:16:47) INFO:    [Gog]:              Launching The Witcher 3: Wild Hunt - Complete Edition: HEROIC_APP_NAME=1495134320 HEROIC_APP_RUNNER=gog GAMEID=umu-0 HEROIC_APP_SOURCE=gog STORE=gog LD_PRELOAD= WINEPREFIX="/Users/florian/Games/Heroic/Prefixes/default/The Witcher 3 Wild Hunt - Complete Edition" WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEMSYNC=1 GOGDL_CONFIG_PATH="/Users/florian/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/arm64/darwin/gogdl --auth-config-path "/Users/florian/Library/Application Support/heroic/gog_store/auth.json" launch "/Users/florian/Games/Heroic/The Witcher 3 Wild Hunt GOTY" 1495134320 --wine "/Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/bin/wine64" --platform windows
(17:16:47) INFO:    [Backend]:          Preventing display to sleep
(17:17:56) INFO:    [Gog]:              Killing Comet!
(17:17:56) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH="/Users/florian/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/arm64/darwin/gogdl --auth-config-path "/Users/florian/Library/Application Support/heroic/gog_store/auth.json" auth
(17:18:01) INFO:    [Gog]:              GOG presence set
(17:18:01) INFO:    [Backend]:          Stopping Display Power Saver Blocker
(17:18:01) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH="/Users/florian/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/arm64/darwin/gogdl --auth-config-path "/Users/florian/Library/Application Support/heroic/gog_store/auth.json" auth
(17:18:06) INFO:    [Gog]:              Posted session to gameplay.gog.com
(17:18:06) INFO:    [Backend]:          Uploading saves for The Witcher 3: Wild Hunt - Complete Edition
(17:18:06) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH="/Users/florian/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/arm64/darwin/gogdl --auth-config-path "/Users/florian/Library/Application Support/heroic/gog_store/auth.json" auth
(17:18:06) INFO:    [Frontend]:         Refreshing gog Library
(17:18:06) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH="/Users/florian/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/arm64/darwin/gogdl --auth-config-path "/Users/florian/Library/Application Support/heroic/gog_store/auth.json" auth
(17:18:06) INFO:    [Backend]:          Stopping Power Saver Blocker
(17:18:06) INFO:    [Backend]:          Stopping Display Sleep Blocker
(17:18:06) INFO:    [Backend]:          Preventing machine to sleep
(17:18:11) INFO:    [Gog]:              Syncing saves for The Witcher 3: Wild Hunt - Complete Edition
(17:18:11) INFO:    [Gog]:              Syncing saves for The Witcher 3: Wild Hunt - Complete Edition: GOGDL_CONFIG_PATH="/Users/florian/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/arm64/darwin/gogdl --auth-config-path "/Users/florian/Library/Application Support/heroic/gog_store/auth.json" save-sync "/Users/florian/Games/Heroic/Prefixes/default/The Witcher 3 Wild Hunt - Complete Edition/dosdevices/c:/users/crossover/Documents/The Witcher 3" 1495134320 --os windows --ts 1723647944.261017 --name saves --skip-download
(17:18:11) INFO:    [Gog]:              Getting GOG library
(17:18:11) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH="/Users/florian/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/arm64/darwin/gogdl --auth-config-path "/Users/florian/Library/Application Support/heroic/gog_store/auth.json" auth
(17:18:19) WARNING: [Backend]:          No clientId in goggame-1435828767.info file. Cannot resolve save path
(17:18:19) INFO:    [Gog]:              Saved games data
(17:18:21) INFO:    [Backend]:          Saves uploaded for The Witcher 3: Wild Hunt - Complete Edition
(17:18:21) INFO:    [Frontend]:         Refreshing gog Library
(17:18:21) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH="/Users/florian/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/arm64/darwin/gogdl --auth-config-path "/Users/florian/Library/Application Support/heroic/gog_store/auth.json" auth
(17:18:21) INFO:    [Backend]:          Stopping Power Saver Blocker
(17:18:26) INFO:    [Gog]:              Getting GOG library
(17:18:26) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH="/Users/florian/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/arm64/darwin/gogdl --auth-config-path "/Users/florian/Library/Application Support/heroic/gog_store/auth.json" auth
(17:18:31) WARNING: [Backend]:          No clientId in goggame-1435828767.info file. Cannot resolve save path
(17:18:31) INFO:    [Gog]:              Saved games data
(17:18:34) INFO:    [GlobalConfig]:     Searching for Gaming Porting Toolkit Wine
(17:18:34) INFO:    [GlobalConfig]:     Found Game Porting Toolkit Wine at /Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/bin

-- GAME LOG --
Launching "The Witcher 3: Wild Hunt - Complete Edition" (gog)
Native? No
Installed in: /Users/florian/Games/Heroic/The Witcher 3 Wild Hunt GOTY

System Info:
CPU: 8x Apple M2
Memory: 17.18 GB (used: 8.65 GB)
GPUs:

OS:  14.6.1 (darwin)

The current system is not a Steam Deck
We are not running inside a Flatpak container

Software Versions:
  Heroic: 2.15.1 Emeth
  Legendary: 0.20.35 Lowlife (Heroic)
  gogdl: 1.1.1
  comet: comet 0.1.2

  Nile: 1.1.1 Will A. Zeppeli

Game Settings: {
    "autoInstallDxvk": true,
    "autoInstallDxvkNvapi": false,
    "autoInstallVkd3d": false,
    "preferSystemLibs": false,
    "autoSyncSaves": true,
    "enableEsync": true,
    "enableMsync": true,
    "enableFsync": false,
    "nvidiaPrime": false,
    "enviromentOptions": [],
    "wrapperOptions": [],
    "showFps": false,
    "useGameMode": false,
    "battlEyeRuntime": false,
    "eacRuntime": false,
    "language": "",
    "beforeLaunchScriptPath": "",
    "afterLaunchScriptPath": "",
    "wineVersion": {
        "wineserver": "/Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/bin/wineserver",
        "lib": "/Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/lib",
        "lib32": "/Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/lib",
        "bin": "/Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/bin/wine64",
        "name": "Game-Porting-Toolkit-latest",
        "type": "toolkit"
    },
    "wineCrossoverBottle": "",
    "winePrefix": "/Users/florian/Games/Heroic/Prefixes/default/The Witcher 3 Wild Hunt - Complete Edition",
    "gogSaves": [
        {
            "name": "saves",
            "location": "/Users/florian/Games/Heroic/Prefixes/default/The Witcher 3 Wild Hunt - Complete Edition/dosdevices/c:/users/crossover/Documents/The Witcher 3"
        }
    ],
    "ignoreGameUpdates": false
}

Game launched at: Wed Aug 14 2024 17:15:12 GMT+0200 (Central European Summer Time)

Winetricks packages: 

Launch Command: HEROIC_APP_NAME=1495134320 HEROIC_APP_RUNNER=gog GAMEID=umu-0 HEROIC_APP_SOURCE=gog STORE=gog LD_PRELOAD= WINEPREFIX="/Users/florian/Games/Heroic/Prefixes/default/The Witcher 3 Wild Hunt - Complete Edition" WINE_FULLSCREEN_FSR=0 WINEESYNC=1 WINEMSYNC=1 /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/arm64/darwin/gogdl launch "/Users/florian/Games/Heroic/The Witcher 3 Wild Hunt GOTY" 1495134320 --wine "/Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/bin/wine64" --platform windows

Game Log:
esync: up and running.
0024:fixme:module:dlopen_32on64_opengl32 loaded "/Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/lib/wine/x86_32on64-unix/opengl32.dll.so" early @ 0x6c800000
0024:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"POCODATA" (1.12.2.0)
0024:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"QT5CORE" (5.15.2.0)
0024:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"POCOFOUNDATION" (1.12.2.0)
0024:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"PCRE2-8" (10.40.0.0)
0024:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"POCODATA" (1.12.2.0)
0024:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"POCOFOUNDATION" (1.12.2.0)
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0012F290 1 C) semi-stub
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0012F0FC 1 C) semi-stub
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0012F88C 1 C) semi-stub
2024-08-14 17:16:53.686 [Information][ (0)] [TID 36][red-prelauncher]: Log started. Application version: 2.20.0.37 (2024-05-20 13:56).
2024-08-14 17:16:53.688 [Information][ (0)] [TID 36][red-prelauncher]: Operating system: Windows 8 6.2 (Build 9200) (IA32)
2024-08-14 17:16:53.689 [Information][ (0)] [TID 36][red-prelauncher]: Platform identification: win10 64-bit, WINE 7.7
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
2024-08-14 17:16:53.693 [Information][ (0)] [TID 36][red-prelauncher]: Current working directory: 'Z:/Users/florian/Games/Heroic/The Witcher 3 Wild Hunt GOTY', filesystem: 'NTFS'.
2024-08-14 17:16:53.695 [Information][ (0)] [TID 36][red-prelauncher]: Unsetting Qt env variables.
2024-08-14 17:16:53.697 [Information][ (0)] [TID 36][red-prelauncher]: Reading the launcher game configuration file 'Z:/Users/florian/Games/Heroic/The Witcher 3 Wild Hunt GOTY\launcher-configuration.json'.
2024-08-14 17:16:53.705 [Information][ (0)] [TID 36][red-prelauncher]: REDlauncher executable doesn't exist at 'C:/users/crossover/AppData/Local/Programs/CD Projekt Red/REDlauncher/REDlauncher.exe'.
2024-08-14 17:16:53.706 [Information][ (0)] [TID 36][red-prelauncher]: Detected REDlauncher not installed at 'C:/users/crossover/AppData/Local/Programs/CD Projekt Red/REDlauncher'. Pre-launcher version '2.20.0.37'
2024-08-14 17:16:53.706 [Information][ (0)] [TID 36][red-prelauncher]: REDlauncher is not installed or it is out of date at 'C:/users/crossover/AppData/Local/Programs/CD Projekt Red/REDlauncher', version 0.0.0.0. Running the installer.
2024-08-14 17:16:53.706 [Information][ (0)] [TID 36][red-prelauncher]: Launching installer: 'Z:/Users/florian/Games/Heroic/The Witcher 3 Wild Hunt GOTY\setup_redlauncher.exe'.
2024-08-14 17:16:53.706 [Information][ (0)] [TID 36][red-prelauncher]: Installer arguments: '/VERYSILENT', '/LOG', '/NORESTART', '/FORCECLOSEAPPLICATIONS'.
0100:fixme:module:dlopen_32on64_opengl32 loaded "/Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/lib/wine/x86_32on64-unix/opengl32.dll.so" early @ 0x6c800000
0100:fixme:thread:GetThreadUILanguage : stub, returning default language.
0100:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0012D97C, 00000000 0012D9A4
0100:fixme:nls:get_dummy_preferred_ui_language (0x38 0012D97C 00000000 0012D9A4) returning a dummy value (current locale)
0100:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0012D97C, 01DCA680 0012D9A4
0100:fixme:nls:get_dummy_preferred_ui_language (0x38 0012D97C 01DCA680 0012D9A4) returning a dummy value (current locale)
0110:fixme:module:dlopen_32on64_opengl32 loaded "/Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/lib/wine/x86_32on64-unix/opengl32.dll.so" early @ 0x6c800000
0110:fixme:thread:GetThreadUILanguage : stub, returning default language.
0110:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0012D9C8, 00000000 0012D9F0
0110:fixme:nls:get_dummy_preferred_ui_language (0x38 0012D9C8 00000000 0012D9F0) returning a dummy value (current locale)
0110:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0012D9C8, 02B2A680 0012D9F0
0110:fixme:nls:get_dummy_preferred_ui_language (0x38 0012D9C8 02B2A680 0012D9F0) returning a dummy value (current locale)
0110:fixme:wtsapi:WTSRegisterSessionNotification Stub 00010086 0x00000000
0110:fixme:uxtheme:BufferedPaintInit Stub ()
0110:fixme:win:DisableProcessWindowsGhosting : stub
006c:fixme:imm:ImeSetActiveContext (0x37a700, 0): stub
006c:fixme:imm:ImmReleaseContext (0000000000010020, 000000000037A700): stub
0110:fixme:imm:ImeSetActiveContext (0xaaf9a8, 1): stub
0110:fixme:imm:ImmReleaseContext (00010086, 00AAF9A8): stub
0110:fixme:graphics:ShutdownBlockReasonDestroy (00010086): stub
0110:fixme:graphics:ShutdownBlockReasonCreate (00010086, L"Installing"): stub
0110:fixme:rstrtmgr:RmStartSession 006D5768, 0, 006D576C stub!
0110:fixme:graphics:ShutdownBlockReasonDestroy (00010086): stub
0110:fixme:graphics:ShutdownBlockReasonCreate (00010086, L"Installing REDlauncher."): stub
0110:fixme:system:EnableNonClientDpiScaling (00030092): stub
0110:fixme:msg:ChangeWindowMessageFilterEx 00030092 c04d 1 00000000
0110:fixme:system:EnableNonClientDpiScaling (00040092): stub
0110:fixme:msg:ChangeWindowMessageFilterEx 00040092 c04d 1 00000000
0110:fixme:msg:ChangeWindowMessageFilterEx 0001009E c04d 1 00000000
0110:fixme:msg:ChangeWindowMessageFilterEx 0002009E c04d 1 00000000
0110:fixme:shell:SHAutoComplete stub
0110:fixme:rstrtmgr:RmRegisterResources -559038737, 47, 02A03780, 0, 00000000, 0, 00000000 stub!
0110:fixme:rstrtmgr:RmGetList -559038737, 0012FE24, 0012FE28, 02A03780, 0012FE20 stub!
0110:fixme:explorerframe:taskbar_list_SetProgressValue iface 01ED04E0, hwnd 00010086, ullCompleted 0, ullTotal 5af stub!
0110:fixme:sfc:SfcIsFileProtected (00000000, L"C:\\users\\crossover\\AppData\\Local\\Programs\\CD Projekt Red\\REDlauncher\\unins000.exe") stub
0110:fixme:explorerframe:taskbar_list_SetProgressState iface 01ED04E0, hwnd 00010086, flags 0 stub!
0110:fixme:rstrtmgr:RmEndSession 3735928559 stub!
0110:fixme:graphics:ShutdownBlockReasonDestroy (00010086): stub
0110:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 00010086
0110:fixme:uxtheme:BufferedPaintUnInit Stub ()
2024-08-14 17:17:03.375 [Information][ (0)] [TID 36][red-prelauncher]: Launcher Installer succeed.
2024-08-14 17:17:03.376 [Information][ (0)] [TID 36][red-prelauncher]: Starting REDlauncher data migration. Program: 'C:/users/crossover/AppData/Local/Programs/CD Projekt Red/REDlauncher\REDlauncher.exe'. Arguments: '--launcher-migrate-data-from=0.0.0.0'.
2024-08-14 17:17:03.380 [Error][ (0)] [TID 36][red-prelauncher]: Failed to initialise the symbol handler; error code: 87, reason: UNKNOWN.
2024-08-14 17:17:03.381 [Error][ (0)] [TID 36][red-prelauncher]: Failed to run the command to migrate data. Error Message: Waiting for REDlauncher failed, process error: Process failed to start: Datei nicht gefunden. (code: 0).
        Stack Trace
        -----

2024-08-14 17:17:03.381 [Information][ (0)] [TID 36][red-prelauncher]: Starting REDlauncher verification. Program: 'C:/users/crossover/AppData/Local/Programs/CD Projekt Red/REDlauncher\REDlauncher.exe'. Arguments: '--launcher-verify'.
2024-08-14 17:17:03.382 [Error][ (0)] [TID 36][red-prelauncher]: Failed to initialise the symbol handler; error code: 87, reason: UNKNOWN.
2024-08-14 17:17:03.382 [Error][ (0)] [TID 36][red-prelauncher]: REDlauncher verification failed. Falling back to launching the game. Error Message: Waiting for REDlauncher failed, process error: Process failed to start: Datei nicht gefunden. (code: 0).
        Stack Trace
        -----

2024-08-14 17:17:03.382 [Information][ (0)] [TID 36][red-prelauncher]: Requested to launch the game.
2024-08-14 17:17:03.439 [Information][ (0)] [TID 36][red-prelauncher]: The game was launched under PID 276.
Launch command: ['/Users/florian/Library/Application Support/heroic/tools/game-porting-toolkit/Game-Porting-Toolkit-latest/Contents/Resources/wine/bin/wine64', '/Users/florian/Games/Heroic/The Witcher 3 Wild Hunt GOTY/REDprelauncher.exe']
0118:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000201ECC0 1 C) semi-stub
0118:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000201E9D0 1 C) semi-stub
0118:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0118:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0118:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0118:fixme:crypt:ProvStore_release Unimplemented flags 1
0118:fixme:crypt:MemStore_release Unimplemented flags 1
0118:fixme:crypt:ProvStore_release Unimplemented flags 1
0118:fixme:crypt:MemStore_release Unimplemented flags 1
0118:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000201ECB0 1 C) semi-stub
info:  Game: witcher3.exe
info:  DXVK: v1.10.3-20230507-async (macOS)
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
0118:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0118:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan.
0118:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0118:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan.
info:  Required Vulkan extension VK_KHR_surface not supported
err:   DxvkInstance: Failed to create instance
0118:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0118:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0118:fixme:crypt:ProvStore_release Unimplemented flags 1
0118:fixme:crypt:MemStore_release Unimplemented flags 1
0118:fixme:crypt:ProvStore_release Unimplemented flags 1
0118:fixme:crypt:MemStore_release Unimplemented flags 1
0118:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0118:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0118:fixme:crypt:ProvStore_release Unimplemented flags 1
0118:fixme:crypt:MemStore_release Unimplemented flags 1
0118:fixme:crypt:ProvStore_release Unimplemented flags 1
0118:fixme:crypt:MemStore_release Unimplemented flags 1
0118:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0118:fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4
0118:fixme:crypt:ProvStore_release Unimplemented flags 1
0118:fixme:crypt:MemStore_release Unimplemented flags 1
0118:fixme:crypt:ProvStore_release Unimplemented flags 1
0118:fixme:crypt:MemStore_release Unimplemented flags 1
info:  Game: witcher3.exe
info:  DXVK: v1.10.3-20230507-async (macOS)
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
0118:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0118:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan.
0118:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0118:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan.
info:  Required Vulkan extension VK_KHR_surface not supported
err:   DxvkInstance: Failed to create instance
0118:fixme:imm:ImeSetActiveContext (0x22135a0, 1): stub
0118:fixme:imm:ImmReleaseContext (0000000000020074, 00000000022135A0): stub
0118:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000201FD40
0118:fixme:msvcrt:__clean_type_info_names_internal (00000000038E5768) stub
File 'Z:\Users\florian\Games\Heroic\The Witcher 3 Wild Hunt GOTY\bin\x64_dx12\/sl.common.dll' is signed by NVIDIA and the signature was verified.
File 'Z:\Users\florian\Games\Heroic\The Witcher 3 Wild Hunt GOTY\bin\x64_dx12\/sl.dlss.dll' is signed by NVIDIA and the signature was verified.
File 'Z:\Users\florian\Games\Heroic\The Witcher 3 Wild Hunt GOTY\bin\x64_dx12\/sl.dlss_g.dll' is signed by NVIDIA and the signature was verified.
File 'Z:\Users\florian\Games\Heroic\The Witcher 3 Wild Hunt GOTY\bin\x64_dx12\/sl.reflex.dll' is signed by NVIDIA and the signature was verified.
============= End of log =============

Steps to reproduce

  1. Go to Game Settings, choose CrossOver emulation, and enable DXVK
  2. Run the game Prefix at least once
  3. Go to Game Settings, shift to GPTK as emulation.
  4. Start a game that requires DX11 or better (tested with GOG Banished and GOG Witcher 3)
  5. See game quit with error message

Expected behavior

Games should run as with CrossOver/DXVK Emulation shift should clean DXVK startup commands in the concerned prefixes

Screenshots

No response

Heroic Version

Latest Stable

System Information

OS: macOS 14.6.1 CPU: Apple M2 GPU: same RAM: 16GB

Additional information

No response

le-flo commented 1 month ago

Hm, I think I just noticed the reason re-reading the logs. I've first been running both games with CrossOver & DXVK. Shifting to GPTK didn't remove the DXVK launch commands, causing the game to request a Vulcan gfx driver from a non-Vulcan Wine build. See

info: Game: witcher3.exe info: DXVK: v1.10.3-20230507-async (macOS) info: Built-in extension providers: info: Win32 WSI info: OpenVR info: OpenXR info: OpenVR: could not open registry key, status 2 info: OpenVR: Failed to locate module 0118:err:vulkan:get_vulkan_driver Wine was built without Vulkan support. 0118:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan. 0118:err:vulkan:get_vulkan_driver Wine was built without Vulkan support. 0118:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan. info: Required Vulkan extension VK_KHR_surface not supported err: DxvkInstance: Failed to create instance

Gcenx commented 4 weeks ago

As you’ve confirmed that’s not a GPTK problem but a Heroic Game Launcher problem.

le-flo commented 4 weeks ago

@Gcenx I've startet re-reading the log after I tried to run the games on your prebuilt GPTK ... same behaviour. btw.: Apples GPTK build script still seems non-functional.

Will edit the post title and error description ASAP.

Question hence changes from: "is there a GPTK implementation bug" to "how to remove DXVK from a Prefix / please implement automatic DXVK deinstallation when switching to GPTK Wine".

le-flo commented 4 weeks ago

the above report is related to the same issue.