Shaders: a title's preparation workers build split programs' whole forms #2784

Merged
joeypercia merged 1 commit from upstream-pr/2794 into nvidia-dev 2026-11-28 00:36:19 +00:00
joeypercia commented 2026-11-26 13:34:56 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by joeypercia on 2026-11-26T13:34:56Z.


The workers that build a title's compute pipelines before it starts (pipelines_in_workers) never build split programs' whole forms. precompile builds a whole form only when it has a startup state, and the workers run it without one. The title then builds each whole form at the program's first ExecuteIndirect, on its own thread (Chain::whole): 15–25 s a program cold, for 750 KB – 1.1 MB of DXIL. With that, the newer retail title froze in its world load for minutes. @KDenKC found it and posted this change on #2624 as a suggestion, not a PR. This is that change, with a test.

What is in it (one commit)

  • crates/xcl/src/shaders.rs: precompile also builds the whole form of a split program in a preparation worker (XCL_PRECOMPILE_PARENT set, as worker_command sets it).
  • crates/xcl/tests/gpu_compute_e2e.rs: a_preparation_worker_also_builds_a_split_programs_whole_form. It runs the split program of offline_split_compute_pipeline_is_reused_by_a_second_process as a worker would. The precompile must make one pipeline more than the program has pieces, and keep a driver blob for each. Without the change it fails: "the whole form was not built" (7 pipelines with it, 6 without, for 6 pieces).

