BAR1 VA exhaustion (dmaAllocMapping_GM107: can't alloc VA space) leads to GPU lockup (Xid 8) and KWin crash

Author: skyline69Created Sep 24, 2026Updated Sep 30, 2026
Labelsbug

NVIDIA Open GPU Kernel Modules Version

615.71.09 (RPM Fusion akmod-nvidia-615.71.09-3.fc44, not self-built)

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 (KDE Plasma Desktop Edition)

Kernel Release

Linux fedora 7.2.7-200.fc44.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Sep 21 18:25:57 UTC 2026 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 2070 SUPER (UUID: GPU-d90e84d9-98ec-2498-ec97-f48d76e4f361)

Describe the bug

Opening a WebGL/video-heavy web page in a Chromium-based browser (Brave) exhausts BAR1 (256 MiB, Turing, no ReBAR). nvidia-drm then fails to map a GEM buffer:

NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
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:3184
[drm] [nvidia-drm] [GPU ID 0x00002d00] Failed to ioremap_wc NvKmsKapiMemory 0x00000000cfff7614
[drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002d00] Failed to map NvKmsKapiMemory 0x0000000050490f33

The first time, only the browser renderer aborted. The second time, the GPU locked up a few seconds later:

NVRM: nvAssertFailedNoLog: Assertion failed: GPPut < WATCHDOG_GPFIFO_ENTRIES @ kernel_rc_watchdog.c:1608
NVRM: krcWatchdog_IMPL: RC watchdog: GPU is probably locked!  Notify Timeout Seconds: 7
NVRM: Xid (PCI:0000:2d:00): 8, pid=1937, name=kwin_wayland, channel 0x00000018

KWin (Wayland) then reported "A graphics reset attributable to the current GL context occurred", hung, and crashed with SIGSEGV. The desktop froze and needed a reboot.

To Reproduce

  • RTX 2070 SUPER (BAR1 = 256 MiB), driver 615.71.09 open kernel module, nvidia-drm.modeset=1
  • KDE Plasma 6.7.5 Wayland session (KWin 6.7.5)
  • Open https://www.phantom.land/projects/erase-your-ex in Brave (Chromium-based, --ozone-platform=wayland)
  • BAR1 exhaustion errors appear in dmesg right away; on a repeat visit the GPU locks up (Xid 8) and KWin crashes

Bug Incidence

Sometimes

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

nvidia-crash-userspace.log

nvidia-crash-kernel.log

More Info

Expected: running out of BAR1 space should fail that single mapping cleanly and return an error to the client. It should not lock up the GPU or reset other clients' contexts (KWin, Discord).

Not tested with the proprietary kernel module, so I left that checkbox unticked. The failing paths (kern_bus_gm107.c, mapping_reuse.c, kernel_rc_watchdog.c) are in this repo's source, which is why I filed here. Happy to move it to the forums if preferred.

Crash timestamps in the attached logs: 17:34:12 (renderer abort only), 17:38:20 (BAR1 exhaustion), 17:38:33 (Xid 8), 17:39:18 (KWin SIGSEGV).

Source: NVIDIA/open-gpu-kernel-modules