RX 9060 XT (RDNA4) | Host GPU device removed (DXGI_ERROR_DEVICE_HUNG) with page fault at 0x1a00b0000 in world #59

Open
opened 2026-11-26 03:48:45 +00:00 by github-bot · 35 comments
Owner

@⁠sjauijn on GitHub · 2026-11-23 23:59 UTC · original

Summary

The title boots, runs the menus at 30 fps and starts loading the world. From then on every frame takes several seconds (0.1-0.2 fps), and after about 5.5 minutes the host D3D12 device is removed (0x887A0006, TDR) following a GPU page fault. The debug layer reports no validation errors before the removal.

Environment

  • CPU: Ryzen 7 5700X
  • GPU: Radeon RX 9060 XT 16 GB (RDNA4), driver [version]
  • RAM: 16 GB DDR4
  • OS: [Windows 11, build 24H2]
  • Rust 1.98.1 (from rust-toolchain.toml), Visual Studio Build Tools 2026 v18.12.1
  • Build: cargo build --profile diag -p victory --features diagnostics
  • Title ID 7952987A, package folder v1.0.2.1, console mode Series X (default)
  • Executable BLAKE3 (VIctory prints build unknown): b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93
  • Windows "Graphics Tools" optional feature installed, so VICTORY_D3D12_DEBUG=1 works

Command

$env:VICTORY_LOG = "info"
$env:VICTORY_D3D12_DEBUG = "1"
$env:VICTORY_D3D12_DRED = "1"
victory.exe run "<game dir>\game_scarlett_master.exe" --execute

Timeline (timestamps are UTC, from the attached log)

Time Event
23:41:57 start; image and all 4 title DLLs mapped, imports bound with missing=0 everywhere
23:42:12 menus at 30 fps
23:43:07 drops to 0.6 fps
23:43:21 - 23:47:31 about 0.1 fps (roughly 9-10 s per frame)
23:47:36 - 23:48:08 about 0.2 fps (about 5.4 s per frame)
23:48:38 host GPU device removed (about 6m41s after start)

Two slow host submission warnings (335 ms for 33 lists, 254 ms for 25 lists) appear earlier.

Failure (from the log and crashes.log, process 7036)

  • HRESULT 0x887A0006 (DXGI_ERROR_DEVICE_HUNG)
  • host GPU device removed after a submission of 12 lists; page fault at 0x1a00b0000; no title memory copy below it
  • Nearest copy above that address: 0x2f3c0000+0xae00000 at host 0x26c0c0000 (614 copies in all)
  • a list stopped at command 109 of 232 (op 6), commands 108..110 between its barriers: command 109 (op 6): no marker. Other lists stopped at command 0 (op 46).
  • Because the stopped command has no marker, I could not tell which shader it was. crashes.log lists the dispatches and descriptor tables of the other lists in the submission.
  • D3D12 debug layer (VICTORY_D3D12_DEBUG=1): the only error is the RemoveDevice / DXGI_ERROR_DEVICE_HUNG message. Its other output is warnings only (pixel shader expects an RTV but the PSO has none, depth-stencil expected but none bound, ClearRenderTargetView clear values differ from the resource's).

Other warnings in the same log

  • 90 x shader does not translate; its pipelines' draws are dropped, among them:
    • a structured buffer of unknown stride is not supported (compute)
    • a 64-bit image atomic is not supported (pixel)
    • a lane-mask join of an untracked mask is not supported, a descriptor read only as data is not supported, a scalar memory read as data is not supported
    • followed by a dispatch without a host pipeline
  • a black frame after a frame that was not / levels after the black frame (5 times)
  • view the host does not allow unordered=true format=53 flags=2
  • buffer view not on an element of its host copy (2 times)
  • method not implemented object="device" for slots 0x218 and 0x1c8

Attachments

victory-console.txt

crashes.log

**@⁠sjauijn** on GitHub · 2026-11-23 23:59 UTC · [original](https://github.com/Marvisak/VIctory/issues/59) ## Summary The title boots, runs the menus at 30 fps and starts loading the world. From then on every frame takes several seconds (0.1-0.2 fps), and after about 5.5 minutes the host D3D12 device is removed (`0x887A0006`, TDR) following a GPU page fault. The debug layer reports no validation errors before the removal. ## Environment - CPU: Ryzen 7 5700X - GPU: Radeon RX 9060 XT 16 GB (RDNA4), driver [version] - RAM: 16 GB DDR4 - OS: [Windows 11, build 24H2] - Rust 1.98.1 (from `rust-toolchain.toml`), Visual Studio Build Tools 2026 v18.12.1 - Build: `cargo build --profile diag -p victory --features diagnostics` - Title ID `7952987A`, package folder `v1.0.2.1`, console mode Series X (default) - Executable BLAKE3 (VIctory prints `build unknown`): `b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93` - Windows "Graphics Tools" optional feature installed, so `VICTORY_D3D12_DEBUG=1` works ## Command ```powershell $env:VICTORY_LOG = "info" $env:VICTORY_D3D12_DEBUG = "1" $env:VICTORY_D3D12_DRED = "1" victory.exe run "<game dir>\game_scarlett_master.exe" --execute ``` ## Timeline (timestamps are UTC, from the attached log) | Time | Event | |------|-------| | 23:41:57 | start; image and all 4 title DLLs mapped, imports bound with `missing=0` everywhere | | 23:42:12 | menus at 30 fps | | 23:43:07 | drops to 0.6 fps | | 23:43:21 - 23:47:31 | about 0.1 fps (roughly 9-10 s per frame) | | 23:47:36 - 23:48:08 | about 0.2 fps (about 5.4 s per frame) | | 23:48:38 | host GPU device removed (about 6m41s after start) | Two `slow host submission` warnings (335 ms for 33 lists, 254 ms for 25 lists) appear earlier. ## Failure (from the log and `crashes.log`, process 7036) - HRESULT `0x887A0006` (`DXGI_ERROR_DEVICE_HUNG`) - `host GPU device removed after a submission of 12 lists; page fault at 0x1a00b0000; no title memory copy below it` - Nearest copy above that address: `0x2f3c0000+0xae00000 at host 0x26c0c0000 (614 copies in all)` - `a list stopped at command 109 of 232 (op 6), commands 108..110 between its barriers: command 109 (op 6): no marker`. Other lists stopped at command 0 (op 46). - Because the stopped command has no marker, I could not tell which shader it was. `crashes.log` lists the dispatches and descriptor tables of the other lists in the submission. - D3D12 debug layer (`VICTORY_D3D12_DEBUG=1`): the only error is the `RemoveDevice` / `DXGI_ERROR_DEVICE_HUNG` message. Its other output is warnings only (pixel shader expects an RTV but the PSO has none, depth-stencil expected but none bound, `ClearRenderTargetView` clear values differ from the resource's). ## Other warnings in the same log - 90 x `shader does not translate; its pipelines' draws are dropped`, among them: - `a structured buffer of unknown stride is not supported` (compute) - `a 64-bit image atomic is not supported` (pixel) - `a lane-mask join of an untracked mask is not supported`, `a descriptor read only as data is not supported`, `a scalar memory read as data is not supported` - followed by `a dispatch without a host pipeline` - `a black frame after a frame that was not` / `levels after the black frame` (5 times) - `view the host does not allow unordered=true format=53 flags=2` - `buffer view not on an element of its host copy` (2 times) - `method not implemented object="device"` for slots `0x218` and `0x1c8` ## Attachments [victory-console.txt](https://github.com/user-attachments/files/35304342/victory-console.txt) [crashes.log](https://github.com/user-attachments/files/35304344/crashes.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:48:45 +00:00
Author
Owner

@⁠Luislariosss on GitHub · 2026-11-24 00:16 UTC · original

Two placeholders in the Environment block are still empty: driver [version] and [Windows 11, build 24H2]. Could you fill them in? They separate driver behaviour from VIctory bugs, and on RDNA4 the exact Adrenalin and Windows driver version matters.

For reference, a different RX 9060 XT (gfx1200) on Windows 11 build 26200 reports:

GPU:       AMD Radeon RX 9060 XT, deviceId 30096, driverId 1 (AMD proprietary)
Driver:    Adrenalin 26.10.1 (LLPC), Windows driver 32.0.32015.7029
Vulkan:    subgroup_size 64, min 32, max 64, subgroupSizeControl true

Vulkan subgroup numbers, not a D3D12 datum, so read it only as "which card and driver". I do not have the game, so I am not claiming anything about the 0x1a00b0000 fault itself.

Two things that might narrow it down if you re-run with the diag build (both variables are read by the code):

  • VICTORY_D3D12_DRED=1 with VICTORY_GPU_TIMING=1 to see whether a specific list or draw precedes the fault.
  • VICTORY_D3D12_DEBUG=1 with VICTORY_D3D12_GBV=1 if you can afford the slowdown, for gap validation messages.

AI-assisted.

**@⁠Luislariosss** on GitHub · 2026-11-24 00:16 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7117891536) Two placeholders in the Environment block are still empty: `driver [version]` and `[Windows 11, build 24H2]`. Could you fill them in? They separate driver behaviour from VIctory bugs, and on RDNA4 the exact Adrenalin and Windows driver version matters. For reference, a different RX 9060 XT (gfx1200) on Windows 11 build `26200` reports: ``` GPU: AMD Radeon RX 9060 XT, deviceId 30096, driverId 1 (AMD proprietary) Driver: Adrenalin 26.10.1 (LLPC), Windows driver 32.0.32015.7029 Vulkan: subgroup_size 64, min 32, max 64, subgroupSizeControl true ``` Vulkan subgroup numbers, not a D3D12 datum, so read it only as "which card and driver". I do not have the game, so I am not claiming anything about the `0x1a00b0000` fault itself. Two things that might narrow it down if you re-run with the `diag` build (both variables are read by the code): - `VICTORY_D3D12_DRED=1` with `VICTORY_GPU_TIMING=1` to see whether a specific list or draw precedes the fault. - `VICTORY_D3D12_DEBUG=1` with `VICTORY_D3D12_GBV=1` if you can afford the slowdown, for gap validation messages. AI-assisted.
Author
Owner

@⁠gw1337x on GitHub · 2026-11-24 00:25 UTC · original

Same class of failure (world, GPU page fault below every host allocation) on RDNA3, with DRED data from a build based on current main. The signature differs from the one above: different address, and no list stopped mid-way.

Setup: RX 7800 XT 16 GB, driver 32.0.32015.7029, Windows 11 (26200), 31.6 GB RAM. diag build of 35b054e with #57, #40 and #67 merged locally (they merge cleanly), so this is not plain main. Note that #40 rewrites indirect.rs, and the work in flight below is indirect execution. VICTORY_D3D12_DRED=1, Series X mode, v1.0.2.1.

What happens: menus at 30 fps, then the opening cutscene shows at 1–2 fps. The screen goes blank and the device is removed 91 s after start (frame ~969).

Removal: host GPU device removed after a submission of 32 lists; page fault at 0x27ab000; no title memory copy below it; the nearest above: 0xd95840000+0x600000 at host 0x260980000 (789 copies in all). DRED names no allocation containing the address.

One observation, unverified: 0x27ab000 is smaller than the view heap's length (view heap 0x104f30000+0x2800000). Read as a byte offset at 32 bytes per descriptor, it would be slot 1,299,840, past the title's 1,245,184 slots in the dynamic part. So a heap offset may be used somewhere as an address. No user data in the marker notes has a value on that page.

Breadcrumbs: lists 0–20 are complete (list 19: 1834/1834). List 21 shows 0/2225 (op 46 BEGIN_COMMAND_LIST), and so do all later lists. So the fault is either at the tail of list 19 or the head of list 21.

  • Tail of list 19: indirect executions (kind 10 max 1) of mesh pipelines 413144fb9d62e37e/633c1f8872ed8c6d, 9630030a53ecd8ce/694a77a5281029ff and 1da1eb9822214321/44367a1e10f73bdf, each with a root3 view resolved to a host copy. Then dispatch 16x16x3 [compute ec982aaadc623a49].
  • Head of list 21: dispatch 16x1x1 [compute 9146291b38ea9ce1], two indirect kind 2 of the same compute shader, then indirect kind 10 mesh executions of 7972997d15fd9e69/9f14b72117e2abec.

Earlier on the same PC (d222b87, indirect execution off, no DRED), the device also hung in the world (0x887A0006, ~135 s). That run had no device-removed data, so its cause is unknown.

WARP (VICTORY_D3D12_WARP=1) doesn't reproduce this. It refuses 56 world compute pipelines with E_INVALIDARG, and fails earlier on its own null read inside WARP's compiled shader code. Skipping 010a50ce68d02c16 avoids that read, then another shader fails.

I can rerun on plain 35b054e, or with #70's VICTORY_SKIP_PIPELINES on the pipelines above, if that helps. A driver reset once took my whole PC down (this one didn't), so I'd keep it to a few targeted runs.

**@⁠gw1337x** on GitHub · 2026-11-24 00:25 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7118048315) Same class of failure (world, GPU page fault below every host allocation) on RDNA3, with DRED data from a build based on current `main`. The signature differs from the one above: different address, and no list stopped mid-way. **Setup:** RX 7800 XT 16 GB, driver 32.0.32015.7029, Windows 11 (26200), 31.6 GB RAM. `diag` build of `35b054e` with #57, #40 and #67 merged locally (they merge cleanly), so this is **not plain `main`**. Note that #40 rewrites `indirect.rs`, and the work in flight below is indirect execution. `VICTORY_D3D12_DRED=1`, Series X mode, v1.0.2.1. **What happens:** menus at 30 fps, then the opening cutscene shows at 1–2 fps. The screen goes blank and the device is removed 91 s after start (frame ~969). **Removal:** `host GPU device removed after a submission of 32 lists; page fault at 0x27ab000; no title memory copy below it; the nearest above: 0xd95840000+0x600000 at host 0x260980000 (789 copies in all)`. DRED names no allocation containing the address. One observation, unverified: `0x27ab000` is smaller than the view heap's length (`view heap 0x104f30000+0x2800000`). Read as a byte offset at 32 bytes per descriptor, it would be slot 1,299,840, past the title's 1,245,184 slots in the dynamic part. So a heap offset may be used somewhere as an address. No user data in the marker notes has a value on that page. **Breadcrumbs:** lists 0–20 are complete (list 19: 1834/1834). List 21 shows 0/2225 (op 46 `BEGIN_COMMAND_LIST`), and so do all later lists. So the fault is either at the tail of list 19 or the head of list 21. - **Tail of list 19:** indirect executions (`kind 10 max 1`) of mesh pipelines `413144fb9d62e37e`/`633c1f8872ed8c6d`, `9630030a53ecd8ce`/`694a77a5281029ff` and `1da1eb9822214321`/`44367a1e10f73bdf`, each with a `root3` view resolved to a host copy. Then `dispatch 16x16x3 [compute ec982aaadc623a49]`. - **Head of list 21:** `dispatch 16x1x1 [compute 9146291b38ea9ce1]`, two `indirect kind 2` of the same compute shader, then `indirect kind 10` mesh executions of `7972997d15fd9e69`/`9f14b72117e2abec`. **Earlier on the same PC** (`d222b87`, indirect execution off, no DRED), the device also hung in the world (0x887A0006, ~135 s). That run had no device-removed data, so its cause is unknown. **WARP (`VICTORY_D3D12_WARP=1`) doesn't reproduce this.** It refuses 56 world compute pipelines with E_INVALIDARG, and fails earlier on its own null read inside WARP's compiled shader code. Skipping `010a50ce68d02c16` avoids that read, then another shader fails. I can rerun on plain `35b054e`, or with #70's `VICTORY_SKIP_PIPELINES` on the pipelines above, if that helps. A driver reset once took my whole PC down (this one didn't), so I'd keep it to a few targeted runs.
Author
Owner

@⁠Numbers-iwnl on GitHub · 2026-11-24 00:38 UTC · original

Second RDNA4 part, same stage and nearly the same address — plus a stock-clock control that rules out tuning instability.

Hardware: Windows 11 (26300), Ryzen 7 5700X3D, 32 GB, RX 9070 XT (RDNA4, gfx1201), driver 32.0.32029.2010 (Adrenalin 26.11.2), ReBAR on.
Build: main at b99f876, cargo build --profile diag -p victory --features diagnostics, Rust 1.98.1, MSVC 19.44.
Input: physical Xbox 360 pad, driven by hand through the first-boot wizard.

It renders the opening before it dies

Loading completes and the intro card renders — the frame reads "VICE CITY, TWO YEARS AGO" — with the title reporting 463 draws/frame at 7.1 s/frame (0.14 fps). Then the picture freezes and the host device comes out. The menus before it are rock solid: 30.0 fps, 33.3 ms/frame, 21 draws/frame, held for minutes with no device loss.

Two runs, same fault, different clocks

run A: GPU tuning on run B: stock
Tuning voltage offset −75 mV, VRAM 2618 MHz, power limit +10 %, custom fan curve Adrenalin Default preset, every tuning section off
Page fault 0x1a00c4000 0x1a00c4000
Submission 25 lists 10 lists
List stopped at command 109 of 233 (op 6) command 109 of 180 (op 6)
Failing command dispatch 3x1x1 [compute ab619d0b7b7684d2] dispatch 5x1x1 [compute ab619d0b7b7684d2]
Nearest title mapping above 0x3daa0000+0xae00000 at host 0x26f800000 (487 copies) 0x3ff50000+0xae00000 at host 0x26f800000 (480 copies)

Same GPU virtual address, same compute shader, same command index, on stock clocks and on an undervolt/VRAM overclock. So the fault is not a voltage or memory-clock stability problem — it is reproducible independent of tuning on this part.

