D3D12.X: a console MS at subobject 24 is the stream's MS #625

Closed
Ryongen wants to merge 1 commit from upstream-pr/630 into main
Ryongen commented 2026-11-24 02:41:22 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Ryongen on 2026-11-24T02:41:22Z.


A retail title puts the MS container of its mesh pipelines in subobject 24 and never uses 25. The PC has no type 23, so the console's numbering is one lower (VIEW_INSTANCING 22, MS 24); on the PC 24 is the AS. These are not minimap pipelines: they are the title's vertex shaders built as mesh shaders (MS_VS_*_Wrapped), about 2,750 of them made while it loads.

Today they are refused, and the title stops after 40 of them. Accepting them as an MS alone still gave a black screen: fallback_stream only knew 25 as an MS, so the stand-in had no shader stage, the driver refused it, and every pipeline was translated and built inside the create call (0.3–0.5 s each). Loading never finished, and no DirectStorage request came in.

Related to #541, which moves the shader for the same pipelines but does not change the stand-in or when they are built.

What is in it

  • crates/xcl/src/hle/d3d12x/real.rs: console_numbered_ms: a console MS container at 24, in a stream with no 25, is the stream's MS, and translated_mesh_stream uses it (the refusal is gone). fallback_stream moves that subobject to 25 with the stand-in MS. Console mesh pipelines are built at their first bind (pso_async::lazy), like graphics pipelines.
  • Tests console_ms_stream_tests: which streams count (24 with no 25 does; 24 with 25, a console PS or a PC blob does not), and the stand-in has its MS at 25 (fails without the change: [0,24,…]).

Tested

  • RTX 2070 SUPER 8 GB (wave32), driver 32.0.16.1742, Ryzen 7 5800X3D, Windows 10 22H2 (19045), rustc 1.99.1, debug tests, release title runs.
  • cargo test --workspace -- --test-threads=4 on fdadadd: 686 passed, 0 failed, 41 ignored.
  • SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • Retail title, 120 s: no "AS slot – refused" lines (40 on main), menus drawn as on main.

Regression run

xcl-smoke v1
commit: 9ce2070eccf436d7bd38601c90407da447df34f3
gpu: NVIDIA GeForce RTX 2070 SUPER
title: 9cc6a39e
seconds: 120
exit: 0x0
frames shown: 3341 (PresentX 3342)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14534 MB
xcl-smoke v1
commit: fdadaddb9a5a193a292ff113a029472a3485fa0a
gpu: NVIDIA GeForce RTX 2070 SUPER
title: 9cc6a39e
seconds: 120
exit: 0x0
frames shown: 3353 (PresentX 3353)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14630 MB