What it does in the title (one run per arm each)

  • KDenKC, RTX 5090, cold except one earlier run's used-* lists (#2624):
    • Bind waits on cold whole forms: 20 waits, 468.5 s, down to 0.
    • Preparation: 9.4 min, up to 32.3 min.
    • Draws / dispatches after +120 s: 582 / 547, up to 3,442 / 7,695.
  • RTX 4070 Ti 12 GB, 1 GiB shader heap (#2590):
    • Without the change, two runs froze from about 130 s, title threads in Chain::whole (symbolized thread dumps).
    • With it, the first preparation took 754 s. The next launch prepared in 17 s, and the title went through the world load with no freeze, to the 438 s cap.

The cost is a longer first preparation. Later launches find the whole forms in the driver cache.

Tested

  • NVIDIA GeForce RTX 4070 Ti (driver 621.40), and the AMD Radeon iGPU of a Ryzen 7 7800X3D (RDNA2) with XCL_ADAPTER=Radeon. Windows 11 Pro 26200, Rust 1.100.0 MSVC, DXC 1.8.2502.11. Debug builds for the tests, release for the runs.
  • cargo build --workspace, then cargo test --workspace --no-fail-fast -- --test-threads=4, on this PR's head 3c4891dd and on its base af2cecc4:
    • RTX 4070 Ti: head 1746 passed, 6 failed, 48 ignored; base 1745 passed, 6 failed, 48 ignored.
    • RDNA2: head 1746 passed, 5 failed, 48 ignored; base 1745 passed, 5 failed, 48 ignored.
    • The failures are the same tests on head and base:
      • texture_upload::tests::gpu_parts_of_a_texture_go_up_and_the_rest_stays
      • texture_upload::tests::pieces_hold_the_texels_of_their_levels
      • console_ms_in_as_slot_and_ms_with_as_are_refused_cleanly
      • async_compute_pso_registers_real_pso_and_not_standin
      • two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs (RTX 4070 Ti, twice)
      • fuzz_validate_and_gpu_1 (RDNA2, #2115)
    • The new test ran on both adapters (... ok).

Regression run

RTX 4070 Ti (driver 621.40), release builds, 60 s each, scripts/smoke.ps1 -Game <folder> -Title retail-title on the newer retail title, with the same settings. All three ran with the NVIDIA shader-heap profile (#2590, 1 GiB) installed on this machine. The game reaches no ExecuteIndirect of a split program in 60 s, so this checks that nothing else changes. Base and PR ran one after the other; the base's run shared the GPU with a test suite of mine for part of it.

main (b49be183, merge base of main and nvidia-dev):

xcl-smoke v1
commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7
gpu: NVIDIA GeForce RTX 4070 Ti
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1426 (PresentX 1426)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 17542 MB

nvidia-dev (af2cecc4, this PR's base):

xcl-smoke v1
commit: af2cecc40886a8682ecf3267f5328c6dc4b66ad7
gpu: NVIDIA GeForce RTX 4070 Ti
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1454 (PresentX 1454)
presents per 2 s (last 3): 60 47 32
device removals: 0
crashes: 0
peak commit: 20359 MB

PR:

xcl-smoke v1
commit: 3c4891dd4cf7d249d7f818aec05c7150a347504a
gpu: NVIDIA GeForce RTX 4070 Ti
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1557 (PresentX 1557)
presents per 2 s (last 3): 60 60 59
device removals: 0
crashes: 0
peak commit: 18699 MB

Not tested

  • A title run on this exact commit. The 4070 Ti runs above had the same change on af2cecc4 together with my memory-report commits (#2697, #2750).
  • The preparation's length with the default worker count on a cold cache (KDenKC: 6 workers, 32 min; here: 12 workers, 754 s, with most translations already cached).
  • AMD in a title.

AI use

  • Claude Code with Claude Opus 5.5 wrote the test and this description, ran the tests and the runs on the hardware above, and applied the change @KDenKC posted on #2624 (written there with Codex).
<!-- greyfinch-sync:ivall/xcl:issue:5511002401 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794). Originally posted by [joeypercia](https://github.com/joeypercia) on 2026-11-26T13:34:56Z. --- The workers that build a title's compute pipelines before it starts (`pipelines_in_workers`) never build split programs' whole forms. `precompile` builds a whole form only when it has a `startup` state, and the workers run it without one. The title then builds each whole form at the program's first ExecuteIndirect, on its own thread (`Chain::whole`): 15–25 s a program cold, for 750 KB – 1.1 MB of DXIL. With that, the newer retail title froze in its world load for minutes. @KDenKC found it and posted this change on #2624 as a suggestion, not a PR. This is that change, with a test. **What is in it** (one commit) - `crates/xcl/src/shaders.rs`: `precompile` also builds the whole form of a split program in a preparation worker (`XCL_PRECOMPILE_PARENT` set, as `worker_command` sets it). - `crates/xcl/tests/gpu_compute_e2e.rs`: `a_preparation_worker_also_builds_a_split_programs_whole_form`. It runs the split program of `offline_split_compute_pipeline_is_reused_by_a_second_process` as a worker would. The precompile must make one pipeline more than the program has pieces, and keep a driver blob for each. Without the change it fails: "the whole form was not built" (7 pipelines with it, 6 without, for 6 pieces). **What it does in the title** (one run per arm each) - KDenKC, RTX 5090, cold except one earlier run's `used-*` lists (#2624): - Bind waits on cold whole forms: 20 waits, 468.5 s, down to 0. - Preparation: 9.4 min, up to 32.3 min. - Draws / dispatches after +120 s: 582 / 547, up to 3,442 / 7,695. - RTX 4070 Ti 12 GB, 1 GiB shader heap (#2590): - Without the change, two runs froze from about 130 s, title threads in `Chain::whole` (symbolized thread dumps). - With it, the first preparation took 754 s. The next launch prepared in 17 s, and the title went through the world load with no freeze, to the 438 s cap. The cost is a longer first preparation. Later launches find the whole forms in the driver cache. **Tested** - NVIDIA GeForce RTX 4070 Ti (driver 621.40), and the AMD Radeon iGPU of a Ryzen 7 7800X3D (RDNA2) with `XCL_ADAPTER=Radeon`. Windows 11 Pro 26200, Rust 1.100.0 MSVC, DXC 1.8.2502.11. Debug builds for the tests, release for the runs. - `cargo build --workspace`, then `cargo test --workspace --no-fail-fast -- --test-threads=4`, on this PR's head `3c4891dd` and on its base `af2cecc4`: - RTX 4070 Ti: head **1746 passed, 6 failed, 48 ignored**; base 1745 passed, 6 failed, 48 ignored. - RDNA2: head **1746 passed, 5 failed, 48 ignored**; base 1745 passed, 5 failed, 48 ignored. - The failures are the same tests on head and base: - `texture_upload::tests::gpu_parts_of_a_texture_go_up_and_the_rest_stays` - `texture_upload::tests::pieces_hold_the_texels_of_their_levels` - `console_ms_in_as_slot_and_ms_with_as_are_refused_cleanly` - `async_compute_pso_registers_real_pso_and_not_standin` - `two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs` (RTX 4070 Ti, twice) - `fuzz_validate_and_gpu_1` (RDNA2, #2115) - The new test ran on both adapters (`... ok`). **Regression run** RTX 4070 Ti (driver 621.40), release builds, 60 s each, `scripts/smoke.ps1 -Game <folder> -Title retail-title` on the newer retail title, with the same settings. All three ran with the NVIDIA shader-heap profile (#2590, 1 GiB) installed on this machine. The game reaches no ExecuteIndirect of a split program in 60 s, so this checks that nothing else changes. Base and PR ran one after the other; the base's run shared the GPU with a test suite of mine for part of it. main (`b49be183`, merge base of `main` and `nvidia-dev`): ``` xcl-smoke v1 commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7 gpu: NVIDIA GeForce RTX 4070 Ti title: retail-title seconds: 60 exit: 0x0 frames shown: 1426 (PresentX 1426) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 17542 MB ``` nvidia-dev (`af2cecc4`, this PR's base): ``` xcl-smoke v1 commit: af2cecc40886a8682ecf3267f5328c6dc4b66ad7 gpu: NVIDIA GeForce RTX 4070 Ti title: retail-title seconds: 60 exit: 0x0 frames shown: 1454 (PresentX 1454) presents per 2 s (last 3): 60 47 32 device removals: 0 crashes: 0 peak commit: 20359 MB ``` PR: ``` xcl-smoke v1 commit: 3c4891dd4cf7d249d7f818aec05c7150a347504a gpu: NVIDIA GeForce RTX 4070 Ti title: retail-title seconds: 60 exit: 0x0 frames shown: 1557 (PresentX 1557) presents per 2 s (last 3): 60 60 59 device removals: 0 crashes: 0 peak commit: 18699 MB ``` **Not tested** - A title run on this exact commit. The 4070 Ti runs above had the same change on `af2cecc4` together with my memory-report commits (#2697, #2750). - The preparation's length with the default worker count on a cold cache (KDenKC: 6 workers, 32 min; here: 12 workers, 754 s, with most translations already cached). - AMD in a title. **AI use** - Claude Code with Claude Opus 5.5 wrote the test and this description, ran the tests and the runs on the hardware above, and applied the change @KDenKC posted on #2624 (written there with Codex).
ettehn commented 2026-11-26 14:03:07 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ettehn on 2026-11-26T13:40:01Z.


Independent Windows check of warm-cache reuse and recovery on 3c4891dd4cf7d249d7f818aec05c7150a347504a. The only local change was a synthetic test extending the six-piece fixture. Each row launched a fresh xcl shaders process. The ordinary and worker arms began with separate empty XCL caches.

Run Driver cache hits Result
Ordinary precompile, cold 0 Six piece blobs
Worker precompile, cold 0 Same six blob names plus one whole-form blob
Worker precompile, warm 7 All six pieces and the whole form reused
Worker precompile after replacing only the whole-form blob with invalid bytes 6 Each piece reused, whole-form blob rebuilt under its original name

All four runs reported zero refused pipelines. On Windows 11 build 26200, Ryzen 9 8945HX, RTX 5070 Ti Laptop 12 GB (621.24), Rust 1.97.1 MSVC debug, DXC 1.8.2502.11, XCL_ADAPTER=NVIDIA XCL_REQUIRE_GPU=wave64:

cargo test --locked --offline -p xcl --test gpu_compute_e2e -j 2 -- worker_reuses_and_recovers_the_whole_pipeline_blob a_preparation_worker_also_builds_a_split_programs_whole_form offline_split_compute_pipeline_is_reused_by_a_second_process split_compute_prefers_the_offline_whole_pipeline --test-threads=1 --nocapture

4 passed, 0 failed, 0 ignored, no reported skips. This covers the worker CLI cache path with a synthetic shader. A retail title’s first ExecuteIndirect and the full workspace suite were outside this run.

OpenAI Codex assisted with the test and verification. The exact model identifier was unavailable in this session.

<!-- greyfinch-sync:ivall/xcl:comment:7193666519 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7193666519). Originally posted by [ettehn](https://github.com/ettehn) on 2026-11-26T13:40:01Z. --- Independent Windows check of warm-cache reuse and recovery on `3c4891dd4cf7d249d7f818aec05c7150a347504a`. The only local change was a synthetic test extending the six-piece fixture. Each row launched a fresh `xcl shaders` process. The ordinary and worker arms began with separate empty XCL caches. | Run | Driver cache hits | Result | | --- | ---: | --- | | Ordinary precompile, cold | 0 | Six piece blobs | | Worker precompile, cold | 0 | Same six blob names plus one whole-form blob | | Worker precompile, warm | 7 | All six pieces and the whole form reused | | Worker precompile after replacing only the whole-form blob with invalid bytes | 6 | Each piece reused, whole-form blob rebuilt under its original name | All four runs reported zero refused pipelines. On Windows 11 build 26200, Ryzen 9 8945HX, RTX 5070 Ti Laptop 12 GB (621.24), Rust 1.97.1 MSVC debug, DXC 1.8.2502.11, `XCL_ADAPTER=NVIDIA XCL_REQUIRE_GPU=wave64`: ```text cargo test --locked --offline -p xcl --test gpu_compute_e2e -j 2 -- worker_reuses_and_recovers_the_whole_pipeline_blob a_preparation_worker_also_builds_a_split_programs_whole_form offline_split_compute_pipeline_is_reused_by_a_second_process split_compute_prefers_the_offline_whole_pipeline --test-threads=1 --nocapture ``` 4 passed, 0 failed, 0 ignored, no reported skips. This covers the worker CLI cache path with a synthetic shader. A retail title’s first ExecuteIndirect and the full workspace suite were outside this run. OpenAI Codex assisted with the test and verification. The exact model identifier was unavailable in this session.
retrope13 commented 2026-11-26 14:03:09 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by retrope13 on 2026-11-26T13:53:02Z.


Independent RTX 4060 Laptop (8 GB, DXC 1.9.2602.17) full-suite verification and diff check of #2794 (3c4891dd) against base nvidia-dev (af2cecc4): full workspace suite passes with zero new failures. No title was run.

Tested

  • Hardware / Env: NVIDIA GeForce RTX 4060 Laptop GPU (8 GB, Ada Lovelace, driver 32.0.16.2140, wave32), Intel Core i5-14500HX (14C/20T), 24 GB RAM, Windows 11 26H2 (build 26300.9818), rustc 1.100.0 (stable-x86_64-pc-windows-msvc), Windows SDK 10.0.26100.0 DXC 1.9.2602.17, XCL_ADAPTER=NVIDIA.
  • Targeted split-program tests (gpu_compute_e2e, debug):
    • cargo test --locked -p xcl --test gpu_compute_e2e -- a_preparation_worker_also_builds_a_split_programs_whole_form offline_split_compute_pipeline_is_reused_by_a_second_process split_compute_prefers_the_offline_whole_pipeline --test-threads=1 --nocapture: 3 passed, 0 failed, 0 skipped (4.40 s).
    • Under XCL_ADAPTER=Intel (Intel UHD Graphics, driver 32.0.101.7092): all 3 cleanly reported SKIPPED: no wave32 GPU.
  • Full workspace (debug): cargo build --workspace --locked, then cargo test --workspace --locked --no-fail-fast -- --test-threads=4:
    • Base af2cecc4: 1748 passed, 6 failed, 48 ignored
    • PR #2794 (3c4891dd): 1749 passed, 6 failed, 48 ignored (+1 new test, 0 regressions)
    • The 6 failures are identical on both base and head (the same 6 known pre-existing nvidia-dev failures listed in the PR description).

Diff Check (af2cecc4..3c4891dd)

  • Confirmed recomp::pso::console_to_dxil_in routes both cold translations and XCL_DXIL_CACHE hits through the same Ok(c) path in shaders.rs:2168-2178, where p.make(&c) builds only the split pieces and p.make_one(&c.dxil, &c.samplers, true, None) builds the whole form against dispatch_chain_root_signature.
  • The std::env::var_os("XCL_PRECOMPILE_PARENT").is_some() check at shaders.rs:2175 matches the existing worker check at shaders.rs:2097.

Not Tested

  • Live retail title preparation/runtime runs, AMD GPUs, release builds, and the 48 #[ignore] / SKIPPED tests.

AI disclosure: Antigravity (Gemini 4 Neon, XHigh) ran the builds/tests, checked the diff, and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7193969302 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7193969302). Originally posted by [retrope13](https://github.com/retrope13) on 2026-11-26T13:53:02Z. --- **Independent RTX 4060 Laptop (8 GB, DXC `1.9.2602.17`) full-suite verification and diff check of `#2794` (`3c4891dd`) against base `nvidia-dev` (`af2cecc4`): full workspace suite passes with zero new failures.** No title was run. ### Tested - **Hardware / Env:** NVIDIA GeForce RTX 4060 Laptop GPU (8 GB, Ada Lovelace, driver `32.0.16.2140`, wave32), Intel Core i5-14500HX (14C/20T), 24 GB RAM, Windows 11 26H2 (build `26300.9818`), `rustc 1.100.0` (`stable-x86_64-pc-windows-msvc`), Windows SDK `10.0.26100.0` DXC `1.9.2602.17`, `XCL_ADAPTER=NVIDIA`. - **Targeted split-program tests (`gpu_compute_e2e`, debug):** - `cargo test --locked -p xcl --test gpu_compute_e2e -- a_preparation_worker_also_builds_a_split_programs_whole_form offline_split_compute_pipeline_is_reused_by_a_second_process split_compute_prefers_the_offline_whole_pipeline --test-threads=1 --nocapture`: **3 passed, 0 failed, 0 skipped** (`4.40 s`). - Under `XCL_ADAPTER=Intel` (Intel UHD Graphics, driver `32.0.101.7092`): all 3 cleanly reported `SKIPPED: no wave32 GPU`. - **Full workspace (debug):** `cargo build --workspace --locked`, then `cargo test --workspace --locked --no-fail-fast -- --test-threads=4`: - Base `af2cecc4`: **1748 passed, 6 failed, 48 ignored** - PR `#2794` (`3c4891dd`): **1749 passed, 6 failed, 48 ignored** (+1 new test, 0 regressions) - The 6 failures are identical on both base and head (the same 6 known pre-existing `nvidia-dev` failures listed in the PR description). ### Diff Check (`af2cecc4..3c4891dd`) - Confirmed `recomp::pso::console_to_dxil_in` routes both cold translations and `XCL_DXIL_CACHE` hits through the same `Ok(c)` path in `shaders.rs:2168-2178`, where `p.make(&c)` builds only the split pieces and `p.make_one(&c.dxil, &c.samplers, true, None)` builds the whole form against `dispatch_chain_root_signature`. - The `std::env::var_os("XCL_PRECOMPILE_PARENT").is_some()` check at `shaders.rs:2175` matches the existing worker check at `shaders.rs:2097`. ### Not Tested - Live retail title preparation/runtime runs, AMD GPUs, release builds, and the 48 `#[ignore]` / `SKIPPED` tests. *AI disclosure: Antigravity (Gemini 4 Neon, XHigh) ran the builds/tests, checked the diff, and drafted this report.*
throny commented 2026-11-26 15:03:47 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-26T14:50:25Z.


Test report: on an RTX 4080 16 GB this removes the no-frame stretch at world entry. This is the stall I measured on nvidia-dev this morning (#2688, comment 7184950679, updates 3–5: two title threads in ExecuteIndirect → Chain::whole, 13–20 s a program).

Tested

  • RTX 4080 16 GB (driver 621.40, 1 GiB shader-heap profile of #2590), i9-12900K, 64 GB RAM, Windows 11 26300, release.
  • This PR's diff at its head applied (git apply, as it is) on nvidia-dev af2cecc4 + #684 + #2697 + #2749 + #2729 + the two-pass stack #2817. The retail title of #505, Series X profile, the data folder of the earlier runs (so the used-program list holds the world's programs).
before (same tree without this PR, runs of today) with this PR
"compute pipelines done" in the shader preparation 6–17 s 206 s in the first launch (0 of 20 workers failed), 17 s in the second
compute pipelines built on title threads with no saved blob ("driver blob absent") 97 in the first long run, then 28, 17, 7, 2, 5, 1, 7, 7 in the eight runs after it as the blobs piled up 0
time without a frame at world entry 1,109 s cold; 53 s, 2 s … on later runs 18 s (last 30 fps window at 150 s, first world frame at 168 s)
  • So the workers now build what the title used to build in its own call, and they did it once: 206 s at the first launch, cached at the second.
  • A side effect to know about for anyone scripting input: the first launch's preparation is 3 minutes longer, and the title starts that much later.

Not tested

  • A cold run from an empty blob cache (mine already held most whole forms from six earlier world runs, so the 206 s is for what was still missing plus whatever the workers build that the title had not asked for yet), the PR's e2e test, the suite, AMD.

AI use: Claude Code (Claude Fable 5.2) ran this on the owner's machine and wrote the report.

<!-- greyfinch-sync:ivall/xcl:comment:7195406349 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7195406349). Originally posted by [throny](https://github.com/throny) on 2026-11-26T14:50:25Z. --- **Test report: on an RTX 4080 16 GB this removes the no-frame stretch at world entry.** This is the stall I measured on `nvidia-dev` this morning (#2688, comment 7184950679, updates 3–5: two title threads in `ExecuteIndirect` → `Chain::whole`, 13–20 s a program). **Tested** - RTX 4080 16 GB (driver 621.40, 1 GiB shader-heap profile of #2590), i9-12900K, 64 GB RAM, Windows 11 26300, release. - This PR's diff at its head applied (`git apply`, as it is) on `nvidia-dev` `af2cecc4` + #684 + #2697 + #2749 + #2729 + the two-pass stack #2817. The retail title of #505, Series X profile, the data folder of the earlier runs (so the used-program list holds the world's programs). | | before (same tree without this PR, runs of today) | with this PR | |---|---|---| | "compute pipelines done" in the shader preparation | 6–17 s | **206 s** in the first launch (0 of 20 workers failed), **17 s** in the second | | compute pipelines built on title threads with no saved blob ("driver blob absent") | 97 in the first long run, then 28, 17, 7, 2, 5, 1, 7, 7 in the eight runs after it as the blobs piled up | **0** | | time without a frame at world entry | 1,109 s cold; 53 s, 2 s … on later runs | **18 s** (last 30 fps window at 150 s, first world frame at 168 s) | - So the workers now build what the title used to build in its own call, and they did it once: 206 s at the first launch, cached at the second. - A side effect to know about for anyone scripting input: the first launch's preparation is 3 minutes longer, and the title starts that much later. **Not tested** - A cold run from an empty blob cache (mine already held most whole forms from six earlier world runs, so the 206 s is for what was still missing plus whatever the workers build that the title had not asked for yet), the PR's e2e test, the suite, AMD. AI use: Claude Code (Claude Fable 5.2) ran this on the owner's machine and wrote the report.
imnicho commented 2026-11-26 16:02:09 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by imnicho on 2026-11-26T16:02:09Z.


RTX 5080 16 GB on a small PC (i7-7700K, 16 GB RAM), nvidia-dev af2cecc4, one run per arm. Not this PR's commit: a local change with the same test on XCL_PRECOMPILE_PARENT in precompile.

  • With the whole forms in the cache, 168 compute pipelines were created after the world start, all from a driver blob, 165 of them whole forms. Without them, 4 cold whole-form builds took 301 of the 364 s after the world start and nothing was presented.
  • Cost here, for sizing the first preparation on a small machine: about 69 s of process time per whole form, with 0.5 to 1.3 GB of RAM available while it ran. The title asked for 165 of them in its first 178 s in the world.

The table, the settings and what else differed between the two arms are in https://github.com/xcl-dev/xcl/pull/2551#issuecomment-7195509026.

Not tested: this PR's own commit and its new test; more than one run per arm.

AI use

Claude Code with Claude Fable 5.2 wrote the local change, ran the passes and the runs and wrote this text.

<!-- greyfinch-sync:ivall/xcl:comment:7197091310 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7197091310). Originally posted by [imnicho](https://github.com/imnicho) on 2026-11-26T16:02:09Z. --- **RTX 5080 16 GB on a small PC (i7-7700K, 16 GB RAM), `nvidia-dev` `af2cecc4`, one run per arm.** Not this PR's commit: a local change with the same test on `XCL_PRECOMPILE_PARENT` in `precompile`. - With the whole forms in the cache, 168 compute pipelines were created after the world start, all from a driver blob, 165 of them whole forms. Without them, 4 cold whole-form builds took 301 of the 364 s after the world start and nothing was presented. - Cost here, for sizing the first preparation on a small machine: about 69 s of process time per whole form, with 0.5 to 1.3 GB of RAM available while it ran. The title asked for 165 of them in its first 178 s in the world. The table, the settings and what else differed between the two arms are in https://github.com/xcl-dev/xcl/pull/2551#issuecomment-7195509026. **Not tested:** this PR's own commit and its new test; more than one run per arm. **AI use** Claude Code with Claude Fable 5.2 wrote the local change, ran the passes and the runs and wrote this text.
nnonno91 commented 2026-11-26 16:06:17 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by nnonno91 on 2026-11-26T15:33:48Z.


Exact-head preparation-worker check on an RTX 5090 using a slice of a retail shader pack. I ran clean nvidia-dev af2cecc40886a8682ecf3267f5328c6dc4b66ad7 and clean PR head 3c4891dd4cf7d249d7f818aec05c7150a347504a on Windows 11 26200, Ryzen 7 9800X3D, 32 GB RAM, and RTX 5090 32 GB.

Worker run Split programs / pieces Successful PSOs (including cache loads) XCL driver-cache loads Refused Elapsed
Base, seeded cache 4 / 43 59 10 0 33.0 s
PR, identical starting cache 4 / 43 63 10 0 68.5 s
PR, warm repeat 4 / 43 63 63 0 2.5 s

All three processed the same 20 used compute programs. Comparing the cache directories showed exactly four extra chain PSO blobs on the PR, one whole form per split program. The warm repeat loaded all 63 from XCL's driver cache.

I ran xcl shaders <pack> --precompile --only cs --pipelines --windows 4 --used-only in separate processes with XCL_PRECOMPILE_PARENT set to the harness PID, XCL_PRECOMPILE_SLICE=7/48, XCL_ADAPTER=RTX 5090, XCL_DIRECT_DXIL=1, XCL_HEAP_WINDOWS=1, XCL_DXC_THREADS=2, XCL_PIPELINE_THREADS=1, and separate XCL_DXIL_CACHE directories copied from the same snapshot. These were seeded-cache runs, one per configuration. The full baseline title launch was stopped during preparation after nearly six minutes with two workers. World-load time and gameplay remain unmeasured in this check.

AI use — Codex ran the comparison, checked the cache files, and summarized the logs.

<!-- greyfinch-sync:ivall/xcl:comment:7196441743 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7196441743). Originally posted by [nnonno91](https://github.com/nnonno91) on 2026-11-26T15:33:48Z. --- **Exact-head preparation-worker check on an RTX 5090 using a slice of a retail shader pack.** I ran clean `nvidia-dev` `af2cecc40886a8682ecf3267f5328c6dc4b66ad7` and clean PR head `3c4891dd4cf7d249d7f818aec05c7150a347504a` on Windows 11 26200, Ryzen 7 9800X3D, 32 GB RAM, and RTX 5090 32 GB. | Worker run | Split programs / pieces | Successful PSOs (including cache loads) | XCL driver-cache loads | Refused | Elapsed | | --- | ---: | ---: | ---: | ---: | ---: | | Base, seeded cache | 4 / 43 | 59 | 10 | 0 | 33.0 s | | PR, identical starting cache | 4 / 43 | 63 | 10 | 0 | 68.5 s | | PR, warm repeat | 4 / 43 | 63 | 63 | 0 | 2.5 s | All three processed the same 20 used compute programs. Comparing the cache directories showed exactly four extra chain PSO blobs on the PR, one whole form per split program. The warm repeat loaded all 63 from XCL's driver cache. I ran `xcl shaders <pack> --precompile --only cs --pipelines --windows 4 --used-only` in separate processes with `XCL_PRECOMPILE_PARENT` set to the harness PID, `XCL_PRECOMPILE_SLICE=7/48`, `XCL_ADAPTER=RTX 5090`, `XCL_DIRECT_DXIL=1`, `XCL_HEAP_WINDOWS=1`, `XCL_DXC_THREADS=2`, `XCL_PIPELINE_THREADS=1`, and separate `XCL_DXIL_CACHE` directories copied from the same snapshot. These were seeded-cache runs, one per configuration. The full baseline title launch was stopped during preparation after nearly six minutes with two workers. World-load time and gameplay remain unmeasured in this check. AI use — Codex ran the comparison, checked the cache files, and summarized the logs.
ClosetPie107 commented 2026-11-26 17:24:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ClosetPie107 on 2026-11-26T17:24:27Z.


Independent test report under Wine/Proton (not native Windows) for head 3c4891dd, compared with base nvidia-dev (af2cecc4).

Tested

  • AMD Radeon RX 9070 (RDNA4, RADV GFX1201, Mesa 26.3.1), Ryzen 5 9600X, CachyOS Linux 7.3.5

  • Proton Experimental experimental-11.0-20261112, DXVK v3.1.1-209, DXC 1.9.2609.5, Rust 1.96.0, target x86_64-pc-windows-gnu, debug build for tests

  • vkd3d-proton master ec207194 (dxil-spirv b540c8a2) with a local patch that drops the lpVtbl identity checks in d3d12_command_allocator_from_iface / d3d12_command_list_from_iface, loaded with WINEDLLOVERRIDES=d3d12,d3d12core,dxgi=n,b, VKD3D_CONFIG=ignore_shared_fence, XCL_DIRECT_DXIL=1

  • cargo test -p xcl --test gpu_compute_e2e offline_split_compute_pipeline_is_reused_by_a_second_process a_preparation_worker_also_builds_a_split_programs_whole_form -- --test-threads=1: head 2 passed, 0 failed.

  • Control: the head's test binary run against the base's xcl.exe fails a_preparation_worker_also_builds_a_split_programs_whole_form with the whole form was not built … split compute programs: 1 (6 pieces). So the test catches the missing whole-form build, and the head fixes it.

Retail title (release build, 2 preparation workers, XCL_PREPARE_GRAPHICS=0, same seeded used-pipelines.txt on both runs, scripted input)

cold run cached run (180 s)
base af2cecc4 compute preparation done in 389 s, then 0xc0000005 in ucrtbase.dll while the title loaded compute preparation 16 s, 1,718 presents, exit 0
head 3c4891dd still preparing at the 780 s wall-clock cap (killed) compute preparation 29 s, 1,681 presents, exit 0

The head's cached run reused the partial cache its killed cold run left behind. The two cached runs therefore started from different cache histories, and their preparation times are not a clean comparison. Neither cached run crashed or lost the device. Chained split dispatches: 50 on base, 252 on head.

Not tested

  • Native Windows, NVIDIA (this PR targets nvidia-dev), stock Proton vkd3d-proton
  • A complete cold first launch of the head, entering the game world, the full workspace suite on this revision

AI use

  • Codex in T3 Code (gpt-6.2-sol) wrote the test scripts and ran the tests on this machine. Claude Code (Claude Opus 5.5) wrote this report from the logs.
<!-- greyfinch-sync:ivall/xcl:comment:7198963495 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7198963495). Originally posted by [ClosetPie107](https://github.com/ClosetPie107) on 2026-11-26T17:24:27Z. --- Independent test report under Wine/Proton (not native Windows) for head `3c4891dd`, compared with base `nvidia-dev` (`af2cecc4`). **Tested** - AMD Radeon RX 9070 (RDNA4, RADV GFX1201, Mesa 26.3.1), Ryzen 5 9600X, CachyOS Linux 7.3.5 - Proton Experimental `experimental-11.0-20261112`, DXVK `v3.1.1-209`, DXC `1.9.2609.5`, Rust 1.96.0, target `x86_64-pc-windows-gnu`, debug build for tests - `vkd3d-proton` master `ec207194` (dxil-spirv `b540c8a2`) with a local patch that drops the `lpVtbl` identity checks in `d3d12_command_allocator_from_iface` / `d3d12_command_list_from_iface`, loaded with `WINEDLLOVERRIDES=d3d12,d3d12core,dxgi=n,b`, `VKD3D_CONFIG=ignore_shared_fence`, `XCL_DIRECT_DXIL=1` - `cargo test -p xcl --test gpu_compute_e2e offline_split_compute_pipeline_is_reused_by_a_second_process a_preparation_worker_also_builds_a_split_programs_whole_form -- --test-threads=1`: head **2 passed, 0 failed**. - Control: the head's test binary run against the base's `xcl.exe` fails `a_preparation_worker_also_builds_a_split_programs_whole_form` with `the whole form was not built … split compute programs: 1 (6 pieces)`. So the test catches the missing whole-form build, and the head fixes it. **Retail title** (release build, 2 preparation workers, `XCL_PREPARE_GRAPHICS=0`, same seeded `used-pipelines.txt` on both runs, scripted input) | | cold run | cached run (180 s) | |---|---|---| | base `af2cecc4` | compute preparation done in 389 s, then `0xc0000005` in `ucrtbase.dll` while the title loaded | compute preparation 16 s, **1,718 presents, exit 0** | | head `3c4891dd` | still preparing at the 780 s wall-clock cap (killed) | compute preparation 29 s, **1,681 presents, exit 0** | The head's cached run reused the partial cache its killed cold run left behind. The two cached runs therefore started from different cache histories, and their preparation times are not a clean comparison. Neither cached run crashed or lost the device. Chained split dispatches: 50 on base, 252 on head. **Not tested** - Native Windows, NVIDIA (this PR targets `nvidia-dev`), stock Proton `vkd3d-proton` - A complete cold first launch of the head, entering the game world, the full workspace suite on this revision **AI use** - Codex in T3 Code (gpt-6.2-sol) wrote the test scripts and ran the tests on this machine. Claude Code (Claude Opus 5.5) wrote this report from the logs.
oni-swr commented 2026-11-26 19:12:53 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by oni-swr on 2026-11-26T19:12:53Z.


AMD Windows test report for head 3c4891dd4cf7d249d7f818aec05c7150a347504a (exact head, clean detached checkout, no local changes). Base: nvidia-dev af2cecc40886a8682ecf3267f5328c6dc4b66ad7. This answers the request for an AMD run on this PR.

Tested

  • AMD Radeon RX 7800 XT (RDNA3, driver 32.0.31035.1003), Ryzen 7 5700X3D, 64 GB, Windows 11 25H2 (26200), Rust 1.100.0 stable-x86_64-pc-windows-msvc, DXC 1.8.2502.11 (Windows Kit 10.0.26100.0). XCL_ADAPTER unset, so the physical GPU was used, not WARP. Own target dir, rebuilt from scratch for each tree.
  • cargo build --workspace -j 4: ok on both.
  • cargo test --workspace -j 4 --no-fail-fast -- --test-threads=4 --nocapture (debug):
tree passed failed ignored SKIPPED lines
base nvidia-dev af2cecc4 1747 7 48 8
this head 3c4891dd 1748 7 48 8

The one extra pass is the new a_preparation_worker_also_builds_a_split_programs_whole_form. The failures are the same on the base and on this head, so they are not caused by the PR: gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 (seed 722, res[30] = 0x1, CPU 0x7fffffff, the known AMD failure in #2115), hle::d3d12x::texture_upload::tests::gpu_parts_of_a_texture_go_up_and_the_rest_stays and pieces_hold_the_texels_of_their_levels (attempt to multiply with overflow, texture_upload.rs:1002), and the e2e tests console_ms_in_as_slot_and_ms_with_as_are_refused_cleanly, async_compute_pso_registers_real_pso_and_not_standin and two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs (the last one counts in two test binaries, which is why 6 names make 7 failures). The 8 SKIPPED lines are the same on both: six f16/f32 per-lane refused cases and two no heap windows.

  • 60 s smoke (scripts/smoke.ps1, release builds, title run from a local copy). Order matters here: the first base run did the whole startup shader preparation cold (26503 records; about 2.5 h of wall time in two starts, because my first start's timeout cut it off and the cache carried over). Every later run, including this head's, started with that cache complete, so this smoke does not exercise the cold-cache preparation path the PR changes. It only shows that the head does not regress a warm run.
run frames shown peak commit removals / crashes
base af2cecc4, run 1 (cold preparation first) 1529 20623 MB 0 / 0
this head 3c4891d (warm cache) 1551 17565 MB 0 / 0
base af2cecc4, run 2 (warm cache) 1530 18868 MB 0 / 0
xcl-smoke v1
commit: af2cecc40886a8682ecf3267f5328c6dc4b66ad7
gpu: AMD Radeon RX 7800 XT
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1530 (PresentX 1530)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 18868 MB
xcl-smoke v1
commit: 3c4891dd4cf7d249d7f818aec05c7150a347504a
gpu: AMD Radeon RX 7800 XT
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1551 (PresentX 1551)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 17565 MB

title: is retail-title (the -Title option of smoke.ps1).

Not tested

  • The cold-cache preparation timing that the PR is about (an empty cache with the preparation workers on versus off): I did not run that comparison, so there is no AMD number for the stall this removes. The translation of all 26503 records ran only on the base, not on this head.
  • A merge with main: the PR targets nvidia-dev and was tested against it only.
  • NVIDIA, Intel, Linux/Wine, AMD RDNA2/RDNA4.

AI use: Claude Code (Claude Sonnet 5.5) ran the tests and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7201320943 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7201320943). Originally posted by [oni-swr](https://github.com/oni-swr) on 2026-11-26T19:12:53Z. --- AMD Windows test report for head `3c4891dd4cf7d249d7f818aec05c7150a347504a` (exact head, clean detached checkout, no local changes). Base: `nvidia-dev` `af2cecc40886a8682ecf3267f5328c6dc4b66ad7`. This answers the request for an AMD run on this PR. **Tested** - AMD Radeon RX 7800 XT (RDNA3, driver 32.0.31035.1003), Ryzen 7 5700X3D, 64 GB, Windows 11 25H2 (26200), Rust 1.100.0 `stable-x86_64-pc-windows-msvc`, DXC 1.8.2502.11 (Windows Kit 10.0.26100.0). `XCL_ADAPTER` unset, so the physical GPU was used, not WARP. Own target dir, rebuilt from scratch for each tree. - `cargo build --workspace -j 4`: ok on both. - `cargo test --workspace -j 4 --no-fail-fast -- --test-threads=4 --nocapture` (debug): | tree | passed | failed | ignored | SKIPPED lines | |---|---|---|---|---| | base `nvidia-dev` `af2cecc4` | 1747 | 7 | 48 | 8 | | this head `3c4891dd` | 1748 | 7 | 48 | 8 | The one extra pass is the new `a_preparation_worker_also_builds_a_split_programs_whole_form`. **The failures are the same on the base and on this head, so they are not caused by the PR:** `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` (seed 722, `res[30] = 0x1, CPU 0x7fffffff`, the known AMD failure in #2115), `hle::d3d12x::texture_upload::tests::gpu_parts_of_a_texture_go_up_and_the_rest_stays` and `pieces_hold_the_texels_of_their_levels` (`attempt to multiply with overflow`, texture_upload.rs:1002), and the e2e tests `console_ms_in_as_slot_and_ms_with_as_are_refused_cleanly`, `async_compute_pso_registers_real_pso_and_not_standin` and `two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs` (the last one counts in two test binaries, which is why 6 names make 7 failures). The 8 SKIPPED lines are the same on both: six f16/f32 per-lane `refused` cases and two `no heap windows`. - 60 s smoke (`scripts/smoke.ps1`, release builds, title run from a local copy). **Order matters here:** the first base run did the whole startup shader preparation cold (26503 records; about 2.5 h of wall time in two starts, because my first start's timeout cut it off and the cache carried over). Every later run, including this head's, started with that cache complete, so **this smoke does not exercise the cold-cache preparation path the PR changes**. It only shows that the head does not regress a warm run. | run | frames shown | peak commit | removals / crashes | |---|---|---|---| | base `af2cecc4`, run 1 (cold preparation first) | 1529 | 20623 MB | 0 / 0 | | this head `3c4891d` (warm cache) | 1551 | 17565 MB | 0 / 0 | | base `af2cecc4`, run 2 (warm cache) | 1530 | 18868 MB | 0 / 0 | ``` xcl-smoke v1 commit: af2cecc40886a8682ecf3267f5328c6dc4b66ad7 gpu: AMD Radeon RX 7800 XT title: retail-title seconds: 60 exit: 0x0 frames shown: 1530 (PresentX 1530) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 18868 MB ``` ``` xcl-smoke v1 commit: 3c4891dd4cf7d249d7f818aec05c7150a347504a gpu: AMD Radeon RX 7800 XT title: retail-title seconds: 60 exit: 0x0 frames shown: 1551 (PresentX 1551) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 17565 MB ``` `title:` is `retail-title` (the `-Title` option of `smoke.ps1`). **Not tested** - The cold-cache preparation timing that the PR is about (an empty cache with the preparation workers on versus off): I did not run that comparison, so there is no AMD number for the stall this removes. The translation of all 26503 records ran only on the base, not on this head. - A merge with `main`: the PR targets `nvidia-dev` and was tested against it only. - NVIDIA, Intel, Linux/Wine, AMD RDNA2/RDNA4. **AI use:** Claude Code (Claude Sonnet 5.5) ran the tests and drafted this report.
3L1A5-1 commented 2026-11-26 20:18:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by 3L1A5-1 on 2026-11-26T20:18:04Z.


8 GB desktop NVIDIA, one run of 3c4891dd: more title time than base, but the run still ends in device removal (0x887a0005) at title 266 s. Adds the 8 GB class to the 16 GB reports above.

Tested

  • RTX 2060 SUPER 8 GB (driver 617.14), i5-9400F (6 cores), 16 GB RAM + 32 GB page file, Windows 11 26300.
  • Exact head 3c4891dd, clean detached worktree, release build. cargo test -p xcl --lib dispatch_chain 10 passed, pso_async 39 passed. Full suite not run (retrope13 covered it above).
  • One cold first launch (no blobs), title run ≤ 300 s, XCL_NETWORK=0. One run only: it shows the end state, not timing.

Results

base af2cecc4 (our earlier runs, same PC) 3c4891dd
Preparation, cold – ~24.5 min (compute part ~1 record/s on 2 workers)
Last present (title time) 172–244 s (stalls, no frames after) 264.7 s
fps, 100 s → end 8.8–11.6 14.8
End stall (4 runs), 1 run removed at ~445 s device removed at 266 s
  • The title threads still build compute pipelines at the end: 0 driver compiles on title threads until ~28 s before the end, then 161 on three title threads within ~18 s, all logged as compute PSO ... driver blob supplied, huge, ungated here. They come from blobs and are short (median ~70–100 ms, max 265 ms, 13.6 s in total). So the long cold compiles on the title threads are gone, but these 161 builds come in one burst. Presents drop to 0 over the same ~20 s, then the device is removed (raised by a CreatePlacedResourceX on a title thread). This matches imnicho's 168 pipelines after the world start.
  • Video memory at the end: local 11,072 MB against a 7,232 MB budget (153 %), sparse pools 4,608 MB. This run alone does not show whether the burst, memory pressure or something else triggers the removal. On this PC, removals happened at local values from 5.8 to 11 GB in earlier runs, so it is not a fixed ceiling.

Not tested: warm-cache runs, repeats, the full suite, AMD.

AI use: run, analysis and this report by Claude Code (Claude Opus 5.5), reviewed for accuracy against the run log.

<!-- greyfinch-sync:ivall/xcl:comment:7202511353 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7202511353). Originally posted by [3L1A5-1](https://github.com/3L1A5-1) on 2026-11-26T20:18:04Z. --- **8 GB desktop NVIDIA, one run of `3c4891dd`: more title time than base, but the run still ends in device removal (0x887a0005) at title 266 s.** Adds the 8 GB class to the 16 GB reports above. **Tested** - RTX 2060 SUPER 8 GB (driver 617.14), i5-9400F (6 cores), 16 GB RAM + 32 GB page file, Windows 11 26300. - Exact head `3c4891dd`, clean detached worktree, release build. `cargo test -p xcl --lib dispatch_chain` 10 passed, `pso_async` 39 passed. Full suite not run (retrope13 covered it above). - One cold first launch (no blobs), title run ≤ 300 s, `XCL_NETWORK=0`. One run only: it shows the end state, not timing. **Results** | | base `af2cecc4` (our earlier runs, same PC) | `3c4891dd` | |---|---|---| | Preparation, cold | – | ~24.5 min (compute part ~1 record/s on 2 workers) | | Last present (title time) | 172–244 s (stalls, no frames after) | 264.7 s | | fps, 100 s → end | 8.8–11.6 | 14.8 | | End | stall (4 runs), 1 run removed at ~445 s | device removed at 266 s | - The title threads still build compute pipelines at the end: 0 driver compiles on title threads until ~28 s before the end, then 161 on three title threads within ~18 s, all logged as `compute PSO ... driver blob supplied, huge, ungated here`. They come from blobs and are short (median ~70–100 ms, max 265 ms, 13.6 s in total). So the long cold compiles on the title threads are gone, but these 161 builds come in one burst. Presents drop to 0 over the same ~20 s, then the device is removed (raised by a `CreatePlacedResourceX` on a title thread). This matches imnicho's 168 pipelines after the world start. - Video memory at the end: local 11,072 MB against a 7,232 MB budget (153 %), sparse pools 4,608 MB. This run alone does not show whether the burst, memory pressure or something else triggers the removal. On this PC, removals happened at local values from 5.8 to 11 GB in earlier runs, so it is not a fixed ceiling. **Not tested**: warm-cache runs, repeats, the full suite, AMD. AI use: run, analysis and this report by Claude Code (Claude Opus 5.5), reviewed for accuracy against the run log.
joeypercia commented 2026-11-26 20:18:22 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by joeypercia on 2026-11-26T20:18:22Z.


Thanks @3L1A5-1. A silent 0x887a0005 right after a burst of new compute pipelines is what #2403 describes: NVIDIA's shader-code heap (512 MB by default) running out. If the run did not have it, xcl nvprofile install --mb 2048 (#2590, needs an elevated prompt once) may be worth one run: on a 12 GB RTX 4070 Ti the removals went from 10 of 10 runs at the default to none in 2 of 2 at 2 GiB (https://github.com/xcl-dev/xcl/issues/2403). With 11 GB of local video memory against a 7.2 GB budget, the run may still end for another reason, as you say.

AI use: Claude Code (Claude Opus 5.5) wrote this reply.

<!-- greyfinch-sync:ivall/xcl:comment:7202516435 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7202516435). Originally posted by [joeypercia](https://github.com/joeypercia) on 2026-11-26T20:18:22Z. --- Thanks @3L1A5-1. A silent `0x887a0005` right after a burst of new compute pipelines is what #2403 describes: NVIDIA's shader-code heap (512 MB by default) running out. If the run did not have it, `xcl nvprofile install --mb 2048` (#2590, needs an elevated prompt once) may be worth one run: on a 12 GB RTX 4070 Ti the removals went from 10 of 10 runs at the default to none in 2 of 2 at 2 GiB (https://github.com/xcl-dev/xcl/issues/2403). With 11 GB of local video memory against a 7.2 GB budget, the run may still end for another reason, as you say. AI use: Claude Code (Claude Opus 5.5) wrote this reply.
LocranKing commented 2026-11-27 04:49:25 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by LocranKing on 2026-11-27T04:49:25Z.


Test observation on AMD Ryzen 5 5500 (6C/12T) + NVIDIA RTX 3060 Ti (8 GB) (3c4891dd merged with nvidia-dev ecc0bb57, Series S / lockhart profile, starting from our warm lockhart cache snapshot with 1,296 used pipelines / 3,206 driver blobs).

Startup preparation impact

  • On nvidia-dev (ecc0bb57), startup compute pipeline preparation finished in 22–24 s (31–33 s total pre-launch).
  • On PR #2794 (3c4891dd + ecc0bb57), startup compute pipeline preparation jumped to 487 s (495.1 s total pre-launch, 0 of 8 workers failed) because the preparation workers built all split programs' whole forms upfront.

Note on the 180 s smoke run
Because XCL_PRESS_AT (18:A..74:A) counts from host start rather than guest entry, all scripted A presses fired during the 495 s startup preparation, so the title remained in the menus (5,147 frames, 60 60 60, peak commit: 14,615 MB, 0 crashes, 0 device removals) and did not enter world load during that 180 s run. World-load behavior with #2794 after a 487 s warm/whole-form prep is therefore Not tested here; the measured data point is the 487 s startup preparation cost on 6C/12T when split whole forms are not yet cached.

xcl-smoke v1
commit: 3c4891dd4cf7d249d7f818aec05c7150a347504a
gpu: NVIDIA GeForce RTX 3060 Ti
title: 9cc6a39e
seconds: 180
exit: 0x0
frames shown: 5147 (PresentX 5147)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14615 MB
<!-- greyfinch-sync:ivall/xcl:comment:7210123309 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7210123309). Originally posted by [LocranKing](https://github.com/LocranKing) on 2026-11-27T04:49:25Z. --- Test observation on **AMD Ryzen 5 5500 (6C/12T) + NVIDIA RTX 3060 Ti (8 GB)** (`3c4891dd` merged with `nvidia-dev` `ecc0bb57`, Series S / `lockhart` profile, starting from our warm `lockhart` cache snapshot with `1,296` used pipelines / `3,206` driver blobs). **Startup preparation impact** - On `nvidia-dev` (`ecc0bb57`), startup compute pipeline preparation finished in **22–24 s** (`31–33 s` total pre-launch). - On **PR `#2794`** (`3c4891dd` + `ecc0bb57`), startup compute pipeline preparation jumped to **487 s** (`495.1 s` total pre-launch, `0 of 8 workers failed`) because the preparation workers built all split programs' `whole` forms upfront. **Note on the 180 s smoke run** Because `XCL_PRESS_AT` (`18:A..74:A`) counts from host start rather than guest entry, all scripted `A` presses fired during the `495 s` startup preparation, so the title remained in the menus (`5,147` frames, `60 60 60`, `peak commit: 14,615 MB`, `0` crashes, `0` device removals) and did **not** enter world load during that 180 s run. World-load behavior with `#2794` after a `487 s` warm/whole-form prep is therefore **Not tested** here; the measured data point is the **487 s** startup preparation cost on 6C/12T when split `whole` forms are not yet cached. ```text xcl-smoke v1 commit: 3c4891dd4cf7d249d7f818aec05c7150a347504a gpu: NVIDIA GeForce RTX 3060 Ti title: 9cc6a39e seconds: 180 exit: 0x0 frames shown: 5147 (PresentX 5147) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14615 MB ```
Raul-Paiva commented 2026-11-27 11:27:39 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Raul-Paiva on 2026-11-27T11:27:39Z.


Test report on an RTX 3070 Laptop 8 GB: #2794 fixes the freeze when a retail title's 3D world starts loading on nvidia-dev. Tested together with #2905, #2967, #2815, #2816, #2817 and #684.

Tested tree (local merge, not pushed)

Tested

  • Hardware: RTX 3070 Laptop 8 GB, driver 621.24, i7-11800H, 32 GB RAM, Windows 10 19045, rustc 1.100.0, release build.
  • cargo test --release -p xcl --lib -- --test-threads=4, on the same stack before 3f39671d was merged in: 1731 passed, 4 failed, 28 ignored.
    • The 4 failures each passed when run alone with --exact. Another test run was using the GPU at the same time; one of them failed with E_OUTOFMEMORY.
    • SKIPPED: the wave64 tests ("no wave64") and the f16 tests refused for #1426.
    • The 4 tests: a_reset_that_puts_the_allocator_aside_keeps_what_the_gpu_still_reads, a_split_after_kickoff_does_not_take_the_segment_just_submitted, cross_queue_wait64_before_signal_does_not_deadlock_submit_thread, d32s8_targets_take_their_own_size_of_video_memory.
  • Game runs: 900 s each, gamepad A pressed every 5 s.
    • Base env: XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_WATCH_HOT=0 XCL_DRED=1 XCL_GPU_WAIT_TIMEOUT_MS=60000.
    • "Play time" below is counted from the title's start.
Run Tree Profile / extra env Result
1 nvidia-dev e0821b12 Series X Access violation in memcpy from xg::copy_from at 123 s, while the world loads. It is #477/#662; #684 fixes it.
2 e0821b12 + #684 Series X Froze at ~130 s. Render threads log waited N ms for a graphics pipeline being built (1–12 s each). After ~430 s, no more submits until the end.
3 e0821b12 + #684 XCL_DEVICE_TYPE=lockhart The same freeze at ~220 s.
4 full stack above lockhart Full 900 s, exit 0, no device removal. It passes the world load after a ~20 s pause. In the world, per 120 s: 16–48 presents and 36k–81k draws. Peak local video memory: 17 GB.
5 full stack lockhart The host blue-screened at ~175 s: bugcheck 0x12B (FAULTY_HARDWARE_CORRUPTED_PAGE, arg1 0xc00002c4). Process commit was 29 GB, on 32 GB of RAM. I don't count this as an XCL result.
6 full stack lockhart + XCL_TEXTURE_LEVEL_PAGES=1 XCL_SPARSE_LAZY=1 Local video memory at 300 s: 10.1 GB, against 15.1 GB in run 4. Texture pages: 4.2 GB, against 7.8 GB. Per 120 s: 19–35 presents. 0x887a0005 at 786 s, DRED page fault at GPU VA 0x0 (DRED is populated now thanks to #2967). 21 s earlier, a 915 KB DXIL compute PSO compile had finished; it took 21.5 s.
  • With #2794 the first start of the full stack spent 21 min preparing compute pipelines, against ~2 min before. Later starts took 2.5–4.5 min.

Not tested

  • Series X profile with the full stack.
  • xcl nvprofile (#2590). Run 6 may be the #2403 shader-heap case.
  • Any GPU other than this one.
  • The workspace tests (only --lib ran).
  • Only one run per row: run 4 has not been repeated cleanly yet.

AI use

  • Claude Code (Claude Opus 5.5) merged the branches, ran the builds, tests and game runs, read the logs, and wrote this report. I checked the numbers against the logs.
<!-- greyfinch-sync:ivall/xcl:comment:7217099412 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7217099412). Originally posted by [Raul-Paiva](https://github.com/Raul-Paiva) on 2026-11-27T11:27:39Z. --- Test report on an **RTX 3070 Laptop 8 GB**: #2794 fixes the freeze when a retail title's 3D world starts loading on `nvidia-dev`. Tested together with #2905, #2967, #2815, #2816, #2817 and #684. **Tested tree** (local merge, not pushed) - `nvidia-dev` 3f39671d, plus: - #2794 3c4891dd - #2905 d900644d - #2967 f058e4ea - #2815 42ae6051 - #2816 9ae803e3 - #2817 a2c10b4a - #684's commit (the same change as e56dbc3f, cherry-picked) - No merge conflicts. **Tested** - Hardware: RTX 3070 Laptop 8 GB, driver 621.24, i7-11800H, 32 GB RAM, Windows 10 19045, rustc 1.100.0, release build. - `cargo test --release -p xcl --lib -- --test-threads=4`, on the same stack before 3f39671d was merged in: 1731 passed, 4 failed, 28 ignored. - The 4 failures each passed when run alone with `--exact`. Another test run was using the GPU at the same time; one of them failed with `E_OUTOFMEMORY`. - SKIPPED: the wave64 tests ("no wave64") and the f16 tests refused for #1426. - The 4 tests: `a_reset_that_puts_the_allocator_aside_keeps_what_the_gpu_still_reads`, `a_split_after_kickoff_does_not_take_the_segment_just_submitted`, `cross_queue_wait64_before_signal_does_not_deadlock_submit_thread`, `d32s8_targets_take_their_own_size_of_video_memory`. - Game runs: 900 s each, gamepad A pressed every 5 s. - Base env: `XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_WATCH_HOT=0 XCL_DRED=1 XCL_GPU_WAIT_TIMEOUT_MS=60000`. - "Play time" below is counted from the title's start. | Run | Tree | Profile / extra env | Result | |---|---|---|---| | 1 | `nvidia-dev` e0821b12 | Series X | Access violation in `memcpy` from `xg::copy_from` at 123 s, while the world loads. It is #477/#662; #684 fixes it. | | 2 | e0821b12 + #684 | Series X | Froze at ~130 s. Render threads log `waited N ms for a graphics pipeline being built` (1–12 s each). After ~430 s, no more submits until the end. | | 3 | e0821b12 + #684 | `XCL_DEVICE_TYPE=lockhart` | The same freeze at ~220 s. | | 4 | full stack above | lockhart | **Full 900 s, exit 0, no device removal.** It passes the world load after a ~20 s pause. In the world, per 120 s: 16–48 presents and 36k–81k draws. Peak local video memory: 17 GB. | | 5 | full stack | lockhart | The host blue-screened at ~175 s: bugcheck 0x12B (FAULTY_HARDWARE_CORRUPTED_PAGE, arg1 0xc00002c4). Process commit was 29 GB, on 32 GB of RAM. I don't count this as an XCL result. | | 6 | full stack | lockhart + `XCL_TEXTURE_LEVEL_PAGES=1 XCL_SPARSE_LAZY=1` | Local video memory at 300 s: 10.1 GB, against 15.1 GB in run 4. Texture pages: 4.2 GB, against 7.8 GB. Per 120 s: 19–35 presents. **0x887a0005 at 786 s**, DRED `page fault at GPU VA 0x0` (DRED is populated now thanks to #2967). 21 s earlier, a 915 KB DXIL compute PSO compile had finished; it took 21.5 s. | - With #2794 the first start of the full stack spent 21 min preparing compute pipelines, against ~2 min before. Later starts took 2.5–4.5 min. **Not tested** - Series X profile with the full stack. - `xcl nvprofile` (#2590). Run 6 may be the #2403 shader-heap case. - Any GPU other than this one. - The workspace tests (only `--lib` ran). - Only one run per row: run 4 has not been repeated cleanly yet. **AI use** - Claude Code (Claude Opus 5.5) merged the branches, ran the builds, tests and game runs, read the logs, and wrote this report. I checked the numbers against the logs.
thehollowedone commented 2026-11-27 16:16:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-27T16:16:29Z.


Independent Windows check of 3c4891dd against its exact nvidia-dev parent af2cecc. RTX 3080 Ti (621.35), Ryzen 7 9800X3D, Windows 11 build 26300, Rust 1.99.1, DXC 1.8.2502.11.

  • The new a_preparation_worker_also_builds_a_split_programs_whole_form test passed on the RTX 3080 Ti: cargo test --offline --locked -j 4 -p xcl --test gpu_compute_e2e -- a_preparation_worker_also_builds_a_split_programs_whole_form --nocapture --test-threads=1 — 1 passed, 0 failed, 0 ignored, 0 skips.
  • cargo test --offline --locked -j 4 --workspace --no-fail-fast -- --test-threads=4 --quiet on the PR head: 1,745 passed, 7 failed, 48 ignored; 26 GPU skip notices. The same command on the exact parent: 1,741 passed, 10 failed, 48 ignored; 26 GPU skip notices. Every failing test on the head also failed on the parent. Three additional e2e tests failed only in the parent run; this comparison does not establish why they differed.
  • For the sparse test's actual WARP selection, I set both XCL_TEST_WARP=1 and XCL_ADAPTER=warp and built the revisions in separate target directories. cargo test --offline --locked -j 4 -p xcl --lib hle::d3d12x::sparse::tests::a_gpu_write_into_a_gpu_view_lands_in_its_cpu_view -- --exact --test-threads=1 --nocapture passed 1/1 on each. The four-thread lib suite (cargo test --offline --locked -j 4 -p xcl --lib -- --test-threads=4 --nocapture) finished without device removal on each: head 1,617 passed, 3 failed, 28 ignored; parent 1,616 passed, 4 failed, 28 ignored; 350 software-adapter skip notices on each. The three head failures also occurred on the parent; its fourth was mid_list_write64_wait64_split_avoids_cycle_and_reuses_spares.

The Windows CI log ends after a 0x3b0000 GPU-view reservation and a 256-byte upload-buffer Map returning 0x887a0005. Those details match a_gpu_write_into_a_gpu_view_lands_in_its_cpu_view, but Map is only where device removal was observed; the operation that caused it is unknown. A matched run of that exact test, then the four-thread lib suite, on CI's windows-2025 image at both commits would distinguish an isolated failure from a concurrent or baseline failure. Capturing GetDeviceRemovedReason before and after its tile submit and before Map would narrow the trigger if it reproduces.

Correction to my earlier wording: XCL_ADAPTER=warp alone did not force this sparse test onto WARP; its helper checks XCL_TEST_WARP. The CI failure remains unresolved. Not tested: retail title, paired smoke, AMD or Intel GPU. AI use: Codex (GPT-6.2 Sol) ran the tests, checked the CI path and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7223065395 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7223065395). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-27T16:16:29Z. --- Independent Windows check of [3c4891dd](https://github.com/xcl-dev/xcl/commit/3c4891dd4cf7d249d7f818aec05c7150a347504a) against its exact `nvidia-dev` [parent af2cecc](https://github.com/xcl-dev/xcl/commit/af2cecc40886a8682ecf3267f5328c6dc4b66ad7). RTX 3080 Ti (621.35), Ryzen 7 9800X3D, Windows 11 build 26300, Rust 1.99.1, DXC 1.8.2502.11. - The new `a_preparation_worker_also_builds_a_split_programs_whole_form` test passed on the RTX 3080 Ti: `cargo test --offline --locked -j 4 -p xcl --test gpu_compute_e2e -- a_preparation_worker_also_builds_a_split_programs_whole_form --nocapture --test-threads=1` — 1 passed, 0 failed, 0 ignored, 0 skips. - `cargo test --offline --locked -j 4 --workspace --no-fail-fast -- --test-threads=4 --quiet` on the PR head: 1,745 passed, 7 failed, 48 ignored; 26 GPU skip notices. The same command on the exact parent: 1,741 passed, 10 failed, 48 ignored; 26 GPU skip notices. Every failing test on the head also failed on the parent. Three additional `e2e` tests failed only in the parent run; this comparison does not establish why they differed. - For the sparse test's actual WARP selection, I set both `XCL_TEST_WARP=1` and `XCL_ADAPTER=warp` and built the revisions in separate target directories. `cargo test --offline --locked -j 4 -p xcl --lib hle::d3d12x::sparse::tests::a_gpu_write_into_a_gpu_view_lands_in_its_cpu_view -- --exact --test-threads=1 --nocapture` passed 1/1 on each. The four-thread lib suite (`cargo test --offline --locked -j 4 -p xcl --lib -- --test-threads=4 --nocapture`) finished without device removal on each: head 1,617 passed, 3 failed, 28 ignored; parent 1,616 passed, 4 failed, 28 ignored; 350 software-adapter skip notices on each. The three head failures also occurred on the parent; its fourth was `mid_list_write64_wait64_split_avoids_cycle_and_reuses_spares`. The [Windows CI log](https://github.com/xcl-dev/xcl/actions/runs/45830541227/job/139945838835#step:5:1) ends after a `0x3b0000` GPU-view reservation and a 256-byte upload-buffer `Map` returning `0x887a0005`. Those details match `a_gpu_write_into_a_gpu_view_lands_in_its_cpu_view`, but `Map` is only where device removal was observed; the operation that caused it is unknown. A matched run of that exact test, then the four-thread lib suite, on CI's `windows-2025` image at both commits would distinguish an isolated failure from a concurrent or baseline failure. Capturing `GetDeviceRemovedReason` before and after its tile submit and before `Map` would narrow the trigger if it reproduces. Correction to my earlier wording: `XCL_ADAPTER=warp` alone did not force this sparse test onto WARP; its helper checks `XCL_TEST_WARP`. The CI failure remains unresolved. Not tested: retail title, paired smoke, AMD or Intel GPU. AI use: Codex (GPT-6.2 Sol) ran the tests, checked the CI path and wrote this report.
thehollowedone commented 2026-11-27 21:08:07 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-27T21:08:07Z.


merge-check
base: d1be8103644791b7a65f068954324e93d4b1b565 (nvidia-dev)
head: 3c4891dd4cf7d249d7f818aec05c7150a347504a
merge: clean trial merge into the current nvidia-dev tip; two intended files, 57 insertions and 1 deletion.
build: cargo build --locked --workspace -> ok.
tests: cargo test --locked --workspace --no-fail-fast -- --test-threads=4 -> 1,824 passed, 9 failed, 48 ignored; 27 GPU skip notices. a_preparation_worker_also_builds_a_split_programs_whole_form passed on the RTX 3080 Ti without a skip. The same command on untouched nvidia-dev at this exact base reported 1,823 passed, 9 failed, 48 ignored, with the same 27 skip notices and the same nine failing test instances (base comparison). No new suite failure in the trial merge.
review: none found after reading the whole merged diff and tracing the preparation-worker call, whole-pipeline root signature and driver-cache key. The worker is identified by XCL_PRECOMPILE_PARENT; the extra whole build goes through the existing pipeline concurrency and size limits.
performance: by code path, cold title preparation builds an additional whole PSO for each eligible split program, so it can take longer before play and use more transient compiler memory. It moves that work out of the first ExecuteIndirect; I did not measure local preparation or frame times. Whole DXIL over the worker's default 8 MiB cap can still be left for runtime.
verdict: safe to merge for this diff against this nvidia-dev tip. The branch's existing CI failures remain to be fixed before its normal merge gate is green.
hardware / tool and model: Windows 11 build 26300, Ryzen 7 9800X3D, RTX 3080 Ti (NVIDIA 621.35), rustc 1.99.1 MSVC, SDK DXC 1.8.2502.11. Codex (GPT-6.2 Sol) ran the merge, build, and tests and wrote this check; Codex (GPT-6.2 Astra) independently reviewed the shader and cache path.

Not tested here: a retail-title run, AMD, Intel, or the frame-time effect of a cold preparation. This merge check is a local trial merge; it is not a new clean-head smoke block.

<!-- greyfinch-sync:ivall/xcl:comment:7228166809 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7228166809). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-27T21:08:07Z. --- merge-check base: [d1be8103644791b7a65f068954324e93d4b1b565](https://github.com/xcl-dev/xcl/commit/d1be8103644791b7a65f068954324e93d4b1b565) (`nvidia-dev`) head: [3c4891dd4cf7d249d7f818aec05c7150a347504a](https://github.com/xcl-dev/xcl/commit/3c4891dd4cf7d249d7f818aec05c7150a347504a) merge: clean trial merge into the current `nvidia-dev` tip; two intended files, 57 insertions and 1 deletion. build: `cargo build --locked --workspace` -> ok. tests: `cargo test --locked --workspace --no-fail-fast -- --test-threads=4` -> 1,824 passed, 9 failed, 48 ignored; 27 GPU skip notices. `a_preparation_worker_also_builds_a_split_programs_whole_form` passed on the RTX 3080 Ti without a skip. The same command on untouched `nvidia-dev` at this exact base reported 1,823 passed, 9 failed, 48 ignored, with the same 27 skip notices and the same nine failing test instances ([base comparison](https://github.com/xcl-dev/xcl/pull/3047#issuecomment-7228115188)). No new suite failure in the trial merge. review: none found after reading the whole merged diff and tracing the preparation-worker call, whole-pipeline root signature and driver-cache key. The worker is identified by `XCL_PRECOMPILE_PARENT`; the extra whole build goes through the existing pipeline concurrency and size limits. performance: by code path, cold title preparation builds an additional whole PSO for each eligible split program, so it can take longer before play and use more transient compiler memory. It moves that work out of the first `ExecuteIndirect`; I did not measure local preparation or frame times. Whole DXIL over the worker's default 8 MiB cap can still be left for runtime. verdict: safe to merge for this diff against this `nvidia-dev` tip. The branch's existing CI failures remain to be fixed before its normal merge gate is green. hardware / tool and model: Windows 11 build 26300, Ryzen 7 9800X3D, RTX 3080 Ti (NVIDIA 621.35), rustc 1.99.1 MSVC, SDK DXC 1.8.2502.11. Codex (GPT-6.2 Sol) ran the merge, build, and tests and wrote this check; Codex (GPT-6.2 Astra) independently reviewed the shader and cache path. Not tested here: a retail-title run, AMD, Intel, or the frame-time effect of a cold preparation. This merge check is a local trial merge; it is not a new clean-head smoke block.
throny commented 2026-11-27 23:42:07 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T23:42:07Z.


merge-check claim
head: 3c4891dd4c

<!-- greyfinch-sync:ivall/xcl:comment:7230342638 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7230342638). Originally posted by [throny](https://github.com/throny) on 2026-11-27T23:42:07Z. --- merge-check claim head: 3c4891dd4cf7d249d7f818aec05c7150a347504a
throny commented 2026-11-28 00:04:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-28T00:04:27Z.


merge-check
base: d1be8103 (nvidia-dev)
head: 3c4891dd4c
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 1825 passed, 8 failed, 48 ignored (27 SKIPPED lines). The 8 failures are the base's own on this GPU, the same six names with and without the PR (async_compute_pso_registers_real_pso_and_not_standin, split_compute_prefers_the_offline_whole_pipeline, two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs, console_ms_in_as_slot_and_ms_with_as_are_refused_cleanly, two texture_upload tests; #2771 and #2788 fix three of them). Base alone: 1824 passed, 8 failed, 48 ignored.
review: none. The worker switch it keys on is the one the existing worker command sets; the test starts the xcl binary on its own temp folder and fails without the change (it asserts one pipeline more).
performance: no frame cost; it takes whole-form builds of split programs off the title's threads (the stalls reported in the thread). The first cold preparation gets longer (figures in the thread, not measured here). To watch together with #2705: workers are sized at 3 GB each there, and a tester measured 6.7–10.9 GB per worker when whole forms are built.
verdict: safe to merge
hardware / tool and model: RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300, Rust 1.100.0, debug. Claude Code; merge, build and suite run by Claude Fable 5.2, diff review by Claude Opus 5.5 (every hunk read; nothing run on the GPU beyond the suite).

<!-- greyfinch-sync:ivall/xcl:comment:7230625851 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2794#issuecomment-7230625851). Originally posted by [throny](https://github.com/throny) on 2026-11-28T00:04:27Z. --- merge-check base: d1be8103 (nvidia-dev) head: 3c4891dd4cf7d249d7f818aec05c7150a347504a merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 1825 passed, 8 failed, 48 ignored (27 SKIPPED lines). The 8 failures are the base's own on this GPU, the same six names with and without the PR (async_compute_pso_registers_real_pso_and_not_standin, split_compute_prefers_the_offline_whole_pipeline, two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs, console_ms_in_as_slot_and_ms_with_as_are_refused_cleanly, two texture_upload tests; #2771 and #2788 fix three of them). Base alone: 1824 passed, 8 failed, 48 ignored. review: none. The worker switch it keys on is the one the existing worker command sets; the test starts the xcl binary on its own temp folder and fails without the change (it asserts one pipeline more). performance: no frame cost; it takes whole-form builds of split programs off the title's threads (the stalls reported in the thread). The first cold preparation gets longer (figures in the thread, not measured here). To watch together with #2705: workers are sized at 3 GB each there, and a tester measured 6.7–10.9 GB per worker when whole forms are built. verdict: safe to merge hardware / tool and model: RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300, Rust 1.100.0, debug. Claude Code; merge, build and suite run by Claude Fable 5.2, diff review by Claude Opus 5.5 (every hunk read; nothing run on the GPU beyond the suite).
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!2784
No description provided.