Repository navigation
Description
NVIDIA Open GPU Kernel Modules Version
595.71.05 (Arch package nvidia-open-dkms 595.71.05-2)
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
Arch Linux (rolling release)
Kernel Release
Linux host 7.0.3-arch1-2 #1 SMP PREEMPT_DYNAMIC Fri, 01 May 2026 15:49:22 +0000 x86_64 GNU/Linux
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
GPU 0: NVIDIA GeForce RTX 3090 (UUID: GPU-)
Describe the bug
On a single-GPU RTX 3090 desktop running Linux 7.0.3 with
nvidia-open-dkms 595.71.05, the kernel logged a resource sanity check
warning naming __nv_drm_gem_nvkms_map as the caller of an mmap that
"spans more than" the device's BAR1 region. The same instant, the GPU
took an MMU fault on Copy Engine 2 (Xid 31) and the driver self-declared
the GPU unrecoverable (Xid 154, "Node Reboot Required") with
uvm encountered global fatal error 0x60. GSP RPC then timed out
(Xid 175). The display compositor's vblank stalled, the screen froze, and
neither nvidia-smi nor systemctl reboot could complete; recovery
required a hardware power-cycle. The trigger workload was a
Chromium-based browser (Brave) starting a new renderer process.
To Reproduce
- Wayland compositor (Hyprland) running, ~2 hours uptime since boot
- Brave (Chromium-based browser) open with several tabs
- Brave subprocess started a new renderer/GPU process — call stack shows
Chromium worker thread deep in kperfBoostSet_IMPL → rpcRmApiControl_GSP →
_kgspRpcRecvPoll, consistent with a GPU-frequency-boost RPC during
renderer spin-up - No CUDA process active; no userspace had /dev/nvidia-uvm open
- System RAM healthy: 7.6 GiB / 61 GiB used, no swap pressure
- Single occurrence so far; not yet a deterministic reproducer
- See "Smoking-gun evidence" and "Fault sequence" in More Info below
Bug Incidence
Once
nvidia-bug-report.log.gz
More Info
Note: I have not tested with the proprietary nvidia-dkms package, so I have
left the proprietary-driver-confirmation checkbox unchecked. The kernel's
own resource sanity check warning names __nv_drm_gem_nvkms_map+0x99/0xf0 [nvidia_drm] as the caller, which is specific to nvidia-open's DRM layer.
I am happy to test the proprietary driver if maintainers think it would
help isolate the regression.
Smoking-gun evidence
Single line, logged by the kernel core (not by NVRM) at t = 0:
resource: resource sanity check: requesting [mem 0x000000fccfdd0000-0x000000fcd00fffff], which spans more than 0000:01:00.0 [mem 0xfcc0000000-0xfccfffffff 64bit pref]
caller __nv_drm_gem_nvkms_map+0x99/0xf0 [nvidia_drm] mapping multiple BARs
The requested range starts ~3 MiB before the end of BAR1
(0xfcc0000000-0xfccfffffff) and runs ~33 MiB past it, into BAR3
(0xfcd0000000 + 32 MiB). The kernel's PCI resource validation rejects
the request, and the subsequent
[drm:_nv_drm_gem_nvkms_map] ERROR Failed to map NvKmsKapiMemory 0x00000000616506ff
confirms the map failed.
Immediately preceding this, NVRM logged ~25 repetitions of:
NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
NVRM: nvAssertOkFailedNoLog: ... [NV_ERR_NO_MEMORY] (0x00000051) ... @ mapping_reuse.c:273
... @ kern_bus_gm107.c:3141 // ("pBar1VaInfo->reuseDb")
so BAR1 VA space was being repeatedly exhausted in the seconds leading up
to the bad-range request. That suggests the bad mapping is a fallback (or
an arithmetic mistake) on the BAR1-VA-exhausted path rather than a
random misuse of pci_resource*.
Fault sequence
All times relative to t = 0 (the resource sanity check line above).
Full redacted log in kernel-log-excerpt.txt.
| Offset | Event |
|---|---|
| t+0:00:00 | resource sanity check, __nv_drm_gem_nvkms_map ... mapping multiple BARs, Failed to map NvKmsKapiMemory. |
| t+0:00:00 | Xid 31 — MMU Fault: ENGINE CE2 HUBCLIENT_CE0 faulted @ 0x1_21000000, FAULT_PTE ACCESS_TYPE_VIRT_WRITE. |
| t+0:00:00 | nvGpuOpsReportFatalError: uvm encountered global fatal error 0x60, requiring os reboot to recover. |
| t+0:00:00 | Xid 154 — GPU recovery action changed from 0x0 (None) to 0x2 (Node Reboot Required). |
| t+0:00:00 | Brave GPU subprocess receives SIGILL (trap invalid opcode ... in brave[...]). |
| t+0:00:01 | [drm:nv_drm_atomic_apply_modeset_config] Failed to initialize semaphore for plane fence, nv_drm_atomic_commit Error code: -11. |
| t+0:01:15 | _kgspIsHeartbeatTimedOut: diff 75117 timeout 5200. GSP heartbeat lost. |
| t+0:01:45 | Memory Subsystem Error detected. kgmmuInvalidateTlb failed. |
| t+0:01:45 | Xid 175 — Timeout after 75s of waiting for RPC response from GPU0 GSP! Expected function 76 (GSP_RM_CONTROL). Originating thread name ThreadPoolSingl (Chromium worker). |
| t+0:01:48 | Call trace dumped: _kgspRpcRecvPoll → _issueRpcAndWait → rpcRmApiControl_GSP → kperfBoostSet_IMPL → resControl_IMPL → ... → nvidia_unlocked_ioctl. |
| t+0:01:48 onward | RC watchdog: GPU is probably locked! Notify Timeout Seconds: 7 repeats every 30-60 s. Hundreds of NV_ERR_RESET_REQUIRED assertions firing as the fullchip-reset path itself fails its preconditions. |
| t+0:06:18 | Xid 16, Head 00000003 Count ..., RM has detected that 7 Seconds without a Vblank Counter Update on head:D0. Display visibly froze. |
| t+0:12:48 | Second Xid 16 / vblank-watchdog. |
Recovery
nvidia-smiaccepted the ioctl but never returned (hung indefinitely; killed after ~5 min).The driver's own RC path tried
FULLCHIP_RESETrepeatedly; every attempt failed withNV_ERR_RESET_REQUIREDprecondition assertions — the chip-reset path itself was wedged.systemctl rebootwas invoked from an SSH session and hung atnvidia_drmmodule teardown for >5 minutes without progress.Recovery required holding the hardware power button.
The system was otherwise functional throughout: SSH stayed up, the
Wayland compositor's main thread was alive in do_epoll_wait, no
processes were in D-state. The wedge is entirely below nvidia_drm.
What I have ruled out
Hardware fault on the GPU. This 3090 had been stable for many months on the previous
linux 6.19.11+nvidia-open 595.58.03stack with the same workload. After the hardware power-cycle, the system came up cleanly on the same 7.0.3 + 595.71.05 stack and has so far been stable.Host OOM. 7.6 GiB / 61 GiB host RAM in use at fault time. No swap pressure. No
oom_reaperactivity in the journal. The OOM was GPU-VA, not host RAM.Userspace-only fault. The kernel core's
resource sanity checkwas emitted from insidenvidia_drm's__nv_drm_gem_nvkms_map. The subsequentXid 31MMU fault is a consequence of the bad mapping being used. The BraveSIGILLcame after the kernel error and looks like a downstream consequence of the GPU buffer the renderer expected being inaccessible.DKMS build mismatch / firmware mismatch. DKMS built
nvidia-open595.71.05 cleanly for both kernels at upgrade time; modules load cleanly; firmware version matches the driver expectations (linux-firmware-nvidia 20260410-1).
I cannot rule out — and want to be careful not to overclaim — which
component regressed. The kernel and the driver were both upgraded in the
same transaction, so this could be a bug in nvidia-open's PCI
BAR-range arithmetic, a kernel-side change to the resource validation
that nvidia-open is the first to trip, or a problem in the combination
(e.g. a new pci_resource_* semantic on 7.0.x that nvidia-open hasn't
adopted yet). I have not yet had the opportunity to bisect.
Open questions
If you (or anyone reading) have seen this signature before, I'd value pointers on any of:
Does this reproduce on
nvidia-dkms(proprietary kernel module) at 595.71.05, holding kernel 7.0.3 fixed?Does this reproduce on kernel 6.19.11 with
nvidia-open595.71.05?Does disabling Chromium-side GPU acceleration (e.g.
--disable-gpu-rasterization,--disable-gpu) prevent it on 7.0.3 + 595.71.05?Does the
resource sanity checkline precede every freeze of this form, or are there freezes without it? (I have only this one occurrence.)
Activity
C5 v4: sink primitive + 4 detectors + 7 guards + telemetry consolidation
sanity commentedon Jun 15, 2026
Seeing this on an RTX 3090 Ti (GA102), nvidia-open 610.43.02, kernel 7.0.11, Arch. Every report in this cluster is on 595/580, so a 610 data point: still present, and looks worse. I ran 595.71.05 for about a month without hitting it, then within a few days of updating to 610.43.02 I started getting hard display freezes every day or two.
Same trigger and signature: Chrome with GPU accel (VA-API decode on) over long uptime, ~20h here. BAR1 is 256 MiB (Resizable BAR off), and only ~940 MiB of the 24 GB VRAM is in use when it dies, so it's BAR1 VA space that runs out, not VRAM.
The failure mode here lands on the display path rather than Xid 31/154: the flip times out, input dies, the monitor blanks, but the box stays up over SSH. The Wayland compositor (Hyprland) eventually drops into safe mode, and
nvidia-smi -qhangs in D state (unkillable) once the GPU is wedged. Only a reboot clears it. After a fresh boot BAR1 sits around 22 MiB used and climbs from there over the day.The card advertises Resizable BAR (lspci shows BAR1 supported sizes up to 32 GB), but this is an old X399 board (MSI X399 Gaming Pro Carbon, Threadripper 2990WX) that won't POST with Above-4G/ReBAR enabled, so the usual workaround isn't reachable on this platform. Disabling Chrome's GPU acceleration does avoid it, but that's not a great option either.
sanity commentedon Jun 15, 2026
Follow-up with a workaround that's been holding up here, in case it helps others who can't enable ReBAR (old board that won't POST with it, or Turing where it isn't supported at all).
The leaked BAR1 mappings are held by the browser's GPU process, and they get released when that process exits. Chrome respawns its GPU process on its own, so killing it reclaims the BAR1 space without restarting the browser or rebooting. On this 3090 Ti, killing
chrome --type=gpu-processtook BAR1 usage from 104 MiB back down to 41 MiB, with nothing worse than a one-frame flicker on GPU-accelerated tabs.So rather than disabling GPU acceleration outright (which also kills VA-API video decode for calls), you can recycle just the GPU process when BAR1 climbs toward the ceiling:
I put this in a small systemd user service that polls BAR1 every couple of minutes and recycles the GPU process once it crosses ~75% of the 256 MiB, and skips it while the webcam or mic is in use so it never interrupts a call. Can share the script if anyone wants it.
Two caveats:
It's a workaround, not a fix. The leak is still there, recycling just resets the clock so the aperture never actually fills.
diacodion commentedon Jun 25, 2026
Blackwell (GB206, RTX 5060 Ti) + nvidia-open 610.43.02: GPU MMU fault under a browser GPU client cascades to GSP RPC timeout -> unrecoverable full-chip-reset lockup
Hello all, I wanted to chime in here and say I'm observing a similar behavior on my rig; I did my best to collect relevant information (with help from Claude), and hopefully it will provide meaningful data for the greater debugging effort. I was unsure about opening my own issue versus appending to this one, I landed on the latter, but please let me know if that was wrong.
Summary
On a single-GPU Blackwell desktop, an MMU fault logged against a Chrome GPU/renderer process is followed by GSP heartbeat/RPC timeout and leaves the GPU in an apparently permanent
NV_ERR_GPU_IN_FULLCHIP_RESETstate.The collected stacks suggest subsequent RM clients queue behind the same RM lock path, with
kwin_waylandapparently stuck in the unmap path. The display freezes (but e.g. audio continues), no VT switch is possible, and no software recovery works;systemctl restart sddm,killall kwin_wayland, andnvidia-smi -rall hang on the same dead lock. Only a hardware power-cycle recovers.This looks to me like the same failure family as #1134 (Xid 31 -> Xid 175, Chromium GPU worker,
nvidia-smihangs, power-cycle required) and as the Blackwell GSP-timeout reports #1080 / #1086 / #1045, but observed here on GB206 + 610.43.02.System / Software
0000:2d:00.07.0.12-arch1-1XDG_SESSION_TYPE=wayland)nvidia-drm.modeset=1Trigger / workload
Ordinary desktop use. The cascade is timestamped to
name=chrome(browser GPU/renderer process), with no special compute load.Earlier, less frequent instances of the hang (prior to recent system package upgrade) correlated loosely with DP-2 waking from DPMS screen-off (maybe ~5–10% of wakes), but the captured fault originates from a browser GPU client, matching #1134's "Chromium subprocess starts a new renderer" trigger. After a full system upgrade the frequency rose sharply from occasional-on-wake to multiple hard locks during maybe 3 hours of normal use.
Failure sequence (trimmed; full
journalctl -kavailable)(Note: some logs below reference
_GM107/_GH100routines. These are apparently the compiled HAL variants of shared RM code paths, and not a wrong board ID; my card is GB206.)1. VA-space alloc failure + graphics-engine MMU fault from the browser:
2. GSP stops responding, heartbeat + RPC timeout (fn 76 GSP_RM_CONTROL / fn 10 FREE):
3. Unrecoverable, unmap fails on dead engine, full-chip-reset path itself can't run (loops indefinitely):
The
0xbad…PRI reads includeFECS_DEAD_RINGandFECS_PRI_DECODE, which looks consistent with the graphics front-end/FECS path being wedged, with PRI reads returning sentinel-like0xbad...values. From user space, recovery attempts appear to queue behind the same lock path; whether that is the reason FLR/reset does not complete is uncertain, but seems plausible the RM lock needed for it is already held by the stuck unmap (see below).The deadlock (live
/proc/<pid>/task/*/stack, all four inDstate)The stack traces suggest GPU clients queue behind the same RM lock (
rmapiLockAcquire);kwin_waylandappears to be in the stuck unmap path, which is why SIGKILL andnvidia-smicannot make progress:Correspondingly, the kernel reports
INFO: task <chrome|nvidia-smi> blocked for more than 122 secondsfor these tasks.Recovery attempts (all failed)
systemctl restart sddm: no effectkillall kwin_wayland/systemctl --user restart plasma-kwin_wayland: process won't reap (D state)nvidia-smi -r: hangs (enters the same dead lock; killed after timeout)systemctl reboot: stalls (units waiting on D-state tasks)s/u/b) recovers.Things ruled out on this hardware
NVreg_EnableGpuFirmware=0had no observed effect; this is consistent with other Blackwell reports (RTX 5090 (GB202): GSP heartbeat timeout -> Xid 109/8 under Vulkan load via Proton (595.58.03, 590.48.01) #1080, GB205M [RTX 5070 Ti Mobile] - GSP RM heartbeat timeout on cold boot after long power-off #1086).NVreg_PreserveVideoMemoryAllocations=1not applicable (this is not a suspend/resume path; solely runtime).Regression note
Frequency seemingly increased significantly immediately after a full system upgrade (I'll be more confident of a change/how much of a change with more days of typical use); notably:
Currently planning to test a rollback to 595.71.05-2 to confirm my suspicion 610.43.02 is the regressing version.
Will update with the result (clean-run duration under a heartbeat watchdog).
Asks
__nv_drm_gem_nvkms_maprequests range exceeding PCI BAR1 → Xid 31 → Xid 154 (Node Reboot Required) under Chromium GPU workload #1134 / RTX 5090 (GB202): GSP heartbeat timeout -> Xid 109/8 under Vulkan load via Proton (595.58.03, 590.48.01) #1080, now reproduced on GB206 + 610.43.02?Happy to provide the full kernel log, run patched builds, or capture additional state before a controlled repro.
ndizazzo commentedon Jun 25, 2026
@diacodion try power limiting your GPU to the min amount to see if that extends the time between driver hangs - that data point might be useful
r4hx commentedon Jul 12, 2026
Same symptoms here — full system hard-lock under Chromium GPU workload, silent hang (no SysRq), requires power cycle.
Environment:
--ozone-platform=waylandSequence:
traps: chrome[...] trap int3(SIGTRAP), same crash offset each time:chrome[+0x2e14025](close to+0x2e14000in prior crash dumps posted by users)NVRMmessages, nokrcWatchdog, no Xid errors. Silent hang.Key observations:
dmaAllocMapping_GM107: cant alloc VA spacelogged, nokrcWatchdog: GPU is probably locked!` — the hang was completely silent from NVIDIA side, unlike Full system hard-lock on BAR1 VA-space exhaustion (Turing, 256 MiB BAR1) from a browser WebGL workload — RC watchdog "GPU is probably locked", 595.71.05 #1187.Hope this helps narrow down whether this is a single bug with different manifestations or separate issues.
leoric-crown commentedon Jul 18, 2026
Chiming in with a milder variant of this, in case the contrast helps narrow things down. Upfront: my failure never locked the system. One Chromium renderer died, the tab froze, and everything else (including the game that triggered it) kept running; reloading the tab recovered it every time. So this may be a cousin of what's reported here rather than the same bug.
Setup: RTX 4090, nvidia-open 610.43.03, Arch (Omarchy), Hyprland on Wayland, Chromium 150. Trigger was launching Street Fighter 6 under gamescope while YouTube or Instagram video played in Chromium.
With ReBAR off (BAR1 at 256 MiB): within about 30 seconds to 2 minutes of the game starting, dmesg logged
[drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* Failed to map NvKmsKapiMemory, and in the same second a Chromium renderer coredumped with SIGILL (ILL_ILLOPN) on itsMediathread.nvidia-smi -q -d MEMORYshowed BAR1 at 234/256 MiB used with the game up, while ~19 GiB of VRAM sat free. This happened 3 out of 3 sessions, and the same behavior followed me from Fedora to Arch on this machine over most of a year, which is what eventually pointed me at firmware rather than the OS.After enabling Above 4G Decoding + Resizable BAR, BAR1 became 32 GiB. The same load (SF6 + YouTube + Reels) now peaks around 8.4 GiB of BAR1 with no new map errors and no new coredumps. Small sample, one machine, so take it for what it is.
I don't think this contradicts @r4hx's point that BAR size isn't the root cause; their lockup happens with a 16 GiB BAR1, and their crash signature (SIGTRAP int3, then a silent hang) differs from mine (SIGILL plus an explicit map failure, fully contained). My read, for whatever it's worth: a 256 MiB aperture makes the fast-exhaustion case trivial to hit, and ReBAR just raises that ceiling. It wouldn't fix a genuine mapping leak like the one @sanity traced to the browser GPU process, and I can't tell from my side whether that leak lives in the driver or in the Chromium/driver interaction.
For anyone on a card without a ReBAR path, sanity's GPU-process-kill workaround upthread looks like the thing to try first; it's the only tested reclaim I've seen.
Happy to post fuller logs (kernel excerpts, coredumpctl detail) if useful.
fix(gpu): stop browsers exhausting the P1000's 256 MiB BAR1
alysnnix commentedon Sep 16, 2026
Another data point: this one happened on the proprietary module, which is the OP's open question 1. No nvidia-open anywhere on this box.
RTX 3060 Ti (GA104, 8 GiB), driver 595.99.02 proprietary, kernel 7.2.5, NixOS unstable, GNOME/Mutter on Wayland, single DP monitor, Gigabyte B760M AORUS ELITE (BIOS F23), i5-13600K. BAR1 is 256 MiB with ReBAR off, though the card advertises up to 8 GiB (
resource1_resize = 0x3fc0).It fired after 6h13m of uptime with nothing special running. No CUDA, no games, just Chrome and the usual desktop apps.
Both in-flight RPCs never completed (
ts_end = 0), and the newest was still polling:The stack at the timeout is the same RM path posted upthread, in a
chrometask:The offending range, for comparison with the OP's:
It starts 2.2 MiB below the top of BAR1 and runs 1 MiB past it into BAR3. Same shape as the OP, different addresses.
There are no VA exhaustion messages at all. Zero hits for
dmaAllocMapping_GM107: can't alloc VA space,mapping_reuse.correuseDbacross the whole boot. Most reports in this thread have those firing right before the bad range and I went looking for them specifically, so either the exhaustion path isn't the only way to reach the bad arithmetic, or on the proprietary module that state is reached without being logged.The three earlier map failures were survived, 2h09m before the fatal one, with no Xid, no glitch I noticed at the time, and no
resource sanity checkline for any of them. If that warning is rate limited per call site then those three may have crossed the boundary too and gone unlogged, in which case the interesting question is why the fourth escalated when the first three didn't. If it isn't rate limited, then failing the map is harmless on its own and crossing into the next BAR is a separate and much rarer event. I can't tell which from the logs I have.Xid 175 also timed out after 10s here, where every other report in the thread shows 75s. And there's no
krcWatchdog: GPU is probably locked!and no repeatingNV_ERR_GPU_IN_FULLCHIP_RESETassertions. The recovery action stopped at0x1 (GPU Reset Required)and stayed there.The symptoms match #1134 and @diacodion exactly: the display froze, audio kept playing and media keys still worked for about a minute, since neither goes near the GPU. Then anything touching the GPU went D-state behind the RM lock, no VT switch, and it came down to the power button. SysRq would have been the graceful way out but that one was my own fault,
kernel.sysrqwas at 16 here so only sync was allowed.Two things I've changed locally. Neither is a fix, and I'll report back either way.
ReBAR is now on, following @leoric-crown's result upthread:
NVreg_EnableResizableBar=1plus Above 4G Decoding in firmware, so BAR1 goes from 256 MiB to 8 GiB. BAR1 usage here grows at roughly 40 MiB/h under my normal browsing, so 256 MiB works out to about six hours, which lines up with when this hit.I also set
NVreg_EnableGpuFirmware=0, to see whether dropping GSP turns the Xid 31 into a recoverable channel kill instead of a wedged lock. If you find this thread while looking at that parameter, note that @diacodion's null result for it was on nvidia-open, where it's a no-op, so as far as I can tell nobody here has tested it on the proprietary module yet.I can run
nvidia-bug-report.shor test a patch if that would help.Disable hardware cursor to work around an NVIDIA driver crash
nvidia: keep kernel clients' user-space BAR1 mappings contiguous
nvidia: keep kernel clients' user-space BAR1 mappings contiguous
nvidia: keep kernel clients' user-space BAR1 mappings contiguous
nvidia: keep kernel clients' user-space BAR1 mappings contiguous