[AMD RX 6600 / RDNA2] GPU page fault (DEVICE_HUNG) ~5 s after the world's first frames, every run, incl. v1.0.11-amd #63

Open
opened 2026-12-05 17:23:50 +00:00 by github-bot · 12 comments
Owner

@⁠Tempus3214 on GitHub · 2026-12-05 16:59 UTC · original

Summary

On an RX 6600 (RDNA2), the title gets through loading and shader building, then the host device is removed 4–6 s after the world starts drawing (draws/frame jumps from ~10 to 260–400; that frame takes 3.5–9.8 s). Exit code -2005270523 (0x887A0005). The removal reason is 0x887A0006 (DEVICE_HUNG). With LARP_D3D12_DRED=1, it is a GPU page fault at an address no allocation holds. It happened on every run that reached the world (10 runs; DRED was on for the last 7), on three builds, including the official v1.0.11-amd (amd-test 88f6950, SHA-256 400D2F42…8F66). The view-heap cap in v1.0.11-amd does not change it.

System

  • GPU: AMD Radeon RX 6600 8 GB (RDNA2), driver 32.0.21045.16010
  • CPU: Ryzen 5 4500 (6c/12t), 16 GB RAM
  • OS: Windows 10 IoT Enterprise LTSC 21H2 (build 19044)
  • Agility SDK 1.620.2 (bin\D3D12), Graphics Tools installed for the GBV runs
  • Run as Series S (series-s.cmd), frame_rate = 60, stream_budget = default, title settings all default

What the crash looks like

  • play.log, every run: host GPU device removed …; page fault at 0x…; no title memory copy below it; …; breadcrumbs (done/count, list) [...]
  • Fault VAs across runs: 0x1a2320000, 0x1ccf6c000, 0x1d2150000, 0x180cc8000, 0x1f0406000, 0x188492000, and 0x7d825000 (the GBV run, where the heaps sat elsewhere). All of them are below every title-memory copy, and none is inside the view or sampler heap.
  • DRED GetPageFaultAllocationOutput1 lists no existing and no recently freed allocation at the VA.
  • DRED auto-breadcrumbs: every list is complete (done == count), so no command is named.
  • The same warning comes ~4 s before the removal in every run (it is logged once, at its first occurrence):
    unordered buffer view: the host would refuse it, left null format=39 first=~10550000 count=0 stride=0 raw=true width=182452224
    first varies a little per run; the buffer and its width are always the same. The view comes from the title with NumElements = 0, and the source's comment says this is deliberate. I note it only because it is the one consistent marker of the moment.

What was tried (each one still faults the same way)

Change Build Result
Original package, 2,097,152-view heap earlier larp DEVICE_HUNG at the same moment (DRED not on yet)
View heap capped to 1,000,000 iceboerg00/larp-amd 45cc4f6, v1.0.11-amd same
LARP_RT_WHOLE=1 (no reserved buffers for RT structures, positions pool, streamed geometry) 45cc4f6 + patch same
LARP_RT_OFF=1: host ray tracing off (the make_ready() → None path; log confirms host ray tracing: off) 45cc4f6 + patch same
LARP_SKIP_PIPELINES = the 3 compute shaders GBV flags below v1.0.11-amd same
LARP_D3D12_DEBUG=1 LARP_D3D12_GBV=1 v1.0.11-amd same page fault, with GBV on (see below)

GPU-based validation (v1.0.11-amd)

GBV ran through to the fault. It reported only these kinds, all at the world's first frames:

  • UAV Dimension Expected: RawBuffer, In Descriptor: TypedBuffer: compute 17af15c4015cb4b6, 55679a0547649d0b, b83629b90cd2b7bc
  • Component Type Expected: FLOAT/UNORM/SNORM, In Descriptor: UINT (UAV and SRV): compute 91b10a73e48b2192, b83629b90cd2b7bc, 4fb416369fc50b6e, c1488f485ad606fb, and a few others; also once in an amplification shader.

There were no out-of-bounds, uninitialized-descriptor or destroyed-resource messages, and the page fault still happened. So I think the faulting address does not come through the descriptor heap. It more likely comes through a raw GPU VA that GBV does not check: root CBV/SRV/UAV, ExecuteIndirect arguments, IA buffer views, copies, or one of the layer's own passes. Ray tracing is ruled out by LARP_RT_OFF.

Not tried yet

  • LARP_HOST_MAX_WAVE=32 (shaders translated for wave32)
  • LARP_BVH_FENCES=0
  • A newer AMD driver

Patch attached (against iceboerg00/larp-amd 45cc4f6, crates/larp-gpu)

  1. The device-removal report was cut off. When the relay finds the removal (relay_land), it names every flight's pipelines first (slow) and only then calls removal_data. Meanwhile another thread, here copy_send with fail("no list for the copy queue"), reaches fail() → abort(), and the DRED data is never written. The patch does three things:
    • It computes and logs the DRED data before the pipeline listing, in both removal paths.
    • It makes fail() on other threads wait while one thread writes the report (60 s at most).
    • It gives the reporter 3 s to appear if another thread finds the removal first.
      With it, the DRED page-fault line shows up in every run.
  2. LARP_RT_OFF: turns host ray tracing off through the existing set-up-failure path. Useful for bisecting.

Attachments (larp-rdna2-page-fault.zip, Windows username stripped)

  • logs/play-v1.0.11-amd.log: v1.0.11-amd run (with the 3-shader skip list)
  • logs/play-v1.0.11-amd-gpu-validation.log: v1.0.11-amd with debug layer + GBV
  • logs/play-patched-build-rt-off.log: 45cc4f6 + patch, LARP_RT_OFF=1
  • data/7952987A/crashes.log: every run's failure line, settings.ini, options.ini
  • larp-dred-report-race-and-rt-off.patch

I'm happy to run a build with extra checks (for example validating root-descriptor / indirect VAs against live resources at record time) if that would help.

**@⁠Tempus3214** on GitHub · 2026-12-05 16:59 UTC · [original](https://github.com/gamingwithhomie/larp/issues/63) ### Summary On an RX 6600 (RDNA2), the title gets through loading and shader building, then the host device is removed **4–6 s after the world starts drawing** (draws/frame jumps from ~10 to 260–400; that frame takes 3.5–9.8 s). Exit code `-2005270523` (`0x887A0005`). The removal reason is `0x887A0006` (DEVICE_HUNG). With `LARP_D3D12_DRED=1`, it is a **GPU page fault at an address no allocation holds**. It happened on every run that reached the world (10 runs; DRED was on for the last 7), on three builds, including the official **v1.0.11-amd** (`amd-test` 88f6950, SHA-256 `400D2F42…8F66`). The view-heap cap in v1.0.11-amd does not change it. ### System - GPU: AMD Radeon RX 6600 8 GB (RDNA2), driver 32.0.21045.16010 - CPU: Ryzen 5 4500 (6c/12t), 16 GB RAM - OS: Windows 10 IoT Enterprise LTSC 21H2 (build 19044) - Agility SDK 1.620.2 (bin\D3D12), Graphics Tools installed for the GBV runs - Run as Series S (`series-s.cmd`), `frame_rate = 60`, `stream_budget = default`, title settings all default ### What the crash looks like - `play.log`, every run: `host GPU device removed …; page fault at 0x…; no title memory copy below it; …; breadcrumbs (done/count, list) [...]` - Fault VAs across runs: `0x1a2320000`, `0x1ccf6c000`, `0x1d2150000`, `0x180cc8000`, `0x1f0406000`, `0x188492000`, and `0x7d825000` (the GBV run, where the heaps sat elsewhere). All of them are below every title-memory copy, and none is inside the view or sampler heap. - DRED `GetPageFaultAllocationOutput1` lists **no existing and no recently freed allocation** at the VA. - DRED auto-breadcrumbs: **every list is complete** (`done == count`), so no command is named. - The same warning comes ~4 s before the removal in every run (it is logged once, at its first occurrence): `unordered buffer view: the host would refuse it, left null format=39 first=~10550000 count=0 stride=0 raw=true width=182452224` `first` varies a little per run; the buffer and its width are always the same. The view comes from the title with `NumElements = 0`, and the source's comment says this is deliberate. I note it only because it is the one consistent marker of the moment. ### What was tried (each one still faults the same way) | Change | Build | Result | |---|---|---| | Original package, 2,097,152-view heap | earlier larp | DEVICE_HUNG at the same moment (DRED not on yet) | | View heap capped to 1,000,000 | iceboerg00/larp-amd 45cc4f6, v1.0.11-amd | same | | `LARP_RT_WHOLE=1` (no reserved buffers for RT structures, positions pool, streamed geometry) | 45cc4f6 + patch | same | | `LARP_RT_OFF=1`: host ray tracing off (the `make_ready() → None` path; log confirms `host ray tracing: off`) | 45cc4f6 + patch | same | | `LARP_SKIP_PIPELINES` = the 3 compute shaders GBV flags below | v1.0.11-amd | same | | `LARP_D3D12_DEBUG=1 LARP_D3D12_GBV=1` | v1.0.11-amd | same page fault, with GBV on (see below) | ### GPU-based validation (v1.0.11-amd) GBV ran through to the fault. It reported only these kinds, all at the world's first frames: - `UAV Dimension Expected: RawBuffer, In Descriptor: TypedBuffer`: compute `17af15c4015cb4b6`, `55679a0547649d0b`, `b83629b90cd2b7bc` - `Component Type Expected: FLOAT/UNORM/SNORM, In Descriptor: UINT` (UAV and SRV): compute `91b10a73e48b2192`, `b83629b90cd2b7bc`, `4fb416369fc50b6e`, `c1488f485ad606fb`, and a few others; also once in an amplification shader. There were **no out-of-bounds, uninitialized-descriptor or destroyed-resource messages**, and the page fault still happened. So I think the faulting address does not come through the descriptor heap. It more likely comes through a raw GPU VA that GBV does not check: root CBV/SRV/UAV, ExecuteIndirect arguments, IA buffer views, copies, or one of the layer's own passes. Ray tracing is ruled out by `LARP_RT_OFF`. ### Not tried yet - `LARP_HOST_MAX_WAVE=32` (shaders translated for wave32) - `LARP_BVH_FENCES=0` - A newer AMD driver ### Patch attached (against iceboerg00/larp-amd 45cc4f6, `crates/larp-gpu`) 1. **The device-removal report was cut off.** When the relay finds the removal (`relay_land`), it names every flight's pipelines first (slow) and only then calls `removal_data`. Meanwhile another thread, here `copy_send` with `fail("no list for the copy queue")`, reaches `fail()` → `abort()`, and the DRED data is never written. The patch does three things: - It computes and logs the DRED data before the pipeline listing, in both removal paths. - It makes `fail()` on other threads wait while one thread writes the report (60 s at most). - It gives the reporter 3 s to appear if another thread finds the removal first. With it, the DRED page-fault line shows up in every run. 2. **`LARP_RT_OFF`**: turns host ray tracing off through the existing set-up-failure path. Useful for bisecting. ### Attachments (`larp-rdna2-page-fault.zip`, Windows username stripped) - `logs/play-v1.0.11-amd.log`: v1.0.11-amd run (with the 3-shader skip list) - `logs/play-v1.0.11-amd-gpu-validation.log`: v1.0.11-amd with debug layer + GBV - `logs/play-patched-build-rt-off.log`: 45cc4f6 + patch, `LARP_RT_OFF=1` - `data/7952987A/crashes.log`: every run's failure line, settings.ini, options.ini - `larp-dred-report-race-and-rt-off.patch` I'm happy to run a build with extra checks (for example validating root-descriptor / indirect VAs against live resources at record time) if that would help.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 17:23:50 +00:00
Author
Owner

@⁠kaseess on GitHub · 2026-12-05 18:06 UTC · original

Confirmed on a third RDNA2 card (RX 6950 XT, gfx1030). Same binary as the OP's:

bin/larp.exe  15,228,928 bytes
SHA-256       400D2F42…8F66   (v1.0.11-amd, amd-test 88f6950)

Two findings that may save you time.


1. Six compute shaders fail to translate on gfx10 — LARP_HOST_MAX_WAVE=32 fixes all of them

WARN larp_gpu::pipeline: shader: does not translate, its pipelines' draws are dropped
     stage="compute" hash=a26a38d61f256901
     error=converter shader.dxil v2: GFX10 code at 0x360:
           a wave sum of 16-bit floats where not every lane runs is not supported

With effective=64 there are 6 of these. With LARP_HOST_MAX_WAVE=32:

host device: wave lanes min=32 max=64 effective=32
does not translate warnings: 0

So the 32-lane path avoids the whole class. Worth making the default on VendorId == 0x1002 unless there is a reason not to — right now RDNA 2 users have no way to know this switch exists.

It does not fix the removal, but it removes six dropped compute pipelines from the picture, which makes the remaining fault much easier to attribute.

2. The removal follows a refused buffer view being left as a null descriptor

Every removal in my logs is preceded, 3–7 s earlier, by:

WARN larp_gpu::descriptor::host: unordered buffer view:
     the host would refuse it, left null
     format=39  first=10548160  count=0  stride=0

first drifts slightly between runs (10547616, 10548160 — the same ~10.5 MB buffer, 544 bytes apart), count=0, stride=0, format=39 (R8G8_SINT). Then:

4.32 s between two presents → 7.3 fps, 136 ms/frame, 192 draws/frame
→ device removed (0x887A0005 / 0x887A0006), sometimes 0x887A0004

This matches the "no title memory copy below it" page fault in #83: the slot holds no resource, the shader picks it up bindless by index, and the read faults.

Source, crates/larp-gpu/src/descriptor/host.rs:

  • buffer_view_ok (line ~2270) refuses a view whose (first + count) * element > width, and also refuses count == 0 outright (count > 0 && …).
  • elements_inside (line ~2304) can clamp a past-the-end view to zero elements, which lands in the same refusal.
  • Both refusal sites (buffer_srv line ~2618, buffer_uav line ~2743) call null_buffer() / left_null() and return None, so the caller leaves the slot null.

The comment above buffer_view_ok already says the console is laxer here and that "one such view ended the run" — so this is a known divergence, not something new. The question is whether the null slot can become a zero view instead:

allocate one small zero-filled buffer per device and point refused slots at an SRV/UAV of it with NumElements >= 1.

The console semantics are "a view of no records reads as zero", and that also covers the elements_inside clamp. If the descriptor-shift/bindless machinery can address such a slot, it looks like a contained change; if not, I would like to know why, because every RDNA 2 report in this tracker looks like the same read.

Ruled out on this machine

  • View heap cap — active (hold 1000000 views), crash unchanged.
  • LARP_BVH_FENCES=0 — tested, no change.
  • LARP_D3D12_DEBUG=1 — silent: the descriptor is legal from the API's point of view, the fault is at execution.
  • LARP_D3D12_DRED=1 — produced nothing in my log without the Windows Graphics Tools installed, so I could not get breadcrumbs; the OP of #63 got them, so following their setup is the way.
  • Load / thermals / RAM — one run died at 30 fps with 9 draws/frame and 0.0 ms preparing; another reported 10.1 GB free RAM at the moment of removal.
  • Stock shaders — reproduced with the vanilla shader-replace (all 154 files byte-identical to the official package), so it is not a localisation artefact.
  • Driver — OP of #63 is on 32.0.21045.16010, I am on 32.0.21045.20006; identical symptoms, so it is not one driver regression.

Environment

GPU     AMD Radeon RX 6950 XT 16 GB (gfx1030, RDNA2)
CPU     Ryzen 5 5600X
RAM     16 GB DDR4-3600 (FCLK 1800, 1:1)
OS      Windows 11 26H2, build 26300.9974
Driver  32.0.21045.20006
Title   7952987A, Series S, 1920x1080

Runs survive 60 s to 34 min depending on the build and switches; the longest was 34 min on an unmodified v1.0.11-amd.

**@⁠kaseess** on GitHub · 2026-12-05 18:06 UTC · [original](https://github.com/gamingwithhomie/larp/issues/63#issuecomment-7442826123) Confirmed on a third RDNA2 card (RX 6950 XT, gfx1030). Same binary as the OP's: ``` bin/larp.exe 15,228,928 bytes SHA-256 400D2F42…8F66 (v1.0.11-amd, amd-test 88f6950) ``` Two findings that may save you time. --- ## 1. Six compute shaders fail to translate on gfx10 — `LARP_HOST_MAX_WAVE=32` fixes all of them ``` WARN larp_gpu::pipeline: shader: does not translate, its pipelines' draws are dropped stage="compute" hash=a26a38d61f256901 error=converter shader.dxil v2: GFX10 code at 0x360: a wave sum of 16-bit floats where not every lane runs is not supported ``` With `effective=64` there are 6 of these. With `LARP_HOST_MAX_WAVE=32`: ``` host device: wave lanes min=32 max=64 effective=32 does not translate warnings: 0 ``` So the 32-lane path avoids the whole class. Worth making the default on `VendorId == 0x1002` unless there is a reason not to — right now RDNA 2 users have no way to know this switch exists. It does **not** fix the removal, but it removes six dropped compute pipelines from the picture, which makes the remaining fault much easier to attribute. ## 2. The removal follows a refused buffer view being left as a null descriptor Every removal in my logs is preceded, 3–7 s earlier, by: ``` WARN larp_gpu::descriptor::host: unordered buffer view: the host would refuse it, left null format=39 first=10548160 count=0 stride=0 ``` `first` drifts slightly between runs (`10547616`, `10548160` — the same ~10.5 MB buffer, 544 bytes apart), `count=0`, `stride=0`, `format=39` (`R8G8_SINT`). Then: ``` 4.32 s between two presents → 7.3 fps, 136 ms/frame, 192 draws/frame → device removed (0x887A0005 / 0x887A0006), sometimes 0x887A0004 ``` This matches the "no title memory copy below it" page fault in #83: the slot holds no resource, the shader picks it up bindless by index, and the read faults. Source, `crates/larp-gpu/src/descriptor/host.rs`: - `buffer_view_ok` (line ~2270) refuses a view whose `(first + count) * element > width`, and also refuses `count == 0` outright (`count > 0 && …`). - `elements_inside` (line ~2304) can clamp a past-the-end view to zero elements, which lands in the same refusal. - Both refusal sites (`buffer_srv` line ~2618, `buffer_uav` line ~2743) call `null_buffer()` / `left_null()` and `return None`, so the caller leaves the slot null. The comment above `buffer_view_ok` already says the console is laxer here and that "one such view ended the run" — so this is a known divergence, not something new. The question is whether the null slot can become a zero view instead: > allocate one small zero-filled buffer per device and point refused slots at an SRV/UAV of it with `NumElements >= 1`. The console semantics are "a view of no records reads as zero", and that also covers the `elements_inside` clamp. If the descriptor-shift/bindless machinery can address such a slot, it looks like a contained change; if not, I would like to know why, because every RDNA 2 report in this tracker looks like the same read. ## Ruled out on this machine - **View heap cap** — active (`hold 1000000 views`), crash unchanged. - **`LARP_BVH_FENCES=0`** — tested, no change. - **`LARP_D3D12_DEBUG=1`** — silent: the descriptor is legal from the API's point of view, the fault is at execution. - **`LARP_D3D12_DRED=1`** — produced nothing in my log without the Windows Graphics Tools installed, so I could not get breadcrumbs; the OP of #63 got them, so following their setup is the way. - **Load / thermals / RAM** — one run died at 30 fps with 9 draws/frame and 0.0 ms preparing; another reported 10.1 GB free RAM at the moment of removal. - **Stock shaders** — reproduced with the vanilla `shader-replace` (all 154 files byte-identical to the official package), so it is not a localisation artefact. - **Driver** — OP of #63 is on `32.0.21045.16010`, I am on `32.0.21045.20006`; identical symptoms, so it is not one driver regression. ## Environment ``` GPU AMD Radeon RX 6950 XT 16 GB (gfx1030, RDNA2) CPU Ryzen 5 5600X RAM 16 GB DDR4-3600 (FCLK 1800, 1:1) OS Windows 11 26H2, build 26300.9974 Driver 32.0.21045.20006 Title 7952987A, Series S, 1920x1080 ``` Runs survive 60 s to 34 min depending on the build and switches; the longest was 34 min on an unmodified v1.0.11-amd.
Author
Owner

@⁠jiangbei876-beep on GitHub · 2026-12-05 19:16 UTC · original

issue-63-comment.md

**@⁠jiangbei876-beep** on GitHub · 2026-12-05 19:16 UTC · [original](https://github.com/gamingwithhomie/larp/issues/63#issuecomment-7443842901) [issue-63-comment.md](https://github.com/user-attachments/files/35919407/issue-63-comment.md)
Author
Owner

@⁠jiangbei876-beep on GitHub · 2026-12-05 19:18 UTC · original

issue-63-comment.md

I tested v2026.12.05-amd-rdna2-test2 with mesh_counts = exact on an RX 6600 (RDNA2) and it still removes the device, 19 seconds after "the title's render phases are built" — same GPU page fault as before, not a TDR.

The write-up below has the full timeline, the removal line, and a table of what has been ruled out on this card (LARP_VIEW_HEAP capped and uncapped, TdrDelay = 10, stream_budget 2500/1800, frame_rate 60/30, both series-s and series-x).

The one detail worth noticing: the "slots" it faults on are 86,718,080 and 173,472,000 against heaps of 2,097,152 and 8,192 — those aren't oversized indices, they're values that were never descriptor indices. That lines up with the null-descriptor / bindless read theory in #63.

**@⁠jiangbei876-beep** on GitHub · 2026-12-05 19:18 UTC · [original](https://github.com/gamingwithhomie/larp/issues/63#issuecomment-7443874304) > [issue-63-comment.md](https://github.com/user-attachments/files/35919407/issue-63-comment.md) I tested v2026.12.05-amd-rdna2-test2 with mesh_counts = exact on an RX 6600 (RDNA2) and it still removes the device, 19 seconds after "the title's render phases are built" — same GPU page fault as before, not a TDR. The write-up below has the full timeline, the removal line, and a table of what has been ruled out on this card (LARP_VIEW_HEAP capped and uncapped, TdrDelay = 10, stream_budget 2500/1800, frame_rate 60/30, both series-s and series-x). The one detail worth noticing: the "slots" it faults on are 86,718,080 and 173,472,000 against heaps of 2,097,152 and 8,192 — those aren't oversized indices, they're values that were never descriptor indices. That lines up with the null-descriptor / bindless read theory in #63.
Author
Owner

@⁠madaraXor on GitHub · 2026-12-05 19:39 UTC · original

Written with Claude (an AI assistant) from my logs, at my request.

Same crash on an RX 6700 XT with the AMD patches that are not merged yet, in Series X mode, so the device removal is not explained by the patches so far nor by the Series S shader failures (#81).

Setup

GPU AMD Radeon RX 6700 XT 12 GB (RDNA2, gfx1031), driver 32.0.21045.29003
CPU / RAM / OS Ryzen 5 5600X / 16 GB / Windows 10 Pro 22H2 (19045)
D3D12 Agility SDK 1.620.2 in D3D12\ next to larp.exe
larp built from source, cargo build --profile diag -p larp --features diagnostics; no runtime package (no DLSS/FSR folders), LARP_SHADER_REPLACE = the freshly built target\shader-replace
Launch larp run game_scarlett_master.exe --execute --console series-x --stream-budget 3000, LARP_D3D12_DRED=1
TDR TdrDelay = 10 for these runs, to rule out the default 2 s timeout

Build: main 0f03265 plus, cherry-picked:

  • iceboerg00/larp-amd 45cc4f6 (view heap of 1,000,000), 750aabb (wave32 retry for programs a 64-lane host refused), 3bf93ae + 19bb0d2 (BVH builder atomic UAV fences), 05e4140 (null buffer views by element that end past 4 GiB)
  • #76 (c2821e4)

What happens (times UTC)

  • 88,533 pipelines listed; compilation completes (being made 0). amdxc64.dll crashed twice during compilation (+0xccf439, +0x6b8f74); relaunching resumed.
  • Up to 19:35:05: intro at 30 fps, ~11 draws/frame.
  • 19:35:10: unordered buffer view: the host would refuse it, left null format=39 first=10402336 count=0 stride=0 raw=true width=182452224, the same buffer width as in this issue and #83.
  • 19:35:16: first world frame, 7,898 draws, 6,950 ms.
  • 19:35:19: device removed (0x887A0005).

What this rules out

  • 05e4140 is not the path: its warning (buffer view by element ending past 4 GiB) never appears.
  • Dropped shaders: 43 does not translate warnings (38 shaders): 29 malformed shader: no DXIL part (the #81 set, most likely replayed from the creation list recorded in my earlier Series S runs), 5 a descriptor read only as data, 3 a hardware SGPR input, 1 a constant lane mask. None of them appears in draws dropped without a host pipeline during the Series X run. In Series S, 20 of them did, and the world frame had only 496 draws. So in Series X no compute work was dropped before the removal.
  • #76 does not change it. The 26 larp_gpu::regions: title memory read inside a buffer the GPU owns errors in the seconds before the removal are still there with it.
  • TDR: Series S runs (main d5c2908, before these patches) were removed the same way within ~7 s of the world's first frames, with TdrDelay at 2 s and at 10 s (reason 0x887A0006, DEVICE_HUNG, in the 10 s run).

DRED report lost to the race described above

DRED was on in every run, but its report was never printed. The Series X run ended through mips: the title's branch at 0x14404d956 was reached ... stopping on another thread, before removal_data. The Series S run with TdrDelay = 10 ended through a host command list did not reset. This is the race the OP's patch fixes; merging it would make RDNA2 reports carry the page-fault line.

Happy to run a build with that patch or with extra checks.

**@⁠madaraXor** on GitHub · 2026-12-05 19:39 UTC · [original](https://github.com/gamingwithhomie/larp/issues/63#issuecomment-7444162094) *Written with Claude (an AI assistant) from my logs, at my request.* Same crash on an **RX 6700 XT** with the AMD patches that are not merged yet, in **Series X** mode, so the device removal is not explained by the patches so far nor by the Series S shader failures (#81). ## Setup | | | |---|---| | GPU | AMD Radeon RX 6700 XT 12 GB (RDNA2, gfx1031), driver `32.0.21045.29003` | | CPU / RAM / OS | Ryzen 5 5600X / 16 GB / Windows 10 Pro 22H2 (19045) | | D3D12 | Agility SDK 1.620.2 in `D3D12\` next to `larp.exe` | | larp | built from source, `cargo build --profile diag -p larp --features diagnostics`; no runtime package (no DLSS/FSR folders), `LARP_SHADER_REPLACE` = the freshly built `target\shader-replace` | | Launch | `larp run game_scarlett_master.exe --execute --console series-x --stream-budget 3000`, `LARP_D3D12_DRED=1` | | TDR | `TdrDelay = 10` for these runs, to rule out the default 2 s timeout | Build: `main` 0f03265 plus, cherry-picked: - iceboerg00/larp-amd `45cc4f6` (view heap of 1,000,000), `750aabb` (wave32 retry for programs a 64-lane host refused), `3bf93ae` + `19bb0d2` (BVH builder atomic UAV fences), `05e4140` (null buffer views by element that end past 4 GiB) - #76 (`c2821e4`) ## What happens (times UTC) - 88,533 pipelines listed; compilation completes (`being made 0`). `amdxc64.dll` crashed twice during compilation (`+0xccf439`, `+0x6b8f74`); relaunching resumed. - Up to `19:35:05`: intro at 30 fps, ~11 draws/frame. - `19:35:10`: `unordered buffer view: the host would refuse it, left null format=39 first=10402336 count=0 stride=0 raw=true width=182452224`, the same buffer width as in this issue and #83. - `19:35:16`: first world frame, **7,898 draws, 6,950 ms**. - `19:35:19`: device removed (`0x887A0005`). ## What this rules out - **`05e4140` is not the path**: its warning (`buffer view by element ending past 4 GiB`) never appears. - **Dropped shaders**: 43 `does not translate` warnings (38 shaders): 29 `malformed shader: no DXIL part` (the #81 set, most likely replayed from the creation list recorded in my earlier Series S runs), 5 `a descriptor read only as data`, 3 `a hardware SGPR input`, 1 `a constant lane mask`. None of them appears in `draws dropped without a host pipeline` during the Series X run. In Series S, 20 of them did, and the world frame had only 496 draws. So in Series X no compute work was dropped before the removal. - **#76** does not change it. The 26 `larp_gpu::regions: title memory read inside a buffer the GPU owns` errors in the seconds before the removal are still there with it. - **TDR**: Series S runs (main d5c2908, before these patches) were removed the same way within ~7 s of the world's first frames, with `TdrDelay` at 2 s and at 10 s (reason `0x887A0006`, DEVICE_HUNG, in the 10 s run). ## DRED report lost to the race described above DRED was on in every run, but its report was never printed. The Series X run ended through `mips: the title's branch at 0x14404d956 was reached ... stopping` on another thread, before `removal_data`. The Series S run with `TdrDelay = 10` ended through `a host command list did not reset`. This is the race the OP's patch fixes; merging it would make RDNA2 reports carry the page-fault line. Happy to run a build with that patch or with extra checks.
Author
Owner

@⁠madaraXor on GitHub · 2026-12-05 20:50 UTC · original

Written with Claude (an AI assistant) from my logs, at my request.

Follow-up from the RX 6700 XT above (driver 32.0.21045.29003, Windows 10 22H2), now on the larp-amd fork's builds, built from source, --console series-s --stream-budget 2500, LARP_D3D12_DRED=1.

Build AMD GPU detected line Time in the world before the device is removed
main + earlier AMD patches (my comment above) none ~7 s
rdna2-test3 (f6954fc) rdna2=true heap_first_lane=true ~20 s, up to 3,038 draws/frame; ended through no list for the copy queue (0x887A0006), no device-removed data
amd-4 (d444d19) rdna2=true heap_first_lane=true quad_live=false ~38 s, 1,200 to 6,300 draws/frame at 5 to 8 fps (the first world frame took 9.4 s)

Each RDNA 2 workaround moved the crash later, but it is still there. With amd-4 the device-removed data now reaches the log (thanks to 3655982):

host GPU device removed after 1 submissions sent ahead of 32 lists; page fault at 0x1fa0ba000;
no title memory copy below it; the nearest above: 0x904369400+0x120000 at host 0x31a980000 (5791 copies in all);
view heap 0x100450000+0x1e84800: 0xf7de5800 past its end (slot 130954496);
sampler heap 0x1000f2000+0x8000: 0xf9fc0000 past its end (slot 262129664);
breadcrumbs (done/count, list) [every list has done == count]

It is the same signature as the OP's: the address is in no allocation, below every title memory copy and outside both heaps, and every list's breadcrumbs are complete, so no command is named. The unordered buffer view: the host would refuse it, left null ... width=182452224 warning no longer appears in the test3 and amd-4 runs.

Happy to test the next build.

**@⁠madaraXor** on GitHub · 2026-12-05 20:50 UTC · [original](https://github.com/gamingwithhomie/larp/issues/63#issuecomment-7445153706) *Written with Claude (an AI assistant) from my logs, at my request.* Follow-up from the RX 6700 XT above (driver `32.0.21045.29003`, Windows 10 22H2), now on the larp-amd fork's builds, built from source, `--console series-s --stream-budget 2500`, `LARP_D3D12_DRED=1`. | Build | `AMD GPU detected` line | Time in the world before the device is removed | |---|---|---| | main + earlier AMD patches (my comment above) | none | ~7 s | | rdna2-test3 (`f6954fc`) | `rdna2=true heap_first_lane=true` | ~20 s, up to 3,038 draws/frame; ended through `no list for the copy queue` (0x887A0006), no device-removed data | | amd-4 (`d444d19`) | `rdna2=true heap_first_lane=true quad_live=false` | ~38 s, 1,200 to 6,300 draws/frame at 5 to 8 fps (the first world frame took 9.4 s) | Each RDNA 2 workaround moved the crash later, but it is still there. With amd-4 the device-removed data now reaches the log (thanks to `3655982`): ``` host GPU device removed after 1 submissions sent ahead of 32 lists; page fault at 0x1fa0ba000; no title memory copy below it; the nearest above: 0x904369400+0x120000 at host 0x31a980000 (5791 copies in all); view heap 0x100450000+0x1e84800: 0xf7de5800 past its end (slot 130954496); sampler heap 0x1000f2000+0x8000: 0xf9fc0000 past its end (slot 262129664); breadcrumbs (done/count, list) [every list has done == count] ``` It is the same signature as the OP's: the address is in no allocation, below every title memory copy and outside both heaps, and every list's breadcrumbs are complete, so no command is named. The `unordered buffer view: the host would refuse it, left null ... width=182452224` warning no longer appears in the test3 and amd-4 runs. Happy to test the next build.
Author
Owner

@⁠Evan-Lowry on GitHub · 2026-12-05 23:25 UTC · original

RX 6800 (RDNA2): device removed with GPU page fault on world entry, v1.1.3-amd

  • larp v1.1.3-amd (FULL zip, amd-test bccc4d3), Windows 11 26300, Radeon driver 32.0.21045.29003
  • RX 6800 16 GB, Ryzen 5 5600, 16 GB RAM + SSD pagefile; Series S, frame_rate 30, stream_budget default, fresh cache, fresh data with only saves\ + storage\ copied
  • 5 of 5 launches failed (v1.1.0-amd x3, v1.1.3-amd x2): hang while loading (~12 draws/frame) or within seconds of the first world frames (100-670 draws/frame).
  • Tried LARP_SHADER_LOOP_LIMIT=4096 and LARP_HOST_MAX_WAVE=32 (log confirms wave32): no change.
  • Looks like #63 / #75 / #83.

DRED (LARP_D3D12_DRED=1):

larp: host GPU failure: host GPU device removed after 1 submissions sent ahead of 32 lists; page fault at 0x1db3f8000; no title memory copy below it; the nearest above: 0x904369400+0x120000 at host 0x31c380000 (6126 copies in all); view heap 0x1006b5000+0x1e84800: 0xd8ebe800 past its end (slot 114729344); sampler heap 0x10253a000+0x8000: 0xd8eb6000 past its end (slot 227458560); breadcrumbs (done/count, list) ["2/2 None", "3/3 None", "8/8 None", "2/2 None", "32/32 None", "1/1 None", "2/2 None", "2/2 None", "7/7 None", "99/99 None", "1/1 None", "2/2 None", "124/124 None", "1/1 None", "5/5 None", "99/99 None", "105/105 None", "7/7 None", "1/1 None", "2/2 None", "4/4 None", "782/782 None", "1/1 None", "27/27 None", "1/1 None", "1/1 None", "2/2 None", "407/407 None", "2/2 None", "1/1 None", "2/2 None", "32/32 None", "19/19 None", "2/2 None", "1/1 None", "1/1 None", "2/2 None", "143/143 None", "2/2 None", "115/115 None", "2/2 None", "130/130 None", "1/1 None", "1/1 None", "2/2 None", "15/15 None", "1/1 None", "2/2 None", "5/5 None", "1/1 None", "1/1 None", "2/2 None", "61/61 None", "2/2 None", "25/25 None", "2/2 None", "22/22 None", "46/46 Some(0)", "1/1 Some(1)", "1/1 Some(2)", "2/2 Some(3)", "62/62 Some(4)", "2/2 Some(5)", "24/24 Some(6)", "1/1 Some(7)", "2/2 Some(8)", "1/1 Some(9)", "2/2 Some(10)", "16/16 Some(11)", "1/1 Some(12)", "2/2 Some(13)", "46/46 Some(14)", "2/2 Some(15)", "19/19 Some(16)", "2/2 Some(17)", "497/497 Some(18)", "2/2 Some(19)", "743/743 Some(20)", "1/1 Some(21)", "2/2 Some(22)", "7/7 Some(23)", "489/489 Some(24)", "2/2 Some(25)", "471/471 Some(26)", "2/2 Some(27)", "109/109 Some(28)", "2/2 Some(29)", "25/25 Some(30)", "2/2 Some(31)", "4/4 None"]; list 0 of 32, of its 18: dispatch [compute 5b2ce592c3a5dd09]; list 0 of 32, of its 18: dispatch [compute 89106710b9d623ca]; list 0 of 32, of its 18: dispatch [compute 89106710b9d623ca]; list 0 of 32, of its 18: dispatch [compute 7ddd1b511732d145]; list 0 of 32, of its 18: dispatch [compute 9381f54ec01b7adb]; list 0 of 32, of its 18: dispatch [compute 9381f54ec01b7adb]; list 6 of 32, of its 11: mesh [mesh d46a687792498e95]; list 6 of 32, of its 11: mesh [mesh babb8f7ef413ec3b]; list 6 of 32, of its 11: mesh [mesh 612e7f2f39c4feb5]; list 6 of 32, of its 11: mesh [mesh 8361a47172e52f1d]; list 6 of 32, of its 11: mesh [mesh 3a93976a475b8bdb]; list 6 of 32, of its 11: mesh [mesh 3a93976a475b8bdb]; list 11 of 32, of its 5: dispatch [compute 19e215b47ff9112a]; list 11 of 32, of its 5: dispatch [compute ec4528c014a996ca]; list 11 of 32, of its 5: dispatch [compute 058b0f6379a8e312]; list 11 of 32, of its 5: dispatch [compute 1d449fb6a212a044]; list 11 of 32, of its 5: dispatch [compute eccf008b413ba7b1]; list 14 of 32, of its 16: indirect [compute 78c04f8d197a2904]; list 14 of 32, of its 16: indirect [compute e24dff38794241ab]; list 14 of 32, of its 16: dispatch [compute f7f9f22551967b84]; list 14 of 32, of its 16: dispatch [compute e798cc38df9dabc0]; list 14 of 32, of its 16: dispatch [compu
**@⁠Evan-Lowry** on GitHub · 2026-12-05 23:25 UTC · [original](https://github.com/gamingwithhomie/larp/issues/63#issuecomment-7447562438) ## RX 6800 (RDNA2): device removed with GPU page fault on world entry, v1.1.3-amd - larp v1.1.3-amd (FULL zip, amd-test bccc4d3), Windows 11 26300, Radeon driver 32.0.21045.29003 - RX 6800 16 GB, Ryzen 5 5600, 16 GB RAM + SSD pagefile; Series S, frame_rate 30, stream_budget default, fresh cache, fresh data with only saves\ + storage\ copied - 5 of 5 launches failed (v1.1.0-amd x3, v1.1.3-amd x2): hang while loading (~12 draws/frame) or within seconds of the first world frames (100-670 draws/frame). - Tried LARP_SHADER_LOOP_LIMIT=4096 and LARP_HOST_MAX_WAVE=32 (log confirms wave32): no change. - Looks like #63 / #75 / #83. DRED (LARP_D3D12_DRED=1): ``` larp: host GPU failure: host GPU device removed after 1 submissions sent ahead of 32 lists; page fault at 0x1db3f8000; no title memory copy below it; the nearest above: 0x904369400+0x120000 at host 0x31c380000 (6126 copies in all); view heap 0x1006b5000+0x1e84800: 0xd8ebe800 past its end (slot 114729344); sampler heap 0x10253a000+0x8000: 0xd8eb6000 past its end (slot 227458560); breadcrumbs (done/count, list) ["2/2 None", "3/3 None", "8/8 None", "2/2 None", "32/32 None", "1/1 None", "2/2 None", "2/2 None", "7/7 None", "99/99 None", "1/1 None", "2/2 None", "124/124 None", "1/1 None", "5/5 None", "99/99 None", "105/105 None", "7/7 None", "1/1 None", "2/2 None", "4/4 None", "782/782 None", "1/1 None", "27/27 None", "1/1 None", "1/1 None", "2/2 None", "407/407 None", "2/2 None", "1/1 None", "2/2 None", "32/32 None", "19/19 None", "2/2 None", "1/1 None", "1/1 None", "2/2 None", "143/143 None", "2/2 None", "115/115 None", "2/2 None", "130/130 None", "1/1 None", "1/1 None", "2/2 None", "15/15 None", "1/1 None", "2/2 None", "5/5 None", "1/1 None", "1/1 None", "2/2 None", "61/61 None", "2/2 None", "25/25 None", "2/2 None", "22/22 None", "46/46 Some(0)", "1/1 Some(1)", "1/1 Some(2)", "2/2 Some(3)", "62/62 Some(4)", "2/2 Some(5)", "24/24 Some(6)", "1/1 Some(7)", "2/2 Some(8)", "1/1 Some(9)", "2/2 Some(10)", "16/16 Some(11)", "1/1 Some(12)", "2/2 Some(13)", "46/46 Some(14)", "2/2 Some(15)", "19/19 Some(16)", "2/2 Some(17)", "497/497 Some(18)", "2/2 Some(19)", "743/743 Some(20)", "1/1 Some(21)", "2/2 Some(22)", "7/7 Some(23)", "489/489 Some(24)", "2/2 Some(25)", "471/471 Some(26)", "2/2 Some(27)", "109/109 Some(28)", "2/2 Some(29)", "25/25 Some(30)", "2/2 Some(31)", "4/4 None"]; list 0 of 32, of its 18: dispatch [compute 5b2ce592c3a5dd09]; list 0 of 32, of its 18: dispatch [compute 89106710b9d623ca]; list 0 of 32, of its 18: dispatch [compute 89106710b9d623ca]; list 0 of 32, of its 18: dispatch [compute 7ddd1b511732d145]; list 0 of 32, of its 18: dispatch [compute 9381f54ec01b7adb]; list 0 of 32, of its 18: dispatch [compute 9381f54ec01b7adb]; list 6 of 32, of its 11: mesh [mesh d46a687792498e95]; list 6 of 32, of its 11: mesh [mesh babb8f7ef413ec3b]; list 6 of 32, of its 11: mesh [mesh 612e7f2f39c4feb5]; list 6 of 32, of its 11: mesh [mesh 8361a47172e52f1d]; list 6 of 32, of its 11: mesh [mesh 3a93976a475b8bdb]; list 6 of 32, of its 11: mesh [mesh 3a93976a475b8bdb]; list 11 of 32, of its 5: dispatch [compute 19e215b47ff9112a]; list 11 of 32, of its 5: dispatch [compute ec4528c014a996ca]; list 11 of 32, of its 5: dispatch [compute 058b0f6379a8e312]; list 11 of 32, of its 5: dispatch [compute 1d449fb6a212a044]; list 11 of 32, of its 5: dispatch [compute eccf008b413ba7b1]; list 14 of 32, of its 16: indirect [compute 78c04f8d197a2904]; list 14 of 32, of its 16: indirect [compute e24dff38794241ab]; list 14 of 32, of its 16: dispatch [compute f7f9f22551967b84]; list 14 of 32, of its 16: dispatch [compute e798cc38df9dabc0]; list 14 of 32, of its 16: dispatch [compu ```
Author
Owner

@⁠jmsncode on GitHub · 2026-12-05 23:50 UTC · original

Written with Claude (an AI assistant) from my logs, at my request.

Another RX 6600 data point on the current amd-test (bccc4d3, v1.1.3-amd), built from source. It is the same page fault as above, plus two things I have not seen reported here.

System: RX 6600 8 GB, driver 32.0.21045.29003, Ryzen 5 5600X, 32 GB, Windows 10 22H2 (19045).
Run settings: --console series-s --stream-budget 2000, fresh cache, a copy of saves\ + storage\ only.
Only local change: D3D12SDKVersion set to 621 to match the Agility SDK 1.621.0 runtime in bin\D3D12\.

1. Stock build: the whole PC hung, not just larp.

  • The first run played for about 30 minutes, then got 0x887A0006 ("host GPU device removed after 1 submissions sent ahead of 32 lists").
  • Windows logged a display driver TDR (event 4101, "recovered").
  • The system then froze on a black screen and needed a hard reset (Kernel-Power 41).
  • After the reboot, the RX 6600 was disabled in Device Manager (CM_PROB_DISABLED) until I re-enabled it by hand.
  • This may be worth a warning in the AMD release notes for RDNA2 users.

2. ReVIctory PR #19's split stops the system hang, but not the fault.
ReVIctory PR #19 (RX 6800 XT TDRs) sends the card compare list (card.check) to the queue in an ExecuteCommandLists call of its own. The reason is that an earlier list in the same call can leave a host copy promoted to COPY_DEST while the check reads it as a shader resource (debug layer ID 538).

I ported it to larp's late path in host.rs, after card_before:

if let Some(check) = card.as_ref().and_then(|c| c.check.clone()) {
    let at = lists.len();
    lists.push(Some(check));
    if at > 0 && !ends.contains(&at) {
        ends.push(at);
        ends.sort_unstable();
    }
}

With that change and LARP_D3D12_DRED=1, results were as follows:

  • The PC no longer hung and the driver recovered cleanly.
  • larp still exited about 60 s after "the title gets its input", with the same signature as #338 and #111: page fault at 0x1effdb000; no title memory copy below it; the nearest above: 0x904369280+0x120000 at host 0x320380000 (6259 copies in all).
  • The view heap is 0x100740000+0x1e84800 and the fault is 0xeda16800 past its end. The sampler heap is 0x100086000+0x8000 and the fault is 0xeff4d000 past its end.
  • All 98 breadcrumb entries were complete (done == count). The last commands named were compute dispatches (a25ed0e3d4d521ba, fa0c0819dc86ca60, 00167d58cc5a78d7, …) and mesh 3a93976a475b8bdb.

So on this card the barrier issue seems to be what turns the fault into a full-system hang. The page fault itself has a separate cause: an address outside every heap and copy.

For comparison, ReVIctory v0.5.0 with the same split ran this game on this card for a 2 h 44 min session without a device removal. It also needs VICTORY_JOIN_PARTS=1;VICTORY_JOIN_SEND=0;VICTORY_PLANE_NOW=0, which may point at a larp equivalent worth trying.

I can test a build when there is one.

**@⁠jmsncode** on GitHub · 2026-12-05 23:50 UTC · [original](https://github.com/gamingwithhomie/larp/issues/63#issuecomment-7447883557) *Written with Claude (an AI assistant) from my logs, at my request.* Another RX 6600 data point on the current `amd-test` (bccc4d3, v1.1.3-amd), built from source. It is the same page fault as above, plus two things I have not seen reported here. **System:** RX 6600 8 GB, driver 32.0.21045.29003, Ryzen 5 5600X, 32 GB, Windows 10 22H2 (19045). **Run settings:** `--console series-s --stream-budget 2000`, fresh cache, a copy of `saves\` + `storage\` only. **Only local change:** `D3D12SDKVersion` set to 621 to match the Agility SDK 1.621.0 runtime in `bin\D3D12\`. **1. Stock build: the whole PC hung, not just larp.** - The first run played for about 30 minutes, then got `0x887A0006` ("host GPU device removed after 1 submissions sent ahead of 32 lists"). - Windows logged a display driver TDR (event 4101, "recovered"). - The system then froze on a black screen and needed a hard reset (Kernel-Power 41). - After the reboot, the RX 6600 was **disabled in Device Manager** (`CM_PROB_DISABLED`) until I re-enabled it by hand. - This may be worth a warning in the AMD release notes for RDNA2 users. **2. ReVIctory PR #19's split stops the system hang, but not the fault.** ReVIctory PR #19 (RX 6800 XT TDRs) sends the card compare list (`card.check`) to the queue in an `ExecuteCommandLists` call of its own. The reason is that an earlier list in the same call can leave a host copy promoted to `COPY_DEST` while the check reads it as a shader resource (debug layer ID 538). I ported it to larp's late path in `host.rs`, after `card_before`: ```rust if let Some(check) = card.as_ref().and_then(|c| c.check.clone()) { let at = lists.len(); lists.push(Some(check)); if at > 0 && !ends.contains(&at) { ends.push(at); ends.sort_unstable(); } } ``` With that change and `LARP_D3D12_DRED=1`, results were as follows: - The PC no longer hung and the driver recovered cleanly. - larp still exited about 60 s after "the title gets its input", with the same signature as #338 and #111: `page fault at 0x1effdb000; no title memory copy below it; the nearest above: 0x904369280+0x120000 at host 0x320380000 (6259 copies in all)`. - The view heap is `0x100740000+0x1e84800` and the fault is `0xeda16800` past its end. The sampler heap is `0x100086000+0x8000` and the fault is `0xeff4d000` past its end. - All 98 breadcrumb entries were complete (done == count). The last commands named were compute dispatches (`a25ed0e3d4d521ba`, `fa0c0819dc86ca60`, `00167d58cc5a78d7`, …) and `mesh 3a93976a475b8bdb`. So on this card the barrier issue seems to be what turns the fault into a full-system hang. The page fault itself has a separate cause: an address outside every heap and copy. For comparison, ReVIctory v0.5.0 with the same split ran this game on this card for a 2 h 44 min session without a device removal. It also needs `VICTORY_JOIN_PARTS=1;VICTORY_JOIN_SEND=0;VICTORY_PLANE_NOW=0`, which may point at a larp equivalent worth trying. I can test a build when there is one.
Author
Owner

@⁠D1plom4ta on GitHub · 2026-12-06 01:03 UTC · original

same issue on the RX6600

**@⁠D1plom4ta** on GitHub · 2026-12-06 01:03 UTC · [original](https://github.com/gamingwithhomie/larp/issues/63#issuecomment-7448876900) same issue on the RX6600
Author
Owner

@⁠kaseess on GitHub · 2026-12-06 01:20 UTC · original

RDNA2 / RX 6950 XT: v1.1.6-amd still removes the device — and the chain points at FSR4 pipeline compilation, not at the layer's draws

Same machine as my earlier comment (RX 6950 XT 16 GB, gfx1030, Ryzen 5 5600X, 2×8 GB DDR4-3600, Windows 11 26300.9974, driver 32.0.21045.20006, Series S).

Fresh v1.1.6-windows-amd-FULL.zip, SHA-256 2538CA2B…AAB044, bin\larp.exe 16,223,232 B SHA-256 F14B3B35…AE11 — i.e. an unmodified official build, no local patches.

Timeline

# setup result
1 first launch, empty cache pipelines 60621/60621 done; second pass 22866 reached 5280 → device removed 0x887A0006 after 35 min, no host list for the mip handles' copies
2 settings.ini: upscaler=off, frame_generation=off device removed 0x887A0006 after ~60 s, a host command list did not reset (0x887A0005)
3 upscaler=off enforced read-only so the title cannot rewrite it device removed 0x887A0006 after ~50 s (submission 10484)

In all three, 3 s before the removal the log carries the same block:

FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001
  for FFX_FSR4_PASS_21 … PASS_26, FFX_FSR4_SPD_AUTOEXPOSURE_PASS, FFX_FSR4_RCAS_PASS
  -- falling back to NewBE

and in one run the fault underneath it is the driver's own shader compiler:

larp: unhandled exception 0xc0000005 at amdxc64.dll+0x24a510 (read 0x8)
  #1 amd_fidelityfx_upscaler_dx12.dll+0x5e8f … #4 larp-patched.exe+0x4811d7

(The same amdxc64.dll shows up in the crash log of the Darner layer on this machine, 0xc0000005 at amdxc64.dll+0xcde91c, so it is not specific to larp's own code.)

What the chain looks like

  1. the title asks for its FSR4 compute pipelines through DeserializeComputePipelineState, which the layer answers E_NOTIMPL;
  2. the title falls back to compiling those FSR4 passes at runtime (NewBE);
  3. that compile goes through the AMD driver compiler (amdxc64.dll) and faults;
  4. the GPU is declared hung and the device is removed.

Two switches that do not avoid it

  • upscaler = off in settings.ini (the layer reports 4 of 103 options set: upscaler=off, upscaler_mode=quality, frame_generation=off) — FSR4 passes are still compiled at start.
  • Removing the title's own amd_fidelityfx_upscaler_xbox.dll from the game folder (renamed to .bak, layer logs host DLL: outside the host policy, refused dll="amd_fidelityfx_upscaler_xbox.dll") — the run then dies earlier with 0xc0000094 integer divide by zero at larp-image+0x28f03e8 (rcx=0, rdx=0), so something divides by a size that came from that module.

Ask

  1. Is DeserializeComputePipelineState implementable (return a real pipeline, or a pipeline the title can skip), so the title never falls into the runtime compile for FSR4 on RDNA2?
  2. If not, is there a way to make the title not initialise FSR4 at all on gfx10/gfx1030? upscaler=off does not cover it.
  3. Has anyone on RDNA2 got past world entry on v1.1.6? If yes, which driver and which settings.ini?

Logs and the minidump (Breakpad uploads game_scarlett_master-*.dmp) are available on request.

**@⁠kaseess** on GitHub · 2026-12-06 01:20 UTC · [original](https://github.com/gamingwithhomie/larp/issues/63#issuecomment-7449100334) ## RDNA2 / RX 6950 XT: v1.1.6-amd still removes the device — and the chain points at FSR4 pipeline compilation, not at the layer's draws Same machine as my earlier comment (RX 6950 XT 16 GB, gfx1030, Ryzen 5 5600X, 2×8 GB DDR4-3600, Windows 11 26300.9974, driver 32.0.21045.20006, Series S). Fresh **v1.1.6-windows-amd-FULL.zip**, SHA-256 `2538CA2B…AAB044`, `bin\larp.exe` 16,223,232 B SHA-256 `F14B3B35…AE11` — i.e. an unmodified official build, no local patches. ### Timeline | # | setup | result | |---|---|---| | 1 | first launch, empty cache | pipelines 60621/60621 done; second pass `22866` reached 5280 → **device removed 0x887A0006** after 35 min, `no host list for the mip handles' copies` | | 2 | `settings.ini`: `upscaler=off`, `frame_generation=off` | **device removed 0x887A0006** after ~60 s, `a host command list did not reset (0x887A0005)` | | 3 | `upscaler=off` enforced read-only so the title cannot rewrite it | **device removed 0x887A0006** after ~50 s (submission 10484) | In all three, 3 s before the removal the log carries the same block: ``` FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for FFX_FSR4_PASS_21 … PASS_26, FFX_FSR4_SPD_AUTOEXPOSURE_PASS, FFX_FSR4_RCAS_PASS -- falling back to NewBE ``` and in one run the fault underneath it is the driver's own shader compiler: ``` larp: unhandled exception 0xc0000005 at amdxc64.dll+0x24a510 (read 0x8) #1 amd_fidelityfx_upscaler_dx12.dll+0x5e8f … #4 larp-patched.exe+0x4811d7 ``` (The same `amdxc64.dll` shows up in the crash log of the Darner layer on this machine, `0xc0000005 at amdxc64.dll+0xcde91c`, so it is not specific to larp's own code.) ### What the chain looks like 1. the title asks for its FSR4 compute pipelines through `DeserializeComputePipelineState`, which the layer answers `E_NOTIMPL`; 2. the title falls back to compiling those FSR4 passes at runtime (NewBE); 3. that compile goes through the AMD driver compiler (`amdxc64.dll`) and faults; 4. the GPU is declared hung and the device is removed. ### Two switches that do **not** avoid it - `upscaler = off` in `settings.ini` (the layer reports `4 of 103 options set: upscaler=off, upscaler_mode=quality, frame_generation=off`) — FSR4 passes are still compiled at start. - Removing the title's own `amd_fidelityfx_upscaler_xbox.dll` from the game folder (renamed to `.bak`, layer logs `host DLL: outside the host policy, refused dll="amd_fidelityfx_upscaler_xbox.dll"`) — the run then dies earlier with **`0xc0000094` integer divide by zero** at `larp-image+0x28f03e8` (`rcx=0`, `rdx=0`), so something divides by a size that came from that module. ### Ask 1. Is `DeserializeComputePipelineState` implementable (return a real pipeline, or a pipeline the title can skip), so the title never falls into the runtime compile for FSR4 on RDNA2? 2. If not, is there a way to make the title not initialise FSR4 at all on gfx10/gfx1030? `upscaler=off` does not cover it. 3. Has anyone on RDNA2 got past world entry on v1.1.6? If yes, which driver and which `settings.ini`? Logs and the minidump (Breakpad uploads `game_scarlett_master-*.dmp`) are available on request.
Author
Owner

@⁠kaseess on GitHub · 2026-12-06 01:35 UTC · original

Addendum: DRED capture on the RX 6950 XT (Series X)

Same machine (RX 6950 XT, gfx1030, driver 32.0.21045.20006, Windows 11 26300.9974), official v1.1.6-amd, --console series-x, upscaler=off, LARP_D3D12_DRED=1. DRED does carry RDNA2 reports — thank you for that.

Timeline (UTC):

  • 01:27:19 start, intro at 60 fps, 3–12 draws/frame for ~45 s
  • 01:28:07.9 the world's first frame: 219 draws/frame, 135.9 ms
  • 01:28:31.1 device removed, 0x887A0006
host GPU device removed after 1 submissions sent ahead of 32 lists;
page fault at 0x1b6c38000; no title memory copy below it;
the nearest above: 0xd0436b280+0x120000 at host 0x3198c0000 (6137 copies in all);
view heap 0x100410000+0x1e84800: 0xb49a3800 past its end (slot 95687680);
sampler heap 0x102295000+0x8000: 0xb499b000 past its end (slot 189375232);
breadcrumbs (done/count, list) [... 132 lists, the ones that started all done == count,
  lists 16, 19, 20, 22, 24, 26, 28, 30, 31 at 0/N]

Two observations, stated only as far as the log goes:

  1. The faulting VA is in no allocation at all, below every title-memory copy, and every list that had started shows done == count, so no command is named — the same shape as the OP's and @⁠madaraXor's reports.
  2. near_heaps reports both heaps as past its end because the faulting VA simply lies above both heap ranges; I read that at first as a descriptor index running past the heap, but with the heap at 0x100410000 and the fault at 0x1b6c38000 the "slot" figure there is arithmetic, not a slot anyone used. So this run says nothing about descriptor indices — it is a shader reading an address the layer never mapped.

What would tell us more, if it is useful to you: something in the removal report that says whether 0x1b6c38000 was ever inside a host allocation (a title-memory copy, a sparse chunk, a plain buffer) and if so which one and when it was released — a use-after-free on a host buffer would look exactly like this. With --features diagnostics on the build we use, is there a counter or a shows/nullviews line that already answers that, or would a small patch be needed?

I have the build tree and the toolchain here, so I can run any diagnostic build you point at.

**@⁠kaseess** on GitHub · 2026-12-06 01:35 UTC · [original](https://github.com/gamingwithhomie/larp/issues/63#issuecomment-7449300243) ## Addendum: DRED capture on the RX 6950 XT (Series X) Same machine (RX 6950 XT, gfx1030, driver 32.0.21045.20006, Windows 11 26300.9974), official v1.1.6-amd, `--console series-x`, `upscaler=off`, `LARP_D3D12_DRED=1`. DRED does carry RDNA2 reports — thank you for that. Timeline (UTC): - 01:27:19 start, intro at 60 fps, 3–12 draws/frame for ~45 s - 01:28:07.9 the world's first frame: 219 draws/frame, 135.9 ms - 01:28:31.1 device removed, 0x887A0006 ``` host GPU device removed after 1 submissions sent ahead of 32 lists; page fault at 0x1b6c38000; no title memory copy below it; the nearest above: 0xd0436b280+0x120000 at host 0x3198c0000 (6137 copies in all); view heap 0x100410000+0x1e84800: 0xb49a3800 past its end (slot 95687680); sampler heap 0x102295000+0x8000: 0xb499b000 past its end (slot 189375232); breadcrumbs (done/count, list) [... 132 lists, the ones that started all done == count, lists 16, 19, 20, 22, 24, 26, 28, 30, 31 at 0/N] ``` Two observations, stated only as far as the log goes: 1. The faulting VA is in no allocation at all, below every title-memory copy, and every list that had started shows `done == count`, so no command is named — the same shape as the OP's and @⁠madaraXor's reports. 2. `near_heaps` reports both heaps as `past its end` because the faulting VA simply lies above both heap ranges; I read that at first as a descriptor index running past the heap, but with the heap at 0x100410000 and the fault at 0x1b6c38000 the "slot" figure there is arithmetic, not a slot anyone used. So this run says nothing about descriptor indices — it is a shader reading an address the layer never mapped. What would tell us more, if it is useful to you: something in the removal report that says whether 0x1b6c38000 was ever inside a host allocation (a title-memory copy, a sparse chunk, a plain buffer) and if so which one and when it was released — a use-after-free on a host buffer would look exactly like this. With `--features diagnostics` on the build we use, is there a counter or a `shows`/`nullviews` line that already answers that, or would a small patch be needed? I have the build tree and the toolchain here, so I can run any diagnostic build you point at.
Author
Owner

@⁠22tw on GitHub · 2026-12-06 01:39 UTC · original

RX 6800 XT 16 GB (RDNA2), driver 32.0.21045.29003, i7-13700K, 32 GB RAM, Windows 11 26300. Official v1.1.6-amd FULL, unmodified. Same device removal (0x887A0005 / 0x887A0006) on every run:

  • series-x: first pipeline pass 60623 finished, removed during the second pass (22866).
  • series-s: removed ~40 s after start, a host command list did not reset.
  • series-s + LARP_BYTE_VIEWS=0 + LARP_D3D12_DRED=1: removed after 26 s, same message.
**@⁠22tw** on GitHub · 2026-12-06 01:39 UTC · [original](https://github.com/gamingwithhomie/larp/issues/63#issuecomment-7449351791) RX 6800 XT 16 GB (RDNA2), driver 32.0.21045.29003, i7-13700K, 32 GB RAM, Windows 11 26300. Official v1.1.6-amd FULL, unmodified. Same device removal (0x887A0005 / 0x887A0006) on every run: - `series-x`: first pipeline pass 60623 finished, removed during the second pass (22866). - `series-s`: removed ~40 s after start, `a host command list did not reset`. - `series-s` + `LARP_BYTE_VIEWS=0` + `LARP_D3D12_DRED=1`: removed after 26 s, same message.
Author
Owner

@⁠AndreyDermen on GitHub · 2026-12-06 02:55 UTC · original

RX 6750 XT 12 GB (RDNA2), Ryzen [model], 16 GB, driver [version], Series S. Same removal on larp v1.1.0/v1.1.2-amd and on VIctory Bogdy v1.0.0 (built on larp amd-test f0d4e50). It also matches #193.

I have a second runtime on the same PC that does not crash, and it may help answer the mesh-shader question above.

Same pipelines, other runtime, no hang. In my Bogdy v1.0.0 crash the last pipelines created before removal include the ones listed in this thread: mesh 14b229d6926f3e6b, 3d8783a44ba8d08e, bcf61fb380f0b1c1, 02df3d73364d5969, 4c8d9b5bcc24f746, ffd403740726aafa, 8563c39d693b36d0, and compute 764ca63daec9c616. VIctory Bogdy v0.2.0-beta.22 (separate, non-larp runtime), with the same save, machine and driver, translates and builds those exact pipelines (host mesh pipeline shaders=[mesh 14b229d6926f3e6b], host pipeline shaders=[compute 764ca63daec9c616]) and runs 10–45 min sessions without a removal. So RDNA2 plus this driver can run these mesh shaders. The difference seems to be in what the larp path binds to them.

Same buffer, handled differently. Bogdy v1.0.0 logs the refused view a few seconds before removal:
unordered buffer view: the host would refuse it, left null format=39 first=10671200 count=0 stride=0 raw=true width=182452224
beta.22 sees the same 182,452,224-byte buffer, copies it whole into card memory, and never refuses a view on it:
a buffer's host copy is in the card's memory start=0x26e40000 len=182452224

Both logs are available if useful.

**@⁠AndreyDermen** on GitHub · 2026-12-06 02:55 UTC · [original](https://github.com/gamingwithhomie/larp/issues/63#issuecomment-7450308498) RX 6750 XT 12 GB (RDNA2), Ryzen [model], 16 GB, driver [version], Series S. Same removal on larp v1.1.0/v1.1.2-amd and on VIctory Bogdy v1.0.0 (built on larp amd-test f0d4e50). It also matches #193. I have a second runtime on the same PC that does **not** crash, and it may help answer the mesh-shader question above. **Same pipelines, other runtime, no hang.** In my Bogdy v1.0.0 crash the last pipelines created before removal include the ones listed in this thread: mesh `14b229d6926f3e6b`, `3d8783a44ba8d08e`, `bcf61fb380f0b1c1`, `02df3d73364d5969`, `4c8d9b5bcc24f746`, `ffd403740726aafa`, `8563c39d693b36d0`, and compute `764ca63daec9c616`. VIctory Bogdy v0.2.0-beta.22 (separate, non-larp runtime), with the same save, machine and driver, translates and builds those exact pipelines (`host mesh pipeline shaders=[mesh 14b229d6926f3e6b]`, `host pipeline shaders=[compute 764ca63daec9c616]`) and runs 10–45 min sessions without a removal. So RDNA2 plus this driver can run these mesh shaders. The difference seems to be in what the larp path binds to them. **Same buffer, handled differently.** Bogdy v1.0.0 logs the refused view a few seconds before removal: `unordered buffer view: the host would refuse it, left null format=39 first=10671200 count=0 stride=0 raw=true width=182452224` beta.22 sees the same 182,452,224-byte buffer, copies it whole into card memory, and never refuses a view on it: `a buffer's host copy is in the card's memory start=0x26e40000 len=182452224` Both logs are available if useful.
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#63
No description provided.