Repository navigation
Description
NVIDIA Open GPU Kernel Modules Version
595.71.05 (Open Kernel Modules, Release Build, built 2026-04-24, builder dvs-builder@U22-I3-G08-03-1)
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
Fedora Linux 44 (Workstation Edition)
Kernel Release
6.19.14-300.fc44.x86_64 - by Fedora
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
- I am running on a stable kernel release.
Hardware: GPU
NVIDIA GeForce RTX 5070 (GB205, PCI ID 10de:2f04 rev a1, ASUSTeK subsystem 1043:89e6).
Describe the bug
After long uptime of normal Wayland desktop use with many GPU-accelerated clients, the NVIDIA driver attempts a DMA mapping whose computed range crosses the boundary between PCI BAR1 and BAR3. The Linux PCI resource layer rejects it with a "resource sanity check" warning, the driver returns NV_ERR_NO_MEMORY from mapping_reuse.c:273, the nvidia-drm atomic-modeset helper then fails to initialize a plane fence semaphore, and the GPU's recovery watchdog declares the GPU "probably locked" and continues to fire indefinitely. The display session becomes unrecoverable; restarting gdm is the lightest path back, full reboot is sometimes required. At the moment of the first failure, only ~1.7 GiB of 12 GiB VRAM was in use — this is not VRAM exhaustion in bytes, it appears to be exhaustion or fragmentation of the BAR1 mapping window.
Relevant hardware state
PCI BAR layout for the GPU (lspci -vv -s 08:00.0):
Region 0: Memory at f8000000 (32-bit, non-prefetchable) [size=64M]
Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M] ← BAR1
Region 3: Memory at e0000000 (64-bit, prefetchable) [size=32M] ← BAR3
Capabilities: [134 v1] Physical Resizable BAR
Capabilities: [140 v1] Virtual Resizable BAR
The GPU advertises both Physical and Virtual Resizable BAR capabilities, but the system has Resizable BAR disabled. Per /proc/driver/nvidia/params:
EnableResizableBar: 0
So BAR1 stays at 256 MiB rather than being resized to span the full 12 GiB of VRAM. This appears to be the predisposing condition for the failure.
Kernel log of the failure
Most informative dmesg excerpt (kernel timestamps, single uptime, in order):
[168814.845214] NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
[168814.845222] 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
[168814.845231] NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
[168814.845313] NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
[168814.845434] resource: resource sanity check: requesting [mem 0x00000000df550000-0x00000000e013ffff],
which spans more than 0000:08:00.0 [mem 0xd0000000-0xdfffffff 64bit pref]
[168814.845438] caller __nv_drm_gem_nvkms_map+0x99/0xf0 [nvidia_drm] mapping multiple BARs
[168821.090046] [drm:__nv_drm_convert_in_fences [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000800]
Failed to initialize semaphore for plane fence
[168821.090058] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000800]
Failed to apply atomic modeset. Error code: -11
[168824.609543] NVRM: krcWatchdog_IMPL: RC watchdog: GPU is probably locked! Notify Timeout Seconds: 7
[168832.801431] NVRM: krcWatchdog_IMPL: RC watchdog: GPU is probably locked! Notify Timeout Seconds: 7
... (krcWatchdog_IMPL repeats every ~8 s indefinitely) ...
[169656.854308] [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000800]
Flip event timeout on head 3
... (kernel falls back to fbcon shortly after) ...
The driver requested 0xdf550000–0xe013ffff (≈ 12 MiB). That range starts inside BAR1 (0xd0000000–0xdfffffff, 256 MiB) and ends inside BAR3 (0xe0000000–0xe1ffffff, 32 MiB). The Linux PCI core rejects the mapping with EAGAIN (-11) because it spans two distinct BARs.
Suspected root cause
Likely predisposing factor: ReBAR disabled keeps BAR1 at 256 MiB despite GB205 having 12 GiB of VRAM and advertising the rebar capability. The mapping computed by the driver under sustained mapping-reuse churn (pReuseMappingDb, mapping_reuse.c:273) crossed the BAR1→BAR3 boundary, as recorded by the kernel sanity check. The driver does not handle the rejection cleanly — it returns NV_ERR_NO_MEMORY upward, leaving the GPU in a state the RC watchdog cannot recover from.
Concurrent system state at first failure
$ nvidia-smi --query-gpu=name,memory.total,memory.used,memory.free,driver_version --format=csv
NVIDIA GeForce RTX 5070, 12227 MiB, 1710 MiB, 10062 MiB, 595.71.05
$ uptime # at SSH login, after the lockup was already in progress
23:46:58 up 1 day, 23:01, 3 users, load average: 2.60, 1.92, 1.32
$ free -h
total used free shared buff/cache available
Mem: 62Gi 27Gi 3.2Gi 1.8Gi 35Gi 35Gi
Swap: 8.0Gi 71Mi 7.9Gi
Host CPU and system RAM are not under pressure. VRAM is mostly free. Failure is GPU-side only.
Kernel command line
BOOT_IMAGE=(hd4,gpt4)/vmlinuz-6.19.14-300.fc44.x86_64 root=UUID=... ro rootflags=subvol=root
rd.luks.uuid=luks-... rhgb quiet nvidia-drm.modeset=1 snd_hda_intel.power_save=0
rd.driver.blacklist=nouveau,nova_core modprobe.blacklist=nouveau,nova_core
nouveau and nova_core are blacklisted. nvidia-drm.modeset=1 is set.
Compositor / userspace
GNOME Shell on Wayland (gdm), stock Fedora xorg-x11-drv-nvidia userspace at 595.71.05.
To Reproduce
Difficult to reproduce on demand. Observed once after very long uptime:
- Boot Fedora 44, GNOME on Wayland, NVIDIA open kernel modules 595.71.05 (
nvidia-drm.modeset=1, ReBAR disabled in BIOS). - Use the desktop normally over ~47 hours with a busy mix of GPU-accelerated clients:
- Brave Browser (~15 windows, ~20 renderer/utility processes)
- Discord (Electron)
- Spotify (Electron)
- Steam + steamwebhelper
- RustRover (JetBrains)
- Xwayland hosting several X11 clients
- GNOME Shell + extensions
- After roughly that uptime,
dmaAllocMappingfailures begin appearing, immediately followed by the BAR-spanning sanity-check warning andkrcWatchdog. - The desktop session becomes unresponsive; SSH still works, no Xid is logged, GSP appears healthy (no Xid 119), the kernel just keeps logging the watchdog every ~8 s until
gdmis restarted or the box is rebooted.
Bug Incidence
Sometimes
nvidia-bug-report.log.gz
More Info
- Intermittent desktop lockup: Xid 62/45 -> Xid 119 (GSP timeout) -> Xid 154 on RTX 5080 (Arch Linux, nvidia-open 590.48.01) #1045 — Intermittent desktop lockup on RTX 5080 / driver 590.48.01 with Xid 62 → 45 → 119 (GSP RPC timeout) → 154 (GPU reset required). Different proximate signature (no Xid is logged in my case; GSP appears healthy), but same architecture (Blackwell), same end state (unrecoverable lockup until reset). May be related at a higher level.
- Sporadic black screen as a result of flip event timeout #815 —
Flip event timeouton RTX 4070, but driven by monitor power-save handling, not BAR-mapping exhaustion. Only the lateFlip event timeoutline is shared with my bug.
GitHub-issue searches that returned no existing match:
dmaAllocMappingmapping_reusekrcWatchdog GPU is probably lockedNV_ERR_NO_MEMORY VAGB205__nv_drm_gem_nvkms_map mapping multiple BARs
Function-name note
The log says dmaAllocMapping_GM107 despite the GPU being Blackwell (GB205). Appears to be a legacy-named symbol still in use across HALs — flagged in case it is informative.
Workaround being tried
Will enable Resizable BAR in BIOS and re-test. If that prevents recurrence, this points strongly at the BAR1-size / mapping-reuse interaction described above. Will update this issue with the result either way.
Activity
kobago commentedon Aug 10, 2026
Same issue here, but on a Turing card — RTX 2060 SUPER (TU106), open kernel modules 610.57.04, kernel 7.1.6 (CachyOS), KDE Plasma 6.7.4 Wayland.
Reliable trigger for me is video-heavy timelines in Chrome (x.com with lots of autoplaying videos). Journal shows the exact same sequence as reported above:
dmaAllocMapping_GM107: can't alloc VA space for mapping→mapping_reuse.c:274NV_ERR_NO_MEMORY assertion → Xid 56 storm →krcWatchdog: GPU is probably locked!→ kwin_wayland hangs until hard reboot. FWIW hardware video decode is not involved in my case (Chrome reports zero supported decode profiles on this setup), so it reproduces with pure software decode + compositing load.One note on the suggested workaround: Turing has no Resizable BAR support at all — the GPU exposes no PCIe ReBAR capability and BAR1 is fixed at 256 MiB — so "enable ReBAR in BIOS" is not an option for 20-series users. A driver-side fix would be the only way out for this generation.
etchebarne commentedon Aug 16, 2026
Same here, I had the same failure on an RTX 4060, I was using Fedora 44, kernel 7.1.8-200.fc44, GNOME 50.4 on Wayland, NVIDIA Open Kernel Module 610.57.04, RTX 4060 (AD107), BAR1 256 MiB and BAR3 32 MiB; ReBAR disabled, ASUS PRIME B450M-A II, BIOS 4401.
After about four hours of normal desktop use, GNOME became completely unresponsive and required a hard reboot. These are some logs I found:
viniciusmorgado commentedon Aug 22, 2026
Same failure here on Ada (RTX 4060) with 610.57.04 — not Turing-specific, still present in the 610 series — and I hit it twice on the same day, through both escalation paths: the full
krcWatchdog→ GSP timeout → Xid 175/154 chain (GPU dead, host alive, no recovery in 23 min), and a sub-20 s full hard lock. The driver itself names the triggering process: a Chromium GPU process (vivaldi-bin).Environment
0000:09:00.0, VBIOS 95.07.31.40.1B, PCIe 3.0 x8 link (LnkCap 8 GT/s ×8)lspcishows the card supports up to 8 GB, so this is the same 256 MiB aperture as the Turing case above.EnableResizableBar: 0(driver default).linux-cachyos-nvidia-open 7.2.0-1+nvidia-utils 610.57.04-1), GSP firmware enabled (EnableGpuFirmware: 18)nvidia-drm.modeset=1,nvidia-drm.fbdev=1, AMD-Vi IOMMU on (translated domain)libva-nvidia-driver0.0.17); its GPU process (--type=gpu-process --ozone-platform=wayland) shows asC+Ginnvidia-smi. No WebGL-heavy page involved.BAR1 consumption rate
34 minutes after a fresh boot, with only kwin, Xwayland, plasmashell and the Vivaldi GPU process running,
nvidia-smi -qalready reports BAR1 Used: 173 MiB / 256 MiB (the Vivaldi GPU process at 232 MiB of GPU memory). The aperture is effectively gone within a couple of hours of normal browsing.Occurrence 1 — 2026-08-21 12:05, 1 h 50 min after boot (host survives, GPU never recovers)
12:05:10—dmaAllocMapping_GM107: can't alloc VA space for mapping×7,NV_ERR_NO_MEMORY … @ mapping_reuse.c:274×312:05:11— Xid 56 ×2 (CMDre), thenGPPut < WATCHDOG_GPFIFO_ENTRIES @ kernel_rc_watchdog.c:155112:05:42—kgmmuInvalidateTlb_GM107: TLB invalidation failed waiting for completion (status=0x65)→krcWatchdog_IMPL: RC watchdog: GPU is probably locked!12:06:27— GSP heartbeat timed out (diff 75751 timeout 5200)12:06:57—kgmmuCheckMemSubsysError_IMPL: Memory Subsystem Error detected,_kgspLogRpcTimeout: GSP Timeout, Xid 175:pid=4255, name=vivaldi-bin, Timeout after 75s of waiting for RPC response from GPU0 GSP! Expected function 76 (GSP_RM_CONTROL)12:07:00— Xid 154:GPU recovery action changed from 0x0 (None) to 0x1 (PF FLR);GPU marked for reset @ kernel_gsp.c:277812:07:06onward —kwin_wayland: Pageflip timed out! This is a bug in the nvidia-drm kernel driver, once per second12:07–12:30— every 30 s:krcWatchdog … GPU is probably locked,mmuWalkUnmap/mmuWalkSparsifyfailures (NV_ERR_INVALID_STATE),(status == NV_OK) || (status == NV_ERR_GPU_IN_FULLCHIP_RESET)assertions. The host kernel stayed alive the whole time; the PF FLR was signalled but no recovery ever happened. Rebooted manually at ~12:30.Occurrence 2 — 2026-08-21 23:01, 10.5 h after boot (full hard lock within 20 s)
23:01:58—dmaAllocMapping_GM107×5,mapping_reuse.c:274×2, then Xid 56 ×423:02:00–23:02:17—kwin_wayland: Pageflip timed out!once per second;clocksource: Watchdog hpet read timed out(135–172 µs readouts, MMIO/PCIe stalls)23:02:17— journal stops. Hard lock, power cycle required. Audio kept playing for the first ~15–20 s, then everything froze. No watchdog/GSP lines — it died before they could fire. (I boot withnowatchdog, so no lockup trace.)Key lines (occurrence 1, trimmed):
Additional data points
/opt/vivaldi/vivaldi-bin, Chromium'sIMMEDIATE_CRASH()/ud2), matching the "renderer crashes once, driver fails to contain it on repeat" path described above and the Brave SIGILL in kernel 7.0.3 + nvidia-open 595.71.05 on RTX 3090:__nv_drm_gem_nvkms_maprequests range exceeding PCI BAR1 → Xid 31 → Xid 154 (Node Reboot Required) under Chromium GPU workload #1134.mapping_reuse.c:274/kernel_rc_watchdog.c:1551on 610.57.04 vs:273/:1549on 595.x — same code paths.__nv_drm_gem_nvkms_maprequests range exceeding PCI BAR1 → Xid 31 → Xid 154 (Node Reboot Required) under Chromium GPU workload #1134 (Chromium workload, kernel 7.0.3), RTX 4090 (AD102): dmaAllocMapping_GM107 VA space exhaustion → RC watchdog GPU lock after 7 days uptime (nvidia-open 595.58.03) #1140 (also Ada, AD102), RTX 5070 (GB205):__nv_drm_gem_nvkms_mapcomposes a mapping that spans BAR1→BAR3, causingmapping_reuse.c:273 NV_ERR_NO_MEMORYandkrcWatchdogGPU lock — driver 595.71.05 (open kernel modules), Resizable BAR disabled #1132, and NVIDIA forum thread 353598 (Wayland-only, reproducible via NVDEC playback).Not yet tested: proprietary kernel module of the same version, and Resizable BAR enabled — will report back on both.
Attached:
nvidia-bug-report.redacted.log.gz(collected on the boot after occurrence 2; its journal scan includes both incidents). Happy to test patches or debug builds.nvidia-bug-report.redacted.log.gz
femoral commentedon Sep 19, 2026
Another data point for this signature, on Blackwell GB202 and a newer driver. Disclosure: this comment was drafted by an AI agent while diagnosing the machine, with the owner's review.
Setup
lspci: Region 1[size=256M];nvidia-smi -q -d MEMORY: BAR1 Total 256 MiB)What happened
~46 h after boot, with no prior NVRM messages in dmesg at all, a burst of ~25 failures inside one second, then the RC watchdog lock 7 s later, which never cleared:
Consequences
CHyprOpenGLImpl::begin) and its watchdog respawned it in safe mode; every new GPU client then failed channel-group allocation.R,SigPndshows SIGKILL pending,utimefrozen whilestimekeeps climbing — stuck in an ioctl the GPU never completes. It holds 17 fds on/dev/nvidia0, sonvidia-smi --gpu-resetand module unload are impossible.nvidia-smistill answers and reports 0 % util / 1.3 GiB used while the GPU is locked, so it's misleading here.For comparison: the same machine, same kernel and same desktop workload ran 21 days on nvidia-open 595.91.07 (with much heavier CUDA use) without hitting this. Upgraded to 610.57.04 on the 17th; hit it on the 18th.
Next step on our side is enabling Resizable BAR (BAR1 → 32 GiB) and watching
BAR1 Memory Usagedaily; will report back if it recurs with ReBAR on.jpguevara commentedon Sep 29, 2026
Hitting the same signature on a different GPU/compositor combo:
Environment
https://m3.material.io/foundations/layout/canonical-examples/overview(heavy WebGL/canvas layout demos)Log sequence (matches the pattern above):
Chrome's GPU process crashes with SIGILL (confirmed via
systemd-coredump), and the GPU never recovers — full desktop session freeze, hard reboot required. Same code paths (mapping_reuse.c:273,kernel_rc_watchdog.c:1551) as the other 610.57.04 reports here, so this doesn't look version- or vendor-specific — reproducible from a single browser tab's WebGL/canvas load.mmmattG commentedon Sep 30, 2026
I hit a matching freeze on an RTX 3080 (Ampere). This is an AI-assisted report of the observations and saved diagnostics, reviewed by the machine owner; the underlying cause is unconfirmed.
Setup
94.02.26.40.95.610.57.04-1.7.1.9-arch1-2, Hyprland 0.56.2 / Aquamarine 0.14.0, Wayland.0xd0000000–0xdfffffff(256 MiB); BAR30xe0000000–0xe1ffffff(32 MiB). Current PCI capabilities advertise BAR1 sizes only up to 256 MiB.What happened
On 2026-09-30, after about 24 days of uptime, the display froze while I was browsing X in Helium. Access continued through T3 Code's remote agent and terminal only, with no remote desktop connection. The agent could still run shell commands and initially query Hyprland via
hyprctlwhile the local display stayed frozen.Selected kernel messages, in order; timestamps are AWST (UTC+8):
The requested range extends 1.5 MiB beyond BAR1 into BAR3. Watchdog messages continued repeatedly. This does not establish why the mapping failed.
At 19:38:06,
nvidia-smireported framebuffer use 814/10,240 MiB and BAR1 use 25/256 MiB. Those measurements were taken after the fault; they do not show memory usage at its onset.Recovery observations
--safe-modeat 19:39, before recovery attempts. GPU memory and full PCI capabilities were also saved separately.okbut did not restore the desktop; a temporary software-cursor command timed out. Flip timeouts and Xid 56 appeared during these attempts.Render::GL::CHyprOpenGLImpl::begin. Its watchdog restarted it in safe mode. The replacement eventually answered commands, but the GPU watchdog continued reporting the lockup. Power-cycling the monitor then left it showing no output.nvidia-smiprocess became stuck in D state with SIGKILL pending, still holding NVIDIA device handles. Its saved kernel stack included:No GPU reset or module unload was attempted. Restarting the PC restored the desktop with the same driver. A short post-reboot check found no recurrence of the mapping/watchdog errors.
There is no deterministic reproducer or same-version proprietary-driver comparison. Browsing activity is context, and neither application causation nor a particular memory leak has been established.
The diagnostic bundle, kernel logs, and Hyprland crash metadata are preserved locally. Please let me know which saved diagnostics would be useful to share.
Prepared from local diagnostics by GPT-6.1-Sol via the Codex harness in T3 Code, acting on Matt / mmmattG's behalf.
bjarkimg commentedon Nov 14, 2026
Still reproduces on the same GPU with nvidia-open 615.78.08.
After that uptime, one modeset did this, in order, at 21:40:05–06 UTC on 2026-11-14:
The requested range starts ~10 MiB below the end of BAR1 and extends ~1.8 MiB into BAR3. The Chrome Media thread then executed the ud2 in Chrome's own fatal-abort sequence. The desktop froze. The kernel kept running (core dump, a finished userspace job) for about two minutes. There was no Xid and no krcWatchdog line in that window. The log stops with no shutdown record; the machine was hard-reset. A reboot cleared it. An identical dmaAllocMapping_GM107 burst at 21:20 the same boot did not take the desktop down.
Filed by Grok 4.7 via Grok Build.
yebei199 commentedon Nov 16, 2026
Another data point, on Ada (AD106) with 615.78.08, compositor niri. Disclosure: drafted by an AI agent from the machine's logs, reviewed by the owner.
Setup
LIBVA_DRIVER_NAME=nvidia, nvidia-vaapi-driver 0.0.18 installed; no extra video-decode flagsTrigger
A page with 6
<video>elements (x.com mp4s, someautoplay loop muted) opened in a background tab at 1600x1100. Total VRAM use was ~4.0 GiB of 16 GiB, flat for the hour before, so this is not VRAM pressure.Timeline (UTC)
No Xid was logged. Afterwards
nv_drm_gem_alloc_nvkms_memory_ioctl: Failed to allocate NVKMS memory for GEM objectfired ~1.27M times over two hours. The compositor stayed stuck inwaiting-for-vblankand never redrew. Its main thread spun at 100% inside the driver and survived SIGKILL. Clients failedeglCreateWindowSurfacewithEGL_BAD_ALLOC(0x3003). DPMS off/on did not recover it; only a reboot did.This matches the software-decode / non-zero-copy BAR1 path described in #1187, but on Ada and on 615.78.08, which some reports there describe as no longer affected.
bjarkimg commentedon Nov 22, 2026
Same machine, second freeze on nvidia-open 615.78.08.
The boot that started after the 2026-11-14 hard reset ran until 2026-11-22 13:02:34 UTC (about 7 days 15 hours) and hit the same modeset failure. Desktop froze; kernel kept logging. No
krcWatchdogand no Xid in that boot. Power cycle at 13:06 recovered it.The requested range again starts about 10 MiB below the end of the 256 MiB BAR1 and extends about 1.6 MiB into BAR3. Chrome's Media thread aborted with SIGILL on its own ud2 in the same second; that killed one renderer and did not freeze the machine. The on-disk Chrome package after reboot was 158.0.8127.36. The crashing process was still mapped to a replaced binary.
Hardware and software otherwise unchanged from my comment above: Gigabyte RTX 5070 (GB205, 10de:2f04), nvidia-open-dkms / nvidia-utils 615.78.08-1, kernel 7.2.15-1-omarchy, Hyprland on Wayland.
Filed by Grok 4.7 via Grok Build.