Related: #59 (RX 9060 XT) reports 0x1a00b0000 at the same stage, i.e. within 0x4000 of this one on a different RDNA4 die, which suggests one address-computation problem rather than two.

Reproducing

set VICTORY_CONFIG=<path outside the repo>
set VICTORY_D3D12_DRED=1
victory.exe run <game dir>\game_scarlett_master.exe --execute

A pad must be connected and the wizard walked by hand; the account picker and settings pages accept no synthetic input.

AI-assisted — agent: yes.

**@⁠Numbers-iwnl** on GitHub · 2026-11-24 00:38 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7118288361) Second RDNA4 part, same stage and nearly the same address — plus a stock-clock control that rules out tuning instability. **Hardware:** Windows 11 (26300), Ryzen 7 5700X3D, 32 GB, **RX 9070 XT (RDNA4, gfx1201)**, driver 32.0.32029.2010 (Adrenalin 26.11.2), ReBAR on. **Build:** `main` at `b99f876`, `cargo build --profile diag -p victory --features diagnostics`, Rust 1.98.1, MSVC 19.44. **Input:** physical Xbox 360 pad, driven by hand through the first-boot wizard. ## It renders the opening before it dies Loading completes and the intro card renders — the frame reads **"VICE CITY, TWO YEARS AGO"** — with the title reporting **463 draws/frame at 7.1 s/frame** (0.14 fps). Then the picture freezes and the host device comes out. The menus before it are rock solid: 30.0 fps, 33.3 ms/frame, 21 draws/frame, held for minutes with no device loss. ## Two runs, same fault, different clocks | | run A: GPU tuning on | run B: stock | |---|---|---| | Tuning | voltage offset **−75 mV**, VRAM **2618 MHz**, power limit **+10 %**, custom fan curve | Adrenalin **Default** preset, every tuning section off | | Page fault | `0x1a00c4000` | **`0x1a00c4000`** | | Submission | 25 lists | 10 lists | | List stopped at | command **109 of 233** (op 6) | command **109 of 180** (op 6) | | Failing command | `dispatch 3x1x1 [compute ab619d0b7b7684d2]` | `dispatch 5x1x1 [compute ab619d0b7b7684d2]` | | Nearest title mapping above | `0x3daa0000+0xae00000` at host `0x26f800000` (487 copies) | `0x3ff50000+0xae00000` at host `0x26f800000` (480 copies) | Same GPU virtual address, same compute shader, same command index, on stock clocks and on an undervolt/VRAM overclock. So the fault is not a voltage or memory-clock stability problem — it is reproducible independent of tuning on this part. Related: #59 (RX 9060 XT) reports `0x1a00b0000` at the same stage, i.e. within 0x4000 of this one on a different RDNA4 die, which suggests one address-computation problem rather than two. ## Reproducing ``` set VICTORY_CONFIG=<path outside the repo> set VICTORY_D3D12_DRED=1 victory.exe run <game dir>\game_scarlett_master.exe --execute ``` A pad must be connected and the wizard walked by hand; the account picker and settings pages accept no synthetic input. AI-assisted — agent: yes.
Author
Owner

@⁠gw1337x on GitHub · 2026-11-24 00:57 UTC · original

