https://bugs.winehq.org/show_bug.cgi?id=44520
Bug ID: 44520 Summary: Kingdom Come Deliverance, black screen, d3dcompiler Product: Wine Version: 3.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: holzminister@t-online.de Distribution: ---
When I startup Kingdom Come Deliverance the game starts up just fine, but has a black screen, sound works.
There seems an error with
err:d3dcompiler:compile_shader HLSL shader parsing failed.
When I use d3dcompiler_46.dll and d3dcompiler_47.dll (which are bundled with the game) as native with override in wine the game starts up fine without black screen.
https://bugs.winehq.org/show_bug.cgi?id=44520
--- Comment #1 from Jason holzminister@t-online.de --- Created attachment 60474 --> https://bugs.winehq.org/attachment.cgi?id=60474 terminal log, without overrides
https://bugs.winehq.org/show_bug.cgi?id=44520
--- Comment #2 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Jason from comment #0)
When I use d3dcompiler_46.dll and d3dcompiler_47.dll (which are bundled with the game) as native with override in wine the game starts up fine without black screen.
Do you need an explicit override? Those two DLLs should prefer the native version when available.
https://bugs.winehq.org/show_bug.cgi?id=44520
--- Comment #3 from Jason holzminister@t-online.de --- (In reply to Matteo Bruni from comment #2)
(In reply to Jason from comment #0)
When I use d3dcompiler_46.dll and d3dcompiler_47.dll (which are bundled with the game) as native with override in wine the game starts up fine without black screen.
Do you need an explicit override? Those two DLLs should prefer the native version when available.
the directory structure looks like this:
bin |- Win64 |- KingdomCome.exe |- version |- WHGame.dll |- W64Shared |- amd_ags_x64.dll |- anselsdk64.dll |- d3dcompiler_46.dll |- d3dcompiler_47.dll |- fmod64.dll |- fmodstudio64.dll |- gfesdk.dll |- steam_api64.dll |- tobii.gameintegration.dll
And when I copy the d3dcompiler dlls from W64Shared into the Win64 directory where the exe file is, it works without override like you said. But it only works when I copy it, otherwise it fails.
https://bugs.winehq.org/show_bug.cgi?id=44520
caleb@phobeus.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |caleb@phobeus.de
https://bugs.winehq.org/show_bug.cgi?id=44520
AsciiWolf mail@asciiwolf.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mail@asciiwolf.com
--- Comment #4 from AsciiWolf mail@asciiwolf.com --- Same issue with amd_ags_x64.dll when using AMD GPU.
https://bugs.winehq.org/show_bug.cgi?id=44520
--- Comment #5 from AsciiWolf mail@asciiwolf.com --- ("wine: Call from 0x7b44af1c to unimplemented function amd_ags_x64.dll.agsGetCrossfireGPUCount, aborting" error and game hanged on loading screen, works fine after copying amd_ags_x64.dll from Win64Shared to Win64.)
https://bugs.winehq.org/show_bug.cgi?id=44520
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=44520
eric eric.hironymous@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.hironymous@gmail.com
--- Comment #6 from eric eric.hironymous@gmail.com --- I ran into this today, attempting to run Kingdom Come Deliverance from the Epic Store using wine.
This fix worked for me, (except it was Win64MasterMasterEpicPGO folder instead of the Win65 folder):
("wine: Call from 0x7b44af1c to unimplemented function amd_ags_x64.dll.agsGetCrossfireGPUCount, aborting" error and game hanged on loading screen, works fine after copying amd_ags_x64.dll from Win64Shared to Win64.)
https://bugs.winehq.org/show_bug.cgi?id=44520
--- Comment #7 from eric eric.hironymous@gmail.com --- Created attachment 66570 --> https://bugs.winehq.org/attachment.cgi?id=66570 Log from Lutris
This shows what was seen when attempting to open Kingdom Come Deliverance from the Epic Store that was installed with Lutris.
When attempting the open the Game it would display the splash screen then crash and reload the Epic Store window.