Not tested

  • Drawing with these pipelines: in the menus the title never binds them. Drawing them likely needs two-pass support (#215).
  • AMD / RDNA, wave64 GPUs, the XCL_SAMPLE_RPF e2e tests (not set here), gameplay past the menus.
  • One of these MS fails DXC validation ("vertex plus primitive output size is greater than 32768"); not addressed here.
  • HANDOFF.md (around "refused … the title rendered nothing" / "its minimap") is now out of date.

AI use

  • Claude Code with Claude Fable 5.2 found the cause, wrote the code and tests; Claude Code with Claude Opus 5.5 ran the regression runs and wrote this description.
<!-- greyfinch-sync:ivall/xcl:issue:5465069146 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/630). Originally posted by [Ryongen](https://github.com/Ryongen) on 2026-11-24T02:41:22Z. --- A retail title puts the MS container of its mesh pipelines in subobject 24 and never uses 25. The PC has no type 23, so the console's numbering is one lower (VIEW_INSTANCING 22, MS 24); on the PC 24 is the AS. These are not minimap pipelines: they are the title's vertex shaders built as mesh shaders (`MS_VS_*_Wrapped`), about 2,750 of them made while it loads. Today they are refused, and the title stops after 40 of them. Accepting them as an MS alone still gave a black screen: `fallback_stream` only knew 25 as an MS, so the stand-in had no shader stage, the driver refused it, and every pipeline was translated and built inside the create call (0.3–0.5 s each). Loading never finished, and no DirectStorage request came in. Related to #541, which moves the shader for the same pipelines but does not change the stand-in or when they are built. **What is in it** - `crates/xcl/src/hle/d3d12x/real.rs`: `console_numbered_ms`: a console MS container at 24, in a stream with no 25, is the stream's MS, and `translated_mesh_stream` uses it (the refusal is gone). `fallback_stream` moves that subobject to 25 with the stand-in MS. Console mesh pipelines are built at their first bind (`pso_async::lazy`), like graphics pipelines. - Tests `console_ms_stream_tests`: which streams count (24 with no 25 does; 24 with 25, a console PS or a PC blob does not), and the stand-in has its MS at 25 (fails without the change: `[0,24,…]`). **Tested** - RTX 2070 SUPER 8 GB (wave32), driver 32.0.16.1742, Ryzen 7 5800X3D, Windows 10 22H2 (19045), rustc 1.99.1, debug tests, release title runs. - `cargo test --workspace -- --test-threads=4` on fdadadd: 686 passed, 0 failed, 41 ignored. - SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - Retail title, 120 s: no "AS slot – refused" lines (40 on main), menus drawn as on main. **Regression run** ``` xcl-smoke v1 commit: 9ce2070eccf436d7bd38601c90407da447df34f3 gpu: NVIDIA GeForce RTX 2070 SUPER title: 9cc6a39e seconds: 120 exit: 0x0 frames shown: 3341 (PresentX 3342) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14534 MB ``` ``` xcl-smoke v1 commit: fdadaddb9a5a193a292ff113a029472a3485fa0a gpu: NVIDIA GeForce RTX 2070 SUPER title: 9cc6a39e seconds: 120 exit: 0x0 frames shown: 3353 (PresentX 3353) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14630 MB ``` **Not tested** - Drawing with these pipelines: in the menus the title never binds them. Drawing them likely needs two-pass support (#215). - AMD / RDNA, wave64 GPUs, the `XCL_SAMPLE_RPF` e2e tests (not set here), gameplay past the menus. - One of these MS fails DXC validation ("vertex plus primitive output size is greater than 32768"); not addressed here. - HANDOFF.md (around "refused … the title rendered nothing" / "its minimap") is now out of date. **AI use** - Claude Code with Claude Fable 5.2 found the cause, wrote the code and tests; Claude Code with Claude Opus 5.5 ran the regression runs and wrote this description.
MesshM commented 2026-11-24 07:05:52 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by MesshM on 2026-11-24T03:24:57Z.


Test run of fdadaddb9a5a193a292ff113a029472a3485fa0a on AMD RDNA4. I merged it onto current main 91f9a5e locally (clean merge) and tested that tree.

Tested

  • AMD Radeon RX 9060 XT 16 GB (RDNA4, native wave64), driver 32.0.32029.2010; Ryzen 7 5700X, 64 GB RAM, Windows 11 Pro build 26200, Rust 1.100.0 stable-x86_64-pc-windows-msvc, debug
  • cargo build --workspace + cargo test --workspace -- --test-threads=4 on the merge: 694 passed, 0 failed, 41 ignored, exit code 0; xcl lib tests 654 passed, 0 failed, 21 ignored
  • 0 SKIPPED; a_console_ms_at_24_without_a_pc_ms_is_the_streams_ms and the_stand_in_of_a_console_numbered_stream_has_a_pc_ms pass, as does retail_mesh_pipelines_through_the_hook.

Review: Subobject 24 is taken as the MS only when there is no PC MS subobject and its payload is a console MS container, so a real PC AS is unaffected. Overlap with #541 (open, "a console MS in the AS slot is translated as the mesh shader"): both replace the same "MS container in the AS slot → refused" block in the stream path, with different readings (this PR: the console's subobject numbering is one lower; #541: an MS in the AS slot). They will conflict, and the maintainer will want one reading.

Not tested: no retail title or regression run (I have no unpacked game), no XCL_SAMPLE_* tests, release build; the PR's head on its old base was not run, only its merge onto main.

Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code.

<!-- greyfinch-sync:ivall/xcl:comment:7121066993 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/630#issuecomment-7121066993). Originally posted by [MesshM](https://github.com/MesshM) on 2026-11-24T03:24:57Z. --- Test run of `fdadaddb9a5a193a292ff113a029472a3485fa0a` on AMD RDNA4. I merged it onto current `main` `91f9a5e` locally (clean merge) and tested that tree. **Tested** - AMD Radeon RX 9060 XT 16 GB (RDNA4, native wave64), driver 32.0.32029.2010; Ryzen 7 5700X, 64 GB RAM, Windows 11 Pro build 26200, Rust 1.100.0 `stable-x86_64-pc-windows-msvc`, debug - `cargo build --workspace` + `cargo test --workspace -- --test-threads=4` on the merge: **694 passed, 0 failed, 41 ignored**, exit code 0; `xcl` lib tests 654 passed, 0 failed, 21 ignored - **0 `SKIPPED`**; `a_console_ms_at_24_without_a_pc_ms_is_the_streams_ms` and `the_stand_in_of_a_console_numbered_stream_has_a_pc_ms` pass, as does `retail_mesh_pipelines_through_the_hook`. **Review:** Subobject 24 is taken as the MS only when there is no PC MS subobject and its payload is a console MS container, so a real PC AS is unaffected. **Overlap with #541** (open, "a console MS in the AS slot is translated as the mesh shader"): both replace the same "MS container in the AS slot → refused" block in the stream path, with different readings (this PR: the console's subobject numbering is one lower; #541: an MS in the AS slot). They will conflict, and the maintainer will want one reading. **Not tested:** no retail title or regression run (I have no unpacked game), no `XCL_SAMPLE_*` tests, release build; the PR's head on its old base was not run, only its merge onto `main`. Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code.
relativespace2K commented 2026-11-24 07:06:05 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by relativespace2K on 2026-11-24T04:04:34Z.


Tested - fdadadd on main 3da2abb, retail GTA6 1.0.2.1

Tool: OpenCode with DeepSeek V4.1 Flash 1017

  • 360 s with the machine's usual background load: exit 0, 6,979 frames, 0 mesh refusals (main: 40),
    peak 32,006 MB commit / 15,566 MB local VRAM. 12 DXIL compilations failed with
    E_OUTOFMEMORY (0x8007000E) on 1.3-2.6 MB HLSL shaders.
  • 240 s with background programs closed (commit free 19.9 -> 28.8 GB): the DXIL OOMs are gone
    (dxil_fail 0, 161 misses compiled), but the D3D12 device was removed at 225.8 s
    (0x887a0006). Local VRAM reached 16,900 MB on a 16,338 MiB card; commit peaked at 40.5 GB.
  • The title reaches its menus and renders; the limit now is the 16 GB VRAM. It needs VRAM
    headroom/cap (or a larger card) to run past ~225 s.

Tested - native Windows, AMD RDNA2

  • PR head fdadaddb9a5a193a292ff113a029472a3485fa0a (based on 9ce2070), applied as a
    cherry-pick without committing onto current main f4ce27c (clean).
  • AMD Radeon RX 6800 XT (16338 MiB), driver 32.0.21045.29003; Ryzen 5 5600, 31.9 GB;
    Windows 11 IoT Enterprise LTSC 26100; Rust 1.100.0 MSVC; DXC 1.9.2602.17; debug;
    no XCL_SAMPLE_*.
  • cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4:
tree passed failed ignored
main f4ce27c 698 3 41
main + this PR 700 3 41
  • The same three RDNA2 tests fail as on the base: placed_title_textures_share_vram_and_preserve_pixels
    plus the two PoisonError follow-ons. In the parallel run the first reported its other
    known cubemap extra_pages assertion; isolated, base and PR both fail at
    3D 64x64x64 4 mips: subresource 2 mismatch. Neither is touched by this PR.
  • Focused cargo test -p xcl --lib console_ms_stream_tests: 2 passed, 0 failed
    a_console_ms_at_24_without_a_pc_ms_is_the_streams_ms and
    the_stand_in_of_a_console_numbered_stream_has_a_pc_ms.
  • 0 SKIPPED GPU tests on this adapter.

Not tested: the retail title's ~2,750 mesh pipelines (no title here), release build,
NVIDIA / Intel.

AI use: OpenCode with DeepSeek V4.1 Flash 1017 ran the tests and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7121683532 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/630#issuecomment-7121683532). Originally posted by [relativespace2K](https://github.com/relativespace2K) on 2026-11-24T04:04:34Z. --- **Tested** - `fdadadd` on `main` `3da2abb`, retail GTA6 1.0.2.1 Tool: OpenCode with DeepSeek V4.1 Flash 1017 - 360 s with the machine's usual background load: exit 0, 6,979 frames, 0 mesh refusals (`main`: 40), peak 32,006 MB commit / 15,566 MB local VRAM. 12 DXIL compilations failed with `E_OUTOFMEMORY (0x8007000E)` on 1.3-2.6 MB HLSL shaders. - 240 s with background programs closed (commit free 19.9 -> 28.8 GB): the DXIL OOMs are gone (`dxil_fail 0`, 161 misses compiled), but the D3D12 device was removed at 225.8 s (`0x887a0006`). Local VRAM reached **16,900 MB** on a 16,338 MiB card; commit peaked at 40.5 GB. - The title reaches its menus and renders; the limit now is the 16 GB VRAM. It needs VRAM headroom/cap (or a larger card) to run past ~225 s. --- **Tested** - native Windows, AMD RDNA2 - PR head `fdadaddb9a5a193a292ff113a029472a3485fa0a` (based on `9ce2070`), applied as a cherry-pick without committing onto current `main` `f4ce27c` (clean). - AMD Radeon RX 6800 XT (16338 MiB), driver 32.0.21045.29003; Ryzen 5 5600, 31.9 GB; Windows 11 IoT Enterprise LTSC 26100; Rust 1.100.0 MSVC; DXC 1.9.2602.17; debug; no `XCL_SAMPLE_*`. - `cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4`: | tree | passed | failed | ignored | |---|---:|---:|---:| | `main` `f4ce27c` | 698 | 3 | 41 | | `main` + this PR | 700 | 3 | 41 | - The same three RDNA2 tests fail as on the base: `placed_title_textures_share_vram_and_preserve_pixels` plus the two `PoisonError` follow-ons. In the parallel run the first reported its other known `cubemap extra_pages` assertion; isolated, base and PR both fail at `3D 64x64x64 4 mips: subresource 2 mismatch`. Neither is touched by this PR. - Focused `cargo test -p xcl --lib console_ms_stream_tests`: 2 passed, 0 failed `a_console_ms_at_24_without_a_pc_ms_is_the_streams_ms` and `the_stand_in_of_a_console_numbered_stream_has_a_pc_ms`. - 0 `SKIPPED` GPU tests on this adapter. **Not tested**: the retail title's ~2,750 mesh pipelines (no title here), release build, NVIDIA / Intel. **AI use**: OpenCode with DeepSeek V4.1 Flash 1017 ran the tests and drafted this report.
HQasper commented 2026-11-24 15:05:43 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by HQasper on 2026-11-24T14:10:16Z.


Test report (retail title, 120 s smoke run)

  • Hardware: NVIDIA GeForce RTX 5090 (wave32 only), driver 32.0.16.2124, AMD Ryzen 9 9950X3D, Windows 11 build 26300, rustc 1.100.0, release build.
  • Command: scripts/smoke.ps1 -Game <game folder> -Seconds 120 with XCL_FRAME_DUMP=240, one run per build, no input.
  • Commits: main 930e8b4, #630 fdadadd, #541 6bd8f64, each built as it stands (not rebased).
main 930e8b4 #630 fdadadd #541 6bd8f64
frames shown 3135 3376 3469
presents per 2 s (last 3) 60 60 60 60 60 60 60 60 60
device removals / crashes 0 / 0 0 / 0 0 / 0
peak commit 14552 MB 14809 MB 14608 MB
"in the AS slot – refused" lines 40 (log cap) 0 0
"no stand-in pipeline" lines 0 0 0
frame dumps (every 240th) menu from frame 260 on menu from frame 260 on menu from frame 260 on

Both PRs remove the refusal without the black screen: every frame from 260 on shows the same account-picker menu as main.

Also checked on main 47efa2e with a local patch that only moved the slot-24 MS into the MS slot. All frames were black. The stand-in was refused (no stand-in pipeline (0x80070057) – building this one in the call), and the first of those in-call builds took ~60 s (pipeline from the console MS in two passes at 67 s). The streams were RS, MS at 24, PS, null DS / HS / GS, blend, sample mask, rasterizer, DEPTH_STENCIL1, sample desc, empty input layout, topology, RT formats, DS format. 200 of 200 logged streams had this layout, with no subobject 25.

Not tested

  • Drawing with these pipelines: the title never binds them in the menus (0 two passes lines in either PR run), so nothing past the first menu was reached (no input sent).
  • The D16S8 stand-in case that only #541 fixes: no no stand-in line on any of these runs, so the menus don't reach it.
  • AMD / wave64 hardware, and the test suite on the PR heads.

AI use: Claude Code with Claude Opus 5.5 ran the builds and runs and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7133949299 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/630#issuecomment-7133949299). Originally posted by [HQasper](https://github.com/HQasper) on 2026-11-24T14:10:16Z. --- **Test report (retail title, 120 s smoke run)** - Hardware: NVIDIA GeForce RTX 5090 (wave32 only), driver 32.0.16.2124, AMD Ryzen 9 9950X3D, Windows 11 build 26300, rustc 1.100.0, release build. - Command: `scripts/smoke.ps1 -Game <game folder> -Seconds 120` with `XCL_FRAME_DUMP=240`, one run per build, no input. - Commits: main `930e8b4`, #630 `fdadadd`, #541 `6bd8f64`, each built as it stands (not rebased). | | main 930e8b4 | #630 fdadadd | #541 6bd8f64 | |---|---|---|---| | frames shown | 3135 | 3376 | 3469 | | presents per 2 s (last 3) | 60 60 60 | 60 60 60 | 60 60 60 | | device removals / crashes | 0 / 0 | 0 / 0 | 0 / 0 | | peak commit | 14552 MB | 14809 MB | 14608 MB | | "in the AS slot – refused" lines | 40 (log cap) | 0 | 0 | | "no stand-in pipeline" lines | 0 | 0 | 0 | | frame dumps (every 240th) | menu from frame 260 on | menu from frame 260 on | menu from frame 260 on | Both PRs remove the refusal without the black screen: every frame from 260 on shows the same account-picker menu as main. Also checked on main `47efa2e` with a local patch that only moved the slot-24 MS into the MS slot. All frames were black. The stand-in was refused (`no stand-in pipeline (0x80070057) – building this one in the call`), and the first of those in-call builds took ~60 s (`pipeline from the console MS in two passes` at 67 s). The streams were RS, MS at 24, PS, null DS / HS / GS, blend, sample mask, rasterizer, DEPTH_STENCIL1, sample desc, empty input layout, topology, RT formats, DS format. 200 of 200 logged streams had this layout, with no subobject 25. **Not tested** - Drawing with these pipelines: the title never binds them in the menus (0 `two passes` lines in either PR run), so nothing past the first menu was reached (no input sent). - The D16S8 stand-in case that only #541 fixes: no `no stand-in` line on any of these runs, so the menus don't reach it. - AMD / wave64 hardware, and the test suite on the PR heads. **AI use:** Claude Code with Claude Opus 5.5 ran the builds and runs and wrote this report.
srcamarda commented 2026-11-24 15:06:02 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by srcamarda on 2026-11-24T14:43:21Z.


#630 and #541 side by side on AMD RDNA3 (RX 7800 XT, native wave64): with #541 the title loads its world as on main; with #630 it stays black after the intro and never starts the world load (3 of 3 runs)

Neither PR had a run on RDNA3 yet. Their bases are older than main (9ce2070 / a1672ef), so each was merged onto main 47efa2e locally (clean merges, not pushed): #630 at fdadadd, #541 at 6bd8f64.

Setup

  • AMD Radeon RX 7800 XT 16 GB, driver 32.0.32029.2010; Ryzen 5 5600G, 32 GB; Windows 11 Pro 26300; rustc 1.100.0; DXC 1.8.2502.11. Release for the title, debug for the tests.
  • Retail title 1.0.2.1, Series X profile, saved profile (first-run setup done). XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_RUN_SECONDS=150 XCL_FRAME_DUMP=60, Enter (= A) at 25 / 35 / 45 s. The runs were interleaved main → #630 → #541, twice; round 1 had cold translation caches for the new pipelines.

Tests

  • cargo test --workspace --no-fail-fast -- --test-threads=4: main + #630: 743 passed, 0 failed, 41 ignored; main + #541: 747 passed, 0 failed, 41 ignored. No SKIPPED lines. Each PR's new tests pass.

Title runs (150 s each)

main r1 · r2 + #630 r1 · r2 + #541 r1 · r2
frames shown 1846 · 1994 2592 · 2778 1929 · 2239
"in the AS slot – refused" 40 · 40 0 · 0 0 · 0
no stand-in pipeline (0x80070057) 0 · 0 3 · 3 (at 75 s) 0 · 0
world load (DirectStorage streaming after the intro) yes · yes (112–128 s) no · no yes · yes (128 s)
last captures loading art black loading art
peak local video memory 15.1 · 21.8 GB 8.8 · 8.8 GB 15.1 · 14.3 GB
device removals / crashes 0 / 0 0 / 0 0 / 0

Captured frames, one character per capture (every 60th presented frame; # lit, . black, measured as the share of samples with R+G+B > 30):

main-r1   ....###########################
pr630-r1  ....##########.............................
pr541-r1  ....###########..............###
main-r2   ....##########................###
pr630-r2  .........###########..........................
pr541-r2  .......########...................###

On main and with #541 the black stretch is the title's own: the world load starts in it, and its art comes back on screen. With #630 the title keeps presenting (~38 presents and ~114 draws per 2 s, as in that stretch on main), but no DirectStorage request comes after it. A 300 s run of #630 (main + fdadadd) shows the same: streaming until 66 s, then black with 0 requests for the remaining 234 s, no crash, 5487 frames.

The 3 stand-in refusals with #630 match what #541 fixed in 303b346 (the stand-in keeps the console's depth format 118); I did not check that they are the cause of the stall.

Not tested

  • Either PR on its own base, as it stands: both were merged onto main 47efa2e.
  • The world itself: the title's crash at +0x23cf683 (#534) comes after these 150 s on this machine.
  • More than three runs of #630, or a run with an empty driver cache.

Claude Code (Claude Opus 5.5), from runs on the hardware above.

<!-- greyfinch-sync:ivall/xcl:comment:7134840482 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/630#issuecomment-7134840482). Originally posted by [srcamarda](https://github.com/srcamarda) on 2026-11-24T14:43:21Z. --- **#630 and #541 side by side on AMD RDNA3 (RX 7800 XT, native wave64): with #541 the title loads its world as on `main`; with #630 it stays black after the intro and never starts the world load (3 of 3 runs)** Neither PR had a run on RDNA3 yet. Their bases are older than `main` (`9ce2070` / `a1672ef`), so each was merged onto `main` `47efa2e` locally (clean merges, not pushed): #630 at `fdadadd`, #541 at `6bd8f64`. **Setup** - AMD Radeon RX 7800 XT 16 GB, driver 32.0.32029.2010; Ryzen 5 5600G, 32 GB; Windows 11 Pro 26300; rustc 1.100.0; DXC 1.8.2502.11. Release for the title, debug for the tests. - Retail title 1.0.2.1, Series X profile, saved profile (first-run setup done). `XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_RUN_SECONDS=150 XCL_FRAME_DUMP=60`, Enter (= A) at 25 / 35 / 45 s. The runs were interleaved main → #630 → #541, twice; round 1 had cold translation caches for the new pipelines. **Tests** - `cargo test --workspace --no-fail-fast -- --test-threads=4`: main + #630: 743 passed, 0 failed, 41 ignored; main + #541: 747 passed, 0 failed, 41 ignored. No `SKIPPED` lines. Each PR's new tests pass. **Title runs** (150 s each) | | main r1 · r2 | + #630 r1 · r2 | + #541 r1 · r2 | |---|---|---|---| | frames shown | 1846 · 1994 | 2592 · 2778 | 1929 · 2239 | | "in the AS slot – refused" | 40 · 40 | 0 · 0 | 0 · 0 | | `no stand-in pipeline (0x80070057)` | 0 · 0 | 3 · 3 (at 75 s) | 0 · 0 | | world load (DirectStorage streaming after the intro) | yes · yes (112–128 s) | **no · no** | yes · yes (128 s) | | last captures | loading art | **black** | loading art | | peak local video memory | 15.1 · 21.8 GB | 8.8 · 8.8 GB | 15.1 · 14.3 GB | | device removals / crashes | 0 / 0 | 0 / 0 | 0 / 0 | Captured frames, one character per capture (every 60th presented frame; `#` lit, `.` black, measured as the share of samples with R+G+B > 30): ``` main-r1 ....########################### pr630-r1 ....##########............................. pr541-r1 ....###########..............### main-r2 ....##########................### pr630-r2 .........###########.......................... pr541-r2 .......########...................### ``` On `main` and with #541 the black stretch is the title's own: the world load starts in it, and its art comes back on screen. With #630 the title keeps presenting (~38 presents and ~114 draws per 2 s, as in that stretch on `main`), but no DirectStorage request comes after it. A **300 s run of #630** (main + `fdadadd`) shows the same: streaming until 66 s, then black with 0 requests for the remaining 234 s, no crash, 5487 frames. The 3 stand-in refusals with #630 match what #541 fixed in `303b346` (the stand-in keeps the console's depth format 118); I did not check that they are the cause of the stall. **Not tested** - Either PR on its own base, as it stands: both were merged onto `main` `47efa2e`. - The world itself: the title's crash at `+0x23cf683` (#534) comes after these 150 s on this machine. - More than three runs of #630, or a run with an empty driver cache. _Claude Code (Claude Opus 5.5), from runs on the hardware above._
IAmTheSween commented 2026-11-25 05:08:24 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by IAmTheSween on 2026-11-25T04:41:41Z.


Test report on a desktop RTX 5070 (Blackwell), head fdadaddb9a5a193a292ff113a029472a3485fa0a, built as it stands (CONFLICTING with main, not rebased).

Setup

  • GPU: NVIDIA GeForce RTX 5070 (11 943 MiB), driver 32.0.16.2114; Ryzen 5 5600X, 31.9 GB; Windows 11 26H2 build 26300.9974; rustc 1.100.0; DXC 1.8.2502.11.
  • Retail 1.0.2.1, unmodified (exe SHA-256 e95020b2…). Scripted route, identical in all three arms: Enter (= pad A) every 4 s from 20 s to 130 s, XCL_NETWORK=0, XCL_ACTIVITY=1, XCL_FRAME_DUMP=2, 300 s per run. Release build.

Result: unlike #541, this keeps the frame rate — but the three stand-in failures are here too

300 s main cbc296ab65 #541 6bd8f64 #630 fdadadd
console shaders in the PSO without a translation 40 0 0
no stand-in pipeline (0x80070057) 0 0 3
frames / presents 8 771 / 8 772 2 650 / 2 650 8 427 / 8 427
presents per 2 s, steady 60 10–14 60
device removals / crashes 0 / 0 0 / 0 0 / 0
peak process commit 15 083 MB 15 598 MB 17 649 MB
last frame, non-dark samples 517 959 / 518 400 517 959 / 518 400 518 065 / 518 400

The three stand-in warnings are one burst at 60.323–60.324 s, on three different worker threads, each followed by in-call translation. That is the same count and shape @badoomtch reported for #541 on an RTX 5080 at 44.49 s, and the same count @srcamarda reported for #630 on RDNA3 at 75 s — so it is not specific to #541's reading or to AMD. It is also directly contrary to the PR description's claim that lazy building fixes the in-call builds: 2 of these pipelines go through pso_async::lazy, and 3 still fall back to building in the create call. There were 0 two passes and 0 pipeline from the console MS lines, so this run does not exercise the two-pass path @ivall flags in #541 either.

Frame-rate-wise this is fine (96 % of main's frames, steady 60 presents/2 s), unlike #541's 30 %. The trade here is peak commit at +17 % over main. The last captured frame is lit and has a different dominant-texel mix than main/#541 (0xff2c2020 69 292 px plus several skin-tone-like colours rather than 516 897 px of one background), so it is not a black-screen run on this card.

Tested

  • cargo build --release -p xcl: clean.
  • cargo test --workspace -- --test-threads=4: 686 passed, 0 failed, 41 ignored (16 binaries). SKIPPED (5 lines): gpu_geometry_wave32_prefix_count_over_a_mask and gpu_wave32_program_in_wave64_hardware (no wave64), plus the three D3D12.X runtime-skipped cases. No flakes on this branch. The count is below a current-main run because the branch base is older.
  • 300 s retail run with the route above, frame dumps every 2nd presented frame: no crash, no device removal, 8 427 frames, end frame 99.9 % non-dark.

Not tested

  • The world itself: DirectStorage 0 requests in all 300 s of all three arms here (XCL_NETWORK=0), so this route never reaches the post-intro world load that @srcamarda used to distinguish #630 from #541. My end-frame observation is about the screen this route reaches, not about gameplay.
  • AMD / RDNA, wave64, laptop parts, other titles, and a run with an empty driver cache.
  • Whether the 3 in-call builds cause any later stall — none appeared in this route, and no two passes lines were seen.

AI use

  • OpenCode with DeepSeek V4.1 Flash Abliterated (deepseek-v4-pro-uncensored); ran the builds, suite and the runs, wrote the table from the logs and wrote this comment.
<!-- greyfinch-sync:ivall/xcl:comment:7153079163 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/630#issuecomment-7153079163). Originally posted by [IAmTheSween](https://github.com/IAmTheSween) on 2026-11-25T04:41:41Z. --- Test report on a desktop **RTX 5070** (Blackwell), head `fdadaddb9a5a193a292ff113a029472a3485fa0a`, built as it stands (`CONFLICTING` with `main`, not rebased). **Setup** - GPU: NVIDIA GeForce RTX 5070 (11 943 MiB), driver 32.0.16.2114; Ryzen 5 5600X, 31.9 GB; Windows 11 26H2 build 26300.9974; rustc 1.100.0; DXC 1.8.2502.11. - Retail 1.0.2.1, unmodified (exe SHA-256 `e95020b2…`). Scripted route, identical in all three arms: Enter (= pad A) every 4 s from 20 s to 130 s, `XCL_NETWORK=0`, `XCL_ACTIVITY=1`, `XCL_FRAME_DUMP=2`, 300 s per run. Release build. **Result: unlike #541, this keeps the frame rate — but the three stand-in failures are here too** | 300 s | `main` `cbc296ab65` | #541 `6bd8f64` | #630 `fdadadd` | |---|---:|---:|---:| | `console shaders in the PSO without a translation` | 40 | **0** | **0** | | `no stand-in pipeline (0x80070057)` | 0 | 0 | **3** | | frames / presents | 8 771 / 8 772 | 2 650 / 2 650 | **8 427 / 8 427** | | presents per 2 s, steady | 60 | 10–14 | **60** | | device removals / crashes | 0 / 0 | 0 / 0 | 0 / 0 | | peak process commit | 15 083 MB | 15 598 MB | **17 649 MB** | | last frame, non-dark samples | 517 959 / 518 400 | 517 959 / 518 400 | 518 065 / 518 400 | The three stand-in warnings are one burst at 60.323–60.324 s, on three different worker threads, each followed by in-call translation. That is the same count and shape @badoomtch reported for #541 on an RTX 5080 at 44.49 s, and the same count @srcamarda reported for #630 on RDNA3 at 75 s — so it is not specific to #541's reading or to AMD. It is also directly contrary to the PR description's claim that lazy building fixes the in-call builds: 2 of these pipelines go through `pso_async::lazy`, and 3 still fall back to building in the create call. There were 0 `two passes` and 0 `pipeline from the console MS` lines, so this run does not exercise the two-pass path @ivall flags in #541 either. Frame-rate-wise this is fine (96 % of `main`'s frames, steady 60 presents/2 s), unlike #541's 30 %. The trade here is peak commit at +17 % over `main`. The last captured frame is lit and has a different dominant-texel mix than `main`/#541 (`0xff2c2020` 69 292 px plus several skin-tone-like colours rather than 516 897 px of one background), so it is not a black-screen run on this card. **Tested** - `cargo build --release -p xcl`: clean. - `cargo test --workspace -- --test-threads=4`: **686 passed, 0 failed, 41 ignored** (16 binaries). SKIPPED (5 lines): `gpu_geometry_wave32_prefix_count_over_a_mask` and `gpu_wave32_program_in_wave64_hardware` (`no wave64`), plus the three D3D12.X runtime-skipped cases. No flakes on this branch. The count is below a current-`main` run because the branch base is older. - 300 s retail run with the route above, frame dumps every 2nd presented frame: no crash, no device removal, 8 427 frames, end frame 99.9 % non-dark. **Not tested** - The world itself: `DirectStorage 0 requests` in all 300 s of all three arms here (`XCL_NETWORK=0`), so this route never reaches the post-intro world load that @srcamarda used to distinguish #630 from #541. My end-frame observation is about the screen this route reaches, not about gameplay. - AMD / RDNA, wave64, laptop parts, other titles, and a run with an empty driver cache. - Whether the 3 in-call builds cause any later stall — none appeared in this route, and no `two passes` lines were seen. **AI use** - OpenCode with DeepSeek V4.1 Flash Abliterated (`deepseek-v4-pro-uncensored`); ran the builds, suite and the runs, wrote the table from the logs and wrote this comment.
IAmTheSween commented 2026-11-25 05:08:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by IAmTheSween on 2026-11-25T04:53:30Z.


Correction to one line in my report above: I wrote DirectStorage 0 requests for all three arms. That was a bad PowerShell extraction on my side — I was reading the wrong regex group.

With a correct extraction over the 149 activity samples in each 300 s log:

main cbc296ab #541 6bd8f64 #630 fdadadd
samples with DirectStorage requests 9 13 22
max requests in one 2 s sample 4 200 2 334 4 168

So there is some title streaming in all three runs, contrary to what I said. It still does not look like a completed world load: the last frames in main and #541 are the same static screen (517 959/518 400 non-dark, identical dominant texels), and #630's end frame is a different lit screen (518 065/518 400). My "not tested" point should therefore read: this route does not reach a confirmed gameplay state — I cannot tell from these logs whether the world finished loading. The frame/present/refusal/stand-in/removal counts in the table are unaffected.

AI use: OpenCode with DeepSeek V4.1 Flash Abliterated (deepseek-v4-pro-uncensored); re-extracted the numbers from the preserved logs and wrote this correction.

<!-- greyfinch-sync:ivall/xcl:comment:7153257906 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/630#issuecomment-7153257906). Originally posted by [IAmTheSween](https://github.com/IAmTheSween) on 2026-11-25T04:53:30Z. --- Correction to one line in my report above: I wrote `DirectStorage 0 requests` for all three arms. That was a bad PowerShell extraction on my side — I was reading the wrong regex group. With a correct extraction over the 149 activity samples in each 300 s log: | | `main` `cbc296ab` | #541 `6bd8f64` | #630 `fdadadd` | |---|---:|---:|---:| | samples with DirectStorage requests | 9 | 13 | 22 | | max requests in one 2 s sample | 4 200 | 2 334 | 4 168 | So there is some title streaming in all three runs, contrary to what I said. It still does not look like a completed world load: the last frames in `main` and #541 are the same static screen (517 959/518 400 non-dark, identical dominant texels), and #630's end frame is a different lit screen (518 065/518 400). My "not tested" point should therefore read: **this route does not reach a confirmed gameplay state** — I cannot tell from these logs whether the world finished loading. The frame/present/refusal/stand-in/removal counts in the table are unaffected. **AI use:** OpenCode with DeepSeek V4.1 Flash Abliterated (`deepseek-v4-pro-uncensored`); re-extracted the numbers from the preserved logs and wrote this correction.
JJAutoCompare commented 2026-11-25 07:05:37 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T06:36:56Z.


Empirical test report (fdadaddb)

Hardware / environment

  • PR #630 head fdadaddb9a5a193a292ff113a029472a3485fa0a, verified after detached checkout.
  • Windows x64 build 10.0.26200.0, AMD Ryzen 7 3800X 8-Core Processor.
  • Rust 1.100.0 (0ef1bc386 2026-11-09), x86_64-pc-windows-msvc. Unoptimized test profile with debug info and incremental compilation disabled.
  • DXC and DXIL 1.9.2609.5 (DXC 01b62ad4 in the test log). Both focused tests ran outside the Arc harness with XCL_ADAPTER=NONE_CPU_ONLY and RUST_TEST_NOCAPTURE=1.

Commands and results

  • cargo test --workspace --no-run exited 0 and built 15 test executables. This step only compiled the tests.
  • The commands below used the Cargo-reported library test executable, xcl-00e28da3621caf64.exe. Both exited 0 and each logged 1 passed / 0 failed / 0 ignored.
xcl-00e28da3621caf64.exe hle::d3d12x::real::console_ms_stream_tests::a_console_ms_at_24_without_a_pc_ms_is_the_streams_ms --exact --test-threads=1
xcl-00e28da3621caf64.exe hle::d3d12x::real::console_ms_stream_tests::the_stand_in_of_a_console_numbered_stream_has_a_pc_ms --exact --test-threads=1
  • Focused total from the captured output was 2 passed / 0 failed / 0 ignored / 0 skipped, with zero case-sensitive ^SKIPPED lines.

Observed behavior

  • The parser recognized a console mesh shader at type 24 when type 25 was absent. The test also checked a stream containing both types, a different console shader stage, a PC shader at type 24, and a console MS already at type 25.
  • DXC compiled the stand-in shaders. The fallback stream contained the stand-in mesh shader at PC type 25 and the stand-in pixel shader at type 2.

Not tested

  • Full GPU workspace suite, driver pipeline creation, and game smoke runs.

AI use

Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr630-focused.log and published.

<!-- greyfinch-sync:ivall/xcl:comment:7154976104 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/630#issuecomment-7154976104). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T06:36:56Z. --- ### Empirical test report (fdadaddb) **Hardware / environment** - PR #630 head `fdadaddb9a5a193a292ff113a029472a3485fa0a`, verified after detached checkout. - Windows x64 build `10.0.26200.0`, AMD Ryzen 7 3800X 8-Core Processor. - Rust `1.100.0 (0ef1bc386 2026-11-09)`, `x86_64-pc-windows-msvc`. Unoptimized test profile with debug info and incremental compilation disabled. - DXC and DXIL `1.9.2609.5` (DXC `01b62ad4` in the test log). Both focused tests ran outside the Arc harness with `XCL_ADAPTER=NONE_CPU_ONLY` and `RUST_TEST_NOCAPTURE=1`. **Commands and results** - `cargo test --workspace --no-run` exited 0 and built 15 test executables. This step only compiled the tests. - The commands below used the Cargo-reported library test executable, `xcl-00e28da3621caf64.exe`. Both exited 0 and each logged 1 passed / 0 failed / 0 ignored. ```text xcl-00e28da3621caf64.exe hle::d3d12x::real::console_ms_stream_tests::a_console_ms_at_24_without_a_pc_ms_is_the_streams_ms --exact --test-threads=1 xcl-00e28da3621caf64.exe hle::d3d12x::real::console_ms_stream_tests::the_stand_in_of_a_console_numbered_stream_has_a_pc_ms --exact --test-threads=1 ``` - Focused total from the captured output was **2 passed / 0 failed / 0 ignored / 0 skipped**, with zero case-sensitive `^SKIPPED ` lines. **Observed behavior** - The parser recognized a console mesh shader at type 24 when type 25 was absent. The test also checked a stream containing both types, a different console shader stage, a PC shader at type 24, and a console MS already at type 25. - DXC compiled the stand-in shaders. The fallback stream contained the stand-in mesh shader at PC type 25 and the stand-in pixel shader at type 2. **Not tested** - Full GPU workspace suite, driver pipeline creation, and game smoke runs. **AI use** Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr630-focused.log and published.
DavidM1911 commented 2026-11-25 13:05:13 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T12:43:49Z.


Verification on RTX 3060 Ti (Windows 11): merge conflict with current main — needs a rebase before it can be tested.

<!-- greyfinch-sync:ivall/xcl:comment:7162775245 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/630#issuecomment-7162775245). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T12:43:49Z. --- Verification on RTX 3060 Ti (Windows 11): **merge conflict with current `main`** — needs a rebase before it can be tested.
Foniass commented 2026-12-01 03:49:57 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T03:49:57Z.


Triage (#1607) – head fdadadd

#541 (merged, fe6b1209 and its commits 70f91859 / 48c1517a / 7654a2a4) makes the same change on main: mesh_shader_slots in real.rs moves a console MS container from subobject 24 (the PC AS slot) to the MS when the stream has no 25, the pipeline is translated when first bound instead of in the call, and fallback_stream gives such a stream a mesh stand-in. This PR's console_numbered_ms, the pso_async::lazy deferral and the CONSOLE_MS case in fallback_stream cover the same ground, and the branch now conflicts with that code.
Recommendation: close (superseded by #541 / main commit fe6b1209).

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7300108015 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/630#issuecomment-7300108015). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T03:49:57Z. --- **Triage (#1607)** – head fdadadd #541 (merged, fe6b1209 and its commits 70f91859 / 48c1517a / 7654a2a4) makes the same change on main: `mesh_shader_slots` in real.rs moves a console MS container from subobject 24 (the PC AS slot) to the MS when the stream has no 25, the pipeline is translated when first bound instead of in the call, and `fallback_stream` gives such a stream a mesh stand-in. This PR's `console_numbered_ms`, the `pso_async::lazy` deferral and the `CONSOLE_MS` case in `fallback_stream` cover the same ground, and the branch now conflicts with that code. Recommendation: close (superseded by #541 / main commit fe6b1209). AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
throny commented 2026-12-01 12:39:00 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-12-01T12:39:00Z.


Closing as superseded: this change is already on main (fe6b1209). main has mesh_shader_slots + console_ms_in_as_slot: console MS in the AS slot with no MS is moved to MS, translated lazily when first bound (pso_async::lazy), and fallback_stream makes its stand-in a mesh pipeline; PR's CONSOLE_MS=24 rewrite design is replaced by the same behaviour

Two independent checks found this: Foniass's close list on #1607 and ours against current main. If something here is still missing on main, say so and reopen it, or ask and I will.

AI use: Claude Code (Claude Opus 5.5); the per-PR comparison was done by Claude Sonnet 5.5 sub-agents.

<!-- greyfinch-sync:ivall/xcl:comment:7311444666 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/630#issuecomment-7311444666). Originally posted by [throny](https://github.com/throny) on 2026-12-01T12:39:00Z. --- Closing as superseded: this change is already on `main` (fe6b1209). main has mesh_shader_slots + console_ms_in_as_slot: console MS in the AS slot with no MS is moved to MS, translated lazily when first bound (pso_async::lazy), and fallback_stream makes its stand-in a mesh pipeline; PR's CONSOLE_MS=24 rewrite design is replaced by the same behaviour Two independent checks found this: Foniass's close list on #1607 and ours against current `main`. If something here is still missing on `main`, say so and reopen it, or ask and I will. AI use: Claude Code (Claude Opus 5.5); the per-PR comparison was done by Claude Sonnet 5.5 sub-agents.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
xcl-dev/xcl!625
No description provided.