Follow-up on the RX 7800 XT data above, now on main at 9aef3d9 (plus #40 and #67 merged locally, and diagnostics switches). Two findings.

1. On current main the world faults at ~58 s in a depth-pyramid compute pass

Two runs, same build, with and without the change in section 2. Both fault at ~58 s:

  • page fault at 0x3810000 / 0x3813000
  • no title memory copy below it, and no DRED allocation

In the second run, DRED stopped mid-list: a list stopped at command 11 of 34 (op 6), the dispatch in flight:

dispatch 128x64x1 [compute 2dc602192abf6288]
  Srv s1+8:  2560x1440 f19 flags 0x2   (the depth buffer, R32G8X24_TYPELESS)
  Uav s1+16, +24, +32, +40: 1024x512 f41 flags 0x4   (4 mips of an R32_FLOAT target)
  Cbv s2+0: Constants

The rest of that list is the same pyramid continuing: 82849f7a614208eb 8x4x1, 9afd549c4f530901 1x1x1, then 362753554f3ad60b and aff43dffcb37574e.

I checked one idea, a UAV MipSlice past the host texture's MipLevels, with a probe in descriptor::host::make. It never fired on WARP. That's inconclusive, though: WARP refuses 2dc602192abf6288 (E_INVALIDARG, a WaveSize shader), so the pass never runs there.

2. The earlier 0x27ab000 fault looks like a missing heap base after the indirect clamp

0x27ab000 is the byte offset of view-heap dynamic slot 54,656 (title slots 1,245,184 + 54,656, 32 bytes each), with no heap base added. The host view heap itself is at 0x104f30000+0x2800000. The work in flight was only ExecuteIndirect mesh dispatches (kind 10) and kind-2 dispatches.

In State::execute_indirect, indirect::bound binds its own compute root signature and pipeline. Afterwards only host_pipeline and host_roots[1] are reset. So kind-2 dispatches re-set their compute root signature, but kind-10 mesh dispatches reuse the graphics root signature and heaps from before the clamp.

Results on 35b054e + #57/#40/#67:

  • VICTORY_NO_INDIRECT_MESH (dropping kind 10): no page fault, frame 1144 vs 969.
  • Resetting host_heaps = [0; 2] after bound (heaps and both root signatures set again before the indirect command): kind 10 ran ~2,000 times with no heap-offset fault on 9aef3d9.

The section 1 fault now comes first, at 58 s, with or without the reset. So I can't call the reset a proven fix, only that it removed one fault signature and costs one SetDescriptorHeaps per indirect command:

// draw.rs, State::execute_indirect, after indirect::bound(...)
self.host_pipeline = 0;
self.host_roots[1] = 0;
self.host_heaps = [0; 2]; // heaps and both root signatures again

A heap/root-order probe on WARP found no draw or dispatch with the view heap unset, or with the root signature set before the heaps, in about 1,050 frames. So the heap tracking itself looks right, which points at the driver needing them re-set after the clamp's pipeline.

Logs, DRED text and the probes are available if useful. I'd rather not run many more real-GPU tests here: one driver reset took the whole PC down.

**@⁠gw1337x** on GitHub · 2026-11-24 00:57 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7118609777) Follow-up on the RX 7800 XT data above, now on `main` at `9aef3d9` (plus #40 and #67 merged locally, and diagnostics switches). Two findings. ### 1. On current main the world faults at ~58 s in a depth-pyramid compute pass Two runs, same build, with and without the change in section 2. Both fault at ~58 s: - `page fault at 0x3810000` / `0x3813000` - `no title memory copy below it`, and no DRED allocation In the second run, DRED stopped mid-list: `a list stopped at command 11 of 34 (op 6)`, the dispatch in flight: ``` dispatch 128x64x1 [compute 2dc602192abf6288] Srv s1+8: 2560x1440 f19 flags 0x2 (the depth buffer, R32G8X24_TYPELESS) Uav s1+16, +24, +32, +40: 1024x512 f41 flags 0x4 (4 mips of an R32_FLOAT target) Cbv s2+0: Constants ``` The rest of that list is the same pyramid continuing: `82849f7a614208eb` 8x4x1, `9afd549c4f530901` 1x1x1, then `362753554f3ad60b` and `aff43dffcb37574e`. I checked one idea, a UAV `MipSlice` past the host texture's `MipLevels`, with a probe in `descriptor::host::make`. It never fired on WARP. That's inconclusive, though: WARP refuses `2dc602192abf6288` (E_INVALIDARG, a WaveSize shader), so the pass never runs there. ### 2. The earlier `0x27ab000` fault looks like a missing heap base after the indirect clamp `0x27ab000` is the byte offset of view-heap dynamic slot 54,656 (title slots 1,245,184 + 54,656, 32 bytes each), with no heap base added. The host view heap itself is at `0x104f30000+0x2800000`. The work in flight was only `ExecuteIndirect` mesh dispatches (kind 10) and kind-2 dispatches. In `State::execute_indirect`, `indirect::bound` binds its own compute root signature and pipeline. Afterwards only `host_pipeline` and `host_roots[1]` are reset. So kind-2 dispatches re-set their compute root signature, but kind-10 mesh dispatches reuse the graphics root signature and heaps from before the clamp. Results on `35b054e` + #57/#40/#67: - **`VICTORY_NO_INDIRECT_MESH`** (dropping kind 10): no page fault, frame 1144 vs 969. - **Resetting `host_heaps = [0; 2]` after `bound`** (heaps and both root signatures set again before the indirect command): kind 10 ran ~2,000 times with no heap-offset fault on `9aef3d9`. The section 1 fault now comes first, at 58 s, with or without the reset. So I can't call the reset a proven fix, only that it removed one fault signature and costs one `SetDescriptorHeaps` per indirect command: ```rust // draw.rs, State::execute_indirect, after indirect::bound(...) self.host_pipeline = 0; self.host_roots[1] = 0; self.host_heaps = [0; 2]; // heaps and both root signatures again ``` A heap/root-order probe on WARP found no draw or dispatch with the view heap unset, or with the root signature set before the heaps, in about 1,050 frames. So the heap tracking itself looks right, which points at the driver needing them re-set after the clamp's pipeline. Logs, DRED text and the probes are available if useful. I'd rather not run many more real-GPU tests here: one driver reset took the whole PC down.
Author
Owner

@⁠hashdev512 on GitHub · 2026-11-24 01:05 UTC · original

Another RX 9070 XT run with DRED, on current main. This time a list stops mid-way inside one mesh pipeline that translates cleanly, so the stopped command does have a marker.

Setup: Ryzen 7 5700X3D, RX 9070 XT (RDNA4), driver 32.0.32029.2010, Windows 11 build 26300. main at 4c0bb89, plus a local rename of the second mod tests in victory-gpu/src/host.rs so the tests compile (same fix as #129; it changes only test code). cargo build --profile diag -p victory --features diagnostics, Rust 1.98.1. Series X mode, title 7952987A v1.0.2.1, executable BLAKE3 b99f876b…39e93. VICTORY_D3D12_DRED=1. VICTORY_D3D12_DEBUG=1 was also set, but Graphics Tools was not installed yet, so the debug layer did not load (0x887A002D). A debug-layer run follows.

Timeline: start 00:55:18 UTC, first mesh pipeline bound at 00:55:24 (pipelines were cached from an earlier release run), device removed at 00:56:40. 789 shaders translated, 97 refused. A release build run before this one got further (frame 2938) and was removed with no breadcrumbs at all.

DRED:

  • host GPU device removed after a submission of 25 lists; page fault at 0x70000378f000
  • nearest title memory copy below it: 0xd2072ffd0+0x20000 at host 0x53ff90000; the address is far past the end of the view heap (0x1000f0000+0x2800000) and the sampler heap
  • breadcrumbs: the lists before it are complete; list Some(3) stopped at command 320 of 641 (op 42); lists Some(4) to Some(24) are at 0
  • commands 301..323 between its barriers are all direct mesh draws (mesh 1…mesh 18 groups) of one pipeline: mesh 7eefb872d56bb1d8 + pixel 8c5512c9589ff899, root3 0x76a4c0000; command 320 is mesh 16
  • neither shader is among the 97 refused ones, so this is a translated shader reading a bad address, not a dropped one

Compared with the other reports in this issue (0x1a00b0000, 0x3810000, both low and below every copy), this address has a high 0x7000_0000_0000 part. That looks like a 64-bit address whose high half is wrong. That is a hypothesis only; I have not traced it.

Next I'm running it again with the debug layer, then with VICTORY_SKIP_PIPELINES=7eefb872d56bb1d8 to see whether the fault moves.

AI-assisted (Claude Opus 5.5): logs read and summarised by the model, numbers checked against the log by grep.

**@⁠hashdev512** on GitHub · 2026-11-24 01:05 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7118745330) Another RX 9070 XT run with DRED, on current `main`. This time a list stops mid-way inside one mesh pipeline that translates cleanly, so the stopped command does have a marker. **Setup:** Ryzen 7 5700X3D, RX 9070 XT (RDNA4), driver 32.0.32029.2010, Windows 11 build 26300. `main` at `4c0bb89`, plus a local rename of the second `mod tests` in `victory-gpu/src/host.rs` so the tests compile (same fix as #129; it changes only test code). `cargo build --profile diag -p victory --features diagnostics`, Rust 1.98.1. Series X mode, title `7952987A` v1.0.2.1, executable BLAKE3 `b99f876b…39e93`. `VICTORY_D3D12_DRED=1`. `VICTORY_D3D12_DEBUG=1` was also set, but Graphics Tools was not installed yet, so the debug layer did not load (`0x887A002D`). A debug-layer run follows. **Timeline:** start 00:55:18 UTC, first mesh pipeline bound at 00:55:24 (pipelines were cached from an earlier release run), device removed at 00:56:40. 789 shaders translated, 97 refused. A release build run before this one got further (frame 2938) and was removed with no breadcrumbs at all. **DRED:** - `host GPU device removed after a submission of 25 lists; page fault at 0x70000378f000` - nearest title memory copy below it: `0xd2072ffd0+0x20000 at host 0x53ff90000`; the address is far past the end of the view heap (`0x1000f0000+0x2800000`) and the sampler heap - breadcrumbs: the lists before it are complete; list `Some(3)` stopped at **command 320 of 641 (op 42)**; lists `Some(4)` to `Some(24)` are at 0 - commands 301..323 between its barriers are all direct mesh draws (`mesh 1`…`mesh 18` groups) of **one pipeline: mesh `7eefb872d56bb1d8` + pixel `8c5512c9589ff899`**, root3 `0x76a4c0000`; command 320 is `mesh 16` - neither shader is among the 97 refused ones, so this is a translated shader reading a bad address, not a dropped one Compared with the other reports in this issue (`0x1a00b0000`, `0x3810000`, both low and below every copy), this address has a high `0x7000_0000_0000` part. That looks like a 64-bit address whose high half is wrong. That is a hypothesis only; I have not traced it. Next I'm running it again with the debug layer, then with `VICTORY_SKIP_PIPELINES=7eefb872d56bb1d8` to see whether the fault moves. _AI-assisted (Claude Opus 5.5): logs read and summarised by the model, numbers checked against the log by grep._
Author
Owner

@⁠bobcatchris on GitHub · 2026-11-24 01:07 UTC · original

Same failure family on RDNA3 / RX 7900 XTX (16 GB, driver 32.0.32029.2010 = Adrenalin 26.11.2, Windows 11), after the driver update that stopped the machine-wide freezes — so no reset this time, but the host device is still removed at world entry. Data point for the 0x38xxxxx cluster.

Setup: current main at 9aef3d9 + local rename of the second mod tests in victory-gpu/src/host.rs (the #129 fix), cargo build --profile diag -p victory --features diagnostics, our copy of the 1.0.2.1 executable (BLAKE3 b99f876b…239e93), VICTORY_D3D12_DRED=1, Series X, scripted keys through the first-boot screens. World entry at ~55 s, device removed at ~58 s.

DRED:

  • unpatched: page fault at 0x38a7000, no title-memory copy below it, nearest above 0xf5b0000+0xae00000; 2dc602192abf6288 was bound 2 s earlier (the same depth-pyramid shader as your RX 7800 XT follow-up).
  • with VICTORY_SKIP_PIPELINES=2dc602192abf6288: the fault moves to 0x3856000, still in the same 0x38xxxxx region, nearest above 0x17be0000+0xae00000. So this is not one program: several passes dereference the same unmapped title address window.

That narrows it to the shadow/copy layer around title VA 0x3800000, not to shader translation. The addresses in your reports (0x3810000/0x3813000 on the 7800 XT, 0x27ab000/0x1a00b0000 elsewhere) are different windows but the same signature: a guest VA with no host copy below it.

Happy to run the next diagnostic on this machine (machine freezes no longer occur with the new driver; the app exits cleanly with 0x887A0006). Say which probe you want. AI-assisted.

**@⁠bobcatchris** on GitHub · 2026-11-24 01:07 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7118786909) Same failure family on **RDNA3 / RX 7900 XTX** (16 GB, driver 32.0.32029.2010 = Adrenalin 26.11.2, Windows 11), after the driver update that stopped the machine-wide freezes — so no reset this time, but the host device is still removed at world entry. Data point for the `0x38xxxxx` cluster. Setup: current `main` at `9aef3d9` + local rename of the second `mod tests` in `victory-gpu/src/host.rs` (the #129 fix), `cargo build --profile diag -p victory --features diagnostics`, our copy of the 1.0.2.1 executable (BLAKE3 `b99f876b…239e93`), `VICTORY_D3D12_DRED=1`, Series X, scripted keys through the first-boot screens. World entry at ~55 s, device removed at ~58 s. DRED: - unpatched: `page fault at 0x38a7000`, no title-memory copy below it, nearest above `0xf5b0000+0xae00000`; `2dc602192abf6288` was bound 2 s earlier (the same depth-pyramid shader as your RX 7800 XT follow-up). - with `VICTORY_SKIP_PIPELINES=2dc602192abf6288`: the fault **moves to `0x3856000`**, still in the same `0x38xxxxx` region, nearest above `0x17be0000+0xae00000`. So this is not one program: several passes dereference the same unmapped title address window. That narrows it to the shadow/copy layer around title VA `0x3800000`, not to shader translation. The addresses in your reports (`0x3810000`/`0x3813000` on the 7800 XT, `0x27ab000`/`0x1a00b0000` elsewhere) are different windows but the same signature: a guest VA with no host copy below it. Happy to run the next diagnostic on this machine (machine freezes no longer occur with the new driver; the app exits cleanly with 0x887A0006). Say which probe you want. AI-assisted.
Author
Owner

@⁠hashdev512 on GitHub · 2026-11-24 01:10 UTC · original

Follow-up to my comment above: same machine and build, now with Graphics Tools installed, so VICTORY_D3D12_DEBUG=1 and VICTORY_D3D12_DRED=1 were both active.

The fault signature changed. Started at 01:06:22 UTC; the device was removed at 01:07:47 (DXGI_ERROR_DEVICE_HUNG, 0x887A0006):

  • host GPU device removed after a submission of 1 lists; page fault at 0x380e000; no title memory copy below it; the nearest copy above is 0xdc5952000+0x802000 (776 copies in all)
  • a list stopped at command 718 of 1364 (op 5) ... command 718 (op 5): no marker; the list's recorded work is compute dispatches (186de5778eb555c8, b585907117661f1b, dc20f390c4354fb4, all translated)

This matches the low-address compute fault @⁠gw1337x found on the RX 7800 XT (0x3810000 / 0x3813000), not the mesh-draw fault at 0x70000378f000 from my previous run. So this one machine shows both signatures, and which one appears changes from run to run.

What the debug layer reports before the removal (no CORRUPTION messages):

  • 78 resource-state errors (severity 1), all on one resource, title buffer 0x17230000+0xae00000:

    • 21 × id 538: IASetVertexBuffers while the buffer is in UNORDERED_ACCESS; the expected state is VERTEX_AND_CONSTANT_BUFFER
    • 51 × id 527: a transition barrier's before-state UNORDERED_ACCESS does not match the tracked state VERTEX_AND_CONSTANT_BUFFER (30 "assumed at first use", 21 "specified in preceding ResourceBarrier or as InitialState")
    • 6 × id 527: the same, with the state promoted from COMMON
    • the first of these is at 01:07:00, 47 s before the removal

    So in some lists the buffer is written as a UAV and then read as a vertex buffer without the transition that would make the writes visible. I have not shown that this causes the fault, but stale vertex data in that range is one way a shader could end up with a bad address.

  • Pipeline library: 158 × id 970 (StorePipeline: a pipeline with name … already exists) and 157 × id 972 (Load*Pipeline: the pipeline state desc provided does not match the one used to create the PSO stored with name …), across 119 names, plus 316 × id 971 (no pipeline stored under the name). Two different descs end up stored and looked up under one name, so the pipeline cache key appears to miss some field of the desc. These are warnings (severity 2), and I can't tell whether the PSO loaded is ever the wrong one.

  • Otherwise only a few id 679 (no RTV bound for the pixel shader) and id 820 (clear values differ).

125 shaders refused in this run, against 97 last time; the world streamed in further.

Next: VICTORY_SKIP_PIPELINES=7eefb872d56bb1d8, to see whether the mesh-draw signature goes away.

AI-assisted (Claude Opus 5.5): logs read and summarised by the model, counts taken with grep over the log.

**@⁠hashdev512** on GitHub · 2026-11-24 01:10 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7118826152) Follow-up to my comment above: same machine and build, now with Graphics Tools installed, so `VICTORY_D3D12_DEBUG=1` and `VICTORY_D3D12_DRED=1` were both active. **The fault signature changed.** Started at 01:06:22 UTC; the device was removed at 01:07:47 (`DXGI_ERROR_DEVICE_HUNG`, `0x887A0006`): - `host GPU device removed after a submission of 1 lists; page fault at 0x380e000; no title memory copy below it`; the nearest copy above is `0xdc5952000+0x802000` (776 copies in all) - `a list stopped at command 718 of 1364 (op 5) ... command 718 (op 5): no marker`; the list's recorded work is compute dispatches (`186de5778eb555c8`, `b585907117661f1b`, `dc20f390c4354fb4`, all translated) This matches the low-address compute fault @⁠gw1337x found on the RX 7800 XT (`0x3810000` / `0x3813000`), not the mesh-draw fault at `0x70000378f000` from my previous run. So this one machine shows both signatures, and which one appears changes from run to run. **What the debug layer reports before the removal** (no CORRUPTION messages): - **78 resource-state errors (severity 1), all on one resource, `title buffer 0x17230000+0xae00000`:** - 21 × id 538: `IASetVertexBuffers` while the buffer is in `UNORDERED_ACCESS`; the expected state is `VERTEX_AND_CONSTANT_BUFFER` - 51 × id 527: a transition barrier's before-state `UNORDERED_ACCESS` does not match the tracked state `VERTEX_AND_CONSTANT_BUFFER` (30 "assumed at first use", 21 "specified in preceding ResourceBarrier or as InitialState") - 6 × id 527: the same, with the state promoted from `COMMON` - the first of these is at 01:07:00, 47 s before the removal So in some lists the buffer is written as a UAV and then read as a vertex buffer without the transition that would make the writes visible. I have not shown that this causes the fault, but stale vertex data in that range is one way a shader could end up with a bad address. - **Pipeline library:** 158 × id 970 (`StorePipeline: a pipeline with name … already exists`) and 157 × id 972 (`Load*Pipeline: the pipeline state desc provided does not match the one used to create the PSO stored with name …`), across 119 names, plus 316 × id 971 (no pipeline stored under the name). Two different descs end up stored and looked up under one name, so the pipeline cache key appears to miss some field of the desc. These are warnings (severity 2), and I can't tell whether the PSO loaded is ever the wrong one. - Otherwise only a few id 679 (no RTV bound for the pixel shader) and id 820 (clear values differ). 125 shaders refused in this run, against 97 last time; the world streamed in further. Next: `VICTORY_SKIP_PIPELINES=7eefb872d56bb1d8`, to see whether the mesh-draw signature goes away. _AI-assisted (Claude Opus 5.5): logs read and summarised by the model, counts taken with grep over the log._
Author
Owner

@⁠bobcatchris on GitHub · 2026-11-24 01:13 UTC · original

Follow-up on current upstream main (d2a4bae, with #129 merged): same world-entry failure on RX 7900 XTX / driver 32.0.32029.2010. Menus run 28-30 fps with correct rendered art (captured the first-boot UI and the Vice City flamingo/title-card frame from the package at 1920x1080), then the host device is removed with page fault at 0x3848000 - same 0x38xxxxx family as the earlier 0x38a7000/0x3856000 runs. No machine reset this driver, app exits cleanly. This confirms the fault is still present on latest main and not tied to one shader (skipping 2dc602... moved the address within the same window). AI-assisted.

**@⁠bobcatchris** on GitHub · 2026-11-24 01:13 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7118886629) Follow-up on current upstream main (d2a4bae, with #129 merged): same world-entry failure on RX 7900 XTX / driver 32.0.32029.2010. Menus run 28-30 fps with correct rendered art (captured the first-boot UI and the Vice City flamingo/title-card frame from the package at 1920x1080), then the host device is removed with page fault at 0x3848000 - same 0x38xxxxx family as the earlier 0x38a7000/0x3856000 runs. No machine reset this driver, app exits cleanly. This confirms the fault is still present on latest main and not tied to one shader (skipping 2dc602... moved the address within the same window). AI-assisted.
Author
Owner

@⁠hashdev512 on GitHub · 2026-11-24 01:20 UTC · original

Third run on the RX 9070 XT: same build, VICTORY_SKIP_PIPELINES=7eefb872d56bb1d8 and VICTORY_D3D12_DRED=1 (no debug layer, the same switches as my first run).

Skipping that pipeline does not prevent the fault, it only moves it. The world got further (past frame 2048, 11,278 draws all executed; 1161 shaders translated, 267 refused), and the device was removed about 2 min 20 s after start (01:13:28 UTC):

  • host GPU device removed after a submission of 32 lists; page fault at 0x800003792000, far past the end of both heaps
  • a list stopped at command 107 of 109 (op 5): command 107: indirect kind 10 max 1 (an indirect mesh draw) of a different pipeline, mesh ae9ee9074f2e971f + pixel 1cb9d385ac8987c4, with u13=0x0

The low 32 bits of the faulting addresses fall in one narrow range. Every fault from my three runs, and both of @⁠gw1337x's RX 7800 XT faults, land inside about 540 KB once the high half is ignored:

Run Page fault Low 32 bits
9070 XT, DRED 0x70000378f000 0x0378f000
9070 XT, DRED + debug layer 0x380e000 0x0380e000
9070 XT, DRED, pipeline skipped 0x800003792000 0x03792000
7800 XT (gw1337x) 0x3810000 / 0x3813000 0x03810000 / 0x03813000

The high half is 0, 0x7000 or 0x8000. My reading, which I have not checked against the code: some address is built as a base of about 56 MB (~0x3800000) plus something, where that something is either zero or junk in the upper 32 bits. That could be a 64-bit pointer assembled from two SGPRs where the high one is never written, or a root or user-data value that is 0 when the shader expects a real base. Two different mesh pipelines and one compute pass end up at the same low address, so the bug is probably in one place that they all go through, not in a single shader. (The 0x1a00b0000 fault in the original report does not fit this pattern.)

Warning for other RDNA4 testers. After this removal the display went black and did not recover: no TDR recovery, and the PC needed a hard power-off. The first two removals on this machine recovered by themselves. Use VICTORY_D3D12_WARP=1 if you can't afford that.

AI-assisted (Claude Opus 5.5): logs read and summarised by the model, addresses and counts taken from the logs with grep; the address-pattern reading is a hypothesis.

**@⁠hashdev512** on GitHub · 2026-11-24 01:20 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7119002879) Third run on the RX 9070 XT: same build, `VICTORY_SKIP_PIPELINES=7eefb872d56bb1d8` and `VICTORY_D3D12_DRED=1` (no debug layer, the same switches as my first run). **Skipping that pipeline does not prevent the fault, it only moves it.** The world got further (past frame 2048, 11,278 draws all executed; 1161 shaders translated, 267 refused), and the device was removed about 2 min 20 s after start (01:13:28 UTC): - `host GPU device removed after a submission of 32 lists; page fault at 0x800003792000`, far past the end of both heaps - `a list stopped at command 107 of 109 (op 5)`: `command 107: indirect kind 10 max 1` (an indirect mesh draw) of a different pipeline, mesh `ae9ee9074f2e971f` + pixel `1cb9d385ac8987c4`, with `u13=0x0` **The low 32 bits of the faulting addresses fall in one narrow range.** Every fault from my three runs, and both of @⁠gw1337x's RX 7800 XT faults, land inside about 540 KB once the high half is ignored: | Run | Page fault | Low 32 bits | |-----|-----------|-------------| | 9070 XT, DRED | `0x70000378f000` | `0x0378f000` | | 9070 XT, DRED + debug layer | `0x380e000` | `0x0380e000` | | 9070 XT, DRED, pipeline skipped | `0x800003792000` | `0x03792000` | | 7800 XT (gw1337x) | `0x3810000` / `0x3813000` | `0x03810000` / `0x03813000` | The high half is `0`, `0x7000` or `0x8000`. My reading, which I have not checked against the code: some address is built as a base of about 56 MB (`~0x3800000`) plus something, where that something is either zero or junk in the upper 32 bits. That could be a 64-bit pointer assembled from two SGPRs where the high one is never written, or a root or user-data value that is 0 when the shader expects a real base. Two different mesh pipelines and one compute pass end up at the same low address, so the bug is probably in one place that they all go through, not in a single shader. (The `0x1a00b0000` fault in the original report does not fit this pattern.) **Warning for other RDNA4 testers.** After this removal the display went black and did **not** recover: no TDR recovery, and the PC needed a hard power-off. The first two removals on this machine recovered by themselves. Use `VICTORY_D3D12_WARP=1` if you can't afford that. _AI-assisted (Claude Opus 5.5): logs read and summarised by the model, addresses and counts taken from the logs with grep; the address-pattern reading is a hypothesis._
Author
Owner

@⁠dareknielubivalve-droid on GitHub · 2026-11-24 01:30 UTC · original · edited 2026-11-24 01:36 UTC

Hope this helps. I've got the same error output as you. Different fault adress though. 0x1a00b0000 - 0x374c000

Seeing what looks like the same failure on an RX 9070 XT (driver 26.11.1, 25h2 os build 26200.9974).

World loading becomes very slow, then the device is removed (0x887A0006) after a GPU page fault at 0x374c000.

I built with --profile diag --features diagnostics and ran with VICTORY_D3D12_DEBUG=1, VICTORY_D3D12_DRED=1 and VICTORY_LOG=debug. The log says:

  • the list stopped at command 108 of 165
  • the command is an indirect compute dispatch (indirect kind 2 max 1) of shader cabb87599722e59a
  • several consecutive dispatches of that shader have null descriptors (u4/u5 heap null, Uav s1+96: uav None)
  • some constant buffers contain NaN and denormals

Key line:

host GPU device removed after a submission of 1 lists; page fault at 0x374c000; no title memory copy below it ... a list stopped at command 108 of 165 (op 5) ... [compute cabb87599722e59a]

Commit: [hash]. Tested PRs: [#55 / #57 / #40, with results].

log is in zip cuz about 110 000 kb

log.zip

**@⁠dareknielubivalve-droid** on GitHub · 2026-11-24 01:30 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7119173573) · edited 2026-11-24 01:36 UTC Hope this helps. I've got the same error output as you. Different fault adress though. 0x1a00b0000 - 0x374c000 Seeing what looks like the same failure on an RX 9070 XT (driver 26.11.1, 25h2 os build 26200.9974). World loading becomes very slow, then the device is removed (`0x887A0006`) after a GPU page fault at `0x374c000`. I built with `--profile diag --features diagnostics` and ran with `VICTORY_D3D12_DEBUG=1`, `VICTORY_D3D12_DRED=1` and `VICTORY_LOG=debug`. The log says: - the list stopped at command 108 of 165 - the command is an indirect compute dispatch (`indirect kind 2 max 1`) of shader `cabb87599722e59a` - several consecutive dispatches of that shader have null descriptors (`u4`/`u5` heap null, `Uav s1+96: uav None`) - some constant buffers contain NaN and denormals Key line: ``` host GPU device removed after a submission of 1 lists; page fault at 0x374c000; no title memory copy below it ... a list stopped at command 108 of 165 (op 5) ... [compute cabb87599722e59a] ``` Commit: [hash]. Tested PRs: [#55 / #57 / #40, with results]. log is in zip cuz about 110 000 kb [log.zip](https://github.com/user-attachments/files/35306493/log.zip)
Author
Owner

@⁠chuppatricky on GitHub · 2026-11-24 01:39 UTC · original

A data point from Linux that may help narrow this down: the world fault only appears once indirect execution actually runs.

Setup: RX 7900 GRE 16 GB (RDNA3), Mesa RADV, GE-Proton11-12 (Wine) with vkd3d-proton master and DXVK dxgi. main at 9aef3d9, cross-built with cargo-xwin, plus the #128 defer_fill fix. Series X mode, v1.0.2.1.

Under Wine, D3DCompile is Wine's builtin d3dcompiler, which can't compile the indirect-argument clamp (E5005: Method 'Load' is not defined on type 'RWByteAddressBuffer'). So "no argument clamp: indirect execution dropped" fires and every ExecuteIndirect is skipped. That gave a natural A/B:

Run Indirect Build Result
v1 dropped 9aef3d9 page fault ~80 s after world packs open (RADV VA, TCP read); looks like the freed-texture case
v2 dropped + #135 no fault, ~5.5 min in the world (600-1,040 draws/frame), then closed by hand
v3 runs (Microsoft d3dcompiler_47 as a native override) + #135 2,200-5,250 draws/frame; page fault at ~4-5 min
v4 runs + #124 #143 #163 #136 fault after ~3.5 min, 0x8003a84c3000
v5 runs + about 30 more open PRs that apply cleanly 6,089 draws/frame; fault after ~4 min, 0x800496760000

All the faults are TCP reads (PERMISSION_FAULTS 0x3) at addresses inside RADV's normal VA range, so they hit allocations that are no longer mapped, not garbage pointers. Each time, a "slow host submission" of about 2 s (18-24 lists) comes right before the fault. About 30 s later the title itself dies with a null write at image+0x23cf683, before VIctory reports device loss, so vkd3d-proton breadcrumbs (even with breadcrumbs_sync) never got dumped.

So #135 fixed the earlier fault class on RADV. What remains correlates with indirect execution, which fits @⁠gw1337x's VICTORY_NO_INDIRECT_MESH result above. One run per configuration, so take the timings as indicative only.

AI-assisted (Claude Code); runs and observations are from a real machine.

**@⁠chuppatricky** on GitHub · 2026-11-24 01:39 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7119316099) A data point from Linux that may help narrow this down: **the world fault only appears once indirect execution actually runs.** **Setup:** RX 7900 GRE 16 GB (RDNA3), Mesa RADV, GE-Proton11-12 (Wine) with vkd3d-proton master and DXVK dxgi. `main` at 9aef3d9, cross-built with cargo-xwin, plus the #128 `defer_fill` fix. Series X mode, v1.0.2.1. Under Wine, `D3DCompile` is Wine's builtin d3dcompiler, which can't compile the indirect-argument clamp (`E5005: Method 'Load' is not defined on type 'RWByteAddressBuffer'`). So "no argument clamp: indirect execution dropped" fires and every ExecuteIndirect is skipped. That gave a natural A/B: | Run | Indirect | Build | Result | |---|---|---|---| | v1 | dropped | 9aef3d9 | page fault ~80 s after world packs open (RADV VA, TCP read); looks like the freed-texture case | | v2 | dropped | + #135 | **no fault**, ~5.5 min in the world (600-1,040 draws/frame), then closed by hand | | v3 | **runs** (Microsoft d3dcompiler_47 as a native override) | + #135 | 2,200-5,250 draws/frame; page fault at ~4-5 min | | v4 | runs | + #124 #143 #163 #136 | fault after ~3.5 min, `0x8003a84c3000` | | v5 | runs | + about 30 more open PRs that apply cleanly | 6,089 draws/frame; fault after ~4 min, `0x800496760000` | All the faults are TCP reads (`PERMISSION_FAULTS 0x3`) at addresses inside RADV's normal VA range, so they hit allocations that are no longer mapped, not garbage pointers. Each time, a "slow host submission" of about 2 s (18-24 lists) comes right before the fault. About 30 s later the title itself dies with a null write at image+0x23cf683, before VIctory reports device loss, so vkd3d-proton breadcrumbs (even with `breadcrumbs_sync`) never got dumped. So #135 fixed the earlier fault class on RADV. What remains correlates with indirect execution, which fits @⁠gw1337x's `VICTORY_NO_INDIRECT_MESH` result above. One run per configuration, so take the timings as indicative only. AI-assisted (Claude Code); runs and observations are from a real machine.
Author
Owner

@⁠hashdev512 on GitHub · 2026-11-24 02:15 UTC · original

More data from the same RX 9070 XT, now with Radeon GPU Detective (RGD 1.6.3.7 via RadeonDeveloperPanelCLI -m crash --rgd-enhanced --rgd-collect-sgprs, driver 26.11.2), on main at d2a4bae. That makes 12 world faults on this machine. Every one of them was in mesh work: RGD's in-progress markers are all DispatchMesh, and DRED's stopped command was op 42 (DispatchMesh) or op 5 (ExecuteIndirect of kind 10).

Offending VAs (RGD): 0x700003741000, 0x25a2000, 0x800003765000, 0x800003ca3000. RGD lists no associated resource for any of them, even with ETW configured (the resource timeline stays empty).

The interesting capture: in one of them three mesh pipelines had waves in flight, and SRD analysis was available. The suspects were s_load_b128 reads of descriptors from the shader-visible heap (s[10:11] = 0x1_00130000, the slot offset near 0x2701f80, i.e. slot ≈1.28M of 1,310,720), followed by buffer loads through what was loaded. The four descriptors loaded had dword0 0x025a2800, 0x02565300, 0x0200b200, 0x02d40480 and dword3 0x9020022c / 0x90200204. Every buffer SRD in the same waves (the root descriptors) has dword3 …4fac. So these look like image descriptors (T#), whose dword0 is the base address >> 8 (0x025a2800 << 8 = 0x2_5a28_0000, a normal host VA). That capture's fault was at 0x25a2000, the page of dword0 taken as a byte address.

Hypothesis (not proven): a mesh shader reads a heap slot as a buffer while the slot holds a texture view. The GPU then takes T#.dword0 (texture base >> 8) as the buffer base, and bits of T# dword1 (format and so on) as its high half. That fits every address in this issue: the low halves cluster at 0x37xx_x000–0x3cax_x000 (the same few textures every time), the high halves are 0, 0x7000 or 0x8000, and no allocation ever lives there. Two things point the same way:

  • descriptor/host.rs itself says a null 2D view read as a buffer is a mismatch the hardware does not survive, and every slot starts as a null 2D view (fill_null, make_null, null_view).
  • GPU-based validation, the only time I could run it, reports SRV Dimension Expected: TEXTURE2D, In Descriptor: TEXTURE1D on heap slot 0 (6–8 times per run): the same kind of type mismatch, on the texture side.

My best guess is a stale slot. A shader with dynamic resources computes the slot index on the GPU, so the draw-time mirror() never refreshes that slot. If the title has since put a buffer view there, the host still holds the old texture view. I have not shown this.

Ruled out on this machine (each with a GPU run):

  • root views left unset (I added a log on the continue in draw.rs after root_view(): it never fires);
  • title slots past the host heap (no warning; the heap is not capped here);
  • mesh output writes past the declared maximum (bounding every storeVertexOutput/storePrimitiveOutput to thread < max: same fault);
  • out-of-range mesh primitive indices (9-bit indices and culling any index ≥ max_vertices in emit_indices: next fault 0x800003765000);
  • #185 merged locally on top of d2a4bae: the world gets about 10 s further (106 s), but it faults at 0x800003ca3000. That run had no wave in flight, so no SRD to look at.

GPU-based validation cannot reach the world here: with VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_GBV=1 the title itself crashes on the CPU at +0x23cf683 (access violation writing 0), 2 runs out of 2, about 1 min 45 s in. Then it tries to upload a minidump to submit.backtrace.io, which VIctory blocks. So validation can't name the mismatched slot on this machine.

Two side findings:

  • A run with VICTORY_D3D12_WARP=1 rejects the hardware pipeline library (another adapter), starts an empty one and then saves it over host-pipelines.bin. The next hardware run starts with no pipelines again.
  • pipeline/library.rs: within a single run, starting from an empty library, the same mesh pipeline is created twice and the second LoadPipeline fails with id 972 (desc mismatch) against the entry stored moments before (78 times by frame 1024). Zeroing the padding of the mesh Stream does not change that.

AI-assisted (Claude Opus 5.5): RGD and DRED output read and summarised by the model, counts and addresses taken with grep. Nothing of the game is quoted. The values above are host descriptor words and addresses.

**@⁠hashdev512** on GitHub · 2026-11-24 02:15 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7119936076) More data from the same RX 9070 XT, now with **Radeon GPU Detective** (RGD 1.6.3.7 via `RadeonDeveloperPanelCLI -m crash --rgd-enhanced --rgd-collect-sgprs`, driver 26.11.2), on `main` at `d2a4bae`. That makes 12 world faults on this machine. Every one of them was in mesh work: RGD's in-progress markers are all `DispatchMesh`, and DRED's stopped command was op 42 (`DispatchMesh`) or op 5 (`ExecuteIndirect` of kind 10). **Offending VAs (RGD):** `0x700003741000`, `0x25a2000`, `0x800003765000`, `0x800003ca3000`. RGD lists no associated resource for any of them, even with ETW configured (the resource timeline stays empty). **The interesting capture:** in one of them three mesh pipelines had waves in flight, and SRD analysis was available. The suspects were `s_load_b128` reads of descriptors from the shader-visible heap (`s[10:11] = 0x1_00130000`, the slot offset near `0x2701f80`, i.e. slot ≈1.28M of 1,310,720), followed by buffer loads through what was loaded. The four descriptors loaded had dword0 `0x025a2800`, `0x02565300`, `0x0200b200`, `0x02d40480` and dword3 `0x9020022c` / `0x90200204`. Every *buffer* SRD in the same waves (the root descriptors) has dword3 `…4fac`. So these look like **image** descriptors (T#), whose dword0 is the base address >> 8 (`0x025a2800 << 8 = 0x2_5a28_0000`, a normal host VA). That capture's fault was at `0x25a2000`, the page of dword0 taken as a byte address. **Hypothesis (not proven):** a mesh shader reads a heap slot as a buffer while the slot holds a texture view. The GPU then takes `T#.dword0` (texture base >> 8) as the buffer base, and bits of T# dword1 (format and so on) as its high half. That fits every address in this issue: the low halves cluster at `0x37xx_x000`–`0x3cax_x000` (the same few textures every time), the high halves are `0`, `0x7000` or `0x8000`, and no allocation ever lives there. Two things point the same way: - `descriptor/host.rs` itself says a null 2D view read as a buffer is a mismatch the hardware does not survive, and every slot starts as a null 2D view (`fill_null`, `make_null`, `null_view`). - GPU-based validation, the only time I could run it, reports `SRV Dimension Expected: TEXTURE2D, In Descriptor: TEXTURE1D` on heap slot 0 (6–8 times per run): the same kind of type mismatch, on the texture side. My best guess is a stale slot. A shader with dynamic resources computes the slot index on the GPU, so the draw-time `mirror()` never refreshes that slot. If the title has since put a buffer view there, the host still holds the old texture view. I have not shown this. **Ruled out on this machine** (each with a GPU run): - root views left unset (I added a log on the `continue` in `draw.rs` after `root_view()`: it never fires); - title slots past the host heap (no warning; the heap is not capped here); - mesh output writes past the declared maximum (bounding every `storeVertexOutput`/`storePrimitiveOutput` to `thread < max`: same fault); - out-of-range mesh primitive indices (9-bit indices and culling any index ≥ `max_vertices` in `emit_indices`: next fault `0x800003765000`); - **#185 merged locally** on top of `d2a4bae`: the world gets about 10 s further (106 s), but it faults at `0x800003ca3000`. That run had no wave in flight, so no SRD to look at. **GPU-based validation cannot reach the world here:** with `VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_GBV=1` the title itself crashes on the CPU at `+0x23cf683` (access violation writing 0), 2 runs out of 2, about 1 min 45 s in. Then it tries to upload a minidump to `submit.backtrace.io`, which VIctory blocks. So validation can't name the mismatched slot on this machine. Two side findings: - A run with `VICTORY_D3D12_WARP=1` rejects the hardware pipeline library (another adapter), starts an empty one and then saves it over `host-pipelines.bin`. The next hardware run starts with no pipelines again. - `pipeline/library.rs`: within a single run, starting from an empty library, the same mesh pipeline is created twice and the second `LoadPipeline` fails with id 972 (desc mismatch) against the entry stored moments before (78 times by frame 1024). Zeroing the padding of the mesh `Stream` does not change that. _AI-assisted (Claude Opus 5.5): RGD and DRED output read and summarised by the model, counts and addresses taken with grep. Nothing of the game is quoted. The values above are host descriptor words and addresses._
Author
Owner

@⁠Bushyon on GitHub · 2026-11-24 02:21 UTC · original

RDNA3 on Linux, with indirect execution running through #190's clamp (Wine's builtin d3dcompiler_47, no Microsoft compiler): #135 moves the world fault from ~40 s to ~7.5 min; the late fault has the same signature as @⁠chuppatricky's v3–v5.

Setup: RX 7800 XT 16 GB (RDNA3), Mesa RADV 26.2.6, Fedora 44, kernel 7.3.3. Proton Experimental 11.0-20261112 (wine-11.0, vkd3d-proton 2576c0b4a, DXVK v3.1.1-209). Release build cross-compiled with clang-cl, lld-link and xwin. Series X mode, v1.0.2.1.

Build: main d2a4bae + #177, #151, #190, #145 + the #128 defer_fill change (copy_texture_region staging path), with and without #135.

Run #135 Result
A no GPU page fault ~40 s after story000 opens, right after a slow host submission ms=2054
B yes no fault; ~2 min in the world at 1,800–2,800 draws/frame, closed by hand
C yes GPU page fault ~7.5 min after story000 opens, right after a slow host submission ms=2061 lists=20; 0.1–0.5 fps, 145–2,560 draws/frame before it

Kernel log for both faults: [gfxhub] page fault, Faulty UTCL2 client ID: TCP (0x8), PERMISSION_FAULTS: 0x3, MAPPING_ERROR: 0x0, from the vkd3d_queue thread, at addresses in RADV's normal VA range. In C this was followed by ring gfx_0.0.0 timeout, a ring reset that succeeded, and VIctory reporting 0x887A0005. The desktop survived.

No indirect-clamp warning in B or C. The per-frame indirect drop count stayed at 400–2,600, alongside 200–2,500 draws dropped without a host pipeline. One run per configuration.

**@⁠Bushyon** on GitHub · 2026-11-24 02:21 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7120062070) RDNA3 on Linux, with indirect execution running through #190's clamp (Wine's builtin `d3dcompiler_47`, no Microsoft compiler): #135 moves the world fault from ~40 s to ~7.5 min; the late fault has the same signature as @⁠chuppatricky's v3–v5. **Setup:** RX 7800 XT 16 GB (RDNA3), Mesa RADV 26.2.6, Fedora 44, kernel 7.3.3. Proton Experimental 11.0-20261112 (wine-11.0, vkd3d-proton `2576c0b4a`, DXVK `v3.1.1-209`). Release build cross-compiled with clang-cl, lld-link and xwin. Series X mode, v1.0.2.1. **Build:** `main` `d2a4bae` + #177, #151, #190, #145 + the #128 `defer_fill` change (`copy_texture_region` staging path), with and without #135. | Run | #135 | Result | |---|---|---| | A | no | GPU page fault ~40 s after `story000` opens, right after a `slow host submission ms=2054` | | B | yes | no fault; ~2 min in the world at 1,800–2,800 draws/frame, closed by hand | | C | yes | GPU page fault ~7.5 min after `story000` opens, right after a `slow host submission ms=2061 lists=20`; 0.1–0.5 fps, 145–2,560 draws/frame before it | Kernel log for both faults: `[gfxhub] page fault`, `Faulty UTCL2 client ID: TCP (0x8)`, `PERMISSION_FAULTS: 0x3`, `MAPPING_ERROR: 0x0`, from the `vkd3d_queue` thread, at addresses in RADV's normal VA range. In C this was followed by `ring gfx_0.0.0 timeout`, a ring reset that succeeded, and VIctory reporting `0x887A0005`. The desktop survived. No indirect-clamp warning in B or C. The per-frame `indirect` drop count stayed at 400–2,600, alongside 200–2,500 draws dropped without a host pipeline. One run per configuration.
Author
Owner

@⁠trickveiraoficial on GitHub · 2026-11-24 02:27 UTC · original · edited 2026-11-24 02:49 UTC

Native AMD RX 9060 XT — D3D12 device hang / DRED page fault

I retested the same game build on a native D3D12 path using my Radeon RX 9060 XT (16 GB). This was not a WARP run: VICTORY_D3D12_WARP was unset, and I also removed VICTORY_SKIP_PIPELINES. D3D12 debug layer and DRED were enabled (VICTORY_D3D12_DEBUG=1, VICTORY_D3D12_DRED=1).

System / test details

  • OS: Windows 11 Pro, version 26H2 (build 26300.10075, KB5132057)
  • GPU: AMD Radeon RX 9060 XT 16 GB (Ryzen 5 5600 CPU; no integrated GPU)
  • System memory: 16 GB
  • OS: Windows 11
  • AMD driver: 32.0.32029.2010
  • VIctory source commit: d2a4bae
  • Game build: v1.0.2.1 (Title ID 7952987A)
  • Diagnostic build: cargo build --profile diag -p victory --features diagnostics
  • Resolution: 3840×2160; HDR disabled
  • Cache was cleared before the native test.

Observed behavior

The game initially ran at approximately 30 FPS, then performance degraded to below 2 FPS before D3D12 reported DXGI_ERROR_DEVICE_HUNG (0x887A0006) / TDR. This was reproducible on the native GPU path.

DRED details

  • The faulting submission contained 32 command lists.
  • Last completed/breadcrumb list: 31/32.
  • Last operation: 34/34.
  • The relevant indirect argument was D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH_MESH (kind 10).
  • Mesh shader hash: 2ee026ab4e20bbd5
  • Pixel shader hash: 8b07450f04377f14
  • Another mesh dispatch in the same command list used mesh shader 5f768f033823d36b and pixel shader 06e5cf7877e5792a.
  • GPU page-fault virtual address: 0x2bcc000.
  • DRED reported the nearest allocation above that address at 0x49c0000 (size 0xae00000); it did not identify a title memory-copy allocation covering the fault address.

I don't want to overstate what this proves: the breadcrumbs point to an indirect mesh-shader dispatch near the failure, but they do not by themselves identify the faulty resource or shader. Possible areas to investigate include an invalid/stale GPU virtual address, descriptor binding, or resource lifetime/mapping around the mesh dispatch.

Could you advise whether this DRED pattern is consistent with a known mesh-shader / indirect-dispatch issue in VIctory, and whether additional instrumentation around descriptor/resource lifetime or the dispatch arguments would help narrow it down?

I have the full native log (native-rx9060xt.txt, approximately 2.6 MB) available and can attach it if needed.

native-rx9060xt.txt

**@⁠trickveiraoficial** on GitHub · 2026-11-24 02:27 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7120162613) · edited 2026-11-24 02:49 UTC ### Native AMD RX 9060 XT — D3D12 device hang / DRED page fault I retested the same game build on a native D3D12 path using my Radeon RX 9060 XT (16 GB). This was **not a WARP run**: `VICTORY_D3D12_WARP` was unset, and I also removed `VICTORY_SKIP_PIPELINES`. D3D12 debug layer and DRED were enabled (`VICTORY_D3D12_DEBUG=1`, `VICTORY_D3D12_DRED=1`). **System / test details** - OS: Windows 11 Pro, version 26H2 (build 26300.10075, KB5132057) - GPU: AMD Radeon RX 9060 XT 16 GB (Ryzen 5 5600 CPU; no integrated GPU) - System memory: 16 GB - OS: Windows 11 - AMD driver: 32.0.32029.2010 - VIctory source commit: `d2a4bae` - Game build: `v1.0.2.1` (Title ID `7952987A`) - Diagnostic build: `cargo build --profile diag -p victory --features diagnostics` - Resolution: 3840×2160; HDR disabled - Cache was cleared before the native test. **Observed behavior** The game initially ran at approximately 30 FPS, then performance degraded to below 2 FPS before D3D12 reported `DXGI_ERROR_DEVICE_HUNG (0x887A0006)` / TDR. This was reproducible on the native GPU path. **DRED details** - The faulting submission contained 32 command lists. - Last completed/breadcrumb list: 31/32. - Last operation: 34/34. - The relevant indirect argument was `D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH_MESH` (kind 10). - Mesh shader hash: `2ee026ab4e20bbd5` - Pixel shader hash: `8b07450f04377f14` - Another mesh dispatch in the same command list used mesh shader `5f768f033823d36b` and pixel shader `06e5cf7877e5792a`. - GPU page-fault virtual address: `0x2bcc000`. - DRED reported the nearest allocation above that address at `0x49c0000` (size `0xae00000`); it did not identify a title memory-copy allocation covering the fault address. I don't want to overstate what this proves: the breadcrumbs point to an indirect mesh-shader dispatch near the failure, but they do not by themselves identify the faulty resource or shader. Possible areas to investigate include an invalid/stale GPU virtual address, descriptor binding, or resource lifetime/mapping around the mesh dispatch. Could you advise whether this DRED pattern is consistent with a known mesh-shader / indirect-dispatch issue in VIctory, and whether additional instrumentation around descriptor/resource lifetime or the dispatch arguments would help narrow it down? I have the full native log (`native-rx9060xt.txt`, approximately 2.6 MB) available and can attach it if needed. [native-rx9060xt.txt](https://github.com/user-attachments/files/35308157/native-rx9060xt.txt)
Author
Owner

