open-gpu-kernel-modules icon indicating copy to clipboard operation
open-gpu-kernel-modules copied to clipboard

RTX 4090 (AD102): dmaAllocMapping_GM107 VA space exhaustion → RC watchdog GPU lock after 7 days uptime (nvidia-open 595.58.03)

Open stephentaylor-com opened this issue 6 months ago • 20 comments

RTX 4090 (AD102): dmaAllocMapping_GM107 VA space exhaustion → RC watchdog GPU lock after 7 days uptime (nvidia-open 595.58.03)

System Information

Component Value
GPU NVIDIA GeForce RTX 4090 (AD102, rev a1) — MSI (subsystem 1462:5104)
VBIOS 95.02.18.80.74
Driver nvidia-open 595.58.03-5 (Arch nvidia-open package)
Kernel 6.19.13-arch1-1 (x86_64)
CPU AMD Ryzen 9 7950X
RAM 64 GB
OS Arch Linux
Display server Hyprland 0.54.3 (Wayland)
PCIe Gen 1 x16 (current link speed per nvidia-smi)
Module options nvidia_drm modeset=1
Resizable BAR N/A (BAR1 256MB, BAR3 32MB)

Bug Description

After approximately 7 days of uptime under normal desktop use (Wayland compositor, browser, terminals), the nvidia-open driver began failing DMA VA space allocations, eventually leading to a complete GPU lockup that required a hard reboot to recover.

Timeline

  1. May 3 12:38 — System boot. nvidia-open 595.58.03 loads normally.
  2. May 10 13:42 — First burst of 19× dmaAllocMapping_GM107: can't alloc VA space for mapping errors in rapid succession.
  3. May 10 14:44–14:50 — Three more bursts of DMA allocation failures (22, 15, 17, 19 occurrences).
  4. May 10 17:24 — Hyprland crashes (coredump in CCompositor::initServer). RC watchdog fires:
    NVRM: krcWatchdog_IMPL: RC watchdog: GPU is probably locked!  Notify Timeout Seconds: 7
    NVRM: nvAssertFailedNoLog: Assertion failed: GPPut < WATCHDOG_GPFIFO_ENTRIES @ kernel_rc_watchdog.c:1549
    
  5. May 10 17:24–17:35 — SDDM attempts to restart Hyprland 3 times; each attempt results in the same crash at CCompositor::initServer. Display server fails to start on vt 2.
  6. May 10 17:36 — Manual attempts to reload the nvidia modules via modprobe -r nvidia_drm nvidia_modeset nvidia_uvm nvidia fail — GPU is hung.
  7. May 10 17:36–17:38 — RC watchdog continues firing every ~8 seconds until system reboot. The GPU never recovers.
  8. May 10 17:38 — System rebooted. GPU functions normally on the new boot, no errors present.

Logs

DMA allocation failures (first burst):

May 10 13:42:15 kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
[repeated 19 times]

RC watchdog (repeating every ~8s from 17:36 until reboot):

May 10 17:36:04 kernel: NVRM: krcWatchdog_IMPL: RC watchdog: GPU is probably locked!  Notify Timeout Seconds: 7
May 10 17:36:05 kernel: NVRM: nvAssertFailedNoLog: Assertion failed: GPPut < WATCHDOG_GPFIFO_ENTRIES @ kernel_rc_watchdog.c:1549

Hyprland coredump (all 3 restart attempts identical):

Process (Hyprland) of user 1000 dumped core.
#10 /usr/bin/Hyprland + 0x15d0af
#11 CCompositor::initServer (/usr/bin/Hyprland + 0x2ac4c0)
#12 main (/usr/bin/Hyprland + 0x206c53)

PCI BAR layout:

BAR0: 0xfb000000–0xfbffffff  (16 MB, 32-bit non-prefetchable)
BAR1: 0xd0000000–0xdfffffff  (256 MB, 64-bit prefetchable)
BAR3: 0xe0000000–0xe1ffffff  (32 MB, 64-bit prefetchable)

Notes

  • No Xid errors were logged.
  • The system has 24 GB VRAM. Workload at the time of failure was a normal desktop session — not a heavy VRAM consumer.
  • The proprietary driver was not tested.
  • SSH remained functional after display loss, suggesting the host CPU/kernel was not frozen — only the GPU was locked.
  • A separate set of AMD MCE hardware errors (bogus, all-0xffffffffffffffff MC31_STATUS values from an unrelated kernel regression) were present throughout the boot but are not believed to be related to the GPU failure.

Related Issues

  • #1078 — Same driver (595.58.03), same dmaAllocMapping_GM107 errors on RTX 4060 Ti
  • #1132 — Same symptom chain (dmaAllocMapping → krcWatchdog GPU lock) on RTX 5070 / 595.71.05
  • #1134 — BAR mapping VA space exhaustion on RTX 3090 / 595.71.05
  • #971 — GPU hang after extended uptime (~66 days) on B200 / 570.133.20

This appears to be part of a regression in the 580–595 open driver series affecting DMA VA space management across multiple GPU generations.

stephentaylor-com avatar May 10 '26 21:05 stephentaylor-com

I can corroborate this report:

RTX 4060 / 595.71.05 / linux-cachyos 7.0.5

Hitting the same dmaAllocMapping_GM107 VA space exhaustion on a different GPU generation. Reproduces frequently (multiple times per day), not just after extended uptime.

System:

Component Value
GPU NVIDIA GeForce RTX 4060
Driver nvidia-open 595.71.05
Kernel 7.0.5-2-cachyos
Display server KDE Plasma / KWin Wayland
CPU Intel (12th/13th gen, split lock detection enabled)
RAM 32 GB
Module options intel_pstate=force pcie_aspm=off

Symptoms match exactly:

May 13 19:48:45 kernel: NVRM: nvCheckFailedNoLog: Check failed: 0 == (pMapNode->gpuMask & gpuMask) @ gpu_vaspace.c:4547
May 13 19:48:45 kernel: NVRM: nvCheckOkFailedNoLog: Check failed: Invalid argument to call [NV_ERR_INVALID_ARGUMENT] returned from _gvaspaceMappingInsert @ gpu_vaspace.c:2025
May 13 19:48:45 kernel: NVRM: dmaAllocMapping_GM107: can't update VA space for mapping @vaddr=0x207d00000
May 13 19:48:46 kernel: NVRM: intermapRegisterDmaMapping: Failed to insert new mapping node for range 0xDF53CD0000-0xDF53CFFFFF!
May 13 19:48:46 kernel: NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: NV_OK == status @ gpu_vaspace.c:4631

Then the simplified error once VA space is exhausted:

May 14 20:05:52 kernel: NVRM: Userspace mapping creation failed [-22]!

Reproduction: Most reliably triggered during Steam/Proton prefix initialization (mass DLL registration via regsvr32), but has also occurred under normal desktop use (browser + terminals). The VA space corruption persists within a boot — once the first gpu_vaspace.c:4547 assertion fires, all subsequent mapping attempts fail until reboot.

