protonscr

Hitman 3 freezes to death with Nvidia Vulkan developer drivers

vkd3dclosed
HansKristian-Work/vkd3d-proton#1248 · opened 2022-09-26 by aufkrawall · updated 2022-12-21 · 6 comments · github
Aaufkrawall 2022-09-26 github

When I walk around in the level Whittleton Creek (Hitman 2 level), the game dies after a short time when using the latest 515.49.15 Vulkan developer driver. For whatever reason, this seems to happen much faster on Windows than on Linux. It seems to be stable with regular consumer Nvidia driver, afaict. When it dies with the Vulkan developer driver, the game's process keeps running with 1% CPU load, but the window becomes black and unresponsive.
Tested with vkd3d-proton 212ae62b53eb870ee53d2a28bf8c4786f4f749c3 & dxvk dxgi a9bdea72e9603de85411e3b41f8a49c9cbd11182 .

Graphics settings:
Screenshot_20220926_231343

Proton log:
steam-1847520.log

RTX 3060 on Arch 5.19.11
Hopefully this is also reproducible with different levels.

Aaufkrawall 2022-09-27 github

Not fixed with new 515.49.18 developer driver.

HHansKristian-Work maintainer 2022-09-30 github

Seems like a very plausible case of missing placed DSV initialization. Like Spiderman just ran into.

Or not, the log suggests some CPU side hang and there's no device lost:

372.986:0138:01c0:err:sync:RtlpWaitForCriticalSection section 00000003BD9B6B90 "?" wait timed out in thread 01c0, blocked by 01c4, retrying (60 sec)
372.986:0138:0238:err:sync:RtlpWaitForCriticalSection section 00000003BD9B6CB0 "?" wait timed out in thread 0238, blocked by 01c0, retrying (60 sec)
HHansKristian-Work maintainer 2022-09-30 github

I can reproduce this in Sapienza. Same error, but I really can't see how this is related to vkd3d-proton directly. There's no obvious error. I also reproduce this on Proton 7.0-4.

HHansKristian-Work maintainer 2022-09-30 github

With further investigation it seems like the game is trying to present with signal-after-wait, which causes a deadlock. This is puzzling and it's not the kind of issue that would only show up on a subset of drivers.

HHansKristian-Work maintainer 2022-12-15 github

Should be fixed now.

Aaufkrawall 2022-12-21 github

Ya, can't reproduce the crash with latest vkd3d-proton and nvidia vulkan dev driver 525.47.04. Thanks.

Proton versions