AMD hive: one goal – the retail title (7952987A) past world load on AMD. RX 9070 XT and other RDNA owners, pick a lane #2996

Open
opened 2026-11-27 10:47:11 +00:00 by github-bot · 7 comments
Owner

@⁠spicbully-star on GitHub · 2026-11-27 09:52 UTC · original

Several of us on AMD have hit the same wall, each in our own issue. This issue pulls us together: one goal, split into lanes, so we stop repeating each other's tests and the results come in faster. It's a coordination issue for the AMD side of #1833 and #2088, not a replacement for them.

Where AMD stands (amd-dev, Nov 27)

What works on RDNA4. With a warm cache, an RX 9070 XT reaches world loading at 30 fps. My setup: Windows 10, amd-dev bf7c82e plus the #662 XG fix, XCL_RT_GATE=miss, XCL_PREPARE=0.

The wall has two sides.

  1. Waiting. A family of about 22 ray-tracing compute records, 1.17–1.36 MB of DXIL on the HLSL path, never finish in the AMD driver compiler. One of them, 84eee477d68b6fdf at 1,306,064 B, was still compiling after 743 s. The title then waits forever. #2866 (also an RX 9070 XT) shows the same with 73dc0d51029621e8. The record list is in #2582.
  2. Skipping. If those 22 are refused (XCL_PSO_MAX_KB=1150), the title keeps rendering (25,301 draws). Then the device is removed about 20 s later (0x887a0006). #2626 (RX 9070 XT) gets the same after about 512 skipped dispatches, and DRED shows a page fault at GPU VA 0x0 in a compute dispatch. So a skipped pass probably leaves an address table unwritten.

Proof it can work. #534: an RX 7900 XTX reached real gameplay at 28–30 fps with 0 skipped dispatches, on an older main.

Lanes (anyone can join; reply with the lane number)