@⁠Klaerbgloiu on GitHub · 2026-11-24 03:19 UTC · original

Another RX 9070 XT (RDNA4) here, same stage as above: device removed (0x887A0006) once the world starts rendering.

Setup:
Windows 11 26H2 (build 26300.9457), main at 35b054e, diag build with VICTORY_D3D12_DEBUG=1 and VICTORY_D3D12_DRED=1, Series X mode. Run 1 was on driver 32.0.23034.4; runs 2 and 3 on Adrenalin v. 26.11.2 driver 32.0.32029.2010.

Three diag runs, three different failure points:

  1. Page fault 0x9000027c7000: command 1013 of 1254, an indirect kind 2 dispatch of compute c9da71da40af2e28.
  2. Page fault 0x2ba2000: command 625 of 698, a dispatch 1x1x1 of the same compute shader.
  3. Page fault 0x80000378f000: list 19, command 51 of 162, mesh draw [mesh f0c7efd2aceb2aaa, pixel 7d85c9cab3c80721], after many indirect mesh draws in earlier lists completed.

Runs 1 and 3 report heap slots in the trillions, far past both heap ends. Run 2's low address looks similar to the 0x27ab000 fault in the RX 7800 XT comment above. In runs 1 and 2 the compute dispatches show several uav None entries and NaN/denormal constants. Because the failing command changes between runs, this may not be a single bad shader, but I haven't verified that.

