NVIDIA / NVIDIA/open-gpu-kernel-modules
RTX 5070 Ti: GPU VA space exhaustion (dmaAllocMapping can't alloc VA space) leads to Xid 31 and gnome-shell session crash on 610.43.03
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 17.4k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
Summary
On an RTX 5070 Ti (Blackwell) running GNOME/Wayland, the driver progressively loses GPU VA space for DMA/framebuffer mappings until the desktop session dies. The failure arrives in waves every few days: dmaAllocMapping_GM107: can't alloc VA space for mapping floods the log, followed by NVRM: ... Out of memory ... mapping_reuse.c:273 asserts, Xid 31 MMU faults in gnome-shell, and [nvidia-drm] Failed to map NvKmsKapiMemory. gnome-shell then SIGABRTs, taking down mutter, Xwayland and GPU-accelerated Electron apps (Discord, VS Code, Chrome) with it. Logging out/in (or rebooting) resets the condition, which strongly suggests a VA-space leak in mapping reuse rather than actual VRAM exhaustion (only ~1.3/16 GiB VRAM in use at idle).
System
- GPU: NVIDIA GeForce RTX 5070 Ti (16 GiB), open kernel modules
- Driver: 610.43.03 (RPM Fusion, Fedora 44)
- Kernel: 7.1.4-200.fc44.x86_64
- Session: GNOME on Wayland,
nvidia-drm.modeset=Y,nvidia-drm.fbdev=Y - Full bug report: https://gist.github.com/SmookeyDev/100931ce97fb50a7b68f95f902ad8cef
Frequency (from journal, since 2026-07-01)
- 390×
NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping. - 122×
NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) ... pReuseMappingDb->pMapCb ... @ mapping_reuse.c:273 - 51× Xid 31 MMU faults, all with
pid=<gnome-shell>, e.g.:
Xid (PCI:0000:08:00): 31, pid=4391, name=gnome-shell, channel 0x00000004, intr 00000000. MMU Fault: ENGINE GR_HOST0 HUBCLIENT_ESC0 faulted @ 0x0_04040000. Fault is of type FAULT_INFO_TYPE_UNSUPPORTED_KIND ACCESS_TYPE_VIRT_READ - 1×
NVRM: krcWatchdog_IMPL: RC watchdog: GPU is probably locked!(2026-07-30) - Each wave ends with:
[drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000800] Failed to map NvKmsKapiMemory 0x000000003b3877f3followed by gnome-shell/mutter/Xwayland SIGABRT
Example timeline of a full session crash (2026-08-04)
01:16:18 NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping. (repeated)
01:16:18 resource: resource sanity check: requesting [mem 0xdfdc0000-0xe00dffff], which spans more than 0000:08:00.0 [mem 0xd0000000-0xdfffffff 64bit pref]
01:16:18 caller __nv_drm_gem_nvkms_map+0xc3/0x130 [nvidia_drm] mapping multiple BARs
01:16:18 [nvidia-drm] *ERROR* Failed to map NvKmsKapiMemory 0x000000003b3877f3
01:16:19 NVRM: Xid (PCI:0000:08:00): 31, pid=4391, name=gnome-shell, ... MMU Fault ...
01:16:24 NVRM: nvAssertOkFailedNoLog: ... Out of memory ... @ mapping_reuse.c:273 (repeated)
01:16:31 systemd-coredump: Process 4391 (gnome-shell) dumped core (SIGABRT)
01:16:36 systemd-coredump: mutter-x11-frames SIGABRT
01:16:37 systemd-coredump: Xwayland SIGABRT
01:17:06 systemd-coredump: Discord SIGTRAP
Notes
- The "Out of memory" here is not VRAM pressure — it is VA space for mappings (
pReuseMappingDb), which points to mappings not being freed/reused correctly under a long-running compositor + many GPU-accelerated clients. - Crash waves correlate with long uptimes (2+ days); a fresh login behaves normally.
- Happy to test a beta/hotfix driver or collect additional traces on request.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the mapping_reuse.c:273 assertion and the dmaAllocMapping_GM107 failures described in the issue, then review the linked full bug report. Reproduce a long-running GNOME/Wayland session on the listed driver and monitor for VA-space exhaustion, Xid 31 faults, and failed NvKmsKapiMemory mappings. Done means the mapping failures and resulting compositor crashes no longer occur under the reported workload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- desktop-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100