doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.18k stars 851 forks source link

Frequent freezes in certain games(ELEX/Monster Hunter: World) #925

Closed HK47196 closed 5 years ago

HK47196 commented 5 years ago

When playing ELEX & Monster Hunter: World I get seemingly random freezes after 15 mins-2+ hours of gameplay(it would be impossible to play it with APITrace enabled for this long), with this in dmesg:

NVRM: Xid (PCI:0000:01:00): 31, Ch 00000033, intr 10000000. MMU Fault: ENGINE GRAPHICS GPCCLIENT_PE_2 faulted @ 0x1_0841a000. Fault is of type FAULT_PTE ACCESS_TYPE_READ

Software information

System information

Log files

Unsure if this will be any use, but I did manage to capture some maybe interesting stuff using VK_LAYER_LUNARG_standard_validation elex_dump.txt

Possibly related issues:

816

https://github.com/doitsujin/dxvk/issues/759#issuecomment-453108515

doitsujin commented 5 years ago

Closing as a duplicate of #816, please drop a comment there.

The validation errors are not relevant, the invalid subpass barrier is how transform feedback barriers were originally meant to be implemented, but right now there is no satisfactory and "valid" solution.

Binding an UINT format view to a slot that expects SFLOAT format is a common game bug and should also not cause GPU hangs, since at worst it alters how the same data is interpreted.

Anyway, I'm unable to reproduce the issue with Elex, and even if I could, I wouldn't know how to debug Nvidia driver hangs.