Impact: Complete GPU lockup. KWin Wayland compositor freezes (since it's the display server, the entire session is dead). SSH still works. Hard reboot required.

49 NVRM errors across the last 3 boots. The open modules are the only option for linux-cachyos (no proprietary package available for this kernel), so switching to proprietary isn't straightforward.

briannadon avatar May 15 '26 03:05 briannadon

I seem to have the same or similar ssue. Most noticeably when running Star Citizen + chromium but it can also happen when running chromium + some other apps with higher load.

Field Value
OS EndeavourOS Linux x86_64
Host B550 AORUS ELITE V2
DE Plasma 6.6.5
WM kwin
CPU AMD Ryzen 7 5800X3D (16) @ 4.552GHz
GPU NVIDIA GeForce RTX 3090
Driver 595.71.05
Memory 64189MiB
 maj 15 14:42:55 madatt-pc kernel: [drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000700] Failed to map NvKmsKapiMemory 0x0000000071d612b0
maj 15 14:42:55 madatt-pc kernel: traps: Media[130952] trap invalid opcode ip:557159a3e547 sp:7f3387ff6f50 error:0 in chromium[8d63547,557152235000+102bc000]
maj 15 14:42:55 madatt-pc systemd-coredump[131368]: Process 130917 (chromium) of user 1000 terminated abnormally with signal 4/ILL, processing...
maj 15 14:42:55 madatt-pc systemd[1]: Started Process Core Dump (PID 131368/UID 0).
maj 15 14:42:59 madatt-pc kernel: NVRM: nvAssertFailedNoLog: Assertion failed: GPPut < WATCHDOG_GPFIFO_ENTRIES @ kernel_rc_watchdog.c:1549
maj 15 14:42:59 madatt-pc kernel: NVRM: GPU at PCI:0000:07:00: GPU-3538d40a-4048-b499-333a-801ba7541102
maj 15 14:42:59 madatt-pc kernel: NVRM: Xid (PCI:0000:07:00): 109, pid=130192, name=StarCitizen.exe, channel 0x00000074, errorString CTX SWITCH TIMEOUT, Info 0x3ec07a
maj 15 14:42:59 madatt-pc kernel: NVRM: Xid (PCI:0000:07:00): 31, pid=129493, name=chromium, channel 0x00000030, intr 00000000. MMU Fault: ENGINE GR0_PBDMA0 HUBCLIENT_ESC faulted @ 0x0_04040000. Fault is of type FAULT_INFO_TYPE_UNSUPPO>
maj 15 14:42:59 madatt-pc kernel: NVRM: Xid (PCI:0000:07:00): 31, pid=129493, name=chromium, channel 0x00000030, intr 00000000. MMU Fault: ENGINE GRAPHICS GPC0 GPCCLIENT_RAST faulted @ 0x0_04290000. Fault is of type FAULT_INFO_TYPE_UNS>
maj 15 14:43:00 madatt-pc kernel: NVRM: Xid (PCI:0000:07:00): 38, pid=129493, name=chromium, channel 0x00000030 0000c797 00000000 00000000
maj 15 14:43:06 madatt-pc systemd-coredump[131227]: [🡕] Process 131017 (chromium) of user 1000 dumped core.
                                                    
                                                    Stack trace of thread 14:
                                                    #0  0x0000557159a3e547 n/a (n/a + 0x0)
                                                    ELF object binary architecture: AMD x86-64
maj 15 14:42:55 madatt-pc kernel: resource: resource sanity check: requesting [mem 0x00000000dfd70000-0x00000000e009ffff], which spans more than 0000:07:00.0 >
maj 15 14:42:55 madatt-pc kernel: caller __nv_drm_gem_nvkms_map+0x99/0xf0 [nvidia_drm] mapping multiple BARs
maj 15 14:42:55 madatt-pc kernel: nvidia 0000:07:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0012 address=0x47c7c7c7c700 flags=0x0010]
maj 15 14:42:55 madatt-pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
maj 15 14:42:55 madatt-pc kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pReuseMappingDb->>
maj 15 14:42:55 madatt-pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
maj 15 14:42:55 madatt-pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
maj 15 14:42:55 madatt-pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
maj 15 14:42:55 madatt-pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
maj 15 14:42:55 madatt-pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
maj 15 14:42:55 madatt-pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
maj 15 14:42:55 madatt-pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
maj 15 14:42:55 madatt-pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
maj 15 14:42:55 madatt-pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
maj 15 14:42:55 madatt-pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
maj 15 14:42:55 madatt-pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
maj 15 14:42:55 madatt-pc kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pReuseMappingDb->>
maj 15 14:42:55 madatt-pc kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from reusemappingdbMap>
maj 15 14:42:55 madatt-pc kernel: [drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000700] Failed to map NvKmsKapiMemory 0x000000007>
maj 15 14:42:55 madatt-pc kernel: traps: Media[130952] trap invalid opcode ip:557159a3e547 sp:7f3387ff6f50 error:0 in chromium[8d63547,557152235000+102bc000]
maj 15 14:42:55 madatt-pc systemd-coredump[131368]: Process 130917 (chromium) of user 1000 terminated abnormally with signal 4/ILL, processing...
maj 15 14:42:55 madatt-pc systemd[1]: Started Process Core Dump (PID 131368/UID 0).
maj 15 14:42:59 madatt-pc kernel: NVRM: nvAssertFailedNoLog: Assertion failed: GPPut < WATCHDOG_GPFIFO_ENTRIES @ kernel_rc_watchdog.c:1549
maj 15 14:42:59 madatt-pc kernel: NVRM: GPU at PCI:0000:07:00: GPU-3538d40a-4048-b499-333a-801ba7541102
maj 15 14:42:59 madatt-pc kernel: NVRM: Xid (PCI:0000:07:00): 109, pid=130192, name=StarCitizen.exe, channel 0x00000074, errorString CTX SWITCH TIMEOUT, Info >
maj 15 14:42:59 madatt-pc kernel: NVRM: Xid (PCI:0000:07:00): 31, pid=129493, name=chromium, channel 0x00000030, intr 00000000. MMU Fault: ENGINE GR0_PBDMA0 H>
maj 15 14:42:59 madatt-pc kernel: NVRM: Xid (PCI:0000:07:00): 31, pid=129493, name=chromium, channel 0x00000030, intr 00000000. MMU Fault: ENGINE GRAPHICS GPC>
maj 15 14:43:00 madatt-pc kernel: NVRM: Xid (PCI:0000:07:00): 38, pid=129493, name=chromium, channel 0x00000030 0000c797 00000000 00000000
maj 15 14:43:06 madatt-pc systemd-coredump[131227]: [🡕] Process 131017 (chromium) of user 1000 dumped core.
                                                    
                                                    Stack trace of thread 14:
                                                    #0  0x0000557159a3e547 n/a (n/a + 0x0)
                                                    ELF object binary architecture: AMD x86-64

Madatt avatar May 15 '26 19:05 Madatt

Crashed via GM107 on 610.43.02


Field Value
OS Arch Linux x86_64
Board B450 AORUS ELITE
Bios F67i
DE Hyprland 0.55.2
CPU AMD Ryzen 5 5600
GPU NVIDIA GeForce RTX 3060 Ti LHR
Driver nvidia-open 610.43.02

Jun 01 14:47:03 Desk kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 01 14:47:03 Desk kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pReuseMappingDb->pMapCb(pReuseMappingDb->pGlobalCtx, pAllocCtx, range, cachingFlags, &token, _reusemappingdbAddMappingCallback) @ mapping_reuse.c:273
Jun 01 14:47:03 Desk kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 01 14:47:03 Desk kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 01 14:47:03 Desk kernel: resource: resource sanity check: requesting [mem 0x00000000dfd20000-0x00000000e004ffff], which spans more than 0000:0a:00.0 [mem 0xd0000000-0xdfffffff 64bit pref]
Jun 01 14:47:03 Desk kernel: caller __nv_drm_gem_nvkms_map+0xc3/0x130 [nvidia_drm] mapping multiple BARs
Jun 01 14:47:03 Desk kernel: [drm:nv_drm_atomic_apply_modeset_config [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000a00] Failed to initialize semaphore for plane fence
Jun 01 14:47:03 Desk kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000a00] Failed to apply atomic modeset.  Error code: -11
Jun 01 14:47:04 Desk kernel: hrtimer: interrupt took 2310343 ns
Jun 01 14:47:04 Desk kernel: INFO: NMI handler (perf_event_nmi_handler) took too long to run: 1.035 msecs
Jun 01 14:47:04 Desk kernel: perf: interrupt took too long (14126 > 8542), lowering kernel.perf_event_max_sample_rate to 14000
Jun 01 14:47:04 Desk kernel: [drm:nv_drm_atomic_apply_modeset_config [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000a00] Failed to initialize semaphore for plane fence
Jun 01 14:47:04 Desk kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000a00] Failed to apply atomic modeset.  Error code: -11

LurkAndLoiter avatar Jun 01 '26 19:06 LurkAndLoiter

Almost identical crash and specs to @LurkAndLoiter. I was using Spotify, Brave Browser, Vesktop and VS Code at the time of crash. Uptime at the point of crash was ~4h.

Field Value
OS CachyOS x86_64
Board B450 AORUS PRO
DE KDE Plasma 6.6.5
CPU AMD Ryzen 7 3700X
GPU NVIDIA GeForce RTX 3060 Ti LHR
Driver linux-cachy-os-nvidia-open 610.43.02
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pReuseMappingDb->pMapCb(pReuseMappingDb->pGlobalCtx, pAllocCtx, range, cachingFlags, &token, _reusemappingdbAddMappingCallback) @ mapping_reuse.c:274
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pReuseMappingDb->pMapCb(pReuseMappingDb->pGlobalCtx, pAllocCtx, range, cachingFlags, &token, _reusemappingdbAddMappingCallback) @ mapping_reuse.c:274
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Jun 02 16:31:17 cachyos kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pReuseMappingDb->pMapCb(pReuseMappingDb->pGlobalCtx, pAllocCtx, range, cachingFlags, &token, _reusemappingdbAddMappingCallback) @ mapping_reuse.c:274
Jun 02 16:31:17 cachyos kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from reusemappingdbMap(&pBar1VaInfo->reuseDb, pMappingType, mapRange, pMemArea, cachingFlags) @ kern_bus_gm107.c:3151
Jun 02 16:31:17 cachyos kernel: [drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000700] Failed to map NvKmsKapiMemory 0x0000000092fd7f85
Jun 02 16:31:18 cachyos kernel: NVRM: GPU at PCI:0000:07:00: GPU-8f6d56d8-e4c0-7510-7af4-c9034beb5852
Jun 02 16:31:18 cachyos kernel: NVRM: Xid (PCI:0000:07:00): 38, pid=3046, name=brave, channel 0x00000022 0000c797 00000000 00000000
Jun 02 16:32:14 cachyos systemd-coredump[56831]: Process 1084 (kwin_wayland) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 1084:
                                                 #0  0x00007fdc06a0f9c9 n/a (libQt6Core.so.6 + 0x20f9c9)
                                                 #1  0x00007fdc088c99b8 _ZN20QQmlComponentPrivate7loadUrlERK4QUrlN13QQmlComponent15CompilationModeE (libQt6Qml.so.6 + 0x2c99b8)
                                                 #2  0x00007fdc088cb213 _ZN20QQmlComponentPrivate22completeLoadFromModuleE14QAnyStringViewS0_ (libQt6Qml.so.6 + 0x2cb213)
                                                 #3  0x00007fdc088e9b14 n/a (libQt6Qml.so.6 + 0x2e9b14)
                                                 #4  0x00007fdc08a084b7 n/a (libQt6Qml.so.6 + 0x4084b7)
                                                 #5  0x00007fdc08a97b2a n/a (libQt6Qml.so.6 + 0x497b2a)
                                                 #6  0x00007fdc07d04c1b _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x104c1b)
                                                 #7  0x00007fdc06998a48 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x198a48)
                                                 #8  0x00007fdc06998e68 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0x198e68)
                                                 #9  0x00007fdc06bb4e1b _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3b4e1b)
                                                 #10 0x00007fdc07a00672 _ZN23QUnixEventDispatcherQPA13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Gui.so.6 + 0x800672)
                                                 #11 0x00007fdc069a78b4 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x1a78b4)
                                                 #12 0x00007fdc0699c8f4 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x19c8f4)
                                                 #13 0x000055afa481b692 n/a (kwin_wayland + 0x3f692)
                                                 #14 0x00007fdc06027c8e n/a (libc.so.6 + 0x27c8e)
                                                 #15 0x00007fdc06027dcb __libc_start_main (libc.so.6 + 0x27dcb)
                                                 #16 0x000055afa4822205 n/a (kwin_wayland + 0x46205)

FridolinWarwitz avatar Jun 02 '26 15:06 FridolinWarwitz

Another data point — RTX 4090 (AD102) on 610.43.02, but a recoverable outcome (no hard-lock)

Same dmaAllocMapping_GM107 BAR1 VA-space exhaustion here, triggered by a Chromium-based browser. Adding this because (a) it's the current 610.43.02 release on an AD102, and (b) unlike the OP my GPU did not hard-lock — it self-reset and only the Wayland compositor died, which may help bound where the containment failure happens.

System

Component Value
GPU RTX 4090 (AD102, PCI 0000:09:00.0)
BAR1 256 MiB (Resizable BAR not active)
Driver nvidia-open 610.43.02
Kernel linux-cachyos-bore-lto 7.0.11
OS / DE CachyOS / KDE Plasma 6.6.5, KWin Wayland (6.6.5)
Trigger Brave (Chromium) playing an inline video

The mapping crosses the BAR1→BAR3 boundary (same as #1132)

The failing request runs past the end of BAR1 (...dfffffff) into the BAR3 window, so the PCI layer rejects it before it can ever succeed:

NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
NVRM: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) ... @ mapping_reuse.c:274
NVRM: ... reusemappingdbMap(&pBar1VaInfo->reuseDb, ...) @ kern_bus_gm107.c:3151
resource: resource sanity check: requesting [mem 0xdfcf0000-0xe007ffff],
          which spans more than 0000:09:00.0 [mem 0xd0000000-0xdfffffff 64bit pref]
caller __nv_drm_gem_nvkms_map+0xb0/0x120 [nvidia_drm] mapping multiple BARs
[drm:__nv_drm_gem_nvkms_map] *ERROR* Failed to map NvKmsKapiMemory

BAR1 layout (lspci -vv): Region 1 = 256M @ 0xd0000000–0xdfffffff, Region 3 = 32M @ 0xe0000000. The requested range 0xdfcf0000–0xe007ffff straddles both. VRAM was ~1.5/24 GiB used at the time — this is BAR1 window exhaustion/fragmentation, not byte-level VRAM pressure.

Sequence — recoverable, no krcWatchdog

  1. 10:20:57 — first burst of can't alloc VA space while Brave plays video; the Brave renderer crashes once (SIGILL).
  2. 10:27:46 — Xid 31 MMU Fault, ENGINE GR0_PBDMA0, attributed to plasmashell (the next client to touch the now-broken VA space), not the original allocator.
  3. 10:28:20 → 10:30:10 — KWin's GL robustness reports "A graphics reset of an unknown cause occurred." every ~22s; it never re-initializes cleanly.
  4. 10:30:33 — KWin aborts (SIGABRT); all Wayland clients drop. KWin is restarted by the session and the desktop recovers without a reboot.

No krcWatchdog: GPU is probably locked! in this case — the GPU reset path worked and the engine came back. So the same root cause (BAR1→BAR3 mapping overrun) can land anywhere on a spectrum from "one tab dies" → "compositor restarts" → "full host hard-lock" (#1187), presumably depending on which client holds the engine when the bad mapping is attempted.

Note: the Xid 31 is blamed on plasmashell, but it's a secondary victim — the first failure (10:20:57) is the browser allocation. Worth flagging so the engine-fault attribution isn't mistaken for the root cause.

Workaround that holds: disabling hardware-accelerated video decode in the Chromium-based browser stops the BAR1 over-allocation (matches the Brave-vs-Firefox BAR1 measurements in #1187).

filipemendespi avatar Jun 09 '26 13:06 filipemendespi

Another data point — RTX 4090 (AD102) on 610.43.02, but a recoverable outcome (no hard-lock)

Same dmaAllocMapping_GM107 BAR1 VA-space exhaustion here, triggered by a Chromium-based browser. Adding this because (a) it's the current 610.43.02 release on an AD102, and (b) unlike the OP my GPU did not hard-lock — it self-reset and only the Wayland compositor died, which may help bound where the containment failure happens.

System

Component Value GPU RTX 4090 (AD102, PCI 0000:09:00.0) BAR1 256 MiB (Resizable BAR not active) Driver nvidia-open 610.43.02 Kernel linux-cachyos-bore-lto 7.0.11 OS / DE CachyOS / KDE Plasma 6.6.5, KWin Wayland (6.6.5) Trigger Brave (Chromium) playing an inline video The mapping crosses the BAR1→BAR3 boundary (same as #1132)

The failing request runs past the end of BAR1 (...dfffffff) into the BAR3 window, so the PCI layer rejects it before it can ever succeed:

NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
NVRM: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) ... @ mapping_reuse.c:274
NVRM: ... reusemappingdbMap(&pBar1VaInfo->reuseDb, ...) @ kern_bus_gm107.c:3151
resource: resource sanity check: requesting [mem 0xdfcf0000-0xe007ffff],
          which spans more than 0000:09:00.0 [mem 0xd0000000-0xdfffffff 64bit pref]
caller __nv_drm_gem_nvkms_map+0xb0/0x120 [nvidia_drm] mapping multiple BARs
[drm:__nv_drm_gem_nvkms_map] *ERROR* Failed to map NvKmsKapiMemory

BAR1 layout (lspci -vv): Region 1 = 256M @ 0xd0000000–0xdfffffff, Region 3 = 32M @ 0xe0000000. The requested range 0xdfcf0000–0xe007ffff straddles both. VRAM was ~1.5/24 GiB used at the time — this is BAR1 window exhaustion/fragmentation, not byte-level VRAM pressure.

Sequence — recoverable, no krcWatchdog

  1. 10:20:57 — first burst of can't alloc VA space while Brave plays video; the Brave renderer crashes once (SIGILL).
  2. 10:27:46 — Xid 31 MMU Fault, ENGINE GR0_PBDMA0, attributed to plasmashell (the next client to touch the now-broken VA space), not the original allocator.
  3. 10:28:20 → 10:30:10 — KWin's GL robustness reports "A graphics reset of an unknown cause occurred." every ~22s; it never re-initializes cleanly.
  4. 10:30:33 — KWin aborts (SIGABRT); all Wayland clients drop. KWin is restarted by the session and the desktop recovers without a reboot.

No krcWatchdog: GPU is probably locked! in this case — the GPU reset path worked and the engine came back. So the same root cause (BAR1→BAR3 mapping overrun) can land anywhere on a spectrum from "one tab dies" → "compositor restarts" → "full host hard-lock" (#1187), presumably depending on which client holds the engine when the bad mapping is attempted.

Note: the Xid 31 is blamed on plasmashell, but it's a secondary victim — the first failure (10:20:57) is the browser allocation. Worth flagging so the engine-fault attribution isn't mistaken for the root cause.

Workaround that holds: disabling hardware-accelerated video decode in the Chromium-based browser stops the BAR1 over-allocation (matches the Brave-vs-Firefox BAR1 measurements in #1187).

Why would you not enable ReBar on your bios if you have a 40xx series card? It is supposed to be compatible right? Since I only have a 2070s I cannot stress it more. Does the driver just not have this feature implemented yet?

alefhamad avatar Jun 18 '26 06:06 alefhamad

Another data point — RTX 4090 (AD102) on 610.43.02, but a recoverable outcome (no hard-lock)

Same dmaAllocMapping_GM107 BAR1 VA-space exhaustion here, triggered by a Chromium-based browser. Adding this because (a) it's the current 610.43.02 release on an AD102, and (b) unlike the OP my GPU did not hard-lock — it self-reset and only the Wayland compositor died, which may help bound where the containment failure happens. System Component Value GPU RTX 4090 (AD102, PCI 0000:09:00.0) BAR1 256 MiB (Resizable BAR not active) Driver nvidia-open 610.43.02 Kernel linux-cachyos-bore-lto 7.0.11 OS / DE CachyOS / KDE Plasma 6.6.5, KWin Wayland (6.6.5) Trigger Brave (Chromium) playing an inline video The mapping crosses the BAR1→BAR3 boundary (same as #1132) The failing request runs past the end of BAR1 (...dfffffff) into the BAR3 window, so the PCI layer rejects it before it can ever succeed:

NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
NVRM: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) ... @ mapping_reuse.c:274
NVRM: ... reusemappingdbMap(&pBar1VaInfo->reuseDb, ...) @ kern_bus_gm107.c:3151
resource: resource sanity check: requesting [mem 0xdfcf0000-0xe007ffff],
          which spans more than 0000:09:00.0 [mem 0xd0000000-0xdfffffff 64bit pref]
caller __nv_drm_gem_nvkms_map+0xb0/0x120 [nvidia_drm] mapping multiple BARs
[drm:__nv_drm_gem_nvkms_map] *ERROR* Failed to map NvKmsKapiMemory

BAR1 layout (lspci -vv): Region 1 = 256M @ 0xd0000000–0xdfffffff, Region 3 = 32M @ 0xe0000000. The requested range 0xdfcf0000–0xe007ffff straddles both. VRAM was ~1.5/24 GiB used at the time — this is BAR1 window exhaustion/fragmentation, not byte-level VRAM pressure. Sequence — recoverable, no krcWatchdog

  1. 10:20:57 — first burst of can't alloc VA space while Brave plays video; the Brave renderer crashes once (SIGILL).
  2. 10:27:46 — Xid 31 MMU Fault, ENGINE GR0_PBDMA0, attributed to plasmashell (the next client to touch the now-broken VA space), not the original allocator.
  3. 10:28:20 → 10:30:10 — KWin's GL robustness reports "A graphics reset of an unknown cause occurred." every ~22s; it never re-initializes cleanly.
  4. 10:30:33 — KWin aborts (SIGABRT); all Wayland clients drop. KWin is restarted by the session and the desktop recovers without a reboot.

No krcWatchdog: GPU is probably locked! in this case — the GPU reset path worked and the engine came back. So the same root cause (BAR1→BAR3 mapping overrun) can land anywhere on a spectrum from "one tab dies" → "compositor restarts" → "full host hard-lock" (#1187), presumably depending on which client holds the engine when the bad mapping is attempted. Note: the Xid 31 is blamed on plasmashell, but it's a secondary victim — the first failure (10:20:57) is the browser allocation. Worth flagging so the engine-fault attribution isn't mistaken for the root cause. Workaround that holds: disabling hardware-accelerated video decode in the Chromium-based browser stops the BAR1 over-allocation (matches the Brave-vs-Firefox BAR1 measurements in #1187).

Why would you not enable ReBar on your bios if you have a 40xx series card? It is supposed to be compatible right? Since I only have a 2070s I cannot stress it more. Does the driver just not have this feature implemented yet?

Yes, I enabled it to solve my problem, but I reported it so it can help solve the main bug. Regardless of the ReBar's state, this should work fine, right?

filipemendespi avatar Jun 20 '26 21:06 filipemendespi

Still present on 610.57.04 (OP) — and the onset went from ~7 days to ~1 day after a userspace upgrade

Reporting back on my own issue with a newer driver than anything in the thread so far (610.57.04 vs 610.43.03), plus a frequency change that may help separate the driver-side bug from what triggers it.

System (same machine as the OP, changes marked)

Component Value
GPU RTX 4090 (AD102), MSI 1462:5104
VBIOS 95.02.18.80.74
BAR1 256 MiB (Resizable BAR not active) — unchanged
Driver nvidia-open 610.57.04 (was 595.58.03)
Kernel 7.1.8-arch1-3 (was 6.19.13)
Compositor Hyprland 0.56.2 (was 0.54.3)
Browser Chromium 151.0.7922.137
Module options nvidia_drm modeset=1 — unchanged

The mapping crosses the BAR1→BAR3 boundary, matching @filipemendespi's analysis

Aug 16 11:43:45 kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Aug 16 11:43:45 kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051)
                              returned from pReuseMappingDb->pMapCb(...) @ mapping_reuse.c:273
Aug 16 11:43:45 kernel: resource: resource sanity check: requesting [mem 0x00000000dfda0000-0x00000000e00cffff],
                              which spans more than 0000:01:00.0 [mem 0xd0000000-0xdfffffff 64bit pref]
Aug 16 11:43:45 kernel: caller __nv_drm_gem_nvkms_map+0xc3/0x130 [nvidia_drm] mapping multiple BARs

BAR1 ends at 0xdfffffff. The request starts at 0xdfda0000 — 1.5 MiB below the top — and runs to 0xe00cffff, i.e. ~3.3 MiB, so it overruns into BAR3 (0xe0000000) and the PCI layer rejects it.

BAR1 was not full. This is the part I would flag: nvidia-smi -q reports

BAR1 Memory Usage
    Total : 256 MiB
    Used  :  54 MiB
    Free  : 202 MiB

so this does not look like straightforward aperture exhaustion — the reuse path appears to place or extend a mapping at the top edge of BAR1 rather than using the free space below it. If that reading is right, a larger BAR1 would reduce how often the top edge is reached but would not fix the placement itself.

Same-second Chromium Media thread death, matching @Madatt

Aug 16 11:43:45 kernel: traps: Media[2464121] trap invalid opcode ip:5588e695cfb7 ... in chromium[...]
Aug 16 11:43:45 systemd-coredump: Process 2463968 (chromium) of user 1000 terminated abnormally with signal 4/ILL

Timestamps are identical to the second, so I cannot establish ordering from the log — but a Chromium-based browser doing video is the trigger in nearly every report in this thread.

Then the same containment failure as the OP

Aug 16 11:43:48 kernel: NVRM: nvAssertFailedNoLog: Assertion failed: GPPut < WATCHDOG_GPFIFO_ENTRIES @ kernel_rc_watchdog.c:1551
Aug 16 11:43:55 kernel: NVRM: krcWatchdog_IMPL: RC watchdog: GPU is probably locked!  Notify Timeout Seconds: 7

and ~30 minutes later, channel allocation begins failing outright:

Aug 16 12:14:32 kernel: NVRM: GPU0 _ceutilsSubmitPushBuffer: Cannot get putIndex.
Aug 16 12:14:32 kernel: NVRM: GPU0 nvAssertOkFailedNoLog: Assertion failed: Call timed out [NV_ERR_TIMEOUT] ... @ mem_scrub.c
Aug 16 12:14:32 kernel: NVRM: GPU0 ctxBufPoolReserve: Failed to reserve memory. trimming all pools
Aug 16 12:14:32 kernel: NVRM: GPU0 nvAssertOkFailedNoLog: Assertion failed: Generic Error: Invalid state [NV_ERR_INVALID_STATE]
                              ... KEPLER_CHANNEL_GROUP_A ... @ kernel_channel.c

Two containment details that may help bound the failure

  1. The management plane stays completely healthy. nvidia-smi answers normally throughout — temperature, power, clocks, per-process memory — and reports no Xid at any point. Monitoring that only polls nvidia-smi sees nothing wrong.
  2. New CUDA contexts spin unkillably. Any process that calls cuCtxCreate after the wedge spins at ~99.7% CPU in R state and does not die on SIGKILL — it is stuck inside a driver ioctl. Confirmed twice; both processes were still running 13+ minutes after being killed. This is what makes rmmod recovery impossible: the unkillable process holds a module reference, so the modules can never be unloaded and only a reboot clears it.

Frequency changed sharply after a userspace upgrade, with BAR1 config unchanged

Occurrences of can't alloc VA space per boot, from journalctl --list-boots on this machine:

boot started uptime occurrences
−9 2026-06-10 17 days 0
−8 2026-06-27 24 days 0
−4 2026-07-31 13 days 0
−3 2026-08-13 13:00 27 h 5
0 2026-08-14 16:08 47 h 60

Boot −3 is the first boot after this upgrade:

nvidia-open   595.71.05 -> 610.43.03
linux         7.0.9     -> 7.1.4
mesa          26.1.1    -> 26.1.5
hyprland      0.55.2    -> 0.56.0
electron      42        -> 43

I want to be careful about what this does and does not show. It is not evidence that 610 introduced the bug — I filed this issue against 595.58.03, and @briannadon reports it on 595.71.05. But on this machine the same hardware and the same 256 MiB BAR1 went 24 days without a single occurrence on 595.71.05, and now produces dozens within ~2 days. Something in that upgrade — plausibly the Chromium/Electron bump changing the video-decode mapping pattern — moved how often the top-of-BAR1 case is hit.

Happy to collect anything else useful (nvidia-bug-report.sh from a wedged boot, BAR1 usage sampled over uptime, or a test with nvidia_drm.fbdev=0) if it would help narrow it.

stephentaylor-com avatar Aug 16 '26 20:08 stephentaylor-com

im on an RTX 2060 and i run into this same exact problem with chrome open on arch running driver 610.57.04

Image

averageun1x avatar Aug 17 '26 00:08 averageun1x

Correcting my own report: on the same driver (610.57.04) this now produces Xids, hangs nvidia-smi, and wedges in ~76 minutes

Following up on my previous comment. Three things in tonight's occurrence contradict what the OP and I wrote earlier, and two of them are claims I made myself, so I want to correct the record rather than leave stale diagnostics in the thread.

Same machine as the OP. Nothing changed in software since my last comment — still nvidia-open 610.57.04, kernel 7.1.8-arch1-3, Hyprland, BAR1 256 MiB with ReBAR inactive.


1. There are Xids now — and they are a different shape to the ones already in this thread

The OP states "No Xid errors were logged", and my last comment said nvidia-smi "reports no Xid at any point". Both were accurate at the time. Tonight:

Aug 18 23:50:24 kernel: NVRM: GPU0 nvCheckOkFailedNoLog: Check failed: Generic Error: Invalid state
                        [NV_ERR_INVALID_STATE] (0x00000040) returned from pRmApi->Control(pRmApi,
                        pGpu->hInternalClient, pGpu->hInternalSubdevice,
                        NV2080_CTRL_CMD_INTERNAL_LOG_OOB_XID, &params, sizeof(params)) @ gpu.c:7695
Aug 18 23:50:24 kernel: NVRM: Xid (PCI:0000:01:00): 175, pid=203578, name=hyprland-dialog,
                        Timeout after 75s of waiting for RPC response from GPU0 GSP!
                        Expected function 103 (GSP_RM_ALLOC) sequence 4484 (0x0 0x78).
Aug 18 23:50:27 kernel: NVRM: Xid (PCI:0000:01:00): 154,
                        GPU recovery action changed from 0x0 (None) to 0x1 (PF FLR)

So: the GSP stops answering RPCs (175, on a GSP_RM_ALLOC), and the driver then declares the GPU needs a Function Level Reset (154). Note the driver also fails to log the Xid through its own internal out-of-band path immediately before, with NV_ERR_INVALID_STATE.

The Xids already reported here — 31/38 MMU faults and 109 context-switch timeouts from @Madatt, @FridolinWarwitz and @filipemendespi — are engine/channel faults. I don't see 175 or 154 anywhere in the thread so far. If the GSP RPC path is where this ends up, that may be a more useful place to look than the engine faults, which several of us have already noted are secondary victims.

2. nvidia-smi no longer survives the wedge

My last comment quoted live nvidia-smi -q BAR1 figures taken during the lock — that is how I showed BAR1 was only 54/256 MiB used. That is no longer possible. nvidia-smi now hangs indefinitely:

PID     STAT  WCHAN                     COMMAND
366956  D     os_acquire_rwlock_write   nvidia-smi --query-gpu=...

Uninterruptible sleep, blocked acquiring an RM rwlock, and it ignores both timeout(1) and SIGKILL — every invocation leaves another unkillable process behind until reboot.

This inverts the practical advice in this thread. "Monitoring that only watches nvidia-smi will not see this" has become "monitoring that calls nvidia-smi will hang on it". A non-destructive check that avoids the driver entirely:

journalctl -k -b | grep -c 'RC watchdog: GPU is probably locked'   # fires every ~30s once wedged
cat /proc/driver/nvidia/version

3. The trigger was the compositor, not a browser

Every report in this thread including mine has pointed at a Chromium-based browser. Tonight there was no browser involvement at all:

$ journalctl -b | grep -icE 'trap invalid opcode.*chromium|signal 4/ILL'
0

The failing allocation came from hyprland-dialog — a compositor dialog — through the same driver path as always:

Aug 18 23:48:37 kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.        (x6)
Aug 18 23:48:37 kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory
                        [NV_ERR_NO_MEMORY] (0x00000051) returned from pReuseMappingDb->pMapCb(...)
                        @ mapping_reuse.c:273
Aug 18 23:48:37 kernel: resource: resource sanity check: requesting
                        [mem 0x00000000dfca0000-0x00000000e094ffff], which spans more than
                        0000:01:00.0 [mem 0xd0000000-0xdfffffff 64bit pref]
Aug 18 23:48:37 kernel: caller __nv_drm_gem_nvkms_map+0xc3/0x130 [nvidia_drm] mapping multiple BARs
Aug 18 23:48:38 kernel: [drm:nv_drm_atomic_apply_modeset_config [nvidia_drm]] *ERROR*
                        [nvidia-drm] [GPU ID 0x00000100] Failed to initialize semaphore for plane fence

Same mapping_reuse.c:273, same __nv_drm_gem_nvkms_map caller, same boundary crossing: the request runs to 0xe094ffff while BAR1 ends at 0xdfffffff, so it overruns into BAR3 and the PCI layer rejects it.

I think this is worth separating from the Chromium correlation. The browser appears to be a frequent client of this path, not a necessary one — any GPU client doing an NVKMS GEM mapping can land on the BAR1 top edge. That would also explain why reporters here span Hyprland, KWin and Plasma with different applications.

4. Time-to-onset, same software, keeps falling

Occurrence Time from boot to wedge
earlier drivers on this machine ~7 days
610.57.04 — my last comment, Aug 16 ~1 day
610.57.04 — tonight, nothing upgraded since ~76 minutes

Boot at 22:32:58, first BAR failure at 23:48:37. I can't attribute this one to a version change, since nothing was upgraded between the two occurrences — so I'd treat the earlier "userspace upgrade changed the frequency" reading from my last comment as unproven. It may simply be that onset depends on how much mapping churn the session happens to do before something lands on the top edge.

Full sequence for reference

22:32:58  boot
23:48:37  dmaAllocMapping_GM107: can't alloc VA space (x6)  ->  BAR1/BAR3 overrun rejected
23:48:38  atomic modeset fails: "Failed to initialize semaphore for plane fence"
~23:49:09  GSP_RM_ALLOC RPC issued (75s before the timeout below)
23:50:24  Xid 175 — GSP RPC timeout, pid=203578 hyprland-dialog
23:50:27  Xid 154 — recovery action None -> PF FLR
23:50:27+ RC watchdog "GPU is probably locked" every ~30s, still firing 85 minutes later
          nvidia-smi wedged in D state; only a reboot clears it

Happy to run anything specific on this machine before the next reboot if it would help — it reproduces within a couple of hours now, which makes it much cheaper to instrument than it used to be.

stephentaylor-com avatar Aug 19 '26 07:08 stephentaylor-com

Bounded datapoint: BAR1 exhaustion killed only Chromium renderers — no Xid, no RC watchdog, no wedge (RTX 2060 SUPER, TU106, 610.57.04, Hyprland)

Component Value
GPU RTX 2060 SUPER (TU106, 10de:1f06), BAR1 256 MiB, no ReBAR
Driver nvidia-open-dkms 610.57.04-1, nvidia-utils 610.57.04-1 (Arch)
Kernel 7.1.8-arch1-3 during all events
Session Hyprland 0.56.2, Wayland on the NVIDIA output (boot VGA; Ryzen iGPU present but not driving the session)
Victim app chromium 151.0.7922.173

Three episodes in one boot (up since 12:50), each identical:

Time (uptime) NVRM burst Casualty
16:03:33–35 (~3h12m) 25 lines renderer Media thread dies 16:03:35
23:04:34 (~10h14m) 25 lines renderer Media thread dies 23:04:34
00:11:11–14 (~11h21m) 39 lines renderer Media thread dies 00:11:14

Kernel signature matches this thread exactly (dmaAllocMapping_GM107: can't alloc VA space, mapping_reuse.c:273, kern_bus_gm107.c:3152, __nv_drm_gem_nvkms_map → Failed to map NvKmsKapiMemory). Across ~12 h uptime these messages appear only inside the three episode windows.

What this adds beyond the reports above:

  1. The failure can present with zero GPU-side symptoms. No Xid, no RC watchdog, no compositor death, nvidia-smi healthy throughout, display never froze. Anyone diagnosing "my browser tabs keep crashing" from userspace alone would never look at dmesg — journalctl -k -b | grep -c dmaAllocMapping is the cheap differential.
  2. A fully symbolized downstream victim. All three dying renderers trap at the same address: partition_alloc::internal::OnNoMemoryInternal — PartitionAlloc's deliberate ud2 when Linux refuses memory — SIGILL/ILL_ILLOPN on the Media thread, seconds after the corresponding burst. So the mapping failures and an allocator OOM abort co-occur tightly, 3-for-3.
  3. Another Turing desktop SKU on 610.57.04 where containment held (app-level casualties instead of a wedge).

Honest caveat: this host runs near its memory-commit ceiling (Committed_AS ≈ 94 % of CommitLimit; one kswapd order-0 allocation failure earlier the same boot), so host memory pressure may be a co-factor in the renderer OOM aborts. The BAR1 VA-space failures themselves are unambiguous.

Mitigations not yet applied here; hardware video decode off is next if it recurs.

Filed by ox-alpha via opencode.

rorshopping avatar Aug 23 '26 22:08 rorshopping

OP follow-up: same machine, reproduced on 610.57.04 — hung channel survives full teardown of the triggering client

Same host as the original report, 3.5 months later. Trigger was again a Chromium process. BAR1 still 256 MiB.

Component Value
Driver nvidia-open 610.57.04-6 (Arch)
Kernel 7.1.8-arch1-3
Compositor Hyprland 0.56.2
Trigger chromium 151.0.7922.137 (child process of a running browser)
Uptime at failure ~4.5 days (OP failure was at ~7 days)

1. The bug survives into 610.57.04. Same signature as the 610.43.02 reports above, line numbers shifted slightly (mapping_reuse.c:273, kern_bus_gm107.c:3152, kernel_rc_watchdog.c:1551), including the same BAR1→BAR3 straddle as #1132 and @filipemendespi's comment:

Aug 23 22:44:33 kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Aug 23 22:44:33 kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051)
                        returned from pReuseMappingDb->pMapCb(...) @ mapping_reuse.c:273
Aug 23 22:44:33 kernel: NVRM: nvAssertOkFailedNoLog: ... reusemappingdbMap(&pBar1VaInfo->reuseDb, ...) @ kern_bus_gm107.c:3152
Aug 23 22:44:33 kernel: resource: resource sanity check: requesting [mem 0x00000000dfb70000-0x00000000e081ffff],
                        which spans more than 0000:01:00.0 [mem 0xd0000000-0xdfffffff 64bit pref]
Aug 23 22:44:33 kernel: caller __nv_drm_gem_nvkms_map+0xc3/0x130 [nvidia_drm] mapping multiple BARs
Aug 23 22:44:33 kernel: [drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to map NvKmsKapiMemory 0x000000005184e80c

A chromium child process (its GPU process) then died with SIGILL and coredumped (matching @Madatt's trap invalid opcode), and the RC watchdog started firing:

Aug 23 22:44:40 kernel: NVRM: krcWatchdog_IMPL: RC watchdog: GPU is probably locked!  Notify Timeout Seconds: 7
Aug 23 22:44:41 kernel: NVRM: nvAssertFailedNoLog: Assertion failed: GPPut < WATCHDOG_GPFIFO_ENTRIES @ kernel_rc_watchdog.c:1551

2. New point on the outcome spectrum: permanently wedged channel under a fully working desktop — and it survives complete client teardown. Unlike the original hard-lock, and unlike the recoverable compositor-restart case above, this time nothing else was lost: Hyprland kept compositing, nvidia-smi responds, the GPU idles at P8 / 38 °C — while krcWatchdog: GPU is probably locked! fires every ~8 s indefinitely. No Xid was logged at all.

To test whether the hung channel was merely pinned by a surviving client context, I sent SIGTERM to the entire chromium process tree (31 processes, including the respawned GPU process) at 22:53:57. All of them exited cleanly within seconds — and the watchdog kept firing, unchanged, for 100+ s after the last chromium process was gone (still firing at time of writing, 78+ occurrences):

Aug 23 22:55:11 kernel: NVRM: krcWatchdog_IMPL: RC watchdog: GPU is probably locked!  Notify Timeout Seconds: 7
Aug 23 22:55:12 kernel: NVRM: nvAssertFailedNoLog: Assertion failed: GPPut < WATCHDOG_GPFIFO_ENTRIES @ kernel_rc_watchdog.c:1551

So the wedged channel is orphaned inside the driver — no userspace process holds it, and channel teardown/RC never reclaims it. The spectrum across this thread is now: one tab dies → compositor restarts (no watchdog, Xid 31) → orphaned channel wedged forever under a healthy desktop (no Xid) → full host hard-lock.

3. Precursor near-misses scale with uptime. This boot logged an isolated single-shot Failed to map NvKmsKapiMemory error on each of the three days before the fatal burst (Aug 20, 21, 22), then the full failure on day ~4.5. VRAM at failure time was ~1.7/24 GiB, and minutes afterward nvidia-smi -q reported BAR1 Used = 28/256 MiB — consistent with progressive VA-space fragmentation/leak in the BAR1 reuse DB rather than genuine steady-state occupancy.

stephentaylor-com avatar Aug 24 '26 02:08 stephentaylor-com

Why GL clients segfault after the corruption: NULL deref in libGLX_nvidia (disassembled) — 610.57.04, RTX 4060 Laptop (AD107), ReBAR fully enabled

Same gpu_vaspace.c corruption signature as the OP (and the RTX 4060 comment above), also on 610.57.04. Adding three things I don't see in the thread yet: (a) a disassembled userspace crash from four coredumps showing why GL clients segfault instead of receiving an error once the kernel side starts failing, (b) this reproduces with resizable BAR fully enabled (BAR1 = 8 GB = entire VRAM) — relevant to the suggestion above that enabling ReBAR resolves it, and (c) a persistent post-corruption symptom not yet mentioned here: NVRM: Error in service of callback logged every ~32 s for hours after onset. Outcome sits at the mild end of the spectrum, like the RTX 2060 SUPER datapoint: only GL client processes crash-loop, compositor survives, but the degraded state persists until reboot.

Component Value
GPU NVIDIA GeForce RTX 4060 Laptop GPU (AD107M, rev a1)
VBIOS 95.07.18.00.E0
Driver nvidia-open-dkms 610.57.04-1 (Arch)
Kernel 7.1.9-arch1-2 (x86_64)
CPU AMD Ryzen 7 7745HX
OS Arch Linux (Omarchy)
Display server Hyprland 0.56.2 (Wayland)
BAR1 8 GB — resizable BAR fully enabled (full VRAM)

Timeline (single boot, 2026-08-30):

  1. 00:33 — boot, driver loads normally.
  2. 01:28:34 — first corruption, while a Proton game was running:
    NVRM: nvCheckFailedNoLog: Check failed: 0 == (pMapNode->gpuMask & gpuMask) @ gpu_vaspace.c:4551
    NVRM: nvCheckOkFailedNoLog: Check failed: Invalid argument to call [NV_ERR_INVALID_ARGUMENT] (0x0000001F) returned from _gvaspaceMappingInsert(pGVAS, pGpu, pVASBlock, vaLo, vaHi, flags) @ gpu_vaspace.c:2021
    NVRM: nvCheckFailedNoLog: Check failed: NV_OK == status @ virt_mem_allocator_gm107.c:2560
    NVRM: dmaAllocMapping_GM107: can't update VA space for mapping @vaddr=0x15e800000
    
    Sporadic single recurrences through the night (02:xx–08:xx) under light desktop use.
  3. 16:37:47 — launched Deadlock via Steam. Eleven seconds later the errors turn into bursts:
    NVRM: intermapRegisterDmaMapping: Failed to insert new mapping node for range 0xDF78090000-0xDF7809FFFF!
    (…identical failures for the three adjacent 64K ranges up to 0xDF780CFFFF, bursts repeating)
    NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: NV_OK == status @ gpu_vaspace.c:4635
    NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: NV_OK == status @ gpu_vaspace.c:2066
    
  4. 16:38:37–42 — allocation failures reach nvidia-drm:
    [drm:nv_drm_gem_alloc_nvkms_memory_ioctl [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NVKMS memory for GEM object
    [drm] [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NVKMS video memory for GEM object, trying to fall back to sysmem
    
  5. 16:38:41–16:38:59 — four Steam steamwebhelper (CEF zygote) processes SIGSEGV in a crash-restart loop, all at the identical instruction in the userspace GL driver (details below). Steam recovered once an allocation eventually succeeded.
  6. Since then, 7+ hours: NVRM: Error in service of callback every ~32 s (367 occurrences and counting). Compositor alive, GPU otherwise usable, no Xids — matching the "corruption persists within a boot" observation above, without (so far) the escalation to hangs the OP saw.

Userspace crash signature (why clients segfault rather than get an error):

All four cores: SIGSEGV, si_code: SEGV_MAPERR, si_addr = 0xeac, PC at libGLX_nvidia.so.610.57.04 + 0x541ab. Disassembly of that site in the shipped library:

54191: mov 0x9f0(%rdi),%rbx
5419c: mov 0x118(%rbx),%rax     ; rax == NULL in the cores (rbx itself valid)
541a3: mov 0x40(%rbx),%rdi
541a7: mov 0x38(%rbx),%r12
541ab: mov 0xeac(%rax),%r14d    ; faults: reads 0x0 + 0xeac

So after the kernel-side mapping failure, a struct pointer at offset 0x118 is left NULL and libGLX_nvidia dereferences it unchecked — the failure surfaces as a segfault in every new GL context instead of a GL error.

On the ReBAR point above (where enabling it resolved the problem for one reporter): this machine has resizable BAR fully enabled — BAR1 = 8 GB, covering the entire VRAM — and still hits the same gpu_vaspace.c corruption. So an undersized BAR1 isn't a prerequisite for this failure mode, and enabling ReBAR isn't a universal workaround. (I can't say whether the underlying allocator path is the same as in the BAR1-exhaustion reports; the kernel log signature is identical to the OP's and the RTX 4060 comment's.)

nvidia-bug-report.log.gz was captured while the system was still in the degraded state (callback errors ongoing); attached in a follow-up comment.

Filed by Claude Fable 5 via Claude Code, reviewed and submitted with the user's approval.

kh4rit-bot avatar Aug 30 '26 21:08 kh4rit-bot

Attaching the bug report file. nvidia-bug-report-sanitized.log.gz

kh4rit-bot avatar Aug 30 '26 21:08 kh4rit-bot

Adding a data point on a different GPU generation and a newer driver — this reproduces on RTX 3070 (GA104) with nvidia-open-dkms 610.57.04, so the regression is still present well past 595.x.

System:

  • GPU: NVIDIA GeForce RTX 3070 (GA104)
  • Driver: nvidia-open-dkms / nvidia-utils 610.57.04
  • Kernel: 7.1.9-arch1-2
  • Compositor: Hyprland (Wayland), Omarchy desktop
  • Resizable BAR: disabled — nvidia-smi reports BAR1 = 256 MiB total (the un-resized default for this GPU), matching the condition noted in #1132
  • Trigger: Chromium (151.0.7922.173-1) GPU/renderer processes under normal browsing — no long uptime or heavy workload needed; first crash occurred within ~30 minutes of a fresh OS install and first boot on this driver.

Error signature (identical to the reports above):

NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051)
  returned from pReuseMappingDb->pMapCb(...) @ mapping_reuse.c:273
NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051)
  returned from reusemappingdbMap(&pBar1VaInfo->reuseDb, ...) @ kern_bus_gm107.c:3152
[drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID ...] Failed to map NvKmsKapiMemory ...

Correlation with Chromium crashes: on this single boot, the kernel logged 224 dmaAllocMapping_GM107 failures in 14 distinct bursts, and systemd-coredump recorded 17 separate Chromium crashes (all SIGILL, i.e. signal 4, ILL_ILLOPN — consistent with Chromium's own IMMEDIATE_CRASH()/CHECK() trap firing after a failed GPU operation, not a driver segfault). Every one of the 14 NVRM bursts is followed by a Chromium crash 15–50 seconds later, essentially 1:1:

NVRM burst      → chromium crash   (Δt)
16:22:48        → 16:23:38         (+50s)
16:23:45        → 16:24:27         (+42s)
16:24:34        → 16:25:23         (+49s)
16:29:01        → 16:29:52         (+51s)
16:35:39        → 16:36:27         (+48s)
16:46:15        → 16:47:05         (+50s)
16:47:18        → 16:47:49         (+31s)
16:48:26        → 16:48:43         (+17s)
16:49:41        → 16:50:28         (+47s)
16:50:44        → 16:51:32         (+48s)
16:52:19        → 16:53:08         (+49s)
16:53:59        → 16:54:12         (+13s)
16:55:26        → 16:56:16         (+50s)

One example crash (PID 18108), thread named Media, crashing thread instruction pointer unresolved (stripped Arch build, symbols not available even via debuginfod):

Signal: 4 (ILL) si_code: ILL_ILLOPN
Stack trace of thread 15:
#0  0x00005599ea370e97 n/a (n/a + 0x0)

This matches the pattern described above (#1134, #1132) of Chromium's GPU renderer hitting the BAR1 VA-space exhaustion path and self-terminating rather than the driver hard-locking — no Xid 154/GPU-unrecoverable state was observed here, just repeated Chromium process death. Happy to pull more from the core dumps or journal if useful.

Filed by Claude (Sonnet 5) via Claude Code.

MykelSIlver avatar Sep 02 '26 15:09 MykelSIlver

Same hang on Hyprland 0.56.2 + nvidia-open 610.57.04, RTX 2080 Ti, fixed 256 MiB BAR1. Full Turing writeup with logs is on #1187; this is the compositor-side datapoint.

Two locks in two days (~2h 45m uptime each). Sequence is dmaAllocMapping_GM107: can't alloc VA space → mapping_reuse.c:273 NV_ERR_NO_MEMORY → krcWatchdog: GPU is probably locked → Xid 8 on Hyprland (once also on Brave first). Hyprland then SIGABRTs in CHyprOpenGLImpl::begin while trying to draw a frame. uwsm restarts it, including --safe-mode; every restart dies in seconds because the GPU is already wedged. Hard reboot is the only recovery. Flip timeouts on head 0 and head 1.

Hardware cursors were on. The Hyprland crash report tail is repeated drm: Cursor buffer imported into KMS. VRAM ~1.5 / 11 GiB; BAR1 already 196–225 / 256 MiB on a later single 4K@165 session.

Not a host OOM. Turing cannot enable ReBAR.

itsMattGuenther avatar Sep 05 '26 22:09 itsMattGuenther

Another datapoint on the mapping_reuse.c BAR1 VA-exhaustion path, with a confirmed Chrome ImmediateCrash() rather than a host hang.

System

GPU GeForce RTX 3090 (GA102, 10de:2204)
VRAM 24 GiB (nvidia-smi ~1.1 GiB in use at crash; not a VRAM OOM)
BAR1 256 MiB, NVreg_EnableResizableBar=0
ReBAR capability resource1_resize=0xffc0 (GPU advertises 64 MiB–32 GiB); firmware left BAR1 at 256 MiB
Driver nvidia-open 610.57.04 (open KMD)
Kernel 7.1.9-arch1-2
CPU / board AMD Ryzen Threadripper 3960X / MSI TRX40 PRO WIFI (MS-7C60), BIOS 2.70, UEFI
Display Hyprland, Wayland
Browser Google Chrome 152.0.7977.82 (--ozone-platform=wayland)

What happened

Two renderer crashes on the same boot, five minutes apart, both while a tab on https://x.com was doing media work. Each time the kernel logged BAR1 mapping failure and Chrome's Media thread died with SIGILL/ILL_ILLOPN at the same offset.

20:39:23 AEST:

NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051)
      returned from pReuseMappingDb->pMapCb(...) @ mapping_reuse.c:273
NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051)
      returned from reusemappingdbMap(&pBar1VaInfo->reuseDb, ...) @ kern_bus_gm107.c:3152
[drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* Failed to map NvKmsKapiMemory ...
traps: Media[7068] trap invalid opcode ip:... in chrome[b5ced78,55f8bde74000+d6a5000]

20:44:08: identical NVRM sequence, then Media[45634] trap invalid opcode at the same chrome+0xb5cfd78.

Disassembly of that site in the Chrome 152 binary is Chromium's abort stub, not a real illegal ISA:

ud2
int3
int3

So the renderer took ImmediateCrash()/CHECK after the failed GPU map. Crashpad annotations for the first dump: ptype=renderer, loaded-origin-0=https://x.com, ANGLE NVIDIA GeForce RTX 3090 ... OpenGL ES 3.2 NVIDIA 610.57.04, plus a VideoFramePool… string. Host RAM was fine (~12 GiB / 125 GiB); no Linux OOM killer. This boot did not escalate to krcWatchdog / Xid 154 — tab death only, matching the milder Chrome-Media SIGILL reports already in this thread.

Happy to pull more from the truncated coredump or journal if useful.

Filed by Grok 4.6 via Grok Build.

ravivasavan avatar Sep 08 '26 11:09 ravivasavan

Additional reproduction on RTX 4090 / open kernel module 615.71.09, using llama.cpp inference. The potentially useful distinction is a same-boot Vulkan-to-CUDA comparison: Vulkan model loading produced the mapping errors below; CUDA loading and subsequent inference added none.

Environment

  • CachyOS, kernel 7.2.5-1-cachyos
  • NVIDIA open kernel module 615.71.09
  • RTX 4090, 24 GB VRAM; BAR1 total 32768 MiB
  • llama.cpp b10679, Qwen3.8-27B-UD-Q4_K_M
  • 65,536-token context, q8_0 K/V cache, Flash Attention and MTP enabled
  • Managed by Hermes; inference runs on the Linux host

Observed sequence

The mapping errors occurred with the official b10679 Linux Vulkan runtime. The signature had also appeared before updating from driver 610.57.04.

On the post-update boot, bursts occurred at 10:06:03 and 10:19:08–12, around Vulkan model loading/reloading. Representative kernel messages, with long argument lists abbreviated:

NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
NVRM: ... [NV_ERR_NO_MEMORY] (0x00000051) ... pReuseMappingDb->pMapCb(...)
         @ mapping_reuse.c:274
NVRM: ... [NV_ERR_NO_MEMORY] (0x00000051) ... reusemappingdbMap(...)
         @ kern_bus_gm107.c:3185

Vulkan inference could still complete afterward. Two subsequent comparison prompts added no errors, so this was not a failure on every prompt.

At approximately 10:22, the runtime was switched to a locally compiled CUDA build of the same b10679 release (50f068ffffc3e0e4c9c2e4139281c6075224f429, CUDA toolkit 13.3, SM89), retaining the model and preset. Both the router and model-child executable paths were verified as CUDA. No reboot or driver change occurred between these Vulkan and CUDA observations.

CUDA model loading, two comparison prompts, and six subsequent completed conversation requests produced no new matching kernel errors. A further journal check at 10:48 still showed 10:19:12 as the last occurrence.

Filed by GPT-6 Astra via OpenAI Codex.

RayCharlizard avatar Sep 13 '26 15:09 RayCharlizard

Additional possibly related observation on RTX 3060 Ti (GA104), NVIDIA open kernel module 615.78.08, Bluefin DX NVIDIA Open / Fedora 44 (image 44.20261013), kernel 7.2.5-200.fc44.x86_64, GNOME Wayland with two monitors.

The failure sequence matches the allocation failures and watchdog lockup described here, but this observation also includes Xid 175 (GPU memory subsystem timeout), GSP timeout, and Xid 154. We have not established that it shares the same underlying cause, and BAR layout/ReBAR involvement has not been investigated.

After hours of desktop use, both screens froze. Mouse movement, Ctrl+Alt+T and Ctrl+Alt+F3 stopped responding. A remote reboot entered shutdown but stalled: GNOME Shell/Xwayland remained after SIGKILL and GPU timeouts continued. Tailscale had already stopped, explaining subsequent SSH unreachability. A manual power cycle restored the GPU and SSH.

The Xid names t3code PID 20875. That identifies an involved client, not proven application causation. An earlier warning from that process concerned Wayland/Vulkan compatibility; included below for context, not as a confirmed cause. No deterministic reproduction is known. The proprietary kernel module has not been tested, so open-module specificity is unconfirmed. No full nvidia-bug-report.log.gz was captured during the failure; available evidence is the preserved previous-boot journal.

Oct 17 13:31:51 t3-code.desktop[20875]: [20875:1017/133151.345902:ERROR:ui/ozone/platform/wayland/gpu/wayland_surface_factory.cc:249] '--ozone-platform=wayland' is not compatible with Vulkan. Consider switching to '--ozone-platform=x11' or disabling Vulkan

Oct 18 00:23:12 kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
Oct 18 00:23:12 kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pReuseMappingDb->pMapCb(pReuseMappingDb->pGlobalCtx, pAllocCtx, range, cachingFlags, &token, _reusemappingdbAddMappingCallback) @ mapping_reuse.c:273
Oct 18 00:23:20 kernel: nvidia-modeset: ERROR: GPU:0: Error while waiting for GPU progress: 0x0000c67d:0 5:0:2300:2284
Oct 18 00:24:14 kernel: NVRM: krcWatchdog_IMPL: RC watchdog: GPU is probably locked! Notify Timeout Seconds: 7
Oct 18 00:25:29 kernel: NVRM: kgmmuCheckMemSubsysError_IMPL: Memory Subsystem Error detected. kgmmuInvalidateTlb failed.
Oct 18 00:25:29 kernel: NVRM: Xid (PCI:0000:08:00): 175, pid=20875, name=t3code, GPU memory subsystem timeout (type 1) detected
Oct 18 00:25:29 kernel: NVRM: _kgspLogGspTimeout: *** GSP Timeout: Memory subsystem error (origin=RPC) ***
Oct 18 00:25:31 kernel: NVRM: Xid (PCI:0000:08:00): 154, GPU recovery action changed from 0x0 (None) to 0x1 (PF FLR)

Oct 18 00:25:42 tailscaled: tailscaled got signal terminated; shutting down
Oct 18 00:25:53 systemd[1]: Requested transaction contradicts existing jobs: Transaction for polkit.service/start is destructive (reboot.target has 'start' job queued, but 'stop' is included in transaction).
Oct 18 00:25:54 systemd: [email protected]: State 'stop-sigterm' timed out. Aborting.
Oct 18 00:25:59 systemd: [email protected]: Killing process 10797 (gnome-shell) with signal SIGKILL.
Oct 18 00:25:59 systemd: [email protected]: Killing process 11155 (Xwayland) with signal SIGKILL.
Oct 18 00:26:04 systemd: [email protected]: Processes still around after SIGKILL. Ignoring.
Oct 18 00:36:10 kernel: nvidia-modeset: ERROR: GPU:0: Error while waiting for GPU progress: 0x0000c67d:0 5:0:2300:2284

After power cycling, nvidia-smi responded at 41–42°C and 0–1% GPU utilization, and targeted current-boot checks found no matching errors. These are post-recovery measurements; temperature and VRAM use at failure are unknown. The allocation error does not establish physical RAM/VRAM exhaustion. No driver settings were changed during investigation.

Originally reported at https://github.com/pingdotgg/t3code/issues/21025 before correcting the routing to NVIDIA. Posting this as additional evidence rather than claiming a confirmed duplicate or driver root cause.

carlulsoe avatar Oct 17 '26 22:10 carlulsoe

Recurrence captured live over SSH on the same RTX 3060 Ti / open driver 615.78.08 / kernel 7.2.5-200.fc44 system from my earlier comment. Host uptime was about 3.5 hours. The host clock reports October 18, 2026, 15:27 local time.

This time there is explicit BAR-spanning mapping evidence, matching the signature described in #1132 more closely:

	Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Region 3: Memory at e0000000 (64-bit, prefetchable) [size=32M]
EnableResizableBar: 0
Oct 18 15:27:02 bluefin kernel: resource: resource sanity check: requesting [mem 0x00000000dfb30000-0x00000000e008ffff], which spans more than 0000:08:00.0 [mem 0xd0000000-0xdfffffff 64bit pref]
Oct 18 15:27:02 bluefin kernel: caller __nv_drm_gem_nvkms_map+0xc3/0x130 [nvidia_drm] mapping multiple BARs
Oct 18 15:27:14 bluefin kernel: NVRM: Xid (PCI:0000:08:00): 8, pid=44216, name=helium, channel 0x00000002
Oct 18 15:27:14 bluefin kernel: NVRM: Xid (PCI:0000:08:00): 31, pid=44216, name=helium, intr 00000000. MMU Fault: ENGINE GRAPHICS HUBCLIENT_FECS faulted @ 0x1_20020000. Fault is of type FAULT_PTE ACCESS_TYPE_VIRT_WRITE

Allocation failures began at 15:22:55. At 15:27:02 the driver requested 0xdfb30000–0xe008ffff, starting in BAR1 and ending in BAR3. This was followed by many Xid 56 entries, Xid 8/31 naming helium (rather than t3code as in the previous event), and repeated “GPU is probably locked!” watchdog messages. This further weakens application-specific attribution.

SSH and nvidia-smi still respond during the watchdog loop. nvidia-smi reported 39°C and 1360 MiB of 8192 MiB VRAM used; 23 GiB system RAM was available and swap unused. Thus a responsive nvidia-smi alone did not indicate a recovered desktop. No configuration changes made. Preserved the live kernel log and PCI layout locally. A privileged nvidia-bug-report bundle is not yet available because sudo requires interactive authentication. Shared root cause remains unconfirmed; no proprietary-module comparison has been performed.

carlulsoe avatar Oct 18 '26 13:10 carlulsoe