Skip to content

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

Open

Description

@Virgil-Bulens

Summary

A userspace GL/WebGL client (Chromium-based browser rendering a WebGL-heavy page) can exhaust the GPU's 256 MiB BAR1 aperture, after which the driver emits a continuous flood of dmaAllocMapping_GM107: can't alloc VA space for mapping / NV_ERR_NO_MEMORY, then krcWatchdog: GPU is probably locked!, and the entire machine hard-locks — no clean shutdown, no SysRq, requires a power cycle.

Expected behavior: BAR1/VA-space exhaustion should surface to the client as an allocation failure (the renderer/tab dies — which it does on the first occurrence), without locking the GPU engine or hanging the host kernel. Observed behavior: on a repeat of the workload the driver fails to contain the exhaustion and the GPU/host deadlock.

This is reproducible and not load-spike related — it builds over a few minutes while the page is open.

Environment

  • GPU: NVIDIA GeForce RTX 2070 SUPER (Turing, TU104)
  • VBIOS: 90.04.95.00.58
  • BAR1: 256 MiB (Resizable BAR not supported on Turing, so this is fixed)
  • Driver: 595.71.05 (open kernel modules). Also reproduced on 580.159.03.
  • Kernel: 6.17.0-35-generic, Ubuntu 24.04 (x86_64)
  • CPU/board: AMD Ryzen 7 3700X, Gigabyte (AMD platform)

Reproduction

  1. Open a WebGL/canvas-heavy site (in our case ui.com / UniFi UI) in a GPU-accelerated Chromium-based browser.
  2. Leave it rendering for ~1–7 minutes.
  3. BAR1 VA-space exhausts; kernel log fills with can't alloc VA space; renderer crashes once ("Aw, Snap").
  4. Reload the page → GPU RC watchdog reports the GPU locked → full system hang (hard reset required).

Reproduced 3/3 times. Disabling browser GPU acceleration avoids it (confirms the BAR1 mapping path as the trigger).

Key kernel log sequence (excerpt)

NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.        (×hundreds, in bursts)
NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051)
      ... @ mapping_reuse.c:273
NVRM: ... @ kern_bus_gm107.c:3141
[drm] [nvidia-drm] [GPU ID 0x00000700] Failed to ioremap_wc NvKmsKapiMemory ...
[drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* Failed to map NvKmsKapiMemory ...
NVRM: krcWatchdog_IMPL: RC watchdog: GPU is probably locked!  Notify Timeout Seconds: 7
NVRM: nvAssertFailedNoLog: Assertion failed: GPPut < WATCHDOG_GPFIFO_ENTRIES @ kernel_rc_watchdog.c:1549

(Full curated kernel sequence and nvidia-bug-report.log.gz available on request / attached.)

Notes / impact

  • The single-renderer-crash path works (allocation failure is returned). The escalation to a GPU engine lock + unrecoverable host hang on repeat is the bug.
  • On a small-BAR1 (256 MiB) Turing part with no Resizable BAR, this aperture is easy for a modern WebGL workload to exhaust, so robust handling of BAR1 exhaustion matters here.

Activity

  1. Virgil-Bulens commented on Jun 9, 2026

    @Virgil-Bulens
    Author

    Cross-browser data point (same GPU / driver / kernel / page):

    I measured BAR1 usage while loading the exact same web page (ui.com) in two browsers on this RTX 2070 SUPER (256 MiB BAR1, no Resizable BAR), driver 595.71.05, kernel 6.17.0-35:

    Browser Peak BAR1 used (of 256 MiB) Outcome
    Chromium-based (Brave) 256 MiB — exhausted can't alloc VA space flood → krcWatchdog: GPU is probably locked! → full system hard-hang
    Firefox 151 ~16 MiB renders fine on the GPU, stable, zero NVRM warnings

    So the trigger is an application allocation pattern (reported separately to that browser), not the page itself.

    However, this issue stands independently of which app over-allocates: a userspace GL client exhausting BAR1 should receive allocation failures it can handle (drop the context / kill the tab), not cause an unrecoverable GPU engine lock and host hang. The lack of containment is what turns an app-level over-allocation into a whole-system crash — which is the defect reported here. The Firefox data simply shows the GPU/driver is otherwise healthy on this workload; it's the BAR1-exhaustion handling path that fails.

    (Filed the browser-side over-allocation at brave/brave-browser#56216 for cross-reference.)

  2. apage43 commented on Jun 11, 2026

    @apage43

    I can corroborate this failure class on another Turing/TU104 card with fixed 256 MiB BAR1. In my case the trigger is Google Chrome rather than Brave, and the lockup reproduced with a newer NVIDIA open KMD.

    System:

    • GPU: NVIDIA GeForce RTX 2080 SUPER / TU104
    • Display GPU: 0000:49:00.0
    • BAR1: fixed 256 MiB
    • Driver/KMD: NVIDIA open modules 610.43.02
    • Browser: Google Chrome 149.0.7827.102
    • Display path: Wayland
    • Original full-lockup boot kernel: linux-cachyos 7.0.11
    • Same BAR1/NVKMS/Chrome-Media failure also reproduced after reboot on linux-cachyos-lts 6.18.33 with the same NVIDIA 610.43.02 and Chrome 149.

    Chrome flags in use when this still reproduced:

    --ozone-platform=wayland
    --disable-vulkan
    --use-angle=gl
    --disable-features=VaapiVideoDecoder,VaapiVideoEncoder
    

    So disabling VAAPI decode/encode and Vulkan was not sufficient in this case.

    Observed behavior:

    • Opening more Chrome tabs/content raised BAR1 pressure.
    • Closing several tabs dropped BAR1 from about 199/256 MiB to about 151/256 MiB.
    • Hard reboot reset BAR1 baseline to about 43/256 MiB.
    • A later attempt to open more tabs/content locked the display badly enough that I had to hard reboot.

    Representative retained journal sequence from the lockup boot:

    2026-06-10T17:06:52-07:00 kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    2026-06-10T17:06:52-07:00 kernel: NVRM: Xid (PCI:0000:49:00): 31, pid=161246, name=chrome, channel 0x00000029, intr 00000000. MMU Fault: ENGINE HOST0 HUBCLIENT_HOST faulted @ 0x0_04027000. Fault is of type FAULT_INFO_TYPE_UNSUPPORTED_KIND ACCESS_TYPE_VIRT_READ
    2026-06-10T17:06:57-07:00 kernel: NVRM: Xid (PCI:0000:49:00): 109, pid=495164, name=qs, channel 0x00000011, errorString CTX SWITCH TIMEOUT, Info 0x154039
    2026-06-10T17:07:01-07:00 kernel: NVRM: Xid (PCI:0000:49:00): 109, pid=495164, name=qs, channel 0x00000014, errorString CTX SWITCH TIMEOUT, Info 0x194004
    2026-06-10T17:07:01-07:00 kernel: NVRM: Xid (PCI:0000:49:00): 31, pid=186278, name=ghostty, channel 0x00000017, intr 00000000. MMU Fault: ENGINE HOST0 HUBCLIENT_HOST faulted @ 0x0_0402e000. Fault is of type FAULT_INFO_TYPE_UNSUPPORTED_KIND ACCESS_TYPE_VIRT_READ
    2026-06-10T17:07:01-07:00 kernel: NVRM: Xid (PCI:0000:49:00): 31, pid=495164, name=qs, channel 0x0000001d, intr 00000000. MMU Fault: ENGINE HOST0 HUBCLIENT_HOST faulted @ 0x0_057d7000. Fault is of type FAULT_PTE ACCESS_TYPE_VIRT_READ
    2026-06-10T17:07:05-07:00 kernel: NVRM: Xid (PCI:0000:49:00): 109, pid=495164, name=qs, channel 0x00000053, errorString CTX SWITCH TIMEOUT, Info 0x5f4036
    2026-06-10T17:07:10-07:00 kernel: NVRM: Xid (PCI:0000:49:00): 109, pid=495164, name=qs, channel 0x0000000b, errorString CTX SWITCH TIMEOUT, Info 0xd4036
    2026-06-10T17:07:10-07:00 kernel: NVRM: Xid (PCI:0000:49:00): 31, pid=186278, name=ghostty, channel 0x00000011, intr 00000000. MMU Fault: ENGINE GRAPHICS GPC2 GPCCLIENT_PROP_0 faulted @ 0x1_20281000. Fault is of type FAULT_INFO_TYPE_UNSUPPORTED_KIND ACCESS_TYPE_VIRT_WRITE
    2026-06-10T17:07:10-07:00 kernel: NVRM: Xid (PCI:0000:49:00): 31, pid=495164, name=qs, channel 0x00000011, intr 00000000. MMU Fault: ENGINE GRAPHICS GPC1 GPCCLIENT_RAST faulted @ 0x0_042b8000. Fault is of type FAULT_INFO_TYPE_UNSUPPORTED_KIND ACCESS_TYPE_VIRT_READ
    2026-06-10T17:07:39-07:00 kernel: NVRM: Xid (PCI:0000:49:00): 31, pid=20480, name=Discord, channel 0x0000001a, intr 00000000. MMU Fault: ENGINE HOST0 HUBCLIENT_HOST faulted @ 0x0_04038000. Fault is of type FAULT_INFO_TYPE_UNSUPPORTED_KIND ACCESS_TYPE_VIRT_READ
    2026-06-10T17:07:39-07:00 kernel: NVRM: Xid (PCI:0000:49:00): 31, pid=25432, name=slack, channel 0x00000023, intr 00000000. MMU Fault: ENGINE HOST0 HUBCLIENT_HOST faulted @ 0x0_04055000. Fault is of type FAULT_INFO_TYPE_UNSUPPORTED_KIND ACCESS_TYPE_VIRT_READ
    2026-06-10T17:07:57-07:00 kernel: NVRM: Xid (PCI:0000:49:00): 109, pid=16220, name=niri, channel 0x0000002c, errorString CTX SWITCH TIMEOUT, Info 0x39401b
    

    After rebooting into the LTS kernel, the same BAR1/NVKMS/Chrome Media failure reproduced again, although it did not wedge the display during that short test:

    2026-06-10T17:13:17-07:00 kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    2026-06-10T17:13:17-07:00 kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from pReuseMappingDb->pMapCb(...) @ mapping_reuse.c:274
    2026-06-10T17:13:17-07:00 kernel: NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) returned from reusemappingdbMap(&pBar1VaInfo->reuseDb, ...) @ kern_bus_gm107.c:3151
    2026-06-10T17:13:17-07:00 kernel: [drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00004900] Failed to map NvKmsKapiMemory ...
    2026-06-10T17:13:17-07:00 kernel: traps: Media[...] trap invalid opcode ... in chrome
    

    The important part for this issue: the Xid faults moved from Chrome to unrelated GPU clients (qs, ghostty, Discord, slack, niri) after the BAR1/NVKMS failure. That makes this look like a driver/GPU state corruption or unrecovered allocator/fault condition after BAR1 mapping exhaustion, not an isolated Chromium renderer/media-process failure.

  3. alefhamad commented on Jun 14, 2026

    @alefhamad

    I believe I'm experiencing the same issue.

    Environment

    • GPU: NVIDIA GeForce RTX 2070 SUPER (TU104, 8 GB)
    • Driver: nvidia-open 610.43.02
    • Kernel: 7.0.11-arch1-1
    • Compositor: Hyprland 0.55.3
    • Browser: Helium Browser (Chromium-based)
    • Session: Wayland

    Symptoms

    The issue appears very similar to what is being described here.

    While browsing YouTube (sometimes after forcing higher resolutions such as 4320p), the browser becomes unstable and the kernel logs begin showing:

    [nvidia-drm] Failed to map NvKmsKapiMemory
    NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping
    NVRM: Assertion failed: Out of memory [NV_ERR_NO_MEMORY]
    

    In some cases the desktop becomes partially or completely unusable and requires a reboot.

    Relevant Findings

    This does not appear to be VRAM exhaustion.

    At the time the errors occur:

    System RAM

    MemAvailable: 55236992 kB
    Cached:       54896640 kB
    

    This system has 64 GB RAM with approximately 55 GB available when the issue occurs.

    GPU Memory

    From continuous nvidia-smi logging:

    2026/06/14 02:30:41.346, 1053 MiB, 6720 MiB, 12 %
    2026/06/14 02:30:42.354, 1047 MiB, 6727 MiB, 23 %
    2026/06/14 02:30:43.358, 1047 MiB, 6727 MiB, 25 %
    

    At the time of the failures:

    • GPU memory used: ~1.0–1.1 GB
    • GPU memory free: ~6.7 GB

    BAR1 Usage

    BAR1 Memory Usage
        Total : 256 MiB
        Used  : 95 MiB
        Free  : 161 MiB
    

    Troubleshooting Performed

    Disabled PreserveVideoMemoryAllocations

    Removed:

    nvidia.NVreg_PreserveVideoMemoryAllocations=1
    

    Issue still reproduces.

    Disabled GSP

    Added:

    options nvidia NVreg_EnableGpuFirmware=0
    

    Verified:

    EnableGpuFirmware: 0
    

    Issue still reproduces. (But system have not frozen yet after changing this)

    UEFI

    System is already booted in UEFI mode:

    UEFI
    

    Interesting Log Sequence

    One sequence that appears repeatedly is:

    [nvidia-drm] Failed to map NvKmsKapiMemory
    Media[...] trap invalid opcode
    NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping
    NVRM: Assertion failed: Out of memory [NV_ERR_NO_MEMORY]
    

    The Media[...] process is the Chromium/Helium media process.

    Observation

    Given:

    • ~55 GB available system RAM
    • ~6.7 GB free VRAM
    • BAR1 not exhausted
    • No Linux OOM events

    this does not appear to be actual VRAM or system RAM exhaustion.

    It looks more like an internal NVIDIA mapping / virtual address space allocation failure, similar to what others in this issue are reporting.

    System is still throwing logs but have not crashed yet with the same chromium (Helium) workload.

    Jun 14 02:25:58 pc kernel: 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
    Jun 14 02:25:58 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 02:25:58 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 02:25:58 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.```
    
  4. alefhamad commented on Jun 14, 2026

    @alefhamad

    Yeap, abusing the helium tabs did the trick.

    ❯ nvidia-smi -q | grep -A5 "BAR1"
        BAR1 Memory Usage
            Total                                          : 256 MiB
            Used                                           : 191 MiB
            Free                                           : 65 MiB
        Conf Compute Protected Memory Usage
            Total                                          : 0 MiB
    ❯ nvidia-smi -q | grep -A5 "BAR1"
        BAR1 Memory Usage
            Total                                          : 256 MiB
            Used                                           : 252 MiB
            Free                                           : 4 MiB
        Conf Compute Protected Memory Usage
            Total                                          : 0 MiB
    

    And after killin it:

    ❯ nvidia-smi -q | grep -A5 "BAR1"
        BAR1 Memory Usage
            Total                                          : 256 MiB
            Used                                           : 51 MiB
            Free                                           : 205 MiB
        Conf Compute Protected Memory Usage
            Total                                          : 0 MiB
    

    And the kernel logs show the errors:

    Jun 14 03:23:32 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:32 pc kernel: 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
    Jun 14 03:23:32 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:32 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:32 pc kernel: 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
    Jun 14 03:23:32 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:32 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:32 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:32 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:32 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:32 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:32 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:32 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:32 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:32 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:32 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:32 pc kernel: 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
    Jun 14 03:23:32 pc kernel: 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:3150
    Jun 14 03:23:32 pc kernel: [drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to map NvKmsKapiMemory 0x00000000b8f32a33
    Jun 14 03:23:32 pc kernel: traps: Media[256581] trap invalid opcode ip:55baa3fef1b8 sp:7f8b71bfbc80 error:0 in helium[a48a1b8,55ba9c64c000+c920000]
    Jun 14 03:23:33 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:33 pc kernel: 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
    Jun 14 03:23:33 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:33 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:33 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:33 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:33 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:33 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:33 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:33 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:33 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:33 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:33 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:23:33 pc kernel: 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
    Jun 14 03:23:33 pc kernel: 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:3150
    Jun 14 03:23:33 pc kernel: [drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to map NvKmsKapiMemory 0x00000000fabc07d9
    Jun 14 03:23:33 pc kernel: traps: Media[258663] trap invalid opcode ip:55baa3fef1b8 sp:7f8b723fab80 error:0 in helium[a48a1b8,55ba9c64c000+c920000]
    Jun 14 03:29:27 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:29:27 pc kernel: 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
    Jun 14 03:29:27 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:29:27 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:29:27 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:29:27 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:29:27 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:29:27 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:29:27 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:29:27 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:29:27 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:29:27 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:29:27 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:29:27 pc kernel: NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    Jun 14 03:29:27 pc kernel: 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
    Jun 14 03:29:27 pc kernel: 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:3150
    Jun 14 03:29:27 pc kernel: [drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to map NvKmsKapiMemory 0x00000000d3bb71a8
    Jun 14 03:29:27 pc kernel: traps: Media[298690] trap invalid opcode ip:556aed1081b8 sp:7fcdf1dfa120 error:0 in helium[a48a1b8,556ae5765000+c920000]
    

    Edit: Stil the system did not hard crash, previously with GSP enabled the system would freeze and require a hard reset.

    If I find anything else, I'll come back to this thread.

  5. jdcodes28 commented on Jun 16, 2026

    @jdcodes28

    I am also having similar issues with Chromium-based browsers on NixOS (Niri) with a 2080 Ti.

  6. alefhamad commented on Jun 18, 2026

    @alefhamad

    I am also having similar issues with Chromium-based browsers on NixOS (Niri) with a 2080 Ti.

    I have disabled hardware acceleration all together from chromium browsers, I have a few dropped frames on yt at 4k now but nothing too excessive.
    I recommend you do the same for now.

  7. ananaso12 commented on Jul 4, 2026

    @ananaso12

    I also have similar issue with Chromium browsers on EndeavourOS with a 3060

  8. ahmetdotrun commented on Jul 11, 2026

    @ahmetdotrun

    having the same

  9. psgnezdilov commented on Aug 22, 2026

    @psgnezdilov

    I have the same issue too with Chromium on Arch Linux with a 3060 Ti

  10. rafaeltgt commented on Aug 28, 2026

    @rafaeltgt

    If you're seeing this on Omarchy with an NVIDIA GPU, try checking whether voxtype is running.

    In my case, voxtype was using the GPU/Vulkan backend and consuming a large amount of BAR1 memory. X/Brave would eventually crash with NV_ERR_NO_MEMORY / Failed to map NvKmsKapiMemory.

    After:
    systemctl --user disable --now voxtype.service

    my BAR1 usage dropped from ~150+ MiB to ~14 MiB, and the browser crashes stopped.

    Might be worth checking with:
    nvidia-smi nvidia-smi -q -d MEMORY | sed -n '/BAR1 Memory Usage/,+4p'

    Not sure if Voxtype is the root cause or just the trigger, but disabling it fixed the issue for me.

  11. sprajs commented on Sep 3, 2026

    @sprajs

    I can corroborate this failure class on another Turing card, now with NVIDIA open KMD 610.57.04 and Chrome 152. The immediate user-visible trigger is X.com: with the site open, a Chrome renderer crashes roughly every 10 minutes.

    Environment

    • GPU: NVIDIA GeForce RTX 2080 Ti (TU102, PCI ID 10de:1e07)
    • VBIOS: 90.02.30.00.C4
    • BAR1: fixed 256 MiB
    • Driver/KMD: nvidia-open-dkms 610.57.04-1
    • Browser: Google Chrome 152.0.7977.75
    • Kernel: 7.2.2-arch1-1
    • Mesa: 26.2.2-1
    • OS/session: Arch Linux / Omarchy / Hyprland Wayland
    • Chrome renderer command line includes --ozone-platform=wayland

    Frequency and reproduction

    There are now eight retained Chrome SIGILL coredumps with this signature:

    • 2026-08-26: 1
    • 2026-08-28: 2
    • 2026-09-03: 5

    On September 3, keeping X.com open reproduced the renderer crash approximately every 10 minutes. The most recent failure occurred at 21:11:51 local time while the site was actively being used. The same failure class predates the September 3 Chrome/kernel/Mesa update: it occurred on Chrome 151/152 and kernels 7.1.8, 7.1.9, and 7.2.2 while the NVIDIA open KMD remained 610.57.04.

    Exact September 3 sequence

    At the actual process termination time (the later coredump timestamps are processing-completion times), the kernel logged:

    NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) ... @ mapping_reuse.c:273
    NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051) ... @ kern_bus_gm107.c:3152
    [drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* Failed to map NvKmsKapiMemory ...
    traps: Media[...] trap invalid opcode ... in chrome
    

    This sequence occurred repeatedly at 20:06:39, 20:22:29, 20:46:18, 20:46:50, and 21:11:51 local time.

    GDB disassembly of the 20:46:18 coredump shows Chrome intentionally reaching a fatal trap rather than executing an unsupported CPU instruction:

    call   ...
    int3
    ud2    <-- RIP / SIGILL
    int3
    

    The retained core is truncated and the official Chrome binary is unsymbolized, so I cannot identify the exact Chrome assertion.

    Resource and recovery observations

    • Host RAM was not exhausted: about 113 GiB available, swap unused, and no OOM-killer event.
    • No NVIDIA Xid, RC-watchdog, or “GPU has fallen off” message was logged around these renderer crashes.
    • The GPU recovered without reboot. Later telemetry showed 75/256 MiB BAR1 used and 1.3/11 GiB framebuffer memory used.
    • This is therefore the contained renderer-crash stage of the same BAR1/NVKMS failure path, not yet a full host lock on this machine.

    An Omarchy Voxtype service is active, and its GTK OSD has an NVIDIA graphics context. Current BAR1 usage is only 75 MiB, however, and I have not tested with Voxtype stopped, so I cannot attribute causality to it.

    As a reversible mitigation for the next complete Chrome restart, I added --disable-gpu to the per-user Chrome flags. I will update this comment once there is enough use to say whether it prevents recurrence.

    No core dump, browser profile/history, hostname, username, GPU UUID, or unredacted diagnostic archive is being uploaded. I can collect a targeted nvidia-bug-report.log.gz if maintainers need it.

    Filed by GPT-5 via OpenAI Codex.

  12. fitzzz commented on Sep 4, 2026

    @fitzzz

    I can corroborate this failure on an Ampere RTX 3080 with the current 610.57.04 open kernel module. In this case, BAR1 mapping exhaustion caused a Google Chrome media renderer to terminate, but the GPU and desktop recovered without a reboot.

    Environment

    • GPU: NVIDIA GeForce RTX 3080 12GB (GA102, PCI ID 10de:220a)
    • VBIOS: 94.02.85.00.B0
    • BAR1: 256 MiB
    • Resizable BAR: disabled (EnableResizableBar: 0)
    • Driver: nvidia-open-dkms 610.57.04-1
    • Kernel: 7.1.8-arch1-3
    • Browser: Google Chrome 151.0.7922.137-1
    • OS/session: Arch Linux / Omarchy / Hyprland Wayland
    • Chrome renderer used --ozone-platform=wayland
    • System uptime before the event: approximately 4.5 days
    • The proprietary kernel module has not been A/B tested.

    Failure

    The crash happened on 2026-09-04 at 06:21:38 EDT while Chrome was displaying a normal Squarespace Domains account page, rather than a known WebGL stress workload.

    The kernel recorded this sequence:

    NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051)
          returned from pReuseMappingDb->pMapCb(...) @ mapping_reuse.c:273
    NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051)
          returned from reusemappingdbMap(...) @ kern_bus_gm107.c:3152
    [drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR*
          Failed to map NvKmsKapiMemory
    traps: Media[...] trap invalid opcode ... in chrome
    

    The NVIDIA mapping failures began about 15 milliseconds before Chrome's Media thread received SIGILL.

    GDB confirmed that this was Chromium intentionally entering its fatal trap, not an unsupported CPU instruction:

    call   ...
    int3
    ud2    <-- RIP / SIGILL
    int3
    

    The systemd core was truncated at 32 GiB and Google Chrome is stripped, so the exact failed Chromium assertion could not be identified.

    Resource state and impact

    Telemetry collected after the renderer crash showed:

    Framebuffer memory:
        Total: 12288 MiB
        Used:   7801 MiB
        Free:   4108 MiB
    
    BAR1 memory:
        Total: 256 MiB
        Used:  190 MiB
        Free:   66 MiB
    

    Host RAM was not exhausted: approximately 49 GiB remained available, and there was no OOM-killer event.

    There was no NVIDIA Xid, RC-watchdog message, display failure, or host lockup. Chrome's main process survived; only the renderer died.

    A retained 2026-08-25 Google Chrome coredump also records a renderer Media thread terminating with SIGILL/ILL_ILLOPN. There are additional Chrome/Chromium SIGILL records, but I have not confirmed that all share this NVIDIA failure sequence.

    Possible contributing workload

    Omarchy's Voxtype service had been active since boot and was using its Vulkan backend on the RTX 3080. nvidia-smi attributed 148 MiB of framebuffer memory to Voxtype when checked after the crash. Total BAR1 usage was 190/256 MiB, but the available tools do not attribute BAR1 usage per process, so this does not establish that Voxtype caused the exhaustion.

    No core dump, browser profile, browsing history, hostname, username, GPU UUID, or unredacted diagnostic archive is being uploaded. I can collect a targeted nvidia-bug-report.log.gz if maintainers request it.

    Draft prepared by GPT-5 via OpenAI Codex.

  13. itsMattGuenther commented on Sep 5, 2026

    @itsMattGuenther

    Datapoint: Turing, fixed 256 MiB BAR1, still present on nvidia-open 610.57.04. GPU lock, only a hard reboot recovers. ReBAR is not an option on this card.

    System

    • GPU: EVGA GeForce RTX 2080 Ti (TU102, 10de:1e07)
    • BAR1: 256 MiB (Turing, no Resizable BAR)
    • Driver: nvidia-open-dkms 610.57.04 / nvidia-utils 610.57.04
    • Kernel: 7.1.9-arch1-2
    • Compositor: Hyprland 0.56.2, Wayland (Omarchy)
    • Browser: Brave Origin, native Wayland

    Two incidents, same sequence, ~2h 45m into the session

    1. 2026-09-04 19:38 — dual monitors (LG 3840×2160@165 + LG 2560×1440@144 portrait). First Xid 8 was name=brave, then Hyprland, then voxtype-osd-gtk.
    2. 2026-09-05 16:24 — session started dual-head. First Xid 8 was name=Hyprland. Hyprland aborted in CHyprOpenGLImpl::begin; uwsm restarted it, including --safe-mode; same hang. Hard power cycle.

    Condensed kernel sequence (both boots):

    NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
    NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x00000051)
          returned from pReuseMappingDb->pMapCb(...) @ mapping_reuse.c:273
    [drm:nv_drm_atomic_apply_modeset_config] Failed to initialize semaphore for plane fence
    [drm:nv_drm_atomic_commit] Failed to apply atomic modeset. Error code: -11
    NVRM: krcWatchdog_IMPL: RC watchdog: GPU is probably locked!  Notify Timeout Seconds: 7
    NVRM: Xid (PCI:0000:01:00): 8, pid=..., name=Hyprland, channel 0x00000005
    [drm:nv_drm_atomic_commit] Flip event timeout on head 0
    [drm:nv_drm_atomic_commit] Flip event timeout on head 1
    

    VRAM was fine (~1.5 GiB used of 11 GiB). Host RAM was not in OOM. After reboot, on a single 4K@165 desktop, BAR1 was already 196–225 / 256 MiB. Hardware cursors were enabled; the Hyprland crash log was a wall of Cursor buffer imported into KMS right before the abort. Earlier in the same week Brave also dumped SIGILL (/opt/brave-origin-bin/brave), matching the Media-thread ud2 reports here.

    Happy to attach an nvidia-bug-report if that helps. Cross-ref for the Hyprland / 610.57.04 compositor side: #1140.

  14. alefhamad commented on Nov 1, 2026

    @alefhamad

    Follow-up with a reproduction and a workaround for people who can't update yet.

    Setup: RTX 2070 SUPER (TU104), BAR1 256 MiB fixed, Arch Linux, Hyprland, nvidia-open.

    TL;DR

    • What fills BAR1 is the software-decode path. Chromium uploads each CPU-decoded frame through a CPU-mapped buffer, and every one of those mappings takes a BAR1 window in nvidia-drm (__nv_drm_gem_nvkms_map).
    • VA-API without zero-copy lands on that same path: on the old stack the hardware decoder never engages (NVDEC at 0%) and Chromium silently falls back to software.
    • VA-API with zero-copy keeps BAR1 flat, even on the old stack.
    • On a current stack (kernel 7.2.11 + 615.71.09 / 615.78.08) even the software path no longer consumes BAR1.

    Reproduction (the stack I had in June)

    Kernel 7.0.11, nvidia-open 610.43.02, Hyprland 0.55.3, libva-nvidia-driver 0.0.17. I tested two browsers: Helium 0.13.3.1 (Chromium 149) and Helium 0.20 (Chromium 156). The load was 4 × local VP9 3840x2160@60 (25 Mb/s) <video> elements, looped. BAR1 was sampled from nvidia-smi every ~0.5 s, and a watchdog killed the browser above 200 MiB.

    Path BAR1 (idle ~50 MiB) NVDEC
    VA-API + AcceleratedVideoDecodeLinuxZeroCopyGL 53–60 MiB, flat 43–50%
    VA-API without zero-copy 243–244 MiB in ~1.5 s 0% (fell back to software)
    Software only (--disable-features=VaapiOnNvidiaGPUs) 244–255 MiB in ~1 s 0%
    WebGL stress (4K texture upload + readPixels) 53 MiB —

    Both Chromium versions behave the same. The kernel log matches the original report:

    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, ...) @ kern_bus_gm107.c:3150
    [drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to map NvKmsKapiMemory 0x000000006fd4c193
    

    Five exhaustions in a row did not lock the machine. Each one lasted about a second before the watchdog killed the browser, so the lockup seems to need the exhaustion to persist.

    Current stack

    Kernel 7.2.11, 615.71.09 and 615.78.08, Hyprland 0.57.0, Helium 0.20 and Chrome 156. Every path above, including software-only and 10-bit/HDR10 VP9, stays at 32–38 MiB with no NVRM messages. The June Chromium (Helium 0.13) and libva-nvidia-driver 0.0.17 also stay flat on this stack, so the change is below the browser. Mesa was the same version in both stacks, which rules it out. A nested sway (wlroots, GLES2 and Vulkan renderers) on the current stack also stays flat.

    I didn't isolate whether the driver, the kernel or the compositor made the difference. Some notes:

    • kernel-open/nvidia-drm/nvidia-drm-gem-nvkms-memory.c is byte-identical between 610.43.02 and 615.78.08.
    • The RM BAR1 code did change: kern_bus_gm107.c, kern_bus.c, mapping_cpu.c.

    For what it's worth, #1403 made no difference here. Stock 615.78.08 gives identical numbers, and BAR1 never got close enough to full for that code path to run.

    Workaround if you're on an older driver/kernel

    Make sure VA-API runs zero-copy, so decoded frames never get CPU-mapped:

    --enable-features=AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL,VaapiOnNvidiaGPUs,VaapiIgnoreDriverChecks
    

    Then check that NVDEC is actually busy (nvidia-smi --query-gpu=utilization.decoder --format=csv). If it sits at 0%, Chromium is decoding in software and you're still exposed. On Chromium launched by uwsm/systemd, environment variables set in the compositor config may not reach the browser. The flags file (~/.config/chrome-flags.conf, helium-browser-flags.conf) is the reliable place for these.

  15. bringbrooms commented on Nov 15, 2026

    @bringbrooms

    Additional Turing/TU117 data point: normal-sized DMA-BUF mapping failure on 615.78.08, with bounded upload-path comparisons

    This may be related to the mapping-pressure stage described here. On this machine the observed failures were contained Chrome renderer crashes; no GPU-wide hang, Xid, RC watchdog or reset was observed. I have not compared the proprietary kernel module, so I am not claiming an open-module-only defect.

    System tested

    • NVIDIA T600 / TU117, 4 GiB framebuffer memory, 256 MiB BAR1.
    • NVIDIA open kernel module and matching userspace 615.78.08.
    • Google Chrome 157.0.8103.78, native Wayland.
    • linux-omarchy 7.2.15-1, Hyprland 0.56.2, Mesa 26.2.5, libva-nvidia-driver 0.0.18.

    Recorded failure

    Scrolling a video-heavy website repeatedly killed a renderer. Three retained failures show the same sequence. Relative timing for one occurrence:

    +0.000 ms dmaAllocMapping_GM107: can't alloc VA space for mapping.
    +0.121 ms NV_ERR_NO_MEMORY ... mapping_reuse.c:273
    +0.356 ms NV_ERR_NO_MEMORY ... kern_bus_gm107.c:3184
    +0.371 ms nvidia-drm: Failed to map NvKmsKapiMemory
    +13.989 ms Chrome Media thread: invalid-opcode trap
    

    The saved Chrome minidump has these diagnostic annotations:

    gfx-mmap_size_plane_size   = 8294400
    gfx-mmap_size_plane_offset = 0
    

    The requested mapping is about 7.9 MiB, consistent with a normal 1920×1080 four-byte buffer, rather than a huge/overflow-sized allocation. Matching the original register/frame-pointer context and caller instructions against Chrome's versioned source identifies the mmap64() / ENOMEM branch of gfx::ClientNativePixmapDmaBuf::MapPlane(), followed by base::TerminateBecauseOutOfMemory(). GDB disassembly confirms an intentional int3; ud2 fatal sequence.

    Neither BAR1 occupancy nor host RAM was sampled at the exact original fault. Later host RAM was plentiful and there was no OOM-killer event. Exhaustion versus fragmentation/retention at that instant remains unproven.

    One-setting-at-a-time comparisons

    Temporary browser profiles, extensions disabled, sandbox retained, local synthetic 1080p videos. The lifecycle adds one/two/three players, removes all, recreates one, and removes it again. Other desktop clients remained running unchanged. Values below are card-wide BAR1 readings, not per-process measurements.

    Display / configuration Actual decoder Idle → three-player peak → after release
    Native Wayland, default, H.264 FFmpegVideoDecoder (software) 27 → 103 → 27 MiB
    Native Wayland, only --disable-gpu-memory-buffer-video-frames, H.264 FFmpegVideoDecoder (software) 27 → 27 → 27 MiB
    XWayland, default, H.264 FFmpegVideoDecoder (software) 26 → 26 → 26 MiB
    Native Wayland, only --enable-features=VaapiOnNvidiaGPUs, H.264 VaapiVideoDecoder (hardware) 27 → 29 → 27 MiB
    Native Wayland, same NVIDIA opt-in, AV1 Dav1dVideoDecoder (software) 27 → 113 → 27 MiB
    Native Wayland, NVIDIA opt-in plus disabled GPU-memory-buffer video frames, AV1 Dav1dVideoDecoder (software) 27 → 27 → 27 MiB

    Actual decoder names come from Media DevTools events; advancing playback and decoded frames were checked. GPU compositing/OpenGL/WebGL stayed enabled.

    These are bounded pressure/lifecycle probes, not a standalone crash reproducer: an automatic stop threshold was set at 120 MiB, deliberately below aperture exhaustion. None reached it or caused another driver fault. Returning to baseline after player removal does not demonstrate a persistent leak in this workload.

    The useful distinction is that hardware-decoding opt-in avoids the mapped software-upload path for H.264, but AV1 software fallback still consumes BAR1 unless the video-buffer upload option is changed. On this T600/Hyprland combination, software-upload mapping growth is still observable on 615.78.08. This does not establish which driver/compositor/browser difference explains the contrasting newer-stack results reported above.

    Cross-reference / recovery question

    Chromium issue 500318522, especially comments 16 and 19–20, discusses this exact ENOMEM termination site. Its diagnostic change added the size/offset keys above to distinguish huge requests from ordinary mmap failures.

    There is also a possible browser-side recovery gap: the low-level mapping function terminates on ENOMEM before returning failure, whereas the software-video upload pool already handles a failed mapping by destroying that resource and passing through the original software frame. This is a source-level review question, not a tested patch.

    Could maintainers advise which targeted measurement would distinguish expected live-buffer BAR1 pressure from allocator fragmentation or excessive mapping retention on this T600? Is there an appropriate linked Chromium issue for recovering from this ENOMEM subcase?

    The everyday browser now works in the initial real-site retest on native Wayland with NVIDIA decoding enabled and GPU-memory-buffer video frames disabled. This is a configuration mitigation, not a demonstrated driver fix or long-term stability result. No driver/kernel/compositor was replaced.

    No core/minidump, browser profile, account identifiers, GPU UUID, or full diagnostic archive is being uploaded. Sanitized measurements and synthetic workload scripts are available if useful.

    Prepared from local diagnostics with OpenAI Codex; exact model revision is not exposed in this session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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