Logs attached, Happy to try specific env vars or patches.

crashes2.log Runs 1 and 2
crashes3.log Run 3

**@⁠Klaerbgloiu** on GitHub · 2026-11-24 03:19 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7120989303) Another RX 9070 XT (RDNA4) here, same stage as above: device removed (0x887A0006) once the world starts rendering. **Setup:** Windows 11 26H2 (build 26300.9457), `main` at `35b054e`, `diag` build with `VICTORY_D3D12_DEBUG=1` and `VICTORY_D3D12_DRED=1`, Series X mode. Run 1 was on driver 32.0.23034.4; runs 2 and 3 on Adrenalin v. 26.11.2 driver 32.0.32029.2010. **Three diag runs, three different failure points:** 1. Page fault `0x9000027c7000`: command 1013 of 1254, an `indirect kind 2` dispatch of compute `c9da71da40af2e28`. 2. Page fault `0x2ba2000`: command 625 of 698, a `dispatch 1x1x1` of the same compute shader. 3. Page fault `0x80000378f000`: list 19, command 51 of 162, mesh draw `[mesh f0c7efd2aceb2aaa, pixel 7d85c9cab3c80721]`, after many indirect mesh draws in earlier lists completed. Runs 1 and 3 report heap slots in the trillions, far past both heap ends. Run 2's low address looks similar to the `0x27ab000` fault in the RX 7800 XT comment above. In runs 1 and 2 the compute dispatches show several `uav None` entries and NaN/denormal constants. Because the failing command changes between runs, this may not be a single bad shader, but I haven't verified that. Logs attached, Happy to try specific env vars or patches. [crashes2.log](https://github.com/user-attachments/files/35309239/crashes2.log) Runs 1 and 2 [crashes3.log](https://github.com/user-attachments/files/35309240/crashes3.log) Run 3
Author
Owner

@⁠GamingRipperDoc on GitHub · 2026-11-24 03:34 UTC · original

Some static analysis around hashdev512's descriptor reading, from the translator's own resource tracking (CPU only, a local probe in victory translate over the dump; main d2a4bae + #175). Two leads ruled out, one fact about where the faulting load read.

1. hashdev512's in-flight load read one of VIctory's dynamic slots. The host view heap is the title's 1,245,184 slots plus DYNAMIC = 65,536 (1,310,720 on this RX 9070 XT, the same count the device-removed report gives). The capture above has slot offset 0x2701f80, i.e. slot 1,281,020, which is past the title's slots: a table draw.rs's tables() made afresh (every table holding a CBV is), not a slot the title wrote.

2. Ruled out: shaders reading past the entries a fresh table gets. tables() makes n = highest used entry + 1 entries. For every program in the dump, I compared the highest descriptor its code loads at a fixed offset per table with that n: no program loads past it. For the faulting mesh programs it is exactly n - 1 (37f363f0a5dcd806 slot 0: entry 89 of 90, slot 1: 5 of 6; ae9ee9074f2e971f slot 1: 8 of 9; 7eefb872d56bb1d8 slot 1: 4 of 5; …). So a fresh table has every entry the code names, at fixed offsets.

3. Ruled out earlier (#304): u13. It is RootType::Constants in every shader that has it (#427 makes the report show this).

4. The three mesh programs from my faults read one descriptor at a computed heap index. d9abe24ad7bfe920, c5ffa556ab926155 and 37f363f0a5dcd806 share a layout (u11 root SRV for vertex fetch, u13 constant, u15 ResourceHeap, u16 SamplerHeap) and each loads one resource descriptor from u15 + a computed term (SM 6.6 dynamic resources). Per the emitter notes, those are slots no used entry lists, so a draw neither refreshes them nor makes their host view the kind the shader reads. A buffer read through a slot whose host view is a texture would give these addresses. But that's not discriminating: 17,306 programs have such a read (7,059 mesh, 7,943 pixel, 1,398 compute, 906 vertex), and hashdev512's 7eefb872d56bb1d8 and ae9ee9074f2e971f have none, so it can't be skipped to test, and it doesn't cover every fault.

What would discriminate, I think, is GPU-side: the index such a load computes (is it inside the title's 1,245,184 slots, and what kind is the host view there), or RGD's SRD analysis on a fault whose in-flight wave is one of these programs. I can't do the latter without RGD here.

The probe is a local addition to apps/victory/src/translate.rs (VICTORY_PROBE=<hashes>); I can put it up as a PR if it's useful to others.

No game data used; hashes, counts and offsets are the translator's output.

AI-assisted (Claude Code); I ran the probe on my machine.

**@⁠GamingRipperDoc** on GitHub · 2026-11-24 03:34 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7121223196) Some static analysis around hashdev512's descriptor reading, from the translator's own resource tracking (CPU only, a local probe in `victory translate` over the dump; `main` `d2a4bae` + #175). Two leads ruled out, one fact about where the faulting load read. **1. hashdev512's in-flight load read one of VIctory's dynamic slots.** The host view heap is the title's 1,245,184 slots plus `DYNAMIC` = 65,536 (1,310,720 on this RX 9070 XT, the same count the device-removed report gives). The capture above has slot offset `0x2701f80`, i.e. slot 1,281,020, which is past the title's slots: a table `draw.rs`'s `tables()` made afresh (every table holding a CBV is), not a slot the title wrote. **2. Ruled out: shaders reading past the entries a fresh table gets.** `tables()` makes `n` = highest used entry + 1 entries. For every program in the dump, I compared the highest descriptor its code loads at a fixed offset per table with that `n`: **no program loads past it**. For the faulting mesh programs it is exactly `n - 1` (`37f363f0a5dcd806` slot 0: entry 89 of 90, slot 1: 5 of 6; `ae9ee9074f2e971f` slot 1: 8 of 9; `7eefb872d56bb1d8` slot 1: 4 of 5; …). So a fresh table has every entry the code names, at fixed offsets. **3. Ruled out earlier (#304): `u13`.** It is `RootType::Constants` in every shader that has it (#427 makes the report show this). **4. The three mesh programs from my faults read one descriptor at a computed heap index.** `d9abe24ad7bfe920`, `c5ffa556ab926155` and `37f363f0a5dcd806` share a layout (`u11` root SRV for vertex fetch, `u13` constant, `u15` `ResourceHeap`, `u16` `SamplerHeap`) and each loads one resource descriptor from `u15` + a computed term (SM 6.6 dynamic resources). Per the emitter notes, those are slots no used entry lists, so a draw neither refreshes them nor makes their host view the kind the shader reads. A buffer read through a slot whose host view is a texture would give these addresses. But that's not discriminating: **17,306 programs** have such a read (7,059 mesh, 7,943 pixel, 1,398 compute, 906 vertex), and hashdev512's `7eefb872d56bb1d8` and `ae9ee9074f2e971f` have none, so it can't be skipped to test, and it doesn't cover every fault. What would discriminate, I think, is GPU-side: the index such a load computes (is it inside the title's 1,245,184 slots, and what kind is the host view there), or RGD's SRD analysis on a fault whose in-flight wave is one of these programs. I can't do the latter without RGD here. The probe is a local addition to `apps/victory/src/translate.rs` (`VICTORY_PROBE=<hashes>`); I can put it up as a PR if it's useful to others. No game data used; hashes, counts and offsets are the translator's output. AI-assisted (Claude Code); I ran the probe on my machine.
Author
Owner

@⁠KingKaom on GitHub · 2026-11-24 03:55 UTC · original

RX 9070 XT (RDNA4), Windows 11 26300 — same fault family: page fault at 0x8000037d1000 in the first world frame's mesh work

Setup: Ryzen 7 9800X3D, RX 9070 XT (driver 32.0.32029.2010), 32 GB, Windows 11 build 26300. main at d2a4bae. Diag build (cargo build --profile diag -p victory --features diagnostics), VICTORY_D3D12_DEBUG=1 + VICTORY_D3D12_DRED=1, Series X default, v1.0.2.1 package verified byte-exact (108 files vs game/xbox-1.0.2.1.json).

Repro: two runs (one release, one diag) reproduce the #304 timeline exactly: menus 30 fps → intro video with sound → ~50 s load → first mission's title card renders → dark scene at 0.5–1.8 s/frame → TDR ~50–55 s after.

New data points:

  1. Diag-run DRED: page fault at 0x8000037d1000 — same 0xNN0000_00XX_X000 family as @⁠hashdev512's captures (0x700003741000, 0x800003765000, 0x800003ca3000). The stopped list is 1 of 23 at command 3854/4413 (op 42) — a list dense with kind-10 indirect mesh draws (32c5e0e62380b489, 8c0c0024c3c557dc, 413144fb9d62e37e, ae9ee9074f2e971f) plus a 24x24x6 compute ec982aaadc623a49; the other 22 lists of the same submission never started (0/N).
  2. The same DRED dump prints view heap … past its end (slot 4397914091648) and sampler heap … past its end (slot 8795825561856) — 0x400000000300 and 0x800000000600: slot indices with junk-looking upper bits against a ~1.3 M-slot heap, consistent with a handle whose upper 32 bits are not clean.
  3. Release run vs diag run stopped at different commands (1 list in flight vs 23) but the same fault family — computed address, not one static resource.

Next on this machine: VICTORY_SKIP_PIPELINES=32c5e0e62380b489,8c0c0024c3c557dc and VICTORY_SHADER_LOOP_LIMIT=256 A/Bs; will report whether the fault moves, stops, or stays.

**@⁠KingKaom** on GitHub · 2026-11-24 03:55 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7121539889) ### RX 9070 XT (RDNA4), Windows 11 26300 — same fault family: page fault at `0x8000037d1000` in the first world frame's mesh work **Setup:** Ryzen 7 9800X3D, RX 9070 XT (driver 32.0.32029.2010), 32 GB, Windows 11 build 26300. `main` at `d2a4bae`. Diag build (`cargo build --profile diag -p victory --features diagnostics`), `VICTORY_D3D12_DEBUG=1` + `VICTORY_D3D12_DRED=1`, Series X default, v1.0.2.1 package verified byte-exact (108 files vs `game/xbox-1.0.2.1.json`). **Repro:** two runs (one release, one diag) reproduce the #304 timeline exactly: menus 30 fps → intro video with sound → ~50 s load → first mission's title card renders → dark scene at 0.5–1.8 s/frame → TDR ~50–55 s after. **New data points:** 1. Diag-run DRED: page fault at `0x8000037d1000` — same `0xNN0000_00XX_X000` family as @⁠hashdev512's captures (`0x700003741000`, `0x800003765000`, `0x800003ca3000`). The stopped list is `1 of 23` at command 3854/4413 (op 42) — a list dense with kind-10 indirect mesh draws (`32c5e0e62380b489`, `8c0c0024c3c557dc`, `413144fb9d62e37e`, `ae9ee9074f2e971f`) plus a `24x24x6` compute `ec982aaadc623a49`; the other 22 lists of the same submission never started (`0/N`). 2. The same DRED dump prints `view heap … past its end (slot 4397914091648)` and `sampler heap … past its end (slot 8795825561856)` — `0x400000000300` and `0x800000000600`: slot indices with junk-looking upper bits against a ~1.3 M-slot heap, consistent with a handle whose upper 32 bits are not clean. 3. Release run vs diag run stopped at different commands (1 list in flight vs 23) but the same fault family — computed address, not one static resource. **Next on this machine:** `VICTORY_SKIP_PIPELINES=32c5e0e62380b489,8c0c0024c3c557dc` and `VICTORY_SHADER_LOOP_LIMIT=256` A/Bs; will report whether the fault moves, stops, or stays.
Author
Owner

@⁠colehammond65 on GitHub · 2026-11-24 06:58 UTC · original

RTX 4080 cross-check: no page-fault signature here. Four DRED-enabled runs on Windows 10 build 26300 all ended in 0x887A0005/0x887A0006, but none reported a page fault or freed allocation. DRED stopped in EXECUTE_INDIRECT (op 5) or DISPATCH_MESH (op 42). This suggests the RDNA4 page-fault signature is not the only world-entry failure mode. Full report: #334

AI-assisted test report.

**@⁠colehammond65** on GitHub · 2026-11-24 06:58 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7124478197) **RTX 4080 cross-check: no page-fault signature here.** Four DRED-enabled runs on Windows 10 build 26300 all ended in `0x887A0005`/`0x887A0006`, but none reported a page fault or freed allocation. DRED stopped in `EXECUTE_INDIRECT` (op 5) or `DISPATCH_MESH` (op 42). This suggests the RDNA4 page-fault signature is not the only world-entry failure mode. Full report: https://git.gtahub.st/github/Marvisak--VIctory/pulls/334 AI-assisted test report.
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-24 08:33 UTC · original

RDNA4 data point (RX 9070 XT), 11 runs over the last ~10 hours, from 97c78d1 to 58fed37. Short version: menus and first boot are perfect here; in the world the device is removed every time, and since edf64e2 the fault moved to memory that was already freed.

Setup

GPU AMD Radeon RX 9070 XT 16 GB (RDNA4), driver 32.0.32029.2010
CPU / RAM Ryzen 7 9800X3D, 32 GB DDR5
OS Windows 11 (26200)
Title package v1.0.2.1, Series X mode
Builds cargo build --release -p victory and --features diagnostics, plain main at each commit below, no local changes
Run VICTORY_D3D12_DRED=1; one run with the D3D12 debug layer (Graphics Tools installed)

What works

  • First boot end to end at a steady 30 fps: profile picker, intro video, navigation / subtitles screens, "finish setup", legal notices, privacy and terms. Keyboard and an XInput pad (8BitDo) both work.
  • With the setup saved, the story opens ("Vice City, two years ago" card), loading starts, and the world runs at 1–2 fps (up to ~2,970 draws/frame) with a black picture.
  • Audio in the world works: crowd ambience, and on the last run the first line of dialogue (a man's voice, ~1.5 s) before the device is lost.

Device removed in the world (every run)

Commit Time in world before removal DRED
fa5ef73 ~64 s page fault 0x337f000, below every title copy; list 1 stopped at 1252/1636
fa5ef73 + debug layer ~106 s 0 validation errors; fault in list 10 of 11, whose 7 commands are compute dispatches of programs 82849f7a614208eb, 9afd549c4f530901, 2dc602192abf6288, 9ef9a9d818b27236, 4fcf26015f70eecf, ba4e20a2fd348338
1f858b0 + VICTORY_SKIP_PIPELINES = those six ~64 s fault just moves: 0x700003789000, list 2 at 720/1545 → not one program
6af0fae ~64 s fault 0x800003783000
edf64e2 ~121 s (2× longer) the "no free dynamic descriptor slots" warnings are gone; fault 0x420bbe000 inside freed ["texture 2048x2048 f98", "texture 4096x4096 f71"], list 1 at 486/850
7374bfb ~87 s fault 0x58aa5c000 inside freed ["title buffer 0xb36a00000+0x14c120"], list 15 at 319/381
58fed37 ~96 s removed after 32 lists, list 12 at 129/130

So on this card the remaining blocker looks like a GPU read of a texture / title buffer after VIctory freed it (use-after-free on the host side), not an invalid API call. Happy to rerun any commit or env var you want and post the DRED line.

No game files or logs with personal data attached; full logs available on request.

**@⁠PastiiJay** on GitHub · 2026-11-24 08:33 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7126272176) RDNA4 data point (RX 9070 XT), 11 runs over the last ~10 hours, from `97c78d1` to `58fed37`. Short version: menus and first boot are perfect here; in the world the device is removed every time, and since `edf64e2` the fault moved to **memory that was already freed**. ## Setup | | | |---|---| | GPU | AMD Radeon RX 9070 XT 16 GB (RDNA4), driver 32.0.32029.2010 | | CPU / RAM | Ryzen 7 9800X3D, 32 GB DDR5 | | OS | Windows 11 (26200) | | Title | package v1.0.2.1, Series X mode | | Builds | `cargo build --release -p victory` and `--features diagnostics`, plain `main` at each commit below, no local changes | | Run | `VICTORY_D3D12_DRED=1`; one run with the D3D12 debug layer (Graphics Tools installed) | ## What works - First boot end to end at a steady 30 fps: profile picker, intro video, navigation / subtitles screens, "finish setup", legal notices, privacy and terms. Keyboard and an XInput pad (8BitDo) both work. - With the setup saved, the story opens ("Vice City, two years ago" card), loading starts, and the world runs at 1–2 fps (up to ~2,970 draws/frame) with a black picture. - **Audio in the world works**: crowd ambience, and on the last run the first line of dialogue (a man's voice, ~1.5 s) before the device is lost. ## Device removed in the world (every run) | Commit | Time in world before removal | DRED | |---|---|---| | `fa5ef73` | ~64 s | page fault `0x337f000`, below every title copy; list 1 stopped at 1252/1636 | | `fa5ef73` + debug layer | ~106 s | **0 validation errors**; fault in list 10 of 11, whose 7 commands are compute dispatches of programs `82849f7a614208eb`, `9afd549c4f530901`, `2dc602192abf6288`, `9ef9a9d818b27236`, `4fcf26015f70eecf`, `ba4e20a2fd348338` | | `1f858b0` + `VICTORY_SKIP_PIPELINES` = those six | ~64 s | fault just moves: `0x700003789000`, list 2 at 720/1545 → not one program | | `6af0fae` | ~64 s | fault `0x800003783000` | | **`edf64e2`** | **~121 s** (2× longer) | the "no free dynamic descriptor slots" warnings are gone; fault `0x420bbe000` **inside freed** `["texture 2048x2048 f98", "texture 4096x4096 f71"]`, list 1 at 486/850 | | `7374bfb` | ~87 s | fault `0x58aa5c000` **inside freed** `["title buffer 0xb36a00000+0x14c120"]`, list 15 at 319/381 | | `58fed37` | ~96 s | removed after 32 lists, list 12 at 129/130 | So on this card the remaining blocker looks like **a GPU read of a texture / title buffer after VIctory freed it** (use-after-free on the host side), not an invalid API call. Happy to rerun any commit or env var you want and post the DRED line. No game files or logs with personal data attached; full logs available on request.
Author
Owner

@⁠d1ll3x3 on GitHub · 2026-11-24 09:49 UTC · original

answer: RX 7800 XT (RDNA3, 16 GB), Windows 11, 32 GB RAM, Xbox Series 1.0.2.1, diag builds, VICTORY_D3D12_DRED=1

  • main@d2a4bae, no fixes: the device is removed seconds after the story load starts, with GPU page faults at low addresses (0x26…, 0x33…, 0x38…) in compute dispatches (e.g. ec982aaadc623a49, ef05293f6107fc99); skipping them with VICTORY_SKIP_PIPELINES only moves the fault.
  • main@d2a4bae + #135 + #40 + #67 (before those were closed): the first mission's intro cutscene plays (audio, subtitles), then "inside freed" on 2048² BC7/BC1 textures after 3 min 23 s; a 32-frame retention → 6 min 11 s.
  • main@8e79c80 + #609 + #568 + #67: 5 min 16 s, "inside freed" BC1 textures (op 6 dispatch 2dc602192abf6288); with RETAIN_SUBMISSIONS = 512, 2 min 39 s (op 15, ResourceBarrier).
  • main@8e79c80 + #431 + #568 + #67: 11 min 39 s, then "inside freed" on a texture plus a title buffer (op 42).
  • WARP: world compute pipelines are refused (no 64-lane waves), so it stops at the story loading screen.

Details on #609, #431 and #568.

AI-assisted (Claude Code).

**@⁠d1ll3x3** on GitHub · 2026-11-24 09:49 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7127934527) answer: RX 7800 XT (RDNA3, 16 GB), Windows 11, 32 GB RAM, Xbox Series 1.0.2.1, diag builds, `VICTORY_D3D12_DRED=1` - `main@d2a4bae`, no fixes: the device is removed seconds after the story load starts, with GPU page faults at low addresses (0x26…, 0x33…, 0x38…) in compute dispatches (e.g. ec982aaadc623a49, ef05293f6107fc99); skipping them with `VICTORY_SKIP_PIPELINES` only moves the fault. - `main@d2a4bae` + #135 + #40 + #67 (before those were closed): the first mission's intro cutscene plays (audio, subtitles), then "inside freed" on 2048² BC7/BC1 textures after 3 min 23 s; a 32-frame retention → 6 min 11 s. - `main@8e79c80` + #609 + #568 + #67: 5 min 16 s, "inside freed" BC1 textures (op 6 dispatch 2dc602192abf6288); with `RETAIN_SUBMISSIONS = 512`, 2 min 39 s (op 15, ResourceBarrier). - `main@8e79c80` + #431 + #568 + #67: **11 min 39 s**, then "inside freed" on a texture plus a title buffer (op 42). - WARP: world compute pipelines are refused (no 64-lane waves), so it stops at the story loading screen. Details on #609, #431 and #568. AI-assisted (Claude Code).
Author
Owner

@⁠KingKaom on GitHub · 2026-11-24 10:00 UTC · original

RDNA4 replica of the #431 + #568 + #67 stack — RX 9070 XT, 32 GB RAM, diag build with VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_DRED=1, local merge of main@8e79c80 + all three (merge d552eb7):

  • Direction confirmed: inside freed appears nowhere in the whole run log (0 occurrences), and no descriptor-exhaustion warnings either. The freed-resource death that ended every one of our runs on plain main is gone with this stack.
  • Magnitude differs from @⁠d1ll3x3's RDNA3 numbers: we survived ~150 s in-world (world entry at +74 s after launch, device removed at +247 s) — vs ~30 s in-world for us on plain 8e79c80. About 5x, not 11:39. Single run; the variance in this family is wide, so treat it as a lower bound.
  • The end is now the older low-address family @⁠hashdev512 tabulated: page fault at 0x37fc5b000 — low 32 bits 0x037fc5b00, inside the ~540 KB window of their table. The nearest copy below is an 8 KB title-memory copy mapped at 0x37fbf0000; the fault reads 0x6b000 (424 KB) into that mapping, 148 KB short of the copy above. All breadcrumbs read done==count (no list stopped mid-way). So once the freed-resource family is gone, a bad reader in the same narrow window is what remains on this box.

AI-assisted (Hermes Agent).

**@⁠KingKaom** on GitHub · 2026-11-24 10:00 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7128189382) **RDNA4 replica of the #431 + #568 + #67 stack** — RX 9070 XT, 32 GB RAM, diag build with `VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_DRED=1`, local merge of `main@8e79c80` + all three (merge `d552eb7`): - Direction confirmed: **`inside freed` appears nowhere in the whole run log (0 occurrences)**, and no descriptor-exhaustion warnings either. The freed-resource death that ended every one of our runs on plain main is gone with this stack. - Magnitude differs from @⁠d1ll3x3's RDNA3 numbers: we survived **~150 s in-world** (world entry at +74 s after launch, device removed at +247 s) — vs ~30 s in-world for us on plain `8e79c80`. About 5x, not 11:39. Single run; the variance in this family is wide, so treat it as a lower bound. - The end is now the older low-address family @⁠hashdev512 tabulated: `page fault at 0x37fc5b000` — low 32 bits `0x037fc5b00`, inside the ~540 KB window of their table. The nearest copy below is an 8 KB title-memory copy mapped at `0x37fbf0000`; the fault reads 0x6b000 (424 KB) into that mapping, 148 KB short of the copy above. All breadcrumbs read done==count (no list stopped mid-way). So once the freed-resource family is gone, a bad reader in the same narrow window is what remains on this box. AI-assisted (Hermes Agent).
Author
Owner

