GTX 1080 (GP104) + proprietary 580.178.04 + Hyprland Wayland: Xid 32 flood → nvidia-drm map failure → GL_GUILTY_CONTEXT_RESET / desktop death

Aperta
#1,585 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
8/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
c, linux

Direzione di ricerca

This is a triage request rather than a code change: it asks whether the Xid 32 / __nv_drm_gem_nvkms_mmap failure on GP104 under the proprietary 580.178.04 driver is known, what logs maintainers want, and whether it belongs on this tracker at all. Start by reading the linked forum report and the existing Xid 32 issue #991 to see whether the pattern is already covered, then decide whether a full nvidia-bug-report.sh and the coredump from boot cdf578c01ab842e8bbe6793942ab8c02 should be attached. Done means the maintainers have routed it to the right component or tracker.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

On Omarchy 4.5.0 (Arch-based) with Hyprland 0.56.2 on Wayland, the proprietary nvidia-580xx-dkms 580.178.04 driver sometimes hits a global GPU command-stream fault (Xid 32), followed by nvidia-drm NvKmsKapiMemory mapping failure, then Hyprland aborts on GL_GUILTY_CONTEXT_RESET at CHyprOpenGLImpl::begin(). The desktop session is lost until Hyprland restarts (or full reboot).

This matches the failure shape reported for GTX 1050 + 580.178.04 + GNOME Wayland on the NVIDIA developer forum (Xid 32 flood → __nv_drm_gem_nvkms_map failure → compositor GL_GUILTY_CONTEXT_RESET).

Note: This machine uses the proprietary 580.178.04 DKMS package from Omarchy, not the open kernel module build. Happy to re-test on nvidia-open if a supported package exists for GP104.

System

Component Version
GPU NVIDIA GeForce GTX 1080 (GP104, VBIOS 86.04.60.00.BD)
Driver 580.178.04 (nvidia-580xx-dkms, proprietary)
Kernel 7.2.15-1-omarchy
Compositor Hyprland 0.56.2 (efb50993780079460b0cbed1363e2166a2de1d9f), Aquamarine 0.15.1
Session [email protected] via uwsm, NVIDIA DRM KMS
PCIe Gen3 x16 (current link)
RAM 32 GiB (no OOM; swap unused at fault time)

Repro / frequency

Intermittent. Same stack on 2026-11-12 (3× Hyprland SIGABRT that day) and again 2026-11-23 14:18:45 CET.

Prior boot had ~30 hours uptime with zero NVRM: Xid lines; fault appeared as a single burst at crash time.

2026-11-23 timeline (boot id cdf578c01ab842e8bbe6793942ab8c02)

Nov 23 14:18:45  NVRM: GPU at PCI:0000:01:00: GPU-8acb0f85-11a8-9203-2737-e4893f3b4bc0
Nov 23 14:18:45  NVRM: Xid ... 32, pid=191, name=modprobe, ...
Nov 23 14:18:45  NVRM: Xid ... 32, pid=1590, name=Hyprland, ...
Nov 23 14:18:45  [drm:__nv_drm_gem_nvkms_mmap [nvidia_drm]] *ERROR* Failed to map NvKmsKapiMemory 0x0000000069862d76
Nov 23 14:18:45  Hyprland: has crashed (hyprlandCrashReport159.txt)
Nov 23 14:18:47  coredump: Hyprland SIGABRT

298 Xid 32 lines in the journal for that second (all clients notified: Hyprland, ghostty, slack, chrome, Xwayland, quickshell, etc.) — looks like a device-wide fault, not an isolated app bug.

Hyprland coredump (PID 1590)
  • Signal: SIGABRT
  • Thread 1590: assertImpl ← CHyprOpenGLImpl::begin ← renderMonitor ← CMonitorFrameScheduler::onFrame ← Aquamarine handlePageFlip / DRM event loop
  • Core contains string GL_GUILTY_CONTEXT_RESET (not INNOCENT/UNKNOWN)
  • Hyprland source at tag v0.56.2 intentionally RASSERTs when glGetGraphicsResetStatus() ≠ GL_NO_ERROR (no GPU-reset recovery merged yet; see hyprwm/Hyprland#12485 / PR #13828)
Collateral damage (same second)
  • Chrome child SIGILL
  • xdg-desktop-portal-hyprland SIGSEGV after compositor loss
  • User rebooted ~20 minutes later when session would not stabilize

What Hyprland was doing

Crash report log tail: normal mouse wheel / cursor buffer activity only. No special user action logged at the fault second (no package upgrade at crash time; last Hyprland bump was 2026-10-19).

A new Ghostty window had been opened ~28 minutes earlier (app-ghostty-surface-transient-387021.scope at 13:50); Ghostty has GDK_DISABLE=vulkan in logs. We cannot prove Ghostty caused the fault — Xids hit every GL client simultaneously.

Why we think this is driver / NVKMS–EGL, not Hyprland

  1. First kernel lines are Xid 32 (ROBUST_CHANNEL_PBDMA_ERROR — invalid/corrupted push buffer stream per NVIDIA Xid catalog).
  2. nvidia-drm GEM map failure immediately after, same pattern as forum report above.
  3. Hyprland only reacts to an already-lost GL context; identical CHyprOpenGLImpl::begin + assertImpl stack on all three 2026-11-12 crashes too.

Ask

  1. Is this a known 580.178.04 + Pascal + multi-client Wayland issue? Any fix in 580.xx or 590+ branches?
  2. What additional logs do you want (full nvidia-bug-report.sh, coredumpctl/journalctl from fault boot — we can attach)?
  3. Should this be triaged as proprietary EGL/NVKMS even though reported here on the open-modules tracker?

Related

  • NVIDIA/open-gpu-kernel-modules#991 (Xid 32, Wayland compositor context loss — different GPU/monitor)
  • hyprwm/Hyprland#12485 (compositor-side recovery; does not address root GPU fault)
  • Forum: 580.178.04 Pascal Wayland Xid 32 flood (linked above)
Lingua principale
C
Stelle
17.7k
Fork
2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NVIDIA/open-gpu-kernel-modules

Tutte le issue di NVIDIA/open-gpu-kernel-modules

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.