[Linux / AMD RX 6800 / RADV] Severe geometry/screen corruption at highway toll plaza that persists across desktop apps until GPU suspend/resume #123

Open
opened 2026-12-05 19:14:16 +00:00 by github-bot · 5 comments
Owner

@⁠wildman9x on GitHub · 2026-12-05 19:09 UTC · original

Summary

When driving up to a specific area (highway toll plaza at night), severe graphics corruption triggers in-game and then persists across other desktop applications even after larp.exe exits cleanly (exit code 0). Only suspending and resuming the PC (which re-initializes the GPU SMU/DMUB/DCN 3.0) clears the desktop-wide corruption.

(Video recording to be attached in a follow-up comment)

Visual Symptoms (shown in video)

  • 00:00: Bright magenta/pink bloom flare on the vehicle rear and corrupted pixel strips along the bottom edge of the screen.
  • 00:04: Thin diagonal pink/white stretched geometry lines cutting across the screen near the toll plaza.
  • 00:06–00:09: When pausing, thick diagonal white/pink spikes cut across the entire screen, corrupted/stretched triangles appear over the top-left pause menu UI, and a vertical seam splits the blurred background.
  • After closing larp.exe (clean exit code 0), visual glitches remain in other desktop applications until GPU suspend/resume.

Environment

  • larp build: v1.0.11 (larp-linux-proton.exe, 9715a1d) via linux/run.sh (umu-launcher 1.4.3, GE-Proton11-5-x86_64)
    • Also reproduced on larp-linux (proton-cachyos-native)
  • vkd3d-proton: Patched d3d12.dll / d3d12core.dll (VKD3D_FORCE_WAVE32=1, VKD3D_CONFIG="dxr11,no_descriptor_heap,pipeline_library_app_cache", wave lanes min=32 max=32)
  • GPU: AMD Radeon RX 6800 16 GB (0x1002:0x73bf, Navi 21 / RDNA 2, DCN 3.0)
  • Driver / Kernel: Mesa 3:26.3.1-5 (vulkan-radeon / RADV), Linux 7.3.7-2-cachyos
  • OS / Compositor: CachyOS, niri 26.04-1.1 + xwayland-satellite 0.8.3-1.1
  • CPU / RAM: AMD Ryzen 5 5600X (6C/12T), 32 GB RAM
  • Settings: Xbox Series X (3840x2160), frame_rate=60, texture_detail=1 level down, host ray tracing on (tier=1.1), native d3dcompiler_47.dll installed.

Steps to Reproduce

  1. Launch larp (./linux/run.sh) on Linux with AMD RX 6800 (RADV).
  2. Drive up to the highway toll plaza at night (as shown in the attached video).
  3. Observe bottom-edge pixel corruption, magenta bloom artifact, and diagonal stretched vertex/UI spikes.
  4. Close the game (larp exits with code 0) — corruption persists in other desktop apps until suspending/resuming the system.

What Was Already Tested & Ruled Out

  • Hardware VRAM verified healthy: memtest_vulkan v0.5.0 passed the full 5-minute test (4,573 iterations, ~50 TB written & checked at ~460 GB/s, 0 errors).
  • Not an undervolt/OC issue: Reproduced identically at 100% stock GPU clocks, voltage, and power limit after a full cold reboot.
  • Not RADV DCC / uninitialized VRAM: Reproduced with RADV_DEBUG=nodcc,zerovram.
  • Not VRAM budget exhaustion: Reproduced with --stream-budget 2000.
  • Not sparse/tiled RT reserved buffers: Reproduced with LARP_RT_WHOLE=1 (ray tracing's structure memory and positions' pool are made whole).
  • Zero kernel GPU faults: journalctl -k shows no amdgpu VM page faults, ring timeouts, GPU resets, or MCEs during gameplay.

Relevant play.log Warnings

Consistently logged on every run prior to entering the area:

WARN larp_gpu::descriptor::host: host view heap: title slots past 606782 read a null slot count=1245184 end=606782
WARN larp_gpu::pipeline::host: host pipeline: refused error=Invalid parameter. (0x80070057) shaders=[compute 67353810417f6c19]
WARN larp_gpu::pipeline::host: host pipeline: refused error=Invalid parameter. (0x80070057) shaders=[compute eae3498e6553afa8]
WARN larp_gpu::pipeline::host: host pipeline: refused error=Invalid parameter. (0x80070057) shaders=[compute 4e9b58cc637d9272]
WARN larp_gpu::descriptor::host: unordered buffer view: the host would refuse it, left null format=39 first=10392032 count=0 stride=0 raw=true width=182452224
WARN larp_gpu::draw: dispatch: dropped, no host pipeline pipeline=0x40c80ae0
WARN larp_gpu::descriptor::host: buffer view: not on an element of its host copy, left null offset=42368 element=12

Full play.log: https://gist.github.com/wildman9x/557f3075bb1937bf620072bf45409a65

screenshot_20261206_031225-region
**@⁠wildman9x** on GitHub · 2026-12-05 19:09 UTC · [original](https://github.com/gamingwithhomie/larp/issues/123) ### Summary When driving up to a specific area (highway toll plaza at night), severe graphics corruption triggers in-game and then **persists across other desktop applications even after `larp.exe` exits cleanly (`exit code 0`)**. Only suspending and resuming the PC (which re-initializes the GPU `SMU`/`DMUB`/`DCN 3.0`) clears the desktop-wide corruption. *(Video recording to be attached in a follow-up comment)* ### Visual Symptoms (shown in video) - `00:00`: Bright magenta/pink bloom flare on the vehicle rear and corrupted pixel strips along the bottom edge of the screen. - `00:04`: Thin diagonal pink/white stretched geometry lines cutting across the screen near the toll plaza. - `00:06–00:09`: When pausing, thick diagonal white/pink spikes cut across the entire screen, corrupted/stretched triangles appear over the top-left pause menu UI, and a vertical seam splits the blurred background. - After closing `larp.exe` (clean exit `code 0`), visual glitches remain in other desktop applications until GPU suspend/resume. ### Environment - **larp build:** `v1.0.11` (`larp-linux-proton.exe`, `9715a1d`) via `linux/run.sh` (`umu-launcher 1.4.3`, `GE-Proton11-5-x86_64`) - Also reproduced on `larp-linux` (`proton-cachyos-native`) - **vkd3d-proton:** Patched `d3d12.dll` / `d3d12core.dll` (`VKD3D_FORCE_WAVE32=1`, `VKD3D_CONFIG="dxr11,no_descriptor_heap,pipeline_library_app_cache"`, `wave lanes min=32 max=32`) - **GPU:** AMD Radeon RX 6800 16 GB (`0x1002:0x73bf`, Navi 21 / RDNA 2, DCN 3.0) - **Driver / Kernel:** Mesa `3:26.3.1-5` (`vulkan-radeon` / RADV), Linux `7.3.7-2-cachyos` - **OS / Compositor:** CachyOS, `niri 26.04-1.1` + `xwayland-satellite 0.8.3-1.1` - **CPU / RAM:** AMD Ryzen 5 5600X (6C/12T), 32 GB RAM - **Settings:** Xbox Series X (`3840x2160`), `frame_rate=60`, `texture_detail=1 level down`, host ray tracing on (`tier=1.1`), native `d3dcompiler_47.dll` installed. ### Steps to Reproduce 1. Launch `larp` (`./linux/run.sh`) on Linux with AMD RX 6800 (RADV). 2. Drive up to the highway toll plaza at night (as shown in the attached video). 3. Observe bottom-edge pixel corruption, magenta bloom artifact, and diagonal stretched vertex/UI spikes. 4. Close the game (`larp` exits with `code 0`) — corruption persists in other desktop apps until suspending/resuming the system. ### What Was Already Tested & Ruled Out - **Hardware VRAM verified healthy:** `memtest_vulkan v0.5.0` passed the full 5-minute test (`4,573` iterations, ~50 TB written & checked at ~460 GB/s, **0 errors**). - **Not an undervolt/OC issue:** Reproduced identically at 100% stock GPU clocks, voltage, and power limit after a full cold reboot. - **Not RADV DCC / uninitialized VRAM:** Reproduced with `RADV_DEBUG=nodcc,zerovram`. - **Not VRAM budget exhaustion:** Reproduced with `--stream-budget 2000`. - **Not sparse/tiled RT reserved buffers:** Reproduced with `LARP_RT_WHOLE=1` (`ray tracing's structure memory and positions' pool are made whole`). - **Zero kernel GPU faults:** `journalctl -k` shows **no** `amdgpu` VM page faults, ring timeouts, GPU resets, or MCEs during gameplay. ### Relevant `play.log` Warnings Consistently logged on every run prior to entering the area: ```text WARN larp_gpu::descriptor::host: host view heap: title slots past 606782 read a null slot count=1245184 end=606782 WARN larp_gpu::pipeline::host: host pipeline: refused error=Invalid parameter. (0x80070057) shaders=[compute 67353810417f6c19] WARN larp_gpu::pipeline::host: host pipeline: refused error=Invalid parameter. (0x80070057) shaders=[compute eae3498e6553afa8] WARN larp_gpu::pipeline::host: host pipeline: refused error=Invalid parameter. (0x80070057) shaders=[compute 4e9b58cc637d9272] WARN larp_gpu::descriptor::host: unordered buffer view: the host would refuse it, left null format=39 first=10392032 count=0 stride=0 raw=true width=182452224 WARN larp_gpu::draw: dispatch: dropped, no host pipeline pipeline=0x40c80ae0 WARN larp_gpu::descriptor::host: buffer view: not on an element of its host copy, left null offset=42368 element=12 ``` Full `play.log`: https://gist.github.com/wildman9x/557f3075bb1937bf620072bf45409a65 <img width="569" height="469" alt="screenshot_20261206_031225-region" src="https://github.com/user-attachments/assets/7fbaa4a5-ff99-4dbd-87e2-d1f0e4b8aa48" />
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 19:14:18 +00:00
Author
Owner

@⁠gamingwithhomie on GitHub · 2026-12-05 21:02 UTC · original

Please retest on v1.1.1 [Linux/Proton]: it includes #142 (refused lighting pipelines - your log in that thread had them), #135 Wine fixes and #147. If the toll-plaza corruption persists on v1.1.1, its in the family PR #183 (wide-heap RADV replacements) addresses - thats in review now. A RADV hang that corrupts other desktop apps is a GPU reset; the vkd3d log lines (VKD3D_CONFIG=fault) from a v1.1.1 run would help a lot.

**@⁠gamingwithhomie** on GitHub · 2026-12-05 21:02 UTC · [original](https://github.com/gamingwithhomie/larp/issues/123#issuecomment-7445313786) Please retest on **v1.1.1 [Linux/Proton]**: it includes #142 (refused lighting pipelines - your log in that thread had them), #135 Wine fixes and #147. If the toll-plaza corruption persists on v1.1.1, its in the family PR #183 (wide-heap RADV replacements) addresses - thats in review now. A RADV hang that corrupts other desktop apps is a GPU reset; the vkd3d log lines (`VKD3D_CONFIG=fault`) from a v1.1.1 run would help a lot.
Author
Owner

@⁠WhiteAssassins on GitHub · 2026-12-05 23:49 UTC · original

Same here, on another RDNA2 card. Corruption triggered right after passing the highway toll plaza while driving toward the city, and it spread to the whole KDE desktop. It persisted after larp exited cleanly and after restarting plasmashell; a reboot cleared it.

Environment

  • GPU: AMD RX 6750 XT 12 GB (Navi 22, RDNA2), stock clocks
  • Mesa / RADV 26.3.1-5, kernel 6.18.66-2-cachyos-lts, KDE Plasma 6.8.3 (Wayland)
  • Proton Experimental (11.0-20261203b) via umu
  • larp: linux-test built from source at 219d404 (v1.1.4 + post-v1.1.4 batch)
  • Series X, FSR 4.1.1 Performance (render 1920x1088 → 3840x2160), FSR FG 3.1.6 2x, texture_detail=1 level down, RT shadows at Low/off

Important: I'm running with LARP_SHADER_REPLACE=0. With the replacement shaders on, the 3D world renders black on this card (HUD only), so I had to turn them off. That may be why I hit this: the wide-heap RADV replacements (#183) are exactly what I can't use.

  • No amdgpu faults, resets or ring timeouts in journalctl -k.
  • VRAM was high (~11.3 of 12 GB, ~0.7 GB spilled to GTT) when it happened, but per your report this also happens with a low stream budget.

I'll retest once 9c0d435 ("Build shader replacements for both descriptor heap sizes") reaches linux-test, and can grab a run with VKD3D_CONFIG=fault if that helps.

**@⁠WhiteAssassins** on GitHub · 2026-12-05 23:49 UTC · [original](https://github.com/gamingwithhomie/larp/issues/123#issuecomment-7447865264) Same here, on another RDNA2 card. Corruption triggered **right after passing the highway toll plaza** while driving toward the city, and it spread to the whole KDE desktop. It persisted after larp exited cleanly and after restarting plasmashell; a reboot cleared it. **Environment** - GPU: AMD RX 6750 XT 12 GB (Navi 22, RDNA2), stock clocks - Mesa / RADV 26.3.1-5, kernel 6.18.66-2-cachyos-lts, KDE Plasma 6.8.3 (Wayland) - Proton Experimental (11.0-20261203b) via umu - larp: `linux-test` built from source at `219d404` (v1.1.4 + post-v1.1.4 batch) - Series X, FSR 4.1.1 Performance (render 1920x1088 → 3840x2160), FSR FG 3.1.6 2x, `texture_detail=1 level down`, RT shadows at Low/off **Important:** I'm running with `LARP_SHADER_REPLACE=0`. With the replacement shaders on, the 3D world renders **black** on this card (HUD only), so I had to turn them off. That may be why I hit this: the wide-heap RADV replacements (#183) are exactly what I can't use. - No amdgpu faults, resets or ring timeouts in `journalctl -k`. - VRAM was high (~11.3 of 12 GB, ~0.7 GB spilled to GTT) when it happened, but per your report this also happens with a low stream budget. I'll retest once 9c0d435 ("Build shader replacements for both descriptor heap sizes") reaches `linux-test`, and can grab a run with `VKD3D_CONFIG=fault` if that helps.
Author
Owner

@⁠WhiteAssassins on GitHub · 2026-12-06 02:03 UTC · original

Follow-up from my earlier comment (RX 6750 XT 12 GB, RDNA2, RADV). I retested with PR #183 included and the replacement shaders on, and it still happens. It looks tied to VRAM running out.

Build / setup now

  • linux-test at 103bb4c, which includes #183 (44b6a8d/e59a37a) and 9c0d435. Replacement shaders on: usable=86, missing_wide_variants=0. The world renders correctly now (no more black world).
  • Series X, FSR 4.1.1 Performance (1920x1088 → 3840x2160), FSR FG 3.1.6 2x, texture_detail = 1 level down, RT shadows low/off. Stock clocks, Mesa 26.3.1, kernel 6.18 LTS, Proton Experimental 11.0-20261203b.

3 out of 3 times, at the same place: just after the highway toll plaza, driving into the city

  1. First run (shaders off): corruption all over the KDE desktop, which persisted after exit. Suspend/resume cleared it.
  2. Today, run 1: device removed instead of corruption. VRAM was 11.77 GB / 12 in that exact second; it had been climbing steadily from 11.4 GB as I approached the city.
    ERROR larp_gpu::host: host GPU device removed after 1 submissions sent ahead of 33 lists; device removed: 0x887A0005
    kernel: amdgpu: GPU reset(1) succeeded!
    kernel: amdgpu: [drm] device wedged, but recovered through reset
    
    The kernel reset recovered it cleanly, with no desktop corruption that time.
  3. Today, run 2: visual corruption again, at VRAM 12.26 GB with 5.47 GB spilled to GTT, and no kernel error.

F9 VRAM breakdown at the moment of the corruption (run 2)

Group GB
Ungrouped 5.1
Textures 3.5
Geometry 2.0
Free in the heaps 1.3
Ray tracing 1.3 (RT shadows are at low/off)
Memory copies 1.2
Streamed textures 0.9
Total ~15.3 on a 12 GB card

So texture_detail can only touch the ~0.9 GB of streamed textures. Most of the pressure is "ungrouped" plus empty heap space plus RT structures. Over a ~45 min session, fps also dropped from ~24 to ~19–22 in comparable scenes as VRAM filled and spilled. GPU stayed at 99% busy while drawing only ~125–140 W of 215 W, which looks like it was waiting on PCIe.

Related open PRs that look relevant

  • #388 LARP_HEAP_MB: smaller heaps, which would cut "free in the heaps".
  • #393: tighter pools/heaps, but only for budgets ≤ 8 GiB, so a 12 GB card doesn't get it.
  • #392: regions/WC windows over GPU-owned buffers. I also get window of title memory outside buffers is made partly over a buffer the GPU owns and title memory read inside a buffer the GPU owns errors in this session.

Could the ≤ 8 GiB tightening from #393 (or something similar) also kick in when a 12 GB card's usage nears its budget? I'm happy to test any branch, or to run with VKD3D_CONFIG=fault and post the log.

**@⁠WhiteAssassins** on GitHub · 2026-12-06 02:03 UTC · [original](https://github.com/gamingwithhomie/larp/issues/123#issuecomment-7449646428) Follow-up from my earlier comment (RX 6750 XT 12 GB, RDNA2, RADV). I retested with **PR #183 included and the replacement shaders on**, and it still happens. It looks tied to **VRAM running out**. **Build / setup now** - `linux-test` at `103bb4c`, which includes #183 (`44b6a8d`/`e59a37a`) and `9c0d435`. Replacement shaders on: `usable=86`, `missing_wide_variants=0`. The world renders correctly now (no more black world). - Series X, FSR 4.1.1 Performance (1920x1088 → 3840x2160), FSR FG 3.1.6 2x, `texture_detail = 1 level down`, RT shadows low/off. Stock clocks, Mesa 26.3.1, kernel 6.18 LTS, Proton Experimental 11.0-20261203b. **3 out of 3 times, at the same place: just after the highway toll plaza, driving into the city** 1. First run (shaders off): corruption all over the KDE desktop, which persisted after exit. Suspend/resume cleared it. 2. Today, run 1: **device removed** instead of corruption. VRAM was **11.77 GB / 12** in that exact second; it had been climbing steadily from 11.4 GB as I approached the city. ``` ERROR larp_gpu::host: host GPU device removed after 1 submissions sent ahead of 33 lists; device removed: 0x887A0005 kernel: amdgpu: GPU reset(1) succeeded! kernel: amdgpu: [drm] device wedged, but recovered through reset ``` The kernel reset recovered it cleanly, with no desktop corruption that time. 3. Today, run 2: visual corruption again, at VRAM **12.26 GB** with **5.47 GB spilled to GTT**, and no kernel error. **F9 VRAM breakdown at the moment of the corruption (run 2)** | Group | GB | |---|---| | Ungrouped | **5.1** | | Textures | 3.5 | | Geometry | 2.0 | | Free in the heaps | 1.3 | | Ray tracing | 1.3 (RT shadows are at low/off) | | Memory copies | 1.2 | | Streamed textures | 0.9 | | **Total** | **~15.3** on a 12 GB card | So `texture_detail` can only touch the ~0.9 GB of streamed textures. Most of the pressure is "ungrouped" plus empty heap space plus RT structures. Over a ~45 min session, fps also dropped from ~24 to ~19–22 in comparable scenes as VRAM filled and spilled. GPU stayed at 99% busy while drawing only ~125–140 W of 215 W, which looks like it was waiting on PCIe. **Related open PRs that look relevant** - #388 `LARP_HEAP_MB`: smaller heaps, which would cut "free in the heaps". - #393: tighter pools/heaps, but only for budgets ≤ 8 GiB, so a 12 GB card doesn't get it. - #392: regions/WC windows over GPU-owned buffers. I also get `window of title memory outside buffers is made partly over a buffer the GPU owns` and `title memory read inside a buffer the GPU owns` errors in this session. Could the ≤ 8 GiB tightening from #393 (or something similar) also kick in when a 12 GB card's usage nears its budget? I'm happy to test any branch, or to run with `VKD3D_CONFIG=fault` and post the log.
Author
Owner

@⁠WhiteAssassins on GitHub · 2026-12-06 02:32 UTC · original

Update with harder data. I took a snapshot of amdgpu_gem_info (debugfs) every minute during a run to see which buffer objects grow. Same setup as my last comment: RX 6750 XT 12 GB, 103bb4c with #183, replacement shaders on, Series X, FSR 4.1.1 Performance, FSR FG 2x, texture_detail = 1 level down, RT shadows low/off, LARP_WINE_NO_SPARSE at its default (on under Wine).

Note: I also hit the corruption once while flying a plane, nowhere near the toll plaza. So it doesn't seem tied to that location; it shows up once enough new map has been streamed in.

Game process memory (route: house → toll plaza at ~min 4 → city)

min small CPU-visible BOs (< 1 MB) everything else
2 7166 BOs = 742 MB VRAM 10.4 GB VRAM, 0.6 GB GTT
4 7847 BOs = 1306 MB VRAM 10.3 GB VRAM, 0.6 GB GTT
5 (VRAM full) 8104 BOs = 1463 MB VRAM + 41 MB GTT 1.3 GB GTT
8 8076 BOs = 1513 MB VRAM + 223 MB GTT 10.4 GB VRAM, 1.9 GB GTT

Total for the game: 11.75 GB → 14.0 GB in 6 minutes. F9 "ungrouped" went 1.8 → 2.2 GB in the first minutes; in earlier runs it reached 5.6 GB.

What grows (min 2 → min 8)

  1. About +1.1 GB net in small BOs with VRAM VISIBLE CPU_ACCESS_REQUIRED CPU_GTT_USWC EXPLICIT_SYNC. The sizes form a doubling chain, with the smaller ones going away and the bigger ones appearing:

    • 16 KB −1508, 80 KB −871, 160 KB −635
    • 320 KB +778, 640 KB +1175, 1 MB +280

    That looks like per-command-buffer upload buffers that double when they run out (RADV's cmd-buffer upload BO grows like this) and are kept per command buffer/allocator. These aren't in any larp pool, so F9 shows them as "ungrouped". This is my guess from the pattern, not confirmed.

  2. About +0.7 GB net in large heaps (64/128/256 MB, no CPU access). Once VRAM is full they land in GTT.

  3. From minute 5 on, VRAM is full and new allocations go to GTT. This run I got no artifacts, but the HUD disappeared in the city. Earlier runs got whole-desktop corruption, or device removed 0x887A0005 with a kernel GPU reset.

So on a 12 GB card it never levels off: it keeps allocating until VRAM is full and then spills. Questions:

  • Are command lists/allocators being created and kept around (never reset/reused)? That would explain upload BOs piling up per list.
  • Could the ≤ 8 GiB tightening in #393 (or #388 LARP_HEAP_MB) also apply on 12 GB cards when usage gets close to the budget?

The snapshots, log and script are available if useful. Next I'll test LARP_WINE_NO_SPARSE=0 (sparse is fine on RADV; the workaround is for NVIDIA) and report back.

**@⁠WhiteAssassins** on GitHub · 2026-12-06 02:32 UTC · [original](https://github.com/gamingwithhomie/larp/issues/123#issuecomment-7450018633) Update with harder data. I took a snapshot of `amdgpu_gem_info` (debugfs) every minute during a run to see which buffer objects grow. Same setup as my last comment: RX 6750 XT 12 GB, `103bb4c` with #183, replacement shaders on, Series X, FSR 4.1.1 Performance, FSR FG 2x, `texture_detail = 1 level down`, RT shadows low/off, `LARP_WINE_NO_SPARSE` at its default (on under Wine). **Note:** I also hit the corruption once while **flying a plane**, nowhere near the toll plaza. So it doesn't seem tied to that location; it shows up once enough new map has been streamed in. **Game process memory (route: house → toll plaza at ~min 4 → city)** | min | small CPU-visible BOs (< 1 MB) | everything else | |---|---|---| | 2 | 7166 BOs = 742 MB VRAM | 10.4 GB VRAM, 0.6 GB GTT | | 4 | 7847 BOs = 1306 MB VRAM | 10.3 GB VRAM, 0.6 GB GTT | | 5 (VRAM full) | 8104 BOs = 1463 MB VRAM + 41 MB GTT | 1.3 GB GTT | | 8 | 8076 BOs = 1513 MB VRAM + 223 MB GTT | 10.4 GB VRAM, 1.9 GB GTT | Total for the game: **11.75 GB → 14.0 GB in 6 minutes**. F9 "ungrouped" went 1.8 → 2.2 GB in the first minutes; in earlier runs it reached 5.6 GB. **What grows (min 2 → min 8)** 1. **About +1.1 GB net in small BOs** with `VRAM VISIBLE CPU_ACCESS_REQUIRED CPU_GTT_USWC EXPLICIT_SYNC`. The sizes form a doubling chain, with the smaller ones going away and the bigger ones appearing: - 16 KB −1508, 80 KB −871, 160 KB −635 - 320 KB +778, 640 KB +1175, 1 MB +280 That looks like per-command-buffer upload buffers that double when they run out (RADV's cmd-buffer upload BO grows like this) and are kept per command buffer/allocator. These aren't in any larp pool, so F9 shows them as "ungrouped". This is my guess from the pattern, not confirmed. 2. **About +0.7 GB net in large heaps** (64/128/256 MB, no CPU access). Once VRAM is full they land in GTT. 3. **From minute 5 on, VRAM is full** and new allocations go to GTT. This run I got no artifacts, but the **HUD disappeared** in the city. Earlier runs got whole-desktop corruption, or `device removed 0x887A0005` with a kernel GPU reset. So on a 12 GB card it never levels off: it keeps allocating until VRAM is full and then spills. Questions: - Are command lists/allocators being created and kept around (never reset/reused)? That would explain upload BOs piling up per list. - Could the ≤ 8 GiB tightening in #393 (or #388 `LARP_HEAP_MB`) also apply on 12 GB cards when usage gets close to the budget? The snapshots, log and script are available if useful. Next I'll test `LARP_WINE_NO_SPARSE=0` (sparse is fine on RADV; the workaround is for NVIDIA) and report back.
Author
Owner

@⁠wildman9x on GitHub · 2026-12-06 03:24 UTC · original

Update: Reproduced on v1.1.6 — Full ring gfx_0.0.0 timeout + AMDGPU Devcoredump

Reproduced again on v1.1.6 (larp-v1.1.6-linux-proton-FULL, with LARP_WINE_NO_SPARSE active and patched vkd3d-proton wave lanes min=32 max=32).

This time, the same region triggered a full GPU hang & MODE1 reset (0x887A0005 / DXGI_ERROR_DEVICE_REMOVED / exit -2005270523) twice back-to-back (10:46 and 11:17).

Kernel log (journalctl -k)

amdgpu 0000:09:00.0: ring gfx_0.0.0 timeout, signaled seq=1310330, emitted seq=1310332
amdgpu 0000:09:00.0:  Process main pid 54978 thread vkd3d_queue pid 55019
amdgpu 0000:09:00.0: Starting gfx_0.0.0 ring reset
amdgpu 0000:09:00.0: Ring gfx_0.0.0 reset failed
amdgpu 0000:09:00.0: GPU reset begin!. Source:  1
amdgpu 0000:09:00.0: MODE1 reset
amdgpu 0000:09:00.0: GPU reset succeeded, trying to resume
amdgpu 0000:09:00.0: VRAM is lost due to GPU reset!

AMDGPU Devcoredump Summary (5.4 MB, full dump available on request)

  • IP / Ring: GC v10.3.0 (Navi 21 / RX 6800), Ring Name: gfx_0.0.0, process_name: main (TGID: 54978), thread: vkd3d_queue (PID: 55019)
  • Fault: [gfxhub] Page fault observed, Faulty page starting at address: 0x0000000000000000
  • Status registers:
    • mmGRBM_STATUS = 0xa06131ac (GE_BUSY, PA_BUSY, SC_BUSY, SPI_BUSY, SX_BUSY, TA_BUSY, TCP_BUSY, GDS_BUSY)
    • mmGRBM_STATUS2 = 0x50100008
    • mmCP_GFX_ERROR = 0x0
  • Command buffers in flight: IB1 @ 0x8003eaea1000 (cmd_bufsz 0x70c0), IB2 @ 0x800100025000 (cmd_bufsz 0xa8)

larp v1.1.6 also dumped 5 in-flight graphics queue submissions at the 0x887A0005 hang containing active [mesh ...] and [compute ...] pipelines, which lines up with the geometry engine (GE_BUSY / PA_BUSY) hang and the stretched diagonal geometry artifacts in the video.

**@⁠wildman9x** on GitHub · 2026-12-06 03:24 UTC · [original](https://github.com/gamingwithhomie/larp/issues/123#issuecomment-7450671111) ### Update: Reproduced on `v1.1.6` — Full `ring gfx_0.0.0 timeout` + AMDGPU Devcoredump Reproduced again on **`v1.1.6`** (`larp-v1.1.6-linux-proton-FULL`, with `LARP_WINE_NO_SPARSE` active and patched `vkd3d-proton` `wave lanes min=32 max=32`). This time, the same region triggered a full GPU hang & `MODE1` reset (**`0x887A0005` / `DXGI_ERROR_DEVICE_REMOVED` / exit `-2005270523`**) twice back-to-back (`10:46` and `11:17`). #### Kernel log (`journalctl -k`) ```text amdgpu 0000:09:00.0: ring gfx_0.0.0 timeout, signaled seq=1310330, emitted seq=1310332 amdgpu 0000:09:00.0: Process main pid 54978 thread vkd3d_queue pid 55019 amdgpu 0000:09:00.0: Starting gfx_0.0.0 ring reset amdgpu 0000:09:00.0: Ring gfx_0.0.0 reset failed amdgpu 0000:09:00.0: GPU reset begin!. Source: 1 amdgpu 0000:09:00.0: MODE1 reset amdgpu 0000:09:00.0: GPU reset succeeded, trying to resume amdgpu 0000:09:00.0: VRAM is lost due to GPU reset! ``` #### AMDGPU Devcoredump Summary (`5.4 MB`, full dump available on request) - **IP / Ring:** `GC v10.3.0` (Navi 21 / RX 6800), `Ring Name: gfx_0.0.0`, `process_name: main` (`TGID: 54978`), `thread: vkd3d_queue` (`PID: 55019`) - **Fault:** `[gfxhub] Page fault observed`, `Faulty page starting at address: 0x0000000000000000` - **Status registers:** - `mmGRBM_STATUS = 0xa06131ac` (`GE_BUSY`, `PA_BUSY`, `SC_BUSY`, `SPI_BUSY`, `SX_BUSY`, `TA_BUSY`, `TCP_BUSY`, `GDS_BUSY`) - `mmGRBM_STATUS2 = 0x50100008` - `mmCP_GFX_ERROR = 0x0` - **Command buffers in flight:** `IB1 @ 0x8003eaea1000` (`cmd_bufsz 0x70c0`), `IB2 @ 0x800100025000` (`cmd_bufsz 0xa8`) `larp v1.1.6` also dumped 5 in-flight graphics queue submissions at the `0x887A0005` hang containing active `[mesh ...]` and `[compute ...]` pipelines, which lines up with the geometry engine (`GE_BUSY` / `PA_BUSY`) hang and the stretched diagonal geometry artifacts in the video.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/gamingwithhomie--larp#123
No description provided.