Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thief crashing on startup after 5 seconds of black screen #2224

Closed
LucasSnatiago opened this issue Nov 25, 2024 · 6 comments
Closed

Thief crashing on startup after 5 seconds of black screen #2224

LucasSnatiago opened this issue Nov 25, 2024 · 6 comments

Comments

@LucasSnatiago
Copy link

I'm trying to run the game Thief inside heroic games launcher. After starting the game the launcher runs just fine, but when I hit the play button, the game starts a black screen and crashes after 5 seconds.

Software information

Thief
Using the default ultra settings

System information

  • GPU: RX 7600 XT
  • Driver: Mesa 24.2.7-1
  • Wine version: 1732404742 experimental-bleeding-edge-9.0-137858-20241123-p0b1b64-w321a2d-d9e1bc1-vff1286
  • VKD3D-Proton version: Bleeding Edge commit -> 4f549155c5625acacd6b2f04d84d6cc41cbbaa11

Log files

steam-heroic-0.log
steam-heroic-ThiefvWwV2.log -> In the end of this file is written:

20004.695:0128:fixme:d3dcompiler:D3DCompile2 Ignoring flags 0x800.
20004.695:0128:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4.
20004.695:0128:err:d3dcompiler:D3DCompile2 Shader log:
20004.695:0128:err:d3dcompiler:D3DCompile2     ..\..\Engine\\Shaders\Compute\DoFBlurBGCS.hlsl:35:51: E5000: Invalid subscript "Length".
20004.695:0128:err:d3dcompiler:D3DCompile2     ..\..\Engine\\Shaders\Compute\DoFBlurBGCS.hlsl:35:5: E5002: Can't implicitly convert from <error type> to int.
20004.695:0128:err:d3dcompiler:D3DCompile2     ..\..\Engine\\Shaders\Compute\DoFBlurBGCS.hlsl:42:83: E5000: Invalid subscript "Length".
20004.695:0128:err:d3dcompiler:D3DCompile2     ..\..\Engine\\Shaders\Compute\DoFBlurBGCS.hlsl:43:83: E5000: Invalid subscript "Length".
20004.695:0128:err:d3dcompiler:D3DCompile2     ..\..\Engine\\Shaders\Compute\DoFBlurBGCS.hlsl:44:83: E5000: Invalid subscript "Length".
20004.695:0128:err:d3dcompiler:D3DCompile2     ..\..\Engine\\Shaders\Compute\DoFBlurBGCS.hlsl:45:83: E5000: Invalid subscript "Length".
20004.695:0128:err:d3dcompiler:D3DCompile2     ..\..\Engine\\Shaders\Compute\DoFBlurBGCS.hlsl:46:1: E5005: Function "GroupMemoryBarrierWithGroupSync" is not defined.
20004.695:0128:err:d3dcompiler:D3DCompile2 

@mbriar
Copy link

mbriar commented Nov 25, 2024

Install d3dcompiler_47 with winetricks to the prefix.

@LucasSnatiago
Copy link
Author

Interesting, I tried installing d3dcompiler_47, but the error persisted. Then I installed all d3dcompilers available: d3dcompiler_47, d3dcompiler_42, d3dcompiler_43, d3dcompiler_46. With that the game now runs, but with some visual glitches. Can it be correlated to the fact I installed more than one version of d3dcompiler?

@mbriar
Copy link

mbriar commented Nov 25, 2024

I don't think so, it will only use the d3dcompiler version it needs. What glitches are we talking about, can you post a screenshot?

@LucasSnatiago
Copy link
Author

Better than a screenshot. I recorded a video: Thief Visual Glitches - Blinking objects.

@mbriar
Copy link

mbriar commented Nov 25, 2024

If you're talking about the flickering stuff, that's just the game having shitty zfighting. You can find a bunch of videos on youtube with it happening on windows as well, e.g.: https://www.youtube.com/watch?v=zkuJMsUNeu8

Side note, but this game is using D3D11 and not 12, so it couldn't be a vkd3d-proton issue either way.

@LucasSnatiago
Copy link
Author

Thank you for all the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants