doitsujin / dxvk

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

Call of Duty: Black Ops 3 eventual XID 31 crash #2495

Open BlueGoliath opened 2 years ago

BlueGoliath commented 2 years ago

With Proton GE 7.1.2(https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/7.1-GE-2), Black Ops 3 will eventually crash. The crash happens about an hour usually while playing the Zombies mode even if the game is paused.

The Nvidia driver spits out an XID 31 error, which is consistent on every crash after attempting to play about half a dozen games:

NVRM: Xid (PCI:0000:0c:00): 31, pid=11461, Ch 00000053, intr 10000000. MMU Fault: ENGINE GRAPHICS GPCCLIENT_T1_2 faulted @ 0x0_00000000. Fault is of type FAULT_PDE ACCESS_TYPE_READ

System Info:

OS: Arch Linux(updated) CPU: Ryzen 1800x RAM: 32GB 3133Mhz GPU: Nvidia GeForce GTX 1080(Nvidia 510.47.03)

Sporif commented 2 years ago

Does this happen with the 495 driver series? I ask because I get that exact same error with the 510 series in certain dxvk games when switching focus from the game.

K0bin commented 2 years ago

The crash happens about an hour usually while playing the Zombies mode even if the game is paused.

I've had XID 31 hangs as well on my 1070 but anything that takes an hour to reproduce is just impossible to fix.

BlueGoliath commented 2 years ago

Does this happen with the 495 driver series? I ask because I get that exact same error with the 510 series in certain dxvk games when switching focus from the game.

I don't remember having this issue on 495 but I don't exactly play games often anyway. It doesn't seem to have anything to do with window focus as it crashes while playing.

BlueGoliath commented 2 years ago

I've had XID 31 hangs as well on my 1070 but anything that takes an hour to reproduce is just impossible to fix.

Yeah, I figured. The strange thing is that the game runs buttery smooth, ignoring any shader compiling in the background.

doitsujin commented 2 years ago

What does memory usage look like with DXVK_HUD=memory?

But yeah, as was said, we cannot debug or fix issues that take an hour to reproduce, especially when it's just another graphics driver crash.

BlueGoliath commented 2 years ago

The third heap was 96% full. Not sure if that matters or not.

I can reproduce this issue much faster with Civilization 6 with DX11. In addition to XID 31 I'm also getting XID 13:

NVRM: Xid (PCI:0000:0c:00): 13, pid=305, Graphics Exception: MISSING_MACRO_DATA NVRM: Xid (PCI:0000:0c:00): 13, pid=305, Graphics Exception: ESR 0x404490=0x80000001 NVRM: Xid (PCI:0000:0c:00): 13, pid=112370, Graphics Exception: ChID 0088, Class 0000c197, Offset 00002388, Data 30569a00

PID 305 is an Nvidia GPU driver process(IRQ 38).

doitsujin commented 2 years ago

The third heap was 96% full. Not sure if that matters or not.

That's the HVV heap, using a lot of that is known to cause stability and performance issues so it might be related.

Please try setting dxvk.shrinkNvidiaHvvHeap = True in dxvk.conf (set the DXVK_CONFIG_PATH env var to point towards it as well for good measure, to make extra sure it gets picked up).

BlueGoliath commented 2 years ago

Did that and it still crashes.

Blisto91 commented 2 years ago

@BlueGoliath Friendly ping. Could i get you to try this again with latest dxvk (or latest proton GE or proton experimental) and newest driver.

BlueGoliath commented 2 years ago

I haven't been able to get a crash right away but that doesn't necessarily mean anything. I'll see if I can get it to happen with Civ6. Seems like Proton GE 7.30 broke backward compatibility or something because games do not like launching with it.

BlueGoliath commented 2 years ago

still happens.

Xid (PCI:0000:0c:00): 31, pid=302112, name=BlackOps3.exe, Ch 00000063, intr 10000000. MMU Fault: ENGINE GRAPHICS GPCCLIENT_T1_1 faulted @ 0x0_00000000. Fault is of type FAULT_PDE ACCESS_TYPE_READ

Blisto91 commented 1 year ago

The new 535 driver have alot of fixes, might be worth a try.

BlueGoliath commented 1 year ago

Brought the thread back from the dead.

The new 535 driver have alot of fixes, might be worth a try.

My 1080 is dead/dying and I haven't noticed any issue with my 960. Maybe it's fixed or maybe it's an arch-specific issue. Don't know.

Blisto91 commented 1 year ago

Aw sorry to hear about your 1080. RIP