# Lane Question Who could take it
1 Compact direct DXIL Do XCL_DIRECT_DXIL=1 (and #2796's XCL_PER_LANE=1 routing) get the 22 records small enough to build? #2796 took one record from 2.67 MB to 160 KB. @⁠Saksukella, @⁠komglebissarov, me (running now on 5fbd90f)
2 Skipped dispatch → GPU fault Which skipped pass leaves the VA 0x0 that a later dispatch reads? Could XCL write a safe empty result instead of skipping? @⁠therealobscure (#2626 has DRED), me
3 RDNA3 reference Which commit and env got #534 to gameplay? Does current amd-dev still get there? That gives the rest of us a known-good baseline. @⁠remembering7896, @⁠moombathepilot (#2990, RX 7800 XT)
4 RDNA4 test baseline The current list of failing tests on RDNA4, so real bugs stand out from the known #2115 failures. @⁠AC-Storm-YT (#2632), @⁠Luislariosss (RX 9060 XT)
5 RDNA2 and memory Driver compiles vs RAM (#2994), the sparse-VA crash (#2582), the page fault (#2619). @⁠RodrigoTorreao, @⁠bobosneefdev, @⁠relativespace2K, @⁠madaraXor
6 New testers Run the recipe below once and post the summary lines. Every extra RX 9070 XT run helps. @⁠SJ99970 and anyone new

Shared recipe (so results compare)

amd-dev at a named commit (+ #1435 or the #662 XG fix until it lands), release build
XCL_NETWORK=0  XCL_ACTIVITY=1  XCL_RT_GATE=miss  XCL_PRESS_A_AT=20,24,30,45  XCL_RUN_SECONDS=900
first run: with the launch shader preparation (XCL_PIPELINE_MAX_KB=1150); next runs: XCL_PREPARE=0

Post these with each result:

  • GPU, driver, RAM and Windows build
  • The commit and every XCL_* you set
  • Time of the last frame
  • Any driver compile start with no finish (record hash and size)
  • Any device removed line, with the DRED line if XCL_DRED=1
  • The console code so far line

Rules

  • Always XCL_NETWORK=0. The title's crash reporter uploads dumps otherwise (#2992, #702).
  • Use record hashes and counts only. No game files, shaders, dumps or keys.
  • Write down what you used AI for (CONTRIBUTING).

I'll keep a summary of the results in this first post as they come in.

Written with Claude Code (Claude Opus 5.5). The numbers come from my own logs and the linked issues, and I checked them before posting.

**@⁠spicbully-star** on GitHub · 2026-11-27 09:52 UTC · [original](https://github.com/xcl-dev/xcl/issues/2996) Several of us on AMD have hit the same wall, each in our own issue. This issue pulls us together: one goal, split into lanes, so we stop repeating each other's tests and the results come in faster. It's a coordination issue for the AMD side of #1833 and #2088, not a replacement for them. ## Where AMD stands (amd-dev, Nov 27) **What works on RDNA4.** With a warm cache, an RX 9070 XT reaches world loading at 30 fps. My setup: Windows 10, amd-dev bf7c82e plus the #662 XG fix, `XCL_RT_GATE=miss`, `XCL_PREPARE=0`. **The wall has two sides.** 1. **Waiting.** A family of about 22 ray-tracing compute records, 1.17–1.36 MB of DXIL on the HLSL path, never finish in the AMD driver compiler. One of them, 84eee477d68b6fdf at 1,306,064 B, was still compiling after 743 s. The title then waits forever. #2866 (also an RX 9070 XT) shows the same with 73dc0d51029621e8. The record list is in #2582. 2. **Skipping.** If those 22 are refused (`XCL_PSO_MAX_KB=1150`), the title keeps rendering (25,301 draws). Then the device is removed about 20 s later (`0x887a0006`). #2626 (RX 9070 XT) gets the same after about 512 skipped dispatches, and DRED shows a page fault at GPU VA 0x0 in a compute dispatch. So a skipped pass probably leaves an address table unwritten. **Proof it can work.** #534: an RX 7900 XTX reached real gameplay at 28–30 fps with 0 skipped dispatches, on an older main. ## Lanes (anyone can join; reply with the lane number) | # | Lane | Question | Who could take it | |---|---|---|---| | 1 | **Compact direct DXIL** | Do `XCL_DIRECT_DXIL=1` (and #2796's `XCL_PER_LANE=1` routing) get the 22 records small enough to build? #2796 took one record from 2.67 MB to 160 KB. | @⁠Saksukella, @⁠komglebissarov, me (running now on 5fbd90f) | | 2 | **Skipped dispatch → GPU fault** | Which skipped pass leaves the VA 0x0 that a later dispatch reads? Could XCL write a safe empty result instead of skipping? | @⁠therealobscure (#2626 has DRED), me | | 3 | **RDNA3 reference** | Which commit and env got #534 to gameplay? Does current amd-dev still get there? That gives the rest of us a known-good baseline. | @⁠remembering7896, @⁠moombathepilot (#2990, RX 7800 XT) | | 4 | **RDNA4 test baseline** | The current list of failing tests on RDNA4, so real bugs stand out from the known #2115 failures. | @⁠AC-Storm-YT (#2632), @⁠Luislariosss (RX 9060 XT) | | 5 | **RDNA2 and memory** | Driver compiles vs RAM (#2994), the sparse-VA crash (#2582), the page fault (#2619). | @⁠RodrigoTorreao, @⁠bobosneefdev, @⁠relativespace2K, @⁠madaraXor | | 6 | **New testers** | Run the recipe below once and post the summary lines. Every extra RX 9070 XT run helps. | @⁠SJ99970 and anyone new | ## Shared recipe (so results compare) ``` amd-dev at a named commit (+ #1435 or the #662 XG fix until it lands), release build XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_RT_GATE=miss XCL_PRESS_A_AT=20,24,30,45 XCL_RUN_SECONDS=900 first run: with the launch shader preparation (XCL_PIPELINE_MAX_KB=1150); next runs: XCL_PREPARE=0 ``` Post these with each result: - GPU, driver, RAM and Windows build - The commit and every `XCL_*` you set - Time of the last frame - Any `driver compile start` with no finish (record hash and size) - Any `device removed` line, with the DRED line if `XCL_DRED=1` - The `console code so far` line ## Rules - **Always `XCL_NETWORK=0`.** The title's crash reporter uploads dumps otherwise (#2992, #702). - Use record hashes and counts only. No game files, shaders, dumps or keys. - Write down what you used AI for (CONTRIBUTING). I'll keep a summary of the results in this first post as they come in. Written with Claude Code (Claude Opus 5.5). The numbers come from my own logs and the linked issues, and I checked them before posting.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 10:47:11 +00:00
Author
Owner

@⁠spicbully-star on GitHub · 2026-11-27 10:33 UTC · original

Lane 1 result: XCL_DIRECT_DXIL=1 gets the 22 records through on an RX 9070 XT. The title now runs to 413 s (it used to stop at 112 s).

Setup: RX 9070 XT 16 GB, Windows 10 22H2, i7-9700K, 32 GB RAM. amd-dev 5fbd90f (with bfb4031) plus the #662 XG fix, release build. Env: XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_RT_GATE=miss XCL_DIRECT_DXIL=1 XCL_PSO_IMAGE_SKIP=1 XCL_HUGE_PSO_CONCURRENCY=3 XCL_PSO_WAIT_MS=360000 XCL_PRESS_A_AT=20,24,30,45, plus XCL_D3D12_DIR (Agility SDK).

1. bfb4031 alone doesn't help these records. Launch preparation on the HLSL path with XCL_PIPELINE_MAX_KB=1400 stopped at 24,064 of 26,503 records and didn't move for over 10 minutes.

2. With XCL_DIRECT_DXIL=1 the preparation finishes. It took 1,193 s for compute (0 workers failed), and all 331 graphics pipelines were made with 0 failed. The big records come out at roughly half their HLSL-path size:

record HLSL path direct DXIL
84eee477d68b6fdf 1,306,064 B 615,568 B
02a31c25862c1c63 1,272,048 B 615,732 B
73dc0d51029621e8 1,215,844 B 576,968 B
c331fc57a9e8a44f 1,360,844 B 651,956 B

3. Warm run with XCL_PREPARE=0, 900 s timer.

  • Menus and the loading screen ran at 18–30 fps until about 90 s.
  • After that the game slowed to about 1.4 fps while the driver built new graphics pipelines (the #2088 stretch).
  • Frames kept coming until 413 s: 143,803 draws, 131,072 dispatches, of which 1 was skipped. No record was refused.
  • At about 413 s every queue stopped (gpu-awake and the title queues, no movement for 20 s). The device was then reset with 0x887a0007, and after that the title asserted (0x80000003 at +0x2474606, rbx=0x887a0005).
  • At that point the process had 29,973 MB committed and 11,554 MB of local video memory in use.

I'm running it again now with XCL_DRED=1 to get the shader at the stop.

A trap to watch for: driver-crashes.txt. When a preparation is closed while a worker is still inside the driver, its driver-building-* markers are moved into %LOCALAPPDATA%\xcl\dxil\driver-crashes.txt on the next run. The entries there are just cs-<record>, so the record stays blocked after the translation changes. That's not what the comment in driver_crash.rs says ("a translation that changes makes a new key"). My first direct-DXIL run had 13 records blocked this way, including all four above. Their dispatches were skipped, and the device was removed at 164 s. With the file emptied, the same setup ran to 413 s. If you have ever closed a stuck preparation, check that file before testing.

Suggestion for the other RX 9070 XT owners (@⁠Saksukella, @⁠therealobscure, @⁠SJ99970, @⁠AC-Storm-YT): try the env above (XCL_DIRECT_DXIL=1 + XCL_RT_GATE=miss) with an empty driver-crashes.txt, and post how far you get. A second card that stops at the same point would tell us whether the 413 s stop is about this machine (32 GB of RAM) or the code.

Tested and written up with Claude Code (Claude Opus 5.5). The numbers are from the run logs.

**@⁠spicbully-star** on GitHub · 2026-11-27 10:33 UTC · [original](https://github.com/xcl-dev/xcl/issues/2996#issuecomment-7216019733) **Lane 1 result: `XCL_DIRECT_DXIL=1` gets the 22 records through on an RX 9070 XT. The title now runs to 413 s (it used to stop at 112 s).** Setup: RX 9070 XT 16 GB, Windows 10 22H2, i7-9700K, 32 GB RAM. amd-dev **5fbd90f** (with bfb4031) plus the #662 XG fix, release build. Env: `XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_RT_GATE=miss XCL_DIRECT_DXIL=1 XCL_PSO_IMAGE_SKIP=1 XCL_HUGE_PSO_CONCURRENCY=3 XCL_PSO_WAIT_MS=360000 XCL_PRESS_A_AT=20,24,30,45`, plus `XCL_D3D12_DIR` (Agility SDK). **1. bfb4031 alone doesn't help these records.** Launch preparation on the HLSL path with `XCL_PIPELINE_MAX_KB=1400` stopped at 24,064 of 26,503 records and didn't move for over 10 minutes. **2. With `XCL_DIRECT_DXIL=1` the preparation finishes.** It took 1,193 s for compute (0 workers failed), and all 331 graphics pipelines were made with 0 failed. The big records come out at roughly half their HLSL-path size: | record | HLSL path | direct DXIL | |---|---|---| | 84eee477d68b6fdf | 1,306,064 B | 615,568 B | | 02a31c25862c1c63 | 1,272,048 B | 615,732 B | | 73dc0d51029621e8 | 1,215,844 B | 576,968 B | | c331fc57a9e8a44f | 1,360,844 B | 651,956 B | **3. Warm run with `XCL_PREPARE=0`, 900 s timer.** - Menus and the loading screen ran at 18–30 fps until about 90 s. - After that the game slowed to about 1.4 fps while the driver built new graphics pipelines (the #2088 stretch). - Frames kept coming until **413 s**: 143,803 draws, 131,072 dispatches, of which **1 was skipped**. No record was refused. - At about 413 s every queue stopped (`gpu-awake` and the title queues, no movement for 20 s). The device was then reset with `0x887a0007`, and after that the title asserted (`0x80000003` at +0x2474606, rbx=0x887a0005). - At that point the process had 29,973 MB committed and 11,554 MB of local video memory in use. I'm running it again now with `XCL_DRED=1` to get the shader at the stop. **A trap to watch for: `driver-crashes.txt`.** When a preparation is closed while a worker is still inside the driver, its `driver-building-*` markers are moved into `%LOCALAPPDATA%\xcl\dxil\driver-crashes.txt` on the next run. The entries there are just `cs-<record>`, so the record stays blocked after the translation changes. That's not what the comment in `driver_crash.rs` says ("a translation that changes makes a new key"). My first direct-DXIL run had 13 records blocked this way, including all four above. Their dispatches were skipped, and the device was removed at 164 s. With the file emptied, the same setup ran to 413 s. **If you have ever closed a stuck preparation, check that file before testing.** Suggestion for the other RX 9070 XT owners (@⁠Saksukella, @⁠therealobscure, @⁠SJ99970, @⁠AC-Storm-YT): try the env above (`XCL_DIRECT_DXIL=1` + `XCL_RT_GATE=miss`) with an empty `driver-crashes.txt`, and post how far you get. A second card that stops at the same point would tell us whether the 413 s stop is about this machine (32 GB of RAM) or the code. Tested and written up with Claude Code (Claude Opus 5.5). The numbers are from the run logs.
Author
Owner

@⁠spicbully-star on GitHub · 2026-11-27 10:37 UTC · original

Lane 2 data point (RX 9070 XT): with the shader wall gone, the stop is a DRED page fault at GPU VA 0x0, the same one as #2626.

Same setup as my lane 1 comment above, plus XCL_DRED=1. This was the second warm run, so the cache was warmer and the loading stretch ran at 14.9 fps (1.4 fps the run before).

  • Frames reached 141 s: 65,536 draws with translated pipelines (169 skipped) and 38,083 dispatches (1 skipped, Dispatch with a pipeline that has no translated console shader (0x3d51e08f0) at 116.5 s).
  • In the 6 s before the stop, the texture mapping queue fell behind again and again:
    • texture page mappings did not reach 6533 in 1000 ms (at 6531): the title's queue waits for it on the GPU, repeated for 6537 / 6542 / 6544 / 6545
    • sparse uploads and tile mappings did not reach 41868
    • GPU waits as a queue stopped … q3: sparse uploads and tile mappings >= 0xa2f8 (done 0xa2f7, 994 ms)
  • The device was removed at 156 s with 0x887a0007:
    DRED page fault at GPU VA 0x0; allocations there: []; recently freed: [] (no breadcrumb list was printed)
  • Commit was 27,351 MB, and video memory 10,694 MB local and 5,599 MB non-local.

The run before (no DRED) stopped at about 413 s in the same way. All queues stopped for 20 s, then 0x887a0007. The q3 sparse/tile-mapping waits came just before that too.

So on RDNA4 the stop varies in time (141 s and 413 s here; 69–91 s in #2626) but looks the same each time: a null-address read right after the tile-mapping queue falls behind. @⁠therealobscure, do your runs also show texture page mappings did not reach lines in the seconds before the removal? If they do, this is probably a sparse/tile-mapping ordering problem rather than a skipped pass.

I'm doing a third run to see whether the pattern repeats.

Tested with Claude Code (Claude Opus 5.5). The lines are copied from the run log.

**@⁠spicbully-star** on GitHub · 2026-11-27 10:37 UTC · [original](https://github.com/xcl-dev/xcl/issues/2996#issuecomment-7216111869) **Lane 2 data point (RX 9070 XT): with the shader wall gone, the stop is a DRED page fault at GPU VA 0x0, the same one as #2626.** Same setup as my lane 1 comment above, plus `XCL_DRED=1`. This was the second warm run, so the cache was warmer and the loading stretch ran at **14.9 fps** (1.4 fps the run before). - Frames reached 141 s: 65,536 draws with translated pipelines (169 skipped) and 38,083 dispatches (1 skipped, `Dispatch with a pipeline that has no translated console shader (0x3d51e08f0)` at 116.5 s). - In the 6 s before the stop, the texture mapping queue fell behind again and again: - `texture page mappings did not reach 6533 in 1000 ms (at 6531): the title's queue waits for it on the GPU`, repeated for 6537 / 6542 / 6544 / 6545 - `sparse uploads and tile mappings did not reach 41868` - `GPU waits as a queue stopped … q3: sparse uploads and tile mappings >= 0xa2f8 (done 0xa2f7, 994 ms)` - The device was removed at 156 s with `0x887a0007`: `DRED page fault at GPU VA 0x0; allocations there: []; recently freed: []` (no breadcrumb list was printed) - Commit was 27,351 MB, and video memory 10,694 MB local and 5,599 MB non-local. The run before (no DRED) stopped at about 413 s in the same way. All queues stopped for 20 s, then `0x887a0007`. The q3 sparse/tile-mapping waits came just before that too. So on RDNA4 the stop varies in time (141 s and 413 s here; 69–91 s in #2626) but looks the same each time: a null-address read right after the tile-mapping queue falls behind. @⁠therealobscure, do your runs also show `texture page mappings did not reach` lines in the seconds before the removal? If they do, this is probably a sparse/tile-mapping ordering problem rather than a skipped pass. I'm doing a third run to see whether the pattern repeats. Tested with Claude Code (Claude Opus 5.5). The lines are copied from the run log.
Author
Owner

@⁠spicbully-star on GitHub · 2026-11-27 10:54 UTC · original

Two more data points from the RX 9070 XT (same setup as above):

1. PR #2981 (tile-mapping races), ecbbf96 + bfb4031. The device was still removed, at 136 s, with the same DRED page fault at GPU VA 0x0. The first queues to stop were XCL's own texture uploads, vram pages and sparse, and the title queues were idle. Details are in a comment on #2981. @⁠bobosneefdev's RX 6800 run there ended the same way, so the VA 0x0 removal has a cause beyond the tile backlog.

2. XCL_VRAM_ARENAS=1 (GPU textures in heaps, no tiled pages). Worse:

  • target pages 0 MB, arenas 3,535 MB in use
  • but at 125 s the log reported 25,148 MB local video memory (the card has 16 GB) and 39,457 MB committed
  • At 131 s the device was removed with 0x887a0006, this time DRED page fault at GPU VA 0xc49af8000, and 101 dispatches were skipped.

So arenas aren't a workaround on a 16 GB card. The page path is still the best route; it just needs the VA 0x0 cause found.

Best known RDNA4 config so far: XCL_DIRECT_DXIL=1 XCL_RT_GATE=miss, warm cache, an empty driver-crashes.txt. That gives 30 fps menus and loading screen, then frames until 136–413 s, ending in the VA 0x0 removal.

Tested with Claude Code (Claude Opus 5.5). The lines are from the run logs.

**@⁠spicbully-star** on GitHub · 2026-11-27 10:54 UTC · [original](https://github.com/xcl-dev/xcl/issues/2996#issuecomment-7216457172) **Two more data points from the RX 9070 XT (same setup as above):** **1. PR #2981 (tile-mapping races), ecbbf96 + bfb4031.** The device was still removed, at 136 s, with the same `DRED page fault at GPU VA 0x0`. The first queues to stop were XCL's own `texture uploads`, `vram pages` and `sparse`, and the title queues were idle. Details are in a comment on #2981. @⁠bobosneefdev's RX 6800 run there ended the same way, so the VA 0x0 removal has a cause beyond the tile backlog. **2. `XCL_VRAM_ARENAS=1` (GPU textures in heaps, no tiled pages).** Worse: - `target pages 0 MB`, `arenas 3,535 MB in use` - but at 125 s the log reported **25,148 MB local video memory** (the card has 16 GB) and 39,457 MB committed - At 131 s the device was removed with `0x887a0006`, this time `DRED page fault at GPU VA 0xc49af8000`, and 101 dispatches were skipped. So arenas aren't a workaround on a 16 GB card. The page path is still the best route; it just needs the VA 0x0 cause found. **Best known RDNA4 config so far:** `XCL_DIRECT_DXIL=1 XCL_RT_GATE=miss`, warm cache, an empty `driver-crashes.txt`. That gives 30 fps menus and loading screen, then frames until 136–413 s, ending in the VA 0x0 removal. Tested with Claude Code (Claude Opus 5.5). The lines are from the run logs.
Author
Owner

@⁠oni-swr on GitHub · 2026-11-27 10:58 UTC · original

Lane 3 (RDNA3, RX 7800 XT): current amd-dev 5fbd90f9 does not get past a ~100 s presenting stop here, with the plain recipe or with lane 1's XCL_DIRECT_DXIL=1 env. The title is not stuck: it waits on one ~1 MB compute pipeline's driver compile at a time, 20-45 s each.

Setup: AMD Radeon RX 7800 XT 16 GB, driver 32.0.31035.1003, Ryzen 7 5700X3D, 64 GB, Windows 11 build 26200, DXC 1.8.2502.11. amd-dev 5fbd90f9, release build, no local changes, no #662 XG fix and no #1435. Isolated copies of an already warm shader cache (about 50k entries from earlier partial warm-ups) and profile, a fresh copy per run, XCL_PREPARE=0, XCL_ADAPTER set to the card.

plain recipe lane 1 env + XCL_DRED=1
XCL_* NETWORK=0 ACTIVITY=1 RT_GATE=miss PRESS_A_AT=20,24,30,45 RUN_SECONDS=900 the same plus DIRECT_DXIL=1 PSO_IMAGE_SKIP=1 HUGE_PSO_CONCURRENCY=3 PSO_WAIT_MS=360000 DRED=1
presents, 0-120 s ~1,870 ~1,850
last present / presents after 120 s 99 s / 0 871 s / 2 (840-900 s)
exit 0x0 at 906 s 0x0 at 907 s
device removed / DRED lines 0 / (DRED off) 0 / 0
driver compile started, not finished at the end (count, size) 1 (one compute, 985 KB DXIL) 0
console code so far, last line at 119 s: 15,840 draws with translated pipelines (4,096 skipped), 6,438 dispatches (38 skipped) at 858 s: 20,211 draws (6,707 skipped, 40 with PC pipelines), 8,192 dispatches (77 skipped)
compute PSOs over 500 KB DXIL, finished after 100 s 28, driver time avg 22.6 s, max 45.8 s (634 s in all) 7, avg 27 s, max 45 s
compute pipeline waits after 120 s (summed over threads) 1,606 s in ~730 s of wall time 1,523 s
  • Where the wall time goes (RDNA3): after ~100 s the title waits on compute pipelines, and in the plain run the driver compiles of ~1 MB compute DXIL account for 634 of the 653 s of compute driver time. They finish (no 743 s hang as on the RX 9070 XT), but one at a time and slowly. With DIRECT_DXIL=1 the same kind of compile (7 of them) takes the same 20-45 s and the stop is unchanged, so on this card lane 1's env did not remove it. DXC jobs were still running at the end of that run (5 running, 378 done).
  • No DRED fault, no removal on RDNA3 in either run, so lane 2's VA-0 page fault is not reached here: we never get as far as the world.
  • DXC vs direct DXIL, CPU only, standalone, one run each, on five of the largest compute records of the pack (the largest by cached DXIL; not the 22 from #2582): HLSL + DXC with XCL's default flags (-O1 below 8 MB of HLSL, -O0 above) takes 84-505 s and gives 1.8-9.4 MB of DXIL; xcl shaders --direct translates each in 0.6-1.2 s to 0.26-2.0 MB (one takes the compact form: 257 KB against 1.78 MB with XCL_DIRECT_COMPACT=0). #2796 (960f4fc2) against its base c32c91a3 changes none of the five: the per-lane form refuses all of them either way (unsupported image load / large branch-heavy), so its routing is not what matters for these records. The DXC times ran while other jobs used the CPU, so treat them as upper bounds.
  • #2981 on this card (the same machine, ecbbf96a merged onto 5fbd90f9, 3 x 600 s): 0 device hangs; the plain 5fbd90f9 had 1 hang in 3, with no DRED. Details in #2981.
  • Answer to lane 3's question: I have no commit and env that gets this RX 7800 XT to the world on current amd-dev; in two 900 s runs, no.

Not tested: the #662 XG fix, a cold or freshly prepared cache, more than one run per arm, other drivers (moombathepilot's #2990 is a 7800 XT on driver 32.0.32029.2010 and got past this stop with reused caches).

AI use: Claude Code (Claude Sonnet 5.5) built the trees, ran the title and the tools, read the logs and wrote this comment. Every number comes from those runs.

**@⁠oni-swr** on GitHub · 2026-11-27 10:58 UTC · [original](https://github.com/xcl-dev/xcl/issues/2996#issuecomment-7216532422) **Lane 3 (RDNA3, RX 7800 XT): current amd-dev `5fbd90f9` does not get past a ~100 s presenting stop here, with the plain recipe or with lane 1's `XCL_DIRECT_DXIL=1` env. The title is not stuck: it waits on one ~1 MB compute pipeline's driver compile at a time, 20-45 s each.** **Setup:** AMD Radeon RX 7800 XT 16 GB, driver 32.0.31035.1003, Ryzen 7 5700X3D, 64 GB, Windows 11 build 26200, DXC 1.8.2502.11. `amd-dev` `5fbd90f9`, release build, no local changes, **no #662 XG fix and no #1435**. Isolated copies of an already warm shader cache (about 50k entries from earlier partial warm-ups) and profile, a fresh copy per run, `XCL_PREPARE=0`, `XCL_ADAPTER` set to the card. | | plain recipe | lane 1 env + `XCL_DRED=1` | |---|---|---| | `XCL_*` | `NETWORK=0 ACTIVITY=1 RT_GATE=miss PRESS_A_AT=20,24,30,45 RUN_SECONDS=900` | the same plus `DIRECT_DXIL=1 PSO_IMAGE_SKIP=1 HUGE_PSO_CONCURRENCY=3 PSO_WAIT_MS=360000 DRED=1` | | presents, 0-120 s | ~1,870 | ~1,850 | | last present / presents after 120 s | 99 s / 0 | 871 s / 2 (840-900 s) | | exit | 0x0 at 906 s | 0x0 at 907 s | | `device removed` / DRED lines | 0 / (DRED off) | 0 / 0 | | driver compile started, not finished at the end (count, size) | 1 (one compute, 985 KB DXIL) | 0 | | `console code so far`, last line | at 119 s: 15,840 draws with translated pipelines (4,096 skipped), 6,438 dispatches (38 skipped) | at 858 s: 20,211 draws (6,707 skipped, 40 with PC pipelines), 8,192 dispatches (77 skipped) | | compute PSOs over 500 KB DXIL, finished after 100 s | 28, driver time avg 22.6 s, max 45.8 s (634 s in all) | 7, avg 27 s, max 45 s | | compute pipeline waits after 120 s (summed over threads) | 1,606 s in ~730 s of wall time | 1,523 s | - **Where the wall time goes (RDNA3):** after ~100 s the title waits on compute pipelines, and in the plain run the driver compiles of ~1 MB compute DXIL account for 634 of the 653 s of compute driver time. They finish (no 743 s hang as on the RX 9070 XT), but one at a time and slowly. With `DIRECT_DXIL=1` the same kind of compile (7 of them) takes the same 20-45 s and the stop is unchanged, so on this card lane 1's env did not remove it. DXC jobs were still running at the end of that run (5 running, 378 done). - **No DRED fault, no removal** on RDNA3 in either run, so lane 2's VA-0 page fault is not reached here: we never get as far as the world. - **DXC vs direct DXIL, CPU only, standalone, one run each, on five of the largest compute records of the pack** (the largest by cached DXIL; not the 22 from #2582): HLSL + DXC with XCL's default flags (`-O1` below 8 MB of HLSL, `-O0` above) takes 84-505 s and gives 1.8-9.4 MB of DXIL; `xcl shaders --direct` translates each in 0.6-1.2 s to 0.26-2.0 MB (one takes the compact form: 257 KB against 1.78 MB with `XCL_DIRECT_COMPACT=0`). #2796 (`960f4fc2`) against its base `c32c91a3` changes none of the five: the per-lane form refuses all of them either way (unsupported image load / large branch-heavy), so its routing is not what matters for these records. The DXC times ran while other jobs used the CPU, so treat them as upper bounds. - **#2981 on this card** (the same machine, `ecbbf96a` merged onto `5fbd90f9`, 3 x 600 s): 0 device hangs; the plain `5fbd90f9` had 1 hang in 3, with no DRED. Details in https://git.gtahub.st/github/xcl-dev--xcl/pulls/2981. - **Answer to lane 3's question:** I have no commit and env that gets this RX 7800 XT to the world on current amd-dev; in two 900 s runs, no. **Not tested:** the #662 XG fix, a cold or freshly prepared cache, more than one run per arm, other drivers (moombathepilot's #2990 is a 7800 XT on driver 32.0.32029.2010 and got past this stop with reused caches). AI use: Claude Code (Claude Sonnet 5.5) built the trees, ran the title and the tools, read the logs and wrote this comment. Every number comes from those runs.
Author
Owner

@⁠moombathepilot on GitHub · 2026-11-27 11:54 UTC · original

Lane 3: RX 7800 XT result on current amd-dev

This run reached the game's initial setup (which I completed manually), then continued presenting into loading. It did not reach confirmed controllable gameplay. At 252.969 s it exited with 0xe06d7363 in xboxbvhbuilder.dll. Immediately before the exception, the builder logged DestAccelerationStructureData can not have more than 40b of address set. That is the diagnostic from #585, despite its fix on main. The rejected GPU address was not logged, so I cannot identify the allocation path. This differs from my earlier #2990 access violation and the RDNA4 VA-0 device removals above.

System/build: RX 7800 XT (16,176 MiB VRAM); AMD driver 32.0.32029.2010; Ryzen 7 5700X3D; 64 GiB RAM; Windows 11 build 26300.9974; DXC 1.9.2602.17. Release build of amd-dev 5fbd90f97718af7c0b37f68af51fe6da1b06c98a with #1435 applied locally. The targeted XG test passed, and the run logged both 6- and 7-argument copy calls.

Gameplay run settings: XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_RT_GATE=miss XCL_PRESS_A_AT=20,24,30,45 XCL_RUN_SECONDS=900 XCL_PIPELINE_MAX_KB=1150 XCL_PSO_MAX_KB=1150 XCL_DRED=1 XCL_PREPARE=0. XCL_DATA_ROOT was a fresh isolated title-data directory; XCL_DXIL_CACHE was an isolated copy of an existing warm cache.

Result:

  • 2,342 presents. The last two-second interval with presents ended at 232.616 s (3 presents); none were reported afterward.
  • No device removed or DRED page-fault line.
  • Driver compile starts without finishes at exit: #177 MS PSO, 265,320 B DXIL; #178 MS PSO, 302,584 B DXIL; #180 compute PSO, 544,884 B DXIL, record 36353c66e9666102. The MS starts logged no record hashes.
  • Final console code so far at 252.829 s: 37,231 draws with translated pipelines (512 skipped, 0 with PC pipelines), 3,286 dispatches (0 skipped).

Comparison caveat: I attempted launch preparation first with a fresh cache and then with the copied warm cache, but stopped both before completion because pipeline preparation progressed very slowly. Stopping the second attempt left 14 in-progress driver markers; the gameplay run classified them as prior driver crashes, and four records appeared as unavailable. This is a failure observation, not a clean completed-preparation baseline or proof that #1435 alone moved this card past @⁠oni-swr's stop. It illustrates the driver-crashes.txt trap noted in the lane 1 comment.

AI use: OpenAI Codex (GPT-6) applied the local PR change, built and tested XCL, ran diagnostics, inspected the logs, and drafted this comment. I completed the game's initial setup manually.

**@⁠moombathepilot** on GitHub · 2026-11-27 11:54 UTC · [original](https://github.com/xcl-dev/xcl/issues/2996#issuecomment-7217617949) ### Lane 3: RX 7800 XT result on current amd-dev This run reached the game's initial setup (which I completed manually), then continued presenting into loading. It did **not** reach confirmed controllable gameplay. At 252.969 s it exited with `0xe06d7363` in `xboxbvhbuilder.dll`. Immediately before the exception, the builder logged `DestAccelerationStructureData can not have more than 40b of address set`. That is the diagnostic from #585, despite its fix on main. The rejected GPU address was not logged, so I cannot identify the allocation path. This differs from my earlier #2990 access violation and the RDNA4 VA-0 device removals above. **System/build:** RX 7800 XT (16,176 MiB VRAM); AMD driver `32.0.32029.2010`; Ryzen 7 5700X3D; 64 GiB RAM; Windows 11 build `26300.9974`; DXC `1.9.2602.17`. Release build of `amd-dev` `5fbd90f97718af7c0b37f68af51fe6da1b06c98a` with #1435 applied locally. The targeted XG test passed, and the run logged both 6- and 7-argument copy calls. **Gameplay run settings:** `XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_RT_GATE=miss XCL_PRESS_A_AT=20,24,30,45 XCL_RUN_SECONDS=900 XCL_PIPELINE_MAX_KB=1150 XCL_PSO_MAX_KB=1150 XCL_DRED=1 XCL_PREPARE=0`. `XCL_DATA_ROOT` was a fresh isolated title-data directory; `XCL_DXIL_CACHE` was an isolated copy of an existing warm cache. **Result:** - 2,342 presents. The last two-second interval with presents ended at **232.616 s** (3 presents); none were reported afterward. - No `device removed` or DRED page-fault line. - Driver compile starts without finishes at exit: `#177` MS PSO, 265,320 B DXIL; `#178` MS PSO, 302,584 B DXIL; `#180` compute PSO, 544,884 B DXIL, record `36353c66e9666102`. The MS starts logged no record hashes. - Final `console code so far` at 252.829 s: **37,231 draws with translated pipelines (512 skipped, 0 with PC pipelines), 3,286 dispatches (0 skipped)**. **Comparison caveat:** I attempted launch preparation first with a fresh cache and then with the copied warm cache, but stopped both before completion because pipeline preparation progressed very slowly. Stopping the second attempt left 14 in-progress driver markers; the gameplay run classified them as prior driver crashes, and four records appeared as unavailable. This is a failure observation, **not** a clean completed-preparation baseline or proof that #1435 alone moved this card past @⁠oni-swr's stop. It illustrates the `driver-crashes.txt` trap noted in the lane 1 comment. **AI use:** OpenAI Codex (GPT-6) applied the local PR change, built and tested XCL, ran diagnostics, inspected the logs, and drafted this comment. I completed the game's initial setup manually.
Author
Owner

@⁠oni-swr on GitHub · 2026-11-27 11:56 UTC · original

Lane 3 follow-up (RX 7800 XT): three back-to-back 600 s runs on ONE grown cache copy of amd-dev 5fbd90f9 all stop presenting at ~100 s. The driver compiles do persist between runs; the wall is the number of distinct big programs, not a lost cache.

Same machine as my earlier comment (RX 7800 XT, driver 32.0.31035.1003, Windows 11 build 26200), unmodified 5fbd90f9 release build, plain recipe (XCL_NETWORK=0 ACTIVITY=1 RT_GATE=miss PRESS_A_AT=20,24,30,45 PREPARE=0), one cache + profile copy reused for all three runs, each ended by XCL_RUN_SECONDS=600 (exit 0 each time).

run last present presents after 120 s compute PSOs >500 KB DXIL compiled driver time in them
1 121 s 11 5 131 s
2 109 s 0 17 479 s
3 96 s 0 16 538 s
  • Nothing is recompiled: the big compute records compiled in run 1, 2 and 3 are three disjoint sets (0 in common). A program built in an earlier run is loaded from the saved pipeline library, not compiled again, and no program was built twice. The pipeline-library files grew from 0.2 MiB to 8-12 MiB over the runs.
  • Where it persists: the compiled code is kept by the driver's own shader cache (%LOCALAPPDATA%\AMD\DxcCache, 7.40 -> 7.78 GB over the three runs, +64-256 MB a run), not in XCL's cache copy. A fresh XCL cache copy per run therefore does not throw it away. XCL's own AMD .pso blobs are ~1 KB references and are not kept by default (real.rs, driver_cache).
  • So the wall is serial first use: each run gets through ~16 new 1 MB programs (~500 s of driver time) before it ends, and the title asks for different ones every run. The stop moves later only when the title's early requests happen to be the ones already built. In 3 runs it did not. Earlier sequential runs by the same desk with a press every 8 s did move (last present 119 s -> 586 s -> 597 s), so how far it moves depends on which programs the run asks for.
  • No device removal in any of the three runs (no 0x887a... line); video memory at the end was 7.4-7.7 GB of a 15.4 GB budget. We never presented long enough to see the over-budget wall from #2688.

What this suggests for XCL: building the used big compute pipelines in the background before first use, and one at a time since the driver serialises them, would turn this one-time cost into something done off the title's path. I have not written code for it and am not claiming it.

Not tested: other drivers (moombathepilot's newer 32.0.32029.2010), more than 3 runs, a cold DxcCache (not touched: it is the driver's and shared with other jobs).

AI use: Claude Code (Claude Sonnet 5.5) ran the title and the log analysis and wrote this comment; every number comes from those runs.

**@⁠oni-swr** on GitHub · 2026-11-27 11:56 UTC · [original](https://github.com/xcl-dev/xcl/issues/2996#issuecomment-7217648103) **Lane 3 follow-up (RX 7800 XT): three back-to-back 600 s runs on ONE grown cache copy of amd-dev `5fbd90f9` all stop presenting at ~100 s. The driver compiles do persist between runs; the wall is the number of distinct big programs, not a lost cache.** Same machine as my earlier comment (RX 7800 XT, driver 32.0.31035.1003, Windows 11 build 26200), unmodified `5fbd90f9` release build, plain recipe (`XCL_NETWORK=0 ACTIVITY=1 RT_GATE=miss PRESS_A_AT=20,24,30,45 PREPARE=0`), one cache + profile copy reused for all three runs, each ended by `XCL_RUN_SECONDS=600` (exit 0 each time). | run | last present | presents after 120 s | compute PSOs >500 KB DXIL compiled | driver time in them | |---|---|---|---|---| | 1 | 121 s | 11 | 5 | 131 s | | 2 | 109 s | 0 | 17 | 479 s | | 3 | 96 s | 0 | 16 | 538 s | - **Nothing is recompiled:** the big compute records compiled in run 1, 2 and 3 are three disjoint sets (0 in common). A program built in an earlier run is loaded from the saved pipeline library, not compiled again, and no program was built twice. The pipeline-library files grew from 0.2 MiB to 8-12 MiB over the runs. - **Where it persists:** the compiled code is kept by the driver's own shader cache (`%LOCALAPPDATA%\AMD\DxcCache`, 7.40 -> 7.78 GB over the three runs, +64-256 MB a run), not in XCL's cache copy. A fresh XCL cache copy per run therefore does not throw it away. XCL's own AMD `.pso` blobs are ~1 KB references and are not kept by default (`real.rs`, `driver_cache`). - **So the wall is serial first use:** each run gets through ~16 new 1 MB programs (~500 s of driver time) before it ends, and the title asks for different ones every run. The stop moves later only when the title's early requests happen to be the ones already built. In 3 runs it did not. Earlier sequential runs by the same desk with a press every 8 s did move (last present 119 s -> 586 s -> 597 s), so how far it moves depends on which programs the run asks for. - **No device removal in any of the three runs** (no `0x887a...` line); video memory at the end was 7.4-7.7 GB of a 15.4 GB budget. We never presented long enough to see the over-budget wall from #2688. What this suggests for XCL: building the used big compute pipelines in the background before first use, and one at a time since the driver serialises them, would turn this one-time cost into something done off the title's path. I have not written code for it and am not claiming it. **Not tested:** other drivers (moombathepilot's newer 32.0.32029.2010), more than 3 runs, a cold DxcCache (not touched: it is the driver's and shared with other jobs). AI use: Claude Code (Claude Sonnet 5.5) ran the title and the log analysis and wrote this comment; every number comes from those runs.
Author
Owner

@⁠spicbully-star on GitHub · 2026-11-27 12:17 UTC · original

RDNA4 on amd-dev 494f08b (ivall's 14 commits: direct DXIL by default, the #2981 port, sparse upload waits, texture-upload reclaim): the hang is still there. This time XCL_GPU_CULPRIT=1 shows no compute dispatch in flight.

Setup: RX 9070 XT 16 GB, Windows 10 22H2, 32 GB RAM. Release build of 494f08b plus the #662 XG fix (7c795f5 is license-only).
Env: XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_RT_GATE=miss XCL_DIRECT_DXIL=1 XCL_PREPARE=0 XCL_PSO_IMAGE_SKIP=1 XCL_HUGE_PSO_CONCURRENCY=3 XCL_GPU_CULPRIT=1 plus Agility SDK. Warm cache, empty driver-crashes.txt.

  • Loading screen at 21–30 fps. Last frame at 116 s, with 32,768 draws (146 skipped) and 10,588 dispatches (1 skipped).
  • The device was removed at 115.7 s with 0x887a0006.
  • GPU culprit: 0 of 377 lists have dispatches started and not done. The newest submits on every title queue show their dispatches (done).
  • Queue state at removal (all stalled about 2.7–3.2 s):
gpu-awake        done 27529 of 27532
title queues     done 27/35, 36/44, 29/41, 29/41
title 0x136213c50 done 8326 of 8349   (= texture uploads queue, 1929 of 1930)
sparse           done 34708 of 34710
vram pages       done 13110 of 13113
sparse readback  done 1368 of 1369

So on this card the stop is now in non-dispatch work: the texture upload / vram-pages / sparse queues and the draws waiting on them, not a compute shader. My earlier culprit runs on 5fbd90f+#2981 did name dispatches at the stop (cs e0654264d8ad6489, then cs 83225f64b531e807 once the first one was skipped), so the in-flight dispatch varies. What repeats across every RDNA4 run here is the tile-mapping / texture-upload queues being behind when the GPU stops.

A side note on the skip test: leaving out cs e0654264d8ad6489 (XCL_PSO_SKIP_FILE) moved the last frame from 129 s to 213 s. The title then crashed at 242.9 s with 0xc0000005 in game_scarlett_master.exe+0x2215c35 (write at address 0x0), the #159/#232 site. Later the whole PC froze and needed a hard reset (on Windows 10, after many TDRs in a row). So I'm not running skip tests any more.

Welcome @⁠moombathepilot, and thanks @⁠oni-swr for the RDNA3 lane. Your "serial first use" finding fits what we saw before direct DXIL on RDNA4: one big compile at a time blocks the title.

Tested with Claude Code (Claude Opus 5.5). The lines are from the run log.

**@⁠spicbully-star** on GitHub · 2026-11-27 12:17 UTC · [original](https://github.com/xcl-dev/xcl/issues/2996#issuecomment-7218075984) **RDNA4 on amd-dev 494f08b** (ivall's 14 commits: direct DXIL by default, the #2981 port, sparse upload waits, texture-upload reclaim): the hang is still there. This time `XCL_GPU_CULPRIT=1` shows no compute dispatch in flight. **Setup:** RX 9070 XT 16 GB, Windows 10 22H2, 32 GB RAM. Release build of 494f08b plus the #662 XG fix (7c795f5 is license-only). **Env:** `XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_RT_GATE=miss XCL_DIRECT_DXIL=1 XCL_PREPARE=0 XCL_PSO_IMAGE_SKIP=1 XCL_HUGE_PSO_CONCURRENCY=3 XCL_GPU_CULPRIT=1` plus Agility SDK. Warm cache, empty `driver-crashes.txt`. - Loading screen at 21–30 fps. Last frame at 116 s, with 32,768 draws (146 skipped) and 10,588 dispatches (1 skipped). - The device was removed at 115.7 s with `0x887a0006`. - `GPU culprit: 0 of 377 lists have dispatches started and not done`. The newest submits on every title queue show their dispatches `(done)`. - Queue state at removal (all stalled about 2.7–3.2 s): ``` gpu-awake done 27529 of 27532 title queues done 27/35, 36/44, 29/41, 29/41 title 0x136213c50 done 8326 of 8349 (= texture uploads queue, 1929 of 1930) sparse done 34708 of 34710 vram pages done 13110 of 13113 sparse readback done 1368 of 1369 ``` So on this card the stop is now in non-dispatch work: the texture upload / vram-pages / sparse queues and the draws waiting on them, not a compute shader. My earlier culprit runs on 5fbd90f+#2981 did name dispatches at the stop (cs e0654264d8ad6489, then cs 83225f64b531e807 once the first one was skipped), so the in-flight dispatch varies. What repeats across every RDNA4 run here is the tile-mapping / texture-upload queues being behind when the GPU stops. A side note on the skip test: leaving out cs e0654264d8ad6489 (`XCL_PSO_SKIP_FILE`) moved the last frame from 129 s to 213 s. The title then crashed at 242.9 s with `0xc0000005 in game_scarlett_master.exe+0x2215c35 (write at address 0x0)`, the #159/#232 site. Later the whole PC froze and needed a hard reset (on Windows 10, after many TDRs in a row). So I'm not running skip tests any more. Welcome @⁠moombathepilot, and thanks @⁠oni-swr for the RDNA3 lane. Your "serial first use" finding fits what we saw before direct DXIL on RDNA4: one big compile at a time blocks the title. Tested with Claude Code (Claude Opus 5.5). The lines are from the run log.
This discussion has been locked. Commenting is limited to contributors.
No description provided.