vkd3d-proton icon indicating copy to clipboard operation
vkd3d-proton copied to clipboard

Hitman 3 freezes to death with Nvidia Vulkan developer drivers

Open aufkrawall opened this issue 1 year ago • 4 comments

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.

aufkrawall avatar Sep 26 '22 21:09 aufkrawall

Not fixed with new 515.49.18 developer driver.

aufkrawall avatar Sep 27 '22 21:09 aufkrawall

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)

HansKristian-Work avatar Sep 30 '22 09:09 HansKristian-Work

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.

HansKristian-Work avatar Sep 30 '22 11:09 HansKristian-Work

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.

HansKristian-Work avatar Sep 30 '22 12:09 HansKristian-Work