Can confirm with the demo.
Could you make a apitrace with a version where it doesn't crash? :slightly_smiling_face: (demo didn't want to launch with apitrace for me on a quick try)
One shader generates invalid spirv and crashes drivers
bad-shader.zip
Can confirm with the demo.
Could you make a apitrace with a version where it doesn't crash? slightly_smiling_face (demo didn't want to launch with apitrace for me on a quick try)
My original post was updated with links for the apitraces.
Also, nice find @mbriar :+1:
Should be fixed with the above commit.
Happy to confirm it's fixed. Thanks!
ge-proton7-30x1 2022-10proton experimentalx1 2022-10
So the game is Metal: Hellsinger, it's a Unity engine based game and it runs on DX11. My first run was with the stable release of dxvk, v10.3.0, which runs fine for the exception of lighting related artifacts. I then tested with the most recent artifact (2382 as of writing) and experienced a crash to desktop, with an error dialogue box, after a few seconds of a new game loading.
My next step was to sift through alot of artifact releases to try and pinpoint when the break started. Eventually, I found that artifact 1591 was the last version that works without crashing and has the lighting artifacts fixed (so the graphics are perfect).
The issue starts with artifact 1598 ([dxbc] Fix UAV write test). All (randomly selected) artifacts beyond 1598 results with the game crashing.
To replicate the issue, simply run the game using dxvk artifact 1598, select New Game, choose any difficulty level and select Continue. It will crash after a few seconds, during the loading screen, eventually showing the error message. This can be tested either with the full release or demo.
System information
Apitrace file(s)