@⁠Klaerbgloiu on GitHub · 2026-11-24 10:15 UTC · original

Update on the RX 9070 XT above: main at 8e79c80, same diag build, Adrenalin 26.11.2. Still black picture with audio, but it gets further than at 35b054e, and the signature changed to the freed-memory one PastiiJay described: page fault 0x483bbd000 inside freed ["texture 1024x1024 f98 flags 0x0 (type 34)" x2], list 5 of 23 stopped at command 2158 of 2931, mesh draw [mesh c2b963cd8c154f0a, pixel 2edbd011d7110758]. The view heap is now 0x2e00000 long. Log attached.
AI-assisted (Claude)

crashes4.log

**@⁠Klaerbgloiu** on GitHub · 2026-11-24 10:15 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7128522263) Update on the RX 9070 XT above: `main` at `8e79c80`, same diag build, Adrenalin 26.11.2. Still black picture with audio, but it gets further than at `35b054e`, and the signature changed to the freed-memory one PastiiJay described: page fault `0x483bbd000` inside freed ["texture 1024x1024 f98 flags 0x0 (type 34)" x2], list 5 of 23 stopped at command 2158 of 2931, mesh draw `[mesh c2b963cd8c154f0a, pixel 2edbd011d7110758]`. The view heap is now `0x2e00000` long. Log attached. AI-assisted (Claude) [crashes4.log](https://github.com/user-attachments/files/35325196/crashes4.log)
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-24 10:17 UTC · original

Second RX 9070 XT data point on the same stack (main@8e79c80 + #431 + #568 + #67, diag build, VICTORY_D3D12_DRED=1, 32 GB DDR5, driver 32.0.32029.2010). Thanks @⁠d1ll3x3 and @⁠KingKaom.

  • No inside freed anywhere in our logs either, and no descriptor-exhaustion warnings: the freed-resource family is gone here too.
  • But on this box the device is still removed ~60 s after launch, before or right at world entry (3 runs, with and without VICTORY_D3D12_DEBUG=1). The DRED line has no page fault and every breadcrumb reads done==count ("2/2" on all 32 lists), so it looks like a timeout rather than a bad read.
  • For comparison, plain 8e79c80 and today's ffe310e (no PRs) reach the world at ~60 s (0 fps, ~1,300 draws/frame) and are removed 3–4 s later, same DRED shape. No pad connected (ruled out).
  • The loading screen renders fully in colour before that (Lucia artwork), so the menus/UI path is fine.

So on our RX 9070 XT the remaining stop is not the low-address reader @⁠KingKaom sees, but a removal with clean breadcrumbs ~60 s in. Happy to rerun anything (TDR settings, a build with more breadcrumbs, a different driver) and post the logs.

**@⁠PastiiJay** on GitHub · 2026-11-24 10:17 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7128585909) Second RX 9070 XT data point on the same stack (`main@8e79c80` + #431 + #568 + #67, diag build, `VICTORY_D3D12_DRED=1`, 32 GB DDR5, driver 32.0.32029.2010). Thanks @⁠d1ll3x3 and @⁠KingKaom. - **No `inside freed` anywhere** in our logs either, and no descriptor-exhaustion warnings: the freed-resource family is gone here too. - But on this box the device is still removed **~60 s after launch, before or right at world entry** (3 runs, with and without `VICTORY_D3D12_DEBUG=1`). The DRED line has **no page fault and every breadcrumb reads done==count** ("2/2" on all 32 lists), so it looks like a timeout rather than a bad read. - For comparison, plain `8e79c80` and today's `ffe310e` (no PRs) reach the world at ~60 s (0 fps, ~1,300 draws/frame) and are removed 3–4 s later, same DRED shape. No pad connected (ruled out). - The loading screen renders fully in colour before that (Lucia artwork), so the menus/UI path is fine. So on our RX 9070 XT the remaining stop is not the low-address reader @⁠KingKaom sees, but a removal with clean breadcrumbs ~60 s in. Happy to rerun anything (TDR settings, a build with more breadcrumbs, a different driver) and post the logs.
Author
Owner

@⁠dareknielubivalve-droid on GitHub · 2026-11-24 10:17 UTC · original · edited 2026-11-24 10:33 UTC

Another RX 9070 XT (RDNA4), world loading, DEVICE_HUNG after ~6 min. My page faults are different from the 0x1a00.... ones above, and they changed between two runs of the same build. Both are inside freed textures:

  • 0x3bf71d000, inside freed texture 1024x1024 f98
  • 0x58b3c6000, inside freed texture 2048x2048 f80 / 1024x1024 f71 / 1024x1024 f98 (list stopped at command 314 of 574, op 42)

Build: 6bb6252 = PR #55 merged with main (d2a4bae and the main of Nov 24 10:03 local), plus local eprintln! debug prints in lower.rs (no logic change).

Before the crash the debug layer warns repeatedly on title buffer 0x19e40000+0xae00000: UNORDERED_ACCESS state used as a vertex buffer, and barrier "before" state mismatches. Not proven to be the cause. #334 (transition host copies of title memory between shader writes and reads) looks related; I haven't tested it.

build RX 9070 XT (driver 26.11.1, 25h2 os build 26200.9974).

Full log (UTF-16): [<>](

log-main.txt

)

AI-assisted.

Hope this helps. I've got the same error output as you. Different fault adress though. 0x1a00b0000 - 0x374c000

Seeing what looks like the same failure on an RX 9070 XT (driver 26.11.1, 25h2 os build 26200.9974).

World loading becomes very slow, then the device is removed (0x887A0006) after a GPU page fault at 0x374c000.

I built with --profile diag --features diagnostics and ran with VICTORY_D3D12_DEBUG=1, VICTORY_D3D12_DRED=1 and VICTORY_LOG=debug. The log says:

  • the list stopped at command 108 of 165
  • the command is an indirect compute dispatch (indirect kind 2 max 1) of shader cabb87599722e59a
  • several consecutive dispatches of that shader have null descriptors (u4/u5 heap null, Uav s1+96: uav None)
  • some constant buffers contain NaN and denormals

Key line:

host GPU device removed after a submission of 1 lists; page fault at 0x374c000; no title memory copy below it ... a list stopped at command 108 of 165 (op 5) ... [compute cabb87599722e59a]

Commit: [hash]. Tested PRs: [#55 / #57 / #40, with results].

log is in zip cuz about 110 000 kb

log.zip

**@⁠dareknielubivalve-droid** on GitHub · 2026-11-24 10:17 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7128575267) · edited 2026-11-24 10:33 UTC Another RX 9070 XT (RDNA4), world loading, DEVICE_HUNG after ~6 min. My page faults are different from the `0x1a00....` ones above, and they changed between two runs of the same build. Both are inside freed textures: - `0x3bf71d000`, inside freed texture 1024x1024 f98 - `0x58b3c6000`, inside freed texture 2048x2048 f80 / 1024x1024 f71 / 1024x1024 f98 (list stopped at command 314 of 574, op 42) Build: `6bb6252` = [PR #55](https://git.gtahub.st/github/Marvisak--VIctory/pulls/55) merged with main (d2a4bae and the main of Nov 24 10:03 local), plus local `eprintln!` debug prints in lower.rs (no logic change). Before the crash the debug layer warns repeatedly on `title buffer 0x19e40000+0xae00000`: UNORDERED_ACCESS state used as a vertex buffer, and barrier "before" state mismatches. Not proven to be the cause. [#334](https://git.gtahub.st/github/Marvisak--VIctory/pulls/334) (transition host copies of title memory between shader writes and reads) looks related; I haven't tested it. build RX 9070 XT (driver 26.11.1, 25h2 os build 26200.9974). Full log (UTF-16): [<>]( [log-main.txt](https://github.com/user-attachments/files/35325274/log-main.txt) ) AI-assisted. > Hope this helps. I've got the same error output as you. Different fault adress though. 0x1a00b0000 - 0x374c000 > > Seeing what looks like the same failure on an RX 9070 XT (driver 26.11.1, 25h2 os build 26200.9974). > > World loading becomes very slow, then the device is removed (`0x887A0006`) after a GPU page fault at `0x374c000`. > > I built with `--profile diag --features diagnostics` and ran with `VICTORY_D3D12_DEBUG=1`, `VICTORY_D3D12_DRED=1` and `VICTORY_LOG=debug`. The log says: > > * the list stopped at command 108 of 165 > * the command is an indirect compute dispatch (`indirect kind 2 max 1`) of shader `cabb87599722e59a` > * several consecutive dispatches of that shader have null descriptors (`u4`/`u5` heap null, `Uav s1+96: uav None`) > * some constant buffers contain NaN and denormals > > Key line: > > ``` > host GPU device removed after a submission of 1 lists; page fault at 0x374c000; no title memory copy below it ... a list stopped at command 108 of 165 (op 5) ... [compute cabb87599722e59a] > ``` > > Commit: [hash]. Tested PRs: [[#55](https://git.gtahub.st/github/Marvisak--VIctory/pulls/55) / [#57](https://git.gtahub.st/github/Marvisak--VIctory/pulls/57) / [#40](https://git.gtahub.st/github/Marvisak--VIctory/pulls/40), with results]. > > log is in zip cuz about 110 000 kb > > [log.zip](https://github.com/user-attachments/files/35306493/log.zip)
Author
Owner

@⁠Klaerbgloiu on GitHub · 2026-11-24 11:09 UTC · original

RX 9070 XT, Adrenalin 26.11.2 (32.0.32029.2010). main at 8e79c80 + #431 + #568 + #67 merged locally (HEAD 7d9041e), diag build, DEBUG + DRED.

Replicates KingKaom's result: no "inside freed" in the log, and no page-fault line either. Got through loading into the opening cutscene (dialogue audible, picture black, audio was "stuck" at an electrical buzzing noise for a long time) at seconds per frame, with the AMD bug report tool logging repeated driver timeouts while the process kept running. Device removed after roughly 5 min 19 s of play (estimated from the audio, not timed).

DRED: lists 0-14 complete; list 15 of 33 stopped at command 150 of 152 (op 42), mesh draw [mesh 04b9be3756e8f41c, pixel 1af4a50c7fb40c97]. Log attached.

AI-assisted (Claude)

crashes5.log

**@⁠Klaerbgloiu** on GitHub · 2026-11-24 11:09 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7129723376) RX 9070 XT, Adrenalin 26.11.2 (32.0.32029.2010). `main` at 8e79c80 + #431 + #568 + #67 merged locally (HEAD 7d9041e), diag build, DEBUG + DRED. Replicates KingKaom's result: no "inside freed" in the log, and no page-fault line either. Got through loading into the opening cutscene (dialogue audible, picture black, audio was "stuck" at an electrical buzzing noise for a long time) at seconds per frame, with the AMD bug report tool logging repeated driver timeouts while the process kept running. Device removed after roughly 5 min 19 s of play (estimated from the audio, not timed). DRED: lists 0-14 complete; list 15 of 33 stopped at command 150 of 152 (op 42), mesh draw [mesh 04b9be3756e8f41c, pixel 1af4a50c7fb40c97]. Log attached. AI-assisted (Claude) [crashes5.log](https://github.com/user-attachments/files/35327313/crashes5.log)
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-24 14:41 UTC · original

Update from the same RX 9070 XT (RDNA4, Adrenalin 32.0.32029.2010, Ryzen 7 9800X3D, 32 GB, diag build, VICTORY_D3D12_DRED=1). The two AMD removals in this thread are gone with this stack:

ffe310e + #452 (cd6a864) + #431 + #67 + #584 + #493

  • 1,006 s with no device removal (stopped by hand), twice past 480 s. Gameplay is reached and an XInput pad works (input, rumble, pause menu).
  • #584 needed a higher limit on AMD: the view heap here is 1,245,184 + 2^18 dynamic = 1,507,328 slots, so I clamp at that instead of 1,000,000. Without #584 the removal reads far past the heap end (slot 125829120).
  • #493 then removes the next one: without it, a low-address page fault (0x29f4000) in compute 37e19ccb4f889f63, dispatch 12x1x1, list 21 of 28 stopped at command 4.
  • #641 brings that same fault back (184 s and 254 s, compute 37e19ccb4f889f63 again), so it does not stack with #493 on this card.
  • #955 instead of #584: same result as #584 with the raised limit (no visible change).
  • VICTORY_SHADER_LOOP_LIMIT=64: no speed-up here, and the low-address fault came back at 161 s.

What is left on this card:

  • The world output stays black/blank (menus, subtitles and prompts draw fine).
  • ~1 fps in the world, host-copy bound: the GPU is 3–10 % busy, and copystat reports about 10 GB refreshed per frame (16,881 refreshes, 10,485 MB) and 7–11 GB checked. #393 + #388 + #230 cut the checked bytes from 11.4 to 7.1 GB but not the refreshed ones, and fps does not move.

Exact merge order and every run: https://github.com/PastiiJay/klbf-lab (docs/klbf/results.md). Happy to run any build or flag and post the numbers.

**@⁠PastiiJay** on GitHub · 2026-11-24 14:41 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7134794112) Update from the same RX 9070 XT (RDNA4, Adrenalin 32.0.32029.2010, Ryzen 7 9800X3D, 32 GB, diag build, `VICTORY_D3D12_DRED=1`). The two AMD removals in this thread are gone with this stack: `ffe310e` + #452 (`cd6a864`) + #431 + #67 + **#584** + **#493** - **1,006 s with no device removal** (stopped by hand), twice past 480 s. Gameplay is reached and an XInput pad works (input, rumble, pause menu). - **#584 needed a higher limit on AMD:** the view heap here is 1,245,184 + 2^18 dynamic = 1,507,328 slots, so I clamp at that instead of 1,000,000. Without #584 the removal reads far past the heap end (`slot 125829120`). - **#493 then removes the next one:** without it, a low-address page fault (`0x29f4000`) in compute `37e19ccb4f889f63`, `dispatch 12x1x1`, list 21 of 28 stopped at command 4. - **#641 brings that same fault back** (184 s and 254 s, compute `37e19ccb4f889f63` again), so it does not stack with #493 on this card. - #955 instead of #584: same result as #584 with the raised limit (no visible change). - `VICTORY_SHADER_LOOP_LIMIT=64`: no speed-up here, and the low-address fault came back at 161 s. What is left on this card: - **The world output stays black/blank** (menus, subtitles and prompts draw fine). - **~1 fps in the world, host-copy bound:** the GPU is 3–10 % busy, and `copystat` reports about **10 GB refreshed per frame** (16,881 refreshes, 10,485 MB) and 7–11 GB checked. #393 + #388 + #230 cut the *checked* bytes from 11.4 to 7.1 GB but not the refreshed ones, and fps does not move. Exact merge order and every run: https://github.com/PastiiJay/klbf-lab (`docs/klbf/results.md`). Happy to run any build or flag and post the numbers.
Author
Owner

@⁠KingKaom on GitHub · 2026-11-24 15:06 UTC · original

Second RDNA4 box: the KLBF-Lab stack survives here too.

We rebuilt your Lab 03 set on ffe310e (#452 + #431 + #67 + #584 + #493, with the #584 clamp raised to 1,507,328 as you noted — thank you, that save is real) and ran it diag + VICTORY_D3D12_DEBUG + DRED with the usual scripted keys.

  • 885 s wall, stopped by us (hand-kill at a test-cap, not a crash). The world was active by 280 s in, and the full 3.3 GB log contains zero page-fault and zero device-removal lines — against 422 s to a device-hung on our previous best stack (#493-based, without #452/#584). Independent confirmation on a second RDNA4 card: this PR set closes the crash class on RDNA4, and what remains is your "world black, ~1 fps, host-copy-bound" wall — we observed the same (world renders black, menus fine). Our resolved merge head is 7bce296 on ffe310e if anyone wants to compare trees.
  • One caution for people stacking these: at current PR heads the set does not merge cleanly — #431×#452 conflict in the lowering pass (both grow the heap_handle path: per-lane/non-uniform indices vs bounded-view recording), and #584×#452 conflict inside heap_handle itself (clamp vs non-uniform flag). We resolved by keeping both behaviors (clamp applied before handle creation, non-uniform flag preserved); the result is the run above. #180 also conflicts with #452 in the same region, so these translator PRs are starting to stack on each other and may want a rebase order.

One data point toward your copy-bound wall: our per-command GPU-timestamp run on the #493-based stack (#886) found the frame time inside two ExecuteIndirect compute pipelines (68% of slow-list GPU time) plus one mesh/pixel pair with a single 3.4 s command — the copy refresh itself was only ~0.3–0.5 s/frame of host work preparing, which fits your "GPU 3–10% busy" only if the cost is submission stalls between lists rather than the copies themselves.

AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-24 15:06 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7135479961) **Second RDNA4 box: the KLBF-Lab stack survives here too.** We rebuilt your Lab 03 set on `ffe310e` (`#452` + `#431` + `#67` + `#584` + `#493`, with the `#584` clamp raised to 1,507,328 as you noted — thank you, that save is real) and ran it diag + `VICTORY_D3D12_DEBUG` + DRED with the usual scripted keys. - **885 s wall, stopped by us** (hand-kill at a test-cap, not a crash). The world was active by 280 s in, and the full 3.3 GB log contains **zero page-fault and zero device-removal lines** — against 422 s to a device-hung on our previous best stack (`#493`-based, without `#452`/`#584`). Independent confirmation on a second RDNA4 card: this PR set closes the crash class on RDNA4, and what remains is your "world black, ~1 fps, host-copy-bound" wall — we observed the same (world renders black, menus fine). Our resolved merge head is `7bce296` on `ffe310e` if anyone wants to compare trees. - One caution for people stacking these: at current PR heads the set does **not** merge cleanly — `#431`×`#452` conflict in the lowering pass (both grow the `heap_handle` path: per-lane/non-uniform indices vs bounded-view recording), and `#584`×`#452` conflict inside `heap_handle` itself (clamp vs non-uniform flag). We resolved by keeping both behaviors (clamp applied before handle creation, non-uniform flag preserved); the result is the run above. `#180` also conflicts with `#452` in the same region, so these translator PRs are starting to stack on each other and may want a rebase order. One data point toward your copy-bound wall: our per-command GPU-timestamp run on the `#493`-based stack (https://git.gtahub.st/github/Marvisak--VIctory/issues/886) found the frame time inside two `ExecuteIndirect` compute pipelines (68% of slow-list GPU time) plus one mesh/pixel pair with a single 3.4 s command — the copy refresh itself was only ~0.3–0.5 s/frame of host work preparing, which fits your "GPU 3–10% busy" only if the cost is submission stalls between lists rather than the copies themselves. <sub>AI-assisted (Hermes Agent)</sub>
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-24 15:10 UTC · original

@⁠KingKaom thank you, this made my day. Having a second RDNA4 box reproduce it independently is exactly what I was hoping for, and your note on the merge conflicts will save people a lot of time.

I'm really happy to share and contribute. I'm not writing the core of VIctory, I mostly build, test and measure, but if that helps everyone move forward, that's the goal. Let's keep working on this together.

Your timestamp data is a great lead for the ~1 fps wall: if the time goes into stalls between submissions rather than the copies themselves, that's where I'll look next, and I'll post the numbers here.

**@⁠PastiiJay** on GitHub · 2026-11-24 15:10 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7135593366) @⁠KingKaom thank you, this made my day. Having a second RDNA4 box reproduce it independently is exactly what I was hoping for, and your note on the merge conflicts will save people a lot of time. I'm really happy to share and contribute. I'm not writing the core of VIctory, I mostly build, test and measure, but if that helps everyone move forward, that's the goal. Let's keep working on this together. Your timestamp data is a great lead for the ~1 fps wall: if the time goes into stalls between submissions rather than the copies themselves, that's where I'll look next, and I'll post the numbers here.
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-24 15:47 UTC · original

Follow-up from the RX 9070 XT (RDNA4), two findings that may help:

1. The remaining removal on RDNA4 is intermittent and lives in two compute programs. With the Lab 03 stack (#452 + #431 + #67 + #584 + #493) most runs go 400–1,000+ s, but some end with a low-address page fault (0x29f4000, 0x2a0a000, 0x2f32000, 0x400002659000…). Every time, the list that stops contains dispatch 1x1x1 [compute 37e19ccb4f889f63] followed by dispatch 12x1x1 [compute eeed82b877b44b5f] (list 22 of 28 stopped at command 4 of 11 in the last one). It also happens with a change that only batches GetWriteWatch calls and doesn't touch what the GPU reads, so it's not caused by the experiments on top. #1019 names eeed82b877b44b5f (CS_ComputeHitDetectionSkinnedResults) and its null slots, which fits, but stacking #1019 on Lab 03 ended at 130 s here with the same fault, so it doesn't close it on its own.

2. The ~1 fps world is bound by one host thread, not the GPU. HWiNFO over a 2-minute world run: GPU utilisation 14 % average (74 % max), compute queues 0 %, GPU clock ~229 MHz average, CPU total 31 %, but the busiest single thread averages 60 % and peaks at 98 %. So the per-submission host work (refresh/watch/copy, ~25 submissions per frame) runs serially on one core while the GPU idles. Spreading that work over a few threads looks like the lever for frame rate; I'm experimenting with that and will post numbers.

Every run with build and numbers: https://github.com/PastiiJay/klbf-lab/blob/klbf-lab/docs/klbf/results.md

**@⁠PastiiJay** on GitHub · 2026-11-24 15:47 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7136612090) Follow-up from the RX 9070 XT (RDNA4), two findings that may help: **1. The remaining removal on RDNA4 is intermittent and lives in two compute programs.** With the Lab 03 stack (#452 + #431 + #67 + #584 + #493) most runs go 400–1,000+ s, but some end with a low-address page fault (`0x29f4000`, `0x2a0a000`, `0x2f32000`, `0x400002659000`…). Every time, the list that stops contains `dispatch 1x1x1 [compute 37e19ccb4f889f63]` followed by `dispatch 12x1x1 [compute eeed82b877b44b5f]` (list 22 of 28 stopped at command 4 of 11 in the last one). It also happens with a change that only batches `GetWriteWatch` calls and doesn't touch what the GPU reads, so it's not caused by the experiments on top. #1019 names `eeed82b877b44b5f` (`CS_ComputeHitDetectionSkinnedResults`) and its null slots, which fits, but stacking #1019 on Lab 03 ended at 130 s here with the same fault, so it doesn't close it on its own. **2. The ~1 fps world is bound by one host thread, not the GPU.** HWiNFO over a 2-minute world run: GPU utilisation 14 % average (74 % max), compute queues 0 %, GPU clock ~229 MHz average, CPU total 31 %, but the busiest single thread averages 60 % and peaks at 98 %. So the per-submission host work (refresh/watch/copy, ~25 submissions per frame) runs serially on one core while the GPU idles. Spreading that work over a few threads looks like the lever for frame rate; I'm experimenting with that and will post numbers. Every run with build and numbers: https://github.com/PastiiJay/klbf-lab/blob/klbf-lab/docs/klbf/results.md
Author
Owner

@⁠KingKaom on GitHub · 2026-11-24 15:55 UTC · original

Addendum from the same RDNA4 box and same PR set (pjay head): the 885 s survival stands, but the class is attenuated, not eliminated here. Three further runs with capture/diagnostics knobs: one more clean run to 640 s in-world (zero fault lines, hand-stopped; the presented-frame capture in-world is pure black + the control-hint HUD with zero world geometry, matching the black-world reports). But two runs with VICTORY_DUMP_TARGETS=1 lost the device (hang, 0x887A0005) 97 s and 190 s after entering the world, both from a 28-list submission with a page fault below all title copies (no copy at the fault VA, ~0x27–0x2a MB region). Net on this box: 2/4 runs clean past 640 s, 2/4 dead ~2–3 min into the world (vs 100% faults within 150 s pre-set). Both deaths occurred before the dump knob's first target frame, so the knob was likely inactive at death.

AI-assisted (Hermes Agent)

**@⁠KingKaom** on GitHub · 2026-11-24 15:55 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7136840502) Addendum from the same RDNA4 box and same PR set (pjay head): the 885 s survival stands, but the class is attenuated, not eliminated here. Three further runs with capture/diagnostics knobs: one more clean run to 640 s in-world (zero fault lines, hand-stopped; the presented-frame capture in-world is pure black + the control-hint HUD with zero world geometry, matching the black-world reports). But two runs with `VICTORY_DUMP_TARGETS=1` lost the device (hang, 0x887A0005) 97 s and 190 s after entering the world, both from a 28-list submission with a page fault **below all title copies** (no copy at the fault VA, ~0x27–0x2a MB region). Net on this box: 2/4 runs clean past 640 s, 2/4 dead ~2–3 min into the world (vs 100% faults within 150 s pre-set). Both deaths occurred before the dump knob's first target frame, so the knob was likely inactive at death. AI-assisted (Hermes Agent)
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-24 16:51 UTC · original

Another RDNA4 data point (RX 9070 XT, Adrenalin 32.0.32029.2010, diag build, VICTORY_D3D12_DRED=1), this time on top of the AnyXboxX integration (LooperSalty/victory anyxboxx/stable, VIctory + 24 community PRs):

  • Unchanged AnyXboxX build, its launcher settings (VICTORY_CAPPED_DYNAMIC=262144, VICTORY_SHADER_LOOP_LIMIT=32): 1,221 s with no device removal (stopped by hand), pad input works, and for the first time on this card world geometry shows through (with the game's high-contrast accessibility option on, the player/interactive silhouettes and some scene edges are drawn; the lit picture is still black).
  • Same base + #431 + #67 (both conflict with the base; merged keeping deferred host-copy creation and not letting a readback overwrite GPU-drawn targets), VICTORY_SHADER_LOOP_LIMIT=1024: 1,503 s with no device removal, stopped by the test script; same partial geometry; ~1,030 ms/frame in the world.
  • For comparison, the Lab 03 stack on plain main gives ~50 % runs that die 2–3 min into the world with the low-address fault in 37e19ccb4f889f63 / eeed82b877b44b5f; none of the AnyXboxX-based runs hit it so far (2 runs, 20–25 min each).

So on RDNA4 the AnyXboxX set seems to close that remaining intermittent fault, and the frame stays host-bound (~1 fps, GPU mostly idle). Branch with the exact merge and every run: https://github.com/PastiiJay/klbf-lab

**@⁠PastiiJay** on GitHub · 2026-11-24 16:51 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7138327538) Another RDNA4 data point (RX 9070 XT, Adrenalin 32.0.32029.2010, diag build, `VICTORY_D3D12_DRED=1`), this time on top of the AnyXboxX integration (LooperSalty/victory `anyxboxx/stable`, VIctory + 24 community PRs): - **Unchanged AnyXboxX build, its launcher settings** (`VICTORY_CAPPED_DYNAMIC=262144`, `VICTORY_SHADER_LOOP_LIMIT=32`): **1,221 s with no device removal** (stopped by hand), pad input works, and for the first time on this card **world geometry shows through** (with the game's high-contrast accessibility option on, the player/interactive silhouettes and some scene edges are drawn; the lit picture is still black). - **Same base + #431 + #67** (both conflict with the base; merged keeping deferred host-copy creation and not letting a readback overwrite GPU-drawn targets), `VICTORY_SHADER_LOOP_LIMIT=1024`: **1,503 s with no device removal**, stopped by the test script; same partial geometry; ~1,030 ms/frame in the world. - For comparison, the Lab 03 stack on plain `main` gives ~50 % runs that die 2–3 min into the world with the low-address fault in `37e19ccb4f889f63` / `eeed82b877b44b5f`; none of the AnyXboxX-based runs hit it so far (2 runs, 20–25 min each). So on RDNA4 the AnyXboxX set seems to close that remaining intermittent fault, and the frame stays host-bound (~1 fps, GPU mostly idle). Branch with the exact merge and every run: https://github.com/PastiiJay/klbf-lab
Author
Owner

@⁠Drdg263 on GitHub · 2026-11-24 19:23 UTC · original

Independent same-machine baseline on main (ffe310e) comparing an AMD Radeon 610M (RDNA2 iGPU, native wave64) against an NVIDIA GeForce RTX 5070 Laptop GPU (wave32), reproducing the compute eeed82b877b44b5f DRED page fault reported in this thread.

Environment

  • OS: Windows 11 Pro 25H2 (build 26200.7462) x64, 64 GB RAM (63.18 GiB usable)
  • GPU 1 (dGPU): NVIDIA GeForce RTX 5070 Laptop GPU (0x10DE:0x2D18, 7,891 MB dedicated VRAM, WaveMin/Max = 32/32, 4,608 lanes, MeshShaderTier = 10, SM 6.8), driver 621.24 (32.0.16.2124)
  • GPU 2 (iGPU): AMD Radeon(TM) 610M (0x1002:0x164E, 483 MB dedicated VRAM / 31.6 GB shared, WaveMin/Max = 32/64, 128 lanes, MeshShaderTier = 0, SM 6.8), Adrenalin 26.11.2 (2.0.353)
  • Build: unmodified main (ffe310e), Rust 1.98.1, cargo build --profile diag -p victory --features diagnostics
  • Commands tested: per-adapter Windows Graphics preference on target\diag\victory.exe, separate clean VICTORY_CACHE_DIR per GPU, VICTORY_D3D12_DRED=1, VICTORY_D3D12_DEBUG=1 (host lacked d3d12SDKLayers.dll, 0x887A002D), VICTORY_KEYS="8:Enter,11:Enter,14:Enter,17:Enter,20:Enter,23:Enter,26:Enter,29:Enter,32:Enter,35:Enter,38:Enter,41:Enter,44:Enter,47:Enter", target\diag\victory.exe run "<game_dir>\<title_exe>" --execute (Series X mode, title 1.0.2.1).

Side-by-side comparison (ffe310e)

Metric RTX 5070 Laptop (wave32) AMD Radeon 610M (RDNA2, wave64)
host mesh shader support mesh=true (294 mesh PSOs created) mesh=false (0 mesh PSOs; 507 unique mesh shaders skipped)
host pipeline refused (0x80070057) 114 compute (wave64 on wave32 host) 0
Dynamic view heap drops >=8,192 (dropped=1..8192, heap capped at 1,000,000, #747) 0 (1,507,328 slots)
Unique untranslated shaders 357 (307 cs, 24 ps, 22 ms, 4 vs) 484 (464 cs, 12 ps, 8 vs)
Survival / last frame 1 min 51 s (frame=1194), TDR 0x887A0006 without page fault (list 31/32, 1580/1821) 12 min 08 s (frame=2929), DRED page fault 0x1ae3dc000

Radeon 610M DRED breakdown (compute eeed82b877b44b5f)

  • The run stopped in list 21 of 29 at breadcrumb 4/11, right after dispatch 1x1x1 [compute 37e19ccb4f889f63] on dispatch 12x1x1 [compute eeed82b877b44b5f].
  • Srv s1+0 (112 B, stride 56) is placed at 0x1497c730 inside the host buffer 0x12f90000+0xae00000, giving offset = 0x19ec730 (27,182,896 bytes; 27,182,896 % 56 = 48 != 0).
  • Because offset % element != 0, crates/victory-gpu/src/descriptor/host.rs:510-516 returns None and leaves the descriptor zeroed; the shader reads base = 0 and hits VIEW_TAG = 0x45495676 ("vVIE", descriptor.rs:339), faulting at slot 88692224 (0x05495600) -> page fault at 0x1ae3dc000.
  • This points directly to #981 / #1019 (and companion #984 for flat byte-offset StructuredBuffer<56> loads), rather than #508.

World copystat bottleneck (Radeon 610M)

  • In the world (~0.69 fps, ~1.44 s/frame), watches takes 535–926 ms/frame on CPU scanning 6.4–6.9 GB/frame with >99.6% unchanged, alongside refreshes up to 3.07 GiB/frame, matching #400.

AI-assisted analysis and report.

**@⁠Drdg263** on GitHub · 2026-11-24 19:23 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7142038745) Independent same-machine baseline on `main` (`ffe310e`) comparing an **AMD Radeon 610M (RDNA2 iGPU, native wave64)** against an **NVIDIA GeForce RTX 5070 Laptop GPU (wave32)**, reproducing the `compute eeed82b877b44b5f` DRED page fault reported in this thread. ### Environment - **OS:** Windows 11 Pro 25H2 (build `26200.7462`) x64, 64 GB RAM (`63.18 GiB` usable) - **GPU 1 (dGPU):** NVIDIA GeForce RTX 5070 Laptop GPU (`0x10DE:0x2D18`, `7,891 MB` dedicated VRAM, `WaveMin/Max = 32/32`, `4,608` lanes, `MeshShaderTier = 10`, SM `6.8`), driver `621.24` (`32.0.16.2124`) - **GPU 2 (iGPU):** AMD Radeon(TM) 610M (`0x1002:0x164E`, `483 MB` dedicated VRAM / `31.6 GB` shared, `WaveMin/Max = 32/64`, `128` lanes, `MeshShaderTier = 0`, SM `6.8`), Adrenalin `26.11.2` (`2.0.353`) - **Build:** unmodified `main` (`ffe310e`), Rust `1.98.1`, `cargo build --profile diag -p victory --features diagnostics` - **Commands tested:** per-adapter Windows Graphics preference on `target\diag\victory.exe`, separate clean `VICTORY_CACHE_DIR` per GPU, `VICTORY_D3D12_DRED=1`, `VICTORY_D3D12_DEBUG=1` (host lacked `d3d12SDKLayers.dll`, `0x887A002D`), `VICTORY_KEYS="8:Enter,11:Enter,14:Enter,17:Enter,20:Enter,23:Enter,26:Enter,29:Enter,32:Enter,35:Enter,38:Enter,41:Enter,44:Enter,47:Enter"`, `target\diag\victory.exe run "<game_dir>\<title_exe>" --execute` (Series X mode, title 1.0.2.1). ### Side-by-side comparison (`ffe310e`) | Metric | RTX 5070 Laptop (wave32) | AMD Radeon 610M (RDNA2, wave64) | |---|---|---| | `host mesh shader support` | `mesh=true` (`294` mesh PSOs created) | `mesh=false` (`0` mesh PSOs; `507` unique mesh shaders skipped) | | `host pipeline refused` (`0x80070057`) | `114` compute (wave64 on wave32 host) | `0` | | Dynamic view heap drops | `>=8,192` (`dropped=1..8192`, heap capped at `1,000,000`, #747) | `0` (`1,507,328` slots) | | Unique untranslated shaders | `357` (`307` cs, `24` ps, `22` ms, `4` vs) | `484` (`464` cs, `12` ps, `8` vs) | | Survival / last frame | `1 min 51 s` (`frame=1194`), TDR `0x887A0006` without page fault (`list 31/32`, `1580/1821`) | `12 min 08 s` (`frame=2929`), DRED page fault `0x1ae3dc000` | ### Radeon 610M DRED breakdown (`compute eeed82b877b44b5f`) - The run stopped in `list 21 of 29` at breadcrumb `4/11`, right after `dispatch 1x1x1 [compute 37e19ccb4f889f63]` on `dispatch 12x1x1 [compute eeed82b877b44b5f]`. - `Srv s1+0` (`112 B`, stride `56`) is placed at `0x1497c730` inside the host buffer `0x12f90000+0xae00000`, giving `offset = 0x19ec730` (`27,182,896` bytes; `27,182,896 % 56 = 48 != 0`). - Because `offset % element != 0`, `crates/victory-gpu/src/descriptor/host.rs:510-516` returns `None` and leaves the descriptor zeroed; the shader reads `base = 0` and hits `VIEW_TAG = 0x45495676` (`"vVIE"`, `descriptor.rs:339`), faulting at `slot 88692224` (`0x05495600`) -> `page fault at 0x1ae3dc000`. - This points directly to #981 / #1019 (and companion #984 for flat byte-offset `StructuredBuffer<56>` loads), rather than #508. ### World `copystat` bottleneck (Radeon 610M) - In the world (`~0.69 fps`, `~1.44 s/frame`), `watches` takes `535–926 ms/frame` on CPU scanning `6.4–6.9 GB/frame` with `>99.6%` unchanged, alongside `refreshes` up to `3.07 GiB/frame`, matching #400. AI-assisted analysis and report.
Author
Owner

@⁠KingKaom on GitHub · 2026-11-24 22:06 UTC · original

RDNA4 (RX 9070 XT) corroboration for eeed82b877b44b5f — a one-variable A/B on our stack

Following up on our earlier reports in this thread, we ran two tests against our longest-surviving RDNA4 stack (the lineage that presents a visible unlit world, previously 217–620 s in-world on the same binary) after your baseline pinned the same compute, @⁠Drdg263:

1. The fork's shader-loop-limit setting is inert here. VICTORY_SHADER_LOOP_LIMIT=32 (482 s in-world, unchanged fault shape: 0x887A0005-class device removal, 28-list submission, page fault below all title copies) — and the faulting list stopped at dispatch 12x1x1 [compute eeed82b877b44b5f]: the same program your 610M DRED trace pins, from an independent fault path (ours is a low-address page fault below the copies, not the null-SRV base = 0 read).

2. Skipping that one program changed survival qualitatively. Same binary, single variable VICTORY_SKIP_PIPELINES=eeed82b877b44b5f (per source, the skip drops the dispatch; the program still translates and binds): alive and still presenting the world at 61 minutes in-world (we stopped it deliberately; last frame capture at 2048, 1.1 fps, sparse unlit street). Same-binary control without the skip: 620 s. That is 5.9× the best survival this stack has ever had, from removing one dispatch — the strongest single-program signal we have had on this card. Caveats: one run, and the per-program drop counter never printed (the 40-reason print cap crowded it out), so we verified the skip semantics in source rather than from the drop summary.

3. A third vote, independently: the depth-uav lit-world work on #841 runs with eeed82b877b44b5f in its skip list by default on the tester setups (#841), without knowing about this thread's DRED trace.

Your null-SRV mechanism (offset not element-aligned → zeroed descriptor → base = 0 read of the view tag) matches everything we see on our side except the fault address, and 4051149 (null views for empty/past-copy buffer views) plus 86a5ed6 (off-element views get their own copy) landed on main today. We are now running a plain main 70564ae baseline on this card with nothing skipped — if the class disappears there, that would close the loop between your mechanism and our survival data from both ends.

AI-assisted (Hermes Agent).

**@⁠KingKaom** on GitHub · 2026-11-24 22:06 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7145809734) **RDNA4 (RX 9070 XT) corroboration for `eeed82b877b44b5f` — a one-variable A/B on our stack** Following up on our earlier reports in this thread, we ran two tests against our longest-surviving RDNA4 stack (the lineage that presents a visible unlit world, previously 217–620 s in-world on the same binary) after your baseline pinned the same compute, @⁠Drdg263: **1. The fork's shader-loop-limit setting is inert here.** `VICTORY_SHADER_LOOP_LIMIT=32` (482 s in-world, unchanged fault shape: `0x887A0005`-class device removal, 28-list submission, page fault below all title copies) — and the faulting list stopped at `dispatch 12x1x1 [compute eeed82b877b44b5f]`: the same program your 610M DRED trace pins, from an independent fault path (ours is a low-address page fault below the copies, not the null-SRV `base = 0` read). **2. Skipping that one program changed survival qualitatively.** Same binary, single variable `VICTORY_SKIP_PIPELINES=eeed82b877b44b5f` (per source, the skip drops the dispatch; the program still translates and binds): **alive and still presenting the world at 61 minutes in-world** (we stopped it deliberately; last frame capture at 2048, 1.1 fps, sparse unlit street). Same-binary control without the skip: 620 s. That is 5.9× the best survival this stack has ever had, from removing one dispatch — the strongest single-program signal we have had on this card. Caveats: one run, and the per-program drop counter never printed (the 40-reason print cap crowded it out), so we verified the skip semantics in source rather than from the drop summary. **3. A third vote, independently:** the `depth-uav` lit-world work on #841 runs with `eeed82b877b44b5f` in its skip list by default on the tester setups (https://git.gtahub.st/github/Marvisak--VIctory/issues/841), without knowing about this thread's DRED trace. Your null-SRV mechanism (offset not element-aligned → zeroed descriptor → `base = 0` read of the view tag) matches everything we see on our side except the fault address, and `4051149` (null views for empty/past-copy buffer views) plus `86a5ed6` (off-element views get their own copy) landed on main today. We are now running a plain `main` `70564ae` baseline on this card with nothing skipped — if the class disappears there, that would close the loop between your mechanism and our survival data from both ends. *AI-assisted (Hermes Agent).*
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 01:47 UTC · original · edited 2026-11-25 01:51 UTC

Automated triage for the maintainers.

Run report: RX 9060 XT, world entry, DXGI_ERROR_DEVICE_HUNG after a GPU page fault below every title memory copy. This is the oldest open report of the AMD world-entry page fault, so this issue is where that failure is tracked; the comments add RX 9070 XT, RX 7900 XTX, RX 7800 XT and RX 7900 GRE (Wine) runs with the same family of faults (low addresses below the copies, and later faults inside freed textures). #304 (RX 9070 XT, removal ~55 s after the first mission's title card) reports the same stage.

Since these runs, commit d71c388 on main (2026-11-24) bounds root views to their host copy (crates/victory-gpu/src/draw.rs) and retires host objects only after the lists that name them have run (retire and release_retired in crates/victory-gpu/src/host.rs). That covers what the closed pull requests #493 and #431 did, which testers here found removed the freed-texture and root-SRV faults on RDNA3/RDNA4.

@⁠sjauijn, two things would settle where this stands:

  • the two values still left as placeholders in the report: the AMD driver version and the Windows build number;
  • a run on current main (diag build, VICTORY_D3D12_DRED=1): whether the device is still removed in the world, and if so the host GPU device removed ... line from crashes.log.

Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 01:47 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7149967210) · edited 2026-11-25 01:51 UTC <!-- victory-issue-triage v1 verdict=needs-info seen=2026-11-24T22:06:21Z at=2026-11-25T01:47:51Z --> Automated triage for the maintainers. Run report: RX 9060 XT, world entry, `DXGI_ERROR_DEVICE_HUNG` after a GPU page fault below every title memory copy. This is the oldest open report of the AMD world-entry page fault, so this issue is where that failure is tracked; the comments add RX 9070 XT, RX 7900 XTX, RX 7800 XT and RX 7900 GRE (Wine) runs with the same family of faults (low addresses below the copies, and later faults inside freed textures). #304 (RX 9070 XT, removal ~55 s after the first mission's title card) reports the same stage. Since these runs, commit `d71c388` on `main` (2026-11-24) bounds root views to their host copy (`crates/victory-gpu/src/draw.rs`) and retires host objects only after the lists that name them have run (`retire` and `release_retired` in `crates/victory-gpu/src/host.rs`). That covers what the closed pull requests #493 and #431 did, which testers here found removed the freed-texture and root-SRV faults on RDNA3/RDNA4. @⁠sjauijn, two things would settle where this stands: - the two values still left as placeholders in the report: the AMD driver version and the Windows build number; - a run on current `main` (diag build, `VICTORY_D3D12_DRED=1`): whether the device is still removed in the world, and if so the `host GPU device removed ...` line from `crashes.log`. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠xndbogdan on GitHub · 2026-11-26 09:12 UTC · original

VInAMD (iLucasRT's fork for the RX 7900 XTX) reports a fix for device removal in the open world that may be relevant here. Radeon GPU Detective named a raw load in the title's shader fc5e66f8f873d3bb. On AMD, a raw access through a structured or typed view is bounded only by the element index. A byte offset read from memory that holds something else therefore reached up to 4 GiB past the view. Their fix checks raw accesses to buffers the shader picks from the view heap against that view's size (VICTORY_PICK_BOUND, on by default). Without it, every run that moved through the world lost the device within 240–623 s on their machine. With it, none of eight did.

Commit: github.com/iLucasRT/VInAMD@0eb7cd0025

It relies on a per-slot stride table that only their fork lineage has, so it doesn't apply to main as is. I haven't checked whether main's heap-picked raw accesses can go out of bounds the same way. The faults in this thread are at low addresses below the copies, so this may be a different fault. Posting it as a lead.

**@⁠xndbogdan** on GitHub · 2026-11-26 09:12 UTC · [original](https://github.com/Marvisak/VIctory/issues/59#issuecomment-7187586169) VInAMD (iLucasRT's fork for the RX 7900 XTX) reports a fix for device removal in the open world that may be relevant here. Radeon GPU Detective named a raw load in the title's shader `fc5e66f8f873d3bb`. On AMD, a raw access through a structured or typed view is bounded only by the element index. A byte offset read from memory that holds something else therefore reached up to 4 GiB past the view. Their fix checks raw accesses to buffers the shader picks from the view heap against that view's size (`VICTORY_PICK_BOUND`, on by default). Without it, every run that moved through the world lost the device within 240–623 s on their machine. With it, none of eight did. Commit: https://github.com/iLucasRT/VInAMD/commit/0eb7cd00259910d9a11dd78d8c31d7d356df0221 It relies on a per-slot stride table that only their fork lineage has, so it doesn't apply to main as is. I haven't checked whether main's heap-picked raw accesses can go out of bounds the same way. The faults in this thread are at low addresses below the copies, so this may be a different fault. Posting it as a lead.
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/Marvisak--VIctory#59
No description provided.