Multiple CUDA/RTX/Vulkan application crashing with Xid (13,109) errors

Fri Sep  6 21:54:52 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03              Driver Version: 560.35.03      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1650        Off |   00000000:01:00.0 Off |                  N/A |
| N/A   48C    P8              6W /   50W |       2MiB /   4096MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

nvidia-bug-report.log.gz (1.0 MB)

Issue still happens, although this time the XID didn’t show up in dmesg (it has happened before once or twice- but the crash and all the same behavior still occurs).

I tried The Last of Us with 560.35.03 (open source version), and Xid is still there.

@shelter Are you absolutely certain 550.40.71 fixes it?

edit: so I tried 550.40.71, and indeed the Xid 109 that was blocking my progression is not happening anymore!

1 Like

@shelter might be something I did wrong, but 550.40.71 doesn’t seem to work with Ghost of Tsushima and Cyberpunk (both seem to crash during loading)

Sep 12 21:25:25 tumbleweed kernel: NVRM: GPU at PCI:0000:08:00: GPU-6cd0a0c1-3c79-696f-6f7f-fde0e426d057
Sep 12 21:25:25 tumbleweed kernel: NVRM: Xid (PCI:0000:08:00): 109, pid='<unknown>', name=<unknown>, Ch 0000019c, errorString CTX SWITCH TIMEOUT, Info 0x3c0bf

nvidia-bug-report.log.gz (1.3 MB)

GoT works fine here, never had any XID issues with that game, RTX 4070. I don’t have CP installed so I can’t test it.

I see this in your log, not sure if it’s related somehow.


Sep 12 20:58:15 tumbleweed steamwebhelper[5827]: x86_64-linux-gnu-capsule-capture-libs: warning: Dependencies of libnvidia-pkcs11.so.550.40.71 not found, ignoring: Missing dependencies: Could not find "libcrypto.so.1.1" in LD_LIBRARY_PATH "/home/aditya/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32:/home/aditya/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/panorama:/app/lib/i386-linux-gnu/GL/default/lib:/app/lib/i386-linux-gnu/GL/nvidia-550-40-71/lib:/app/lib/ffmpeg/.:/app/lib32:/app/lib/i386-linux-gnu:/lib64:/app/lib:/usr/lib/x86_64-linux-gnu/GL/default/lib:/usr/lib/x86_64-linux-gnu/GL/nvidia-550-40-71/lib:/usr/lib/x86_64-linux-gnu/openh264/extra:/usr/lib/x86_64-linux-gnu", ld.so.cache, DT_RUNPATH or fallback /lib:/usr/lib

Great… now I get XID 109 while playing AC Valhalla instead
Vulkan dev 550.40.71

Hi @shelter
Could you please confirm repro frequency and nvidia bug report from repro state.

Hi @hemaster
Could you please test both games with latest released driver and share bug report from repro state if issue persists.
Also, it would be good to know repro frequency and how long do I need to play to trigger issue.

Hmm… If you can you better check Vulkan dev 550.40.75 that was released today, it totally broke AC Valhalla, vertex explosions. Other games seemed fine tho’, so it could’ve been something weird here.

But I went back to Vulkan dev 550.40.71 and the vertex explosions were gone.

I’ll fiddle some with 555.40.71 and see if it crashes with XID 109.

Update: Went back to 555.40.75 again, explosions galore.
Also no crashes (this session) on 555.40.71 during the time I played, seems to be a bit random.

Hi @amrits
I tried with the latest available 550.107.02 on Tumbleweed, and the issue still seems to occur after 15 minutes or so on Cyberpunk. Didn’t yet try Helldivers or GoT. But I believe about 30 minutes should be enough to repro.
I’ve attached the logs for Cyberpunk. Let me know if you need anything else.
nvidia-bug-report.log.gz (1.1 MB)

Is The Finals ever going to get fixed?

I have never experienced any issues with any of the recent drivers (between 535 maybe older - 560) with Cyberpunk. At least not with Xorg. I have occasionally tested with Wayland too, and it has also worked. What’s your GPU? Considering it takes 15 min before it crashes, I wonder if the issue could be related to vRAM or something. There are options in BIOS which can affect how the vRAM is utilized/accessed, maybe you can try playing with these (Turning them off/on) and see if it helps.

It happens with 560 too:
NVRM: Xid (PCI:0000:01:00): 109, pid=508964, name=ACValhalla.exe,

It’s a bit rare tho’, not very easy to trigger it unfortunately.
Jumping in and out of the map seems to trigger it sometimes for me.

Edit: I noticed I made typos in the post above regarding driver versions.

550.40.71 and 560.35.03 - XID Crash sometimes
550.40.75 and 550.40.76 - vertex explosions as seen in the screenshot,

in the end I returned it under warranty, the answer is - it cannot be repaired, money back

The XID crash in Valhalla is back for sure… I’ve reopened this since more people started having issues.
For me personally it works fine 95% of the time for some reason…

Hi @shelter
I have filed a bug 4921815 internally for AC Valhalla crash issue and will try to duplicate issue locally.
Request you to please share bug report from repro state.

1 Like

Just FYI, driver 565 now causes vertex explosions in Valhalla, like I mentioned above for the 550 dev driver, so it seems like it carried over. :(

I will return with a bug report for 560 whenever I can…

World of Warcraft still broken in driver 565:

NVRM: Xid (PCI:0000:01:00): 109, pid=8890, name=WoW.exe, Ch 00000031, errorString CTX SWITCH TIMEOUT, Info 0xec034

Same issue, working perfectly fine, then just hard freezes out of nowhere. Not related to memory on my 3080 either as had gtop up debugging and even keeping memory under 10gb by playing with settings still have the hard freeze. 2 years since i’ve had wow working in linux without freezing, was pre 525 if i recall without these freezes.

This error, however, followed it this time around:

NVRM: rmapiUnmapWithSecInfo: Nv04Unmap: ummap failed; status: Requested object not found [NV_ERR_OBJECT_NOT_FOUND] (0x00000057)

Which is new, I haven’t seen this one before. Complete system freeze, with eventual recovery around 15 seconds later after putting into terminal mode via CTRL+F1. Cinnamon crashed along with WOW which was new too.

Dual booting continuing for now…

nvidia-bug-report.log.gz (1.5 MB)
here’s mine for AC Valhalla with a 2080 & 7600X running the latest 560 driver
worth noting that in my case the game doesn’t crash it only visually freezes, the game is still running (still outputting sound)
with the only fix for it being to stay alt-tab-ed while the game is doing the first load (what seems to be important is being alt-tab-ed when it transitions from the loading screen to the game world (although i do remember it still working after i alt-tab-ed back right before that transition)

1 Like

nvidia-bug-report.log.gz (713.6 KB)
4080 Super. Still happens at least once every play session, but far less frequently than on 2080 Ti.

1 Like

Bump.