Xid 13 Graphics Exception in cosmic-comp on RTX 5080, followed by semsurf errors and compositor hang (595.104.02)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 8/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- c, linux
- Bereich
- operating-systems
Rechercherichtung
The failure is a GPU Xid 13 graphics exception on Blackwell hardware, followed by _semsurfAddWaiter errors from the nvidia-drm semaphore-surface code; the payload names no source file or test. Start by reading the attached nvidia-bug-report.log.gz and matching the ESR and channel values against the driver's error handling. Done would mean a root cause identified or reproduced on Blackwell hardware, which requires access to that GPU and kernel-driver expertise.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
NVIDIA Open GPU Kernel Modules Version
595.104.02
Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
- I confirm that this does not happen with the proprietary driver package.
Operating System and Version
Pop!_OS 24.04 LTS (COSMIC, Wayland)
Kernel Release
7.2.15-76070215-generic
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
- I am running on a stable kernel release.
Hardware: GPU
NVIDIA GeForce RTX 5080
Describe the bug
While using the COSMIC desktop (cosmic-comp), the GPU raised an Xid 13 / Xid 32 in cosmic-comp's channel. About 28 seconds later the kernel log fills with _semsurfAddWaiter / "Failed to register auto-value-update" errors. The desktop froze (cursor updated only about every 15 s), panel, dock and Steam briefly disappeared and reappeared, but the session stayed unusable until reboot. A TTY remained fully usable. There was no memory pressure (23 GiB available, swap unused).
Timeline from the kernel log:
- 12:44:23 Xid 13 (Graphics Exception) and Xid 32, pid=2766 name=cosmic-comp
- 12:44:51 first
_semsurfAddWaitererror, repeating afterwards
Relevant excerpt:
NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: Class 0x1 Subchannel 0x0 Mismatch
NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x4041b0=0x1
NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x404000=0x80000002
NVRM: Xid (PCI:0000:01:00): 13, pid=2766, name=cosmic-comp, Graphics Exception: channel 0x00000004, Class 0000ce97, Offset 00000000, Data 00000000
NVRM: Xid (PCI:0000:01:00): 32, pid=2766, name=cosmic-comp, channel 0x00000004 intr 00200000
NVRM: GPU0 _semsurfAddWaiter: SemSurf(0xc1d0000c, 0xcaf0035e): Existing value-updating waiter at index 2 for wait value 39:
[drm:__nv_drm_semsurf_wait_fence_work_cb [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00000100] Failed to register auto-value-update on pre-wait value for sync FD semaphore surface
The Xid 13 precedes the semsurf errors, so the semaphore errors may be a consequence rather than the root cause.
To Reproduce
Happened once with this exact sequence (not yet deliberately reproduced):
- Quit Kingdom Come: Deliverance (the game was no longer running)
- Uninstall it in the Steam client
- Wait a few seconds until the entry is greyed out
- Click anywhere in the Steam UI
- Desktop stutters, then freezes
An earlier, possibly related occurrence in March 2026 (driver 580.126.18, kernel 6.18.7) happened after pausing Spotify and opening the COSMIC power menu. In that case only the semsurf message was logged; I did not capture an Xid. Both Steam and Spotify are Chromium-based clients, which may or may not be relevant.
https://github.com/pop-os/cosmic-epoch/issues/3334
Bug Incidence
Sometimes
nvidia-bug-report.log.gz
More Info
System:
- CPU: AMD Ryzen 7 7800X3D (iGPU present, no display attached)
- cosmic-comp 0.1~1795167359, cosmic-session 1.11.0
- nvidia-drm.modeset=1, fbdev=Y, Secure Boot disabled
- Two outputs on the NVIDIA card (DP and HDMI)
- RAM 30 GiB, swap 19 GiB, both essentially unused
The proprietary-driver checkbox is left unchecked because Blackwell GPUs cannot run the proprietary kernel module, so this cannot be tested.
Possibly related, but not duplicates:
- #942: RTX 5070 Ti + COSMIC, GUI freeze while browsing, but Xid 45 / GSP timeout instead of Xid 13
- #1124: Wayland compositor blocked on a semaphore in nvidia_modeset (different GPU and compositor)
- waywallen/waywallen-display#69: same
_semsurfAddWaitermessage on 615.78.08, no Xid - bmitch87/DLSS5VKLayer#26: Xid 13 "Subchannel 0x0 Mismatch" with ESR 0x4041b0 on Blackwell under an unrelated Vulkan workload
Happy to provide the full kernel log or test patches.
- Vorherrschende Sprache
- C
- Sterne
- 17.7k
- Forks
- 2k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus NVIDIA/open-gpu-kernel-modules
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
NVIDIA/open-gpu-kernel-modules#1635 ·
Maintainer antworten meist innerhalb von 1 Tag
-
nvidia-drm: NULL dereference in nv_drm_create_sync_file() when sync_file_create() fails (kernel oops when fs.file-max is exhausted)Evtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
NVIDIA/open-gpu-kernel-modules#1601 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
NVIDIA/open-gpu-kernel-modules#1479 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
PlatformRequestHandler: missing !bInit guard on bSystemParamLimitUpdate causes NV_ERR_INVALID_DATA at bootEvtl. vergeben @SammyTourani hat das vor 69 Tagen übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
NVIDIA/open-gpu-kernel-modules#1360 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
NVIDIA/open-gpu-kernel-modules#1343 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in NVIDIA/open-gpu-kernel-modules
Ähnliche Issues
-
iOS: the "Edit controls" button never hides, even with a controller connected, and covers the gameOffengame: 010065A014024000 ios
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
seedds/nxnative#3714 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
area/docdb kind/enhancement mvu-pg15-pg19 priority/low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
yugabyte/yugabyte-db#40355 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Jstar269/nakagawa-recomp#3753 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
ly05010419/MacNativeGames#2474 ·
Maintainer antworten meist innerhalb von 1 Tag