Skip to content

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 #1274

Description

@SmookeyDev

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

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
  • 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 0x000000003b3877f3 followed 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions