protonscr

[D3D11] Metal: Hellsinger crashes while loading a new game.

dxvkclosed d3d11
doitsujin/dxvk#2975 · opened 2022-10-04 by r2rX · updated 2022-10-04 · 5 comments · github
1 matching comments, n / p to jump
Rr2rX 2022-10-04 github

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.

metal_error

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)

BBlisto91 2022-10-04 github

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)

Mmbriar 2022-10-04 github

One shader generates invalid spirv and crashes drivers
bad-shader.zip

Rr2rX 2022-10-04 github

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:

Ddoitsujin maintainer 2022-10-04 github

Should be fixed with the above commit.

Rr2rX 2022-10-04 github

Happy to confirm it's fixed. Thanks!

Proton versions