Shaders: separate Series S and Series X used manifests #2860

Open
github-bot wants to merge 1 commit from github-bot/gh-2860 into nvidia-dev AGit
Owner

@⁠itsSio on GitHub · 2026-11-26 19:25 UTC · original
itsSio:shaders/nvidia-dev-profile-used-manifests → nvidia-dev · +96 −16 · 4 files · 1 commits · open

Series S (lockhart) and Series X (anaconda) shared used-pipelines.txt, used-shaders.txt, and used-graphics-pipelines.bin in dxc::cache_dir(), mixing startup preparation and preload manifests across profile switches. pipelines_in_workers also omitted XCL_DEVICE_TYPE for --used-only workers.

Routes Series S manifests to -lockhart filenames (state::boot() first, XCL_DEVICE_TYPE fallback) and forwards XCL_DEVICE_TYPE to compute workers. Series X filenames stay unchanged.

What is in it

  • crates/xcl/src/hle/d3d12x/pso_async.rs: profile_is_series_s(), used_file_name(), used_pipelines_name(), used_shaders_name(), used_manifests_separate_series_s_from_series_x.
  • crates/xcl/src/hle/d3d12x/gfx_records.rs: route path() via used_file_name().
  • crates/xcl/src/shaders.rs: pipeline_worker_command() forwards XCL_DEVICE_TYPE, --used-only prints active manifest name, pipeline_worker_command_forwards_console_profile.
  • README.md: document -lockhart manifest variant.

Tested

  • RTX 5080 (driver 32.0.16.1088), Ryzen 7 9800X3D, Win11 26200, rustc 1.97.0, debug:
    • cargo test --workspace at 6efa82fa (SDK DXC 1.6, no XCL_DXC_DIR): 1808 passed, 13 failed, 48 ignored, 147 SKIPPED; pso_async::used_tests (40/0), gfx_records::tests (6/0), shaders::tests (12/0, 1 SKIPPED) passed.
  • RTX 2080 SUPER, DXC 1.8.2502.11, XCL_ADAPTER=NVIDIA, debug (identical diff on eae01502):
    • cargo test -p xcl --lib -- pso_async gfx_records shaders --test-threads=4: 69 passed, 0 failed, 0 ignored, 1 SKIPPED.
    • cargo test --workspace --no-fail-fast -- --test-threads=4: 1817 passed, 8 failed, 48 ignored, 30 SKIPPED (0 failures in touched modules).

Regression run

xcl-smoke v1
commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7
gpu: NVIDIA GeForce RTX 5080
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1019 (PresentX 1019)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14670 MB
xcl-smoke v1
commit: 6efa82fab8dce5df52e7f69fff5539b8258e2d2c
gpu: NVIDIA GeForce RTX 5080
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: 14860 MB

Not tested

  • Main PC suite with DXC 1.9, AMD/Intel GPUs, Linux/Wine, live Series S <-> Series X title switch.

AI use
Ran via Samaritan:

  • Antigravity (Gemini 4 Neon (High)): scouted nvidia-dev, wrote code, tests, commit, and coordinated PR handoff.
  • Antigravity (Gemini 4 Hydrogen (High)): read-only diff audit (PASS), live upstream/PR check prep, and RTX 5080 warm-cache smoke run.
  • Verification suites on 6efa82fa: Build PC RTX 2080 SUPER and Main PC workspace suites ran via Samaritan (worker models for the 18:46–19:27 turn were not preserved in local logs).
**@⁠itsSio** on GitHub · 2026-11-26 19:25 UTC · [original](https://github.com/xcl-dev/xcl/pull/2860) `itsSio:shaders/nvidia-dev-profile-used-manifests` → `nvidia-dev` · +96 −16 · 4 files · 1 commits · open Series S (`lockhart`) and Series X (`anaconda`) shared `used-pipelines.txt`, `used-shaders.txt`, and `used-graphics-pipelines.bin` in `dxc::cache_dir()`, mixing startup preparation and preload manifests across profile switches. `pipelines_in_workers` also omitted `XCL_DEVICE_TYPE` for `--used-only` workers. Routes Series S manifests to `-lockhart` filenames (`state::boot()` first, `XCL_DEVICE_TYPE` fallback) and forwards `XCL_DEVICE_TYPE` to compute workers. Series X filenames stay unchanged. **What is in it** - `crates/xcl/src/hle/d3d12x/pso_async.rs`: `profile_is_series_s()`, `used_file_name()`, `used_pipelines_name()`, `used_shaders_name()`, `used_manifests_separate_series_s_from_series_x`. - `crates/xcl/src/hle/d3d12x/gfx_records.rs`: route `path()` via `used_file_name()`. - `crates/xcl/src/shaders.rs`: `pipeline_worker_command()` forwards `XCL_DEVICE_TYPE`, `--used-only` prints active manifest name, `pipeline_worker_command_forwards_console_profile`. - `README.md`: document `-lockhart` manifest variant. **Tested** - RTX 5080 (driver `32.0.16.1088`), Ryzen 7 9800X3D, Win11 26200, `rustc 1.97.0`, debug: - `cargo test --workspace` at `6efa82fa` (SDK DXC 1.6, no `XCL_DXC_DIR`): 1808 passed, 13 failed, 48 ignored, 147 `SKIPPED`; `pso_async::used_tests` (40/0), `gfx_records::tests` (6/0), `shaders::tests` (12/0, 1 `SKIPPED`) passed. - RTX 2080 SUPER, DXC `1.8.2502.11`, `XCL_ADAPTER=NVIDIA`, debug (identical diff on `eae01502`): - `cargo test -p xcl --lib -- pso_async gfx_records shaders --test-threads=4`: 69 passed, 0 failed, 0 ignored, 1 `SKIPPED`. - `cargo test --workspace --no-fail-fast -- --test-threads=4`: 1817 passed, 8 failed, 48 ignored, 30 `SKIPPED` (0 failures in touched modules). **Regression run** ``` xcl-smoke v1 commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7 gpu: NVIDIA GeForce RTX 5080 title: retail-title seconds: 60 exit: 0x0 frames shown: 1019 (PresentX 1019) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14670 MB ``` ``` xcl-smoke v1 commit: 6efa82fab8dce5df52e7f69fff5539b8258e2d2c gpu: NVIDIA GeForce RTX 5080 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: 14860 MB ``` **Not tested** - Main PC suite with DXC 1.9, AMD/Intel GPUs, Linux/Wine, live Series S <-> Series X title switch. **AI use** Ran via Samaritan: - Antigravity (Gemini 4 Neon (High)): scouted `nvidia-dev`, wrote code, tests, commit, and coordinated PR handoff. - Antigravity (Gemini 4 Hydrogen (High)): read-only diff audit (PASS), live upstream/PR check prep, and RTX 5080 warm-cache smoke run. - Verification suites on `6efa82fa`: Build PC RTX 2080 SUPER and Main PC workspace suites ran via Samaritan (worker models for the 18:46–19:27 turn were not preserved in local logs).
Series S (lockhart) and Series X (anaconda) previously shared used-pipelines.txt, used-shaders.txt, and used-graphics-pipelines.bin in the same cache directory, causing profile switches to mix startup shader preparation and runtime preload manifests across console profiles. Also, --used-only compute pipeline precompile workers did not receive XCL_DEVICE_TYPE, so standalone workers defaulted to the Series X manifest.

Route per-profile usage and graphics replay manifests to -lockhart filenames when the active profile is Series S (checking state::boot() first and falling back to XCL_DEVICE_TYPE), and forward XCL_DEVICE_TYPE from pipelines_in_workers to child workers.

Assisted-by: Antigravity (Gemini 4 Neon (High))
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:46:00 +00:00
Author
Owner

@⁠MatyEjsr on GitHub · 2026-11-26 20:01 UTC · original · edited 2026-11-26 21:42 UTC

Independent NVIDIA Windows 11 verification of PR #2860 at head 6efa82fab8dce5df52e7f69fff5539b8258e2d2c (base origin/nvidia-dev at eae015021c639866ab061cdff2e9daf8ba9daac5, MERGEABLE; no duplicate or superseded PRs — file overlap only with #2572 (nvidia-dev tracking PR), #2070, and #2828 in distinct scopes).

Tested

  • Environment: Windows 11 Pro for Workstations (build 26200), AMD Ryzen 7 7800X3D, NVIDIA GeForce RTX 3090 (24 GB VRAM, driver 32.0.16.1742 / 617.42, Windows Developer Mode ON), 32 GB RAM, rustc 1.100.0, DXC 1.9.2602.17 (Windows SDK) / 1.9.0.5512.
  • cargo test -p xcl --lib -j 8 -- pso_async gfx_records shaders --nocapture: 69 passed, 0 failed, 0 ignored, 0 SKIPPED (note: shaders::tests::retail_pack_sample returned early because XCL_SAMPLE_RPF was unset). Both new unit tests (used_manifests_separate_series_s_from_series_x, pipeline_worker_command_forwards_console_profile) passed.
  • cargo test --workspace -j 8 --no-fail-fast -- --test-threads=8 --nocapture: 1821 passed, 9 failed, 48 ignored, plus 29 unique SKIPPED GPU/debug-layer cases (not counted as coverage: 21 no wave64, 3 wave32, per-lane form: refused, 2 no heap windows, 3 missing D3D12 debug layer). All 7 distinct failing tests (gpu_compute_thread_limits_leave_the_lanes_past_them_out, texture_upload::tests::{gpu_parts_of_a_texture_go_up_and_the_rest_stays, pieces_hold_the_texels_of_their_levels}, console_ms_in_as_slot_and_ms_with_as_are_refused_cleanly, split_compute_prefers_the_offline_whole_pipeline, async_compute_pso_registers_real_pso_and_not_standin, two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs — plus 2 child-process test invocations of the latter two) reproduce identically on merge-base origin/nvidia-dev (eae01502) with --test-threads=1.
  • Live Series S (XCL_DEVICE_TYPE=lockhart) <-> Series X (XCL_DEVICE_TYPE=anaconda) profile switch in a shared fresh DXIL cache (XCL_PREPARE=0, XCL_NETWORK=0, 20s each):
    • After the Series S run, only -lockhart manifests existed (used-pipelines-lockhart.txt 1 line / 17 B, used-shaders-lockhart.txt 2 lines / 34 B, used-graphics-pipelines-lockhart.bin 241 B).
    • After the subsequent Series X run in the same cache directory, Series X manifests were written (used-pipelines.txt 4 lines / 68 B, used-shaders.txt 7 lines / 119 B, used-graphics-pipelines.bin 657 B) while all three -lockhart files kept identical SHA-256 hashes.
    • Standalone xcl shaders ... --precompile --only cs --pipelines --used-only --limit 1 selected used-pipelines-lockhart.txt (1 pipeline) under lockhart and used-pipelines.txt (4 pipelines) under anaconda.

Regression run (origin/nvidia-dev eae01502 vs PR #2860 6efa82fa, RTX 3090, warm DXIL cache, c1cc91a4)

xcl-smoke v1
commit: eae015021c639866ab061cdff2e9daf8ba9daac5
gpu: NVIDIA GeForce RTX 3090
title: c1cc91a4
seconds: 60
exit: 0x0
frames shown: 1599 (PresentX 1599)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14760 MB
xcl-smoke v1
commit: 6efa82fab8dce5df52e7f69fff5539b8258e2d2c
gpu: NVIDIA GeForce RTX 3090
title: c1cc91a4
seconds: 60
exit: 0x0
frames shown: 1597 (PresentX 1597)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14863 MB

(PR run: 4324 translated PSOs, 0 fallback, 0 failed, peak local VRAM 6192 MB, peak non-local VRAM 4890 MB, vs eae01502 4324 translated PSOs, 6188 MB local, 4885 MB non-local; also note the PR description's own regression block currently pairs a main baseline b49be183 instead of nvidia-dev eae01502.)

Not tested

  • AMD RDNA / Intel GPUs, native wave64 hardware, Linux/Wine, and xcl.toml-driven live profile switch (the Boot precedence path is covered by unit test profile_is_series_s_from).

AI use

  • Antigravity (agy) with gemini-pro-orchestrator-argon (audited by gemini-pro-orchestrator-argon): inspected the diff and campaign metadata, built and ran the test suites, ran the 60s smoke verification and live Series S <-> Series X manifest-separation check, and wrote/audited this report.
**@⁠MatyEjsr** on GitHub · 2026-11-26 20:01 UTC · [original](https://github.com/xcl-dev/xcl/pull/2860#issuecomment-7202204947) · edited 2026-11-26 21:42 UTC Independent NVIDIA Windows 11 verification of PR #2860 at head `6efa82fab8dce5df52e7f69fff5539b8258e2d2c` (base `origin/nvidia-dev` at `eae015021c639866ab061cdff2e9daf8ba9daac5`, `MERGEABLE`; no duplicate or superseded PRs — file overlap only with #2572 (`nvidia-dev` tracking PR), #2070, and #2828 in distinct scopes). **Tested** - Environment: Windows 11 Pro for Workstations (build 26200), AMD Ryzen 7 7800X3D, NVIDIA GeForce RTX 3090 (24 GB VRAM, driver `32.0.16.1742` / `617.42`, Windows Developer Mode ON), 32 GB RAM, `rustc 1.100.0`, DXC `1.9.2602.17` (Windows SDK) / `1.9.0.5512`. - `cargo test -p xcl --lib -j 8 -- pso_async gfx_records shaders --nocapture`: **69 passed, 0 failed, 0 ignored, 0 `SKIPPED`** (note: `shaders::tests::retail_pack_sample` returned early because `XCL_SAMPLE_RPF` was unset). Both new unit tests (`used_manifests_separate_series_s_from_series_x`, `pipeline_worker_command_forwards_console_profile`) passed. - `cargo test --workspace -j 8 --no-fail-fast -- --test-threads=8 --nocapture`: **1821 passed, 9 failed, 48 ignored**, plus **29 unique `SKIPPED`** GPU/debug-layer cases (not counted as coverage: 21 `no wave64`, 3 `wave32, per-lane form: refused`, 2 `no heap windows`, 3 missing D3D12 debug layer). All 7 distinct failing tests (`gpu_compute_thread_limits_leave_the_lanes_past_them_out`, `texture_upload::tests::{gpu_parts_of_a_texture_go_up_and_the_rest_stays, pieces_hold_the_texels_of_their_levels}`, `console_ms_in_as_slot_and_ms_with_as_are_refused_cleanly`, `split_compute_prefers_the_offline_whole_pipeline`, `async_compute_pso_registers_real_pso_and_not_standin`, `two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs` — plus 2 child-process test invocations of the latter two) reproduce identically on merge-base `origin/nvidia-dev` (`eae01502`) with `--test-threads=1`. - Live Series S (`XCL_DEVICE_TYPE=lockhart`) <-> Series X (`XCL_DEVICE_TYPE=anaconda`) profile switch in a shared fresh DXIL cache (`XCL_PREPARE=0`, `XCL_NETWORK=0`, 20s each): - After the Series S run, only `-lockhart` manifests existed (`used-pipelines-lockhart.txt` 1 line / 17 B, `used-shaders-lockhart.txt` 2 lines / 34 B, `used-graphics-pipelines-lockhart.bin` 241 B). - After the subsequent Series X run in the same cache directory, Series X manifests were written (`used-pipelines.txt` 4 lines / 68 B, `used-shaders.txt` 7 lines / 119 B, `used-graphics-pipelines.bin` 657 B) while all three `-lockhart` files kept identical SHA-256 hashes. - Standalone `xcl shaders ... --precompile --only cs --pipelines --used-only --limit 1` selected `used-pipelines-lockhart.txt` (1 pipeline) under `lockhart` and `used-pipelines.txt` (4 pipelines) under `anaconda`. **Regression run (`origin/nvidia-dev` `eae01502` vs PR #2860 `6efa82fa`, RTX 3090, warm DXIL cache, `c1cc91a4`)** ``` xcl-smoke v1 commit: eae015021c639866ab061cdff2e9daf8ba9daac5 gpu: NVIDIA GeForce RTX 3090 title: c1cc91a4 seconds: 60 exit: 0x0 frames shown: 1599 (PresentX 1599) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14760 MB ``` ``` xcl-smoke v1 commit: 6efa82fab8dce5df52e7f69fff5539b8258e2d2c gpu: NVIDIA GeForce RTX 3090 title: c1cc91a4 seconds: 60 exit: 0x0 frames shown: 1597 (PresentX 1597) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14863 MB ``` (PR run: 4324 translated PSOs, 0 fallback, 0 failed, peak local VRAM 6192 MB, peak non-local VRAM 4890 MB, vs `eae01502` 4324 translated PSOs, 6188 MB local, 4885 MB non-local; also note the PR description's own regression block currently pairs a `main` baseline `b49be183` instead of `nvidia-dev` `eae01502`.) **Not tested** - AMD RDNA / Intel GPUs, native wave64 hardware, Linux/Wine, and `xcl.toml`-driven live profile switch (the `Boot` precedence path is covered by unit test `profile_is_series_s_from`). **AI use** - Antigravity (agy) with gemini-pro-orchestrator-argon (audited by gemini-pro-orchestrator-argon): inspected the diff and campaign metadata, built and ran the test suites, ran the 60s smoke verification and live Series S <-> Series X manifest-separation check, and wrote/audited this report.
Author
Owner

@⁠Decodere on GitHub · 2026-11-26 20:27 UTC · original

Independent desktop NVIDIA verification of PR #2860 at head 6efa82fab8dce5df52e7f69fff5539b8258e2d2c (1 commit; exact parent & merge-base on nvidia-dev: eae015021c639866ab061cdff2e9daf8ba9daac5).

Environment

  • GPU: NVIDIA GeForce RTX 4060 (8 GB / 7956 MiB reported by D3D12, 6993 MB DXGI local video memory budget observed in this run), driver 32.0.16.2114 (NVIDIA 621.14, WDDM 3.2)
  • CPU / RAM / OS: Intel Core i5-11400F (6C / 12T), 32 GB RAM (31.9 GiB usable), Windows 11 Home 26200 (Developer Mode off)
  • Toolchain: rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC, DXC 1.9.2609.5, --release

Targeted release tests & build (6efa82fa)

Command Result
cargo test --release -p xcl --lib used_manifests_separate_series_s_from_series_x -- --nocapture 1 passed; 0 failed; 0 ignored; 1721 filtered out (0.00s)
cargo test --release -p xcl --lib pipeline_worker_command_forwards_console_profile -- --nocapture 1 passed; 0 failed; 0 ignored; 1721 filtered out (0.00s)
cargo test --release -p xcl --lib hle::d3d12x::pso_async:: (3 consecutive runs) 40 passed; 0 failed; 0 ignored; 1682 filtered out × 3 (1.21s, 1.21s, 1.21s)
cargo test --release -p xcl --lib shaders:: 16 passed; 0 failed; 0 ignored; 1706 filtered out (0.18s; 1 test self-skipped at runtime, see below)
cargo build --release -p xcl --bin xcl Clean build (1m 25s, exit 0)

Note on shaders::: shaders::tests::pso_measurement_compiles_an_exact_synthetic_record printed SKIPPED at runtime because Windows Developer Mode is disabled on this host (required by D3D12 to disable the driver shader cache); the remaining 15 tests, including shaders::tests::pipeline_worker_command_forwards_console_profile, executed and passed.

Paired quiet 60 s retail smoke (title: 29640639)

Exact parent & merge-base (eae015021c639866ab061cdff2e9daf8ba9daac5, cached baseline on the same machine):

xcl-smoke v1
commit: eae015021c639866ab061cdff2e9daf8ba9daac5
gpu: NVIDIA GeForce RTX 4060
title: 29640639
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: 15926 MB

PR #2860 (6efa82fab8dce5df52e7f69fff5539b8258e2d2c):

xcl-smoke v1
commit: 6efa82fab8dce5df52e7f69fff5539b8258e2d2c
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1571 (PresentX 1571)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14795 MB

Runtime log observations (xcl.log)

  • 9391 log lines, 0 [ERROR] / device-removal / panic lines.
  • Default console profile & manifest startup preparation ran cleanly on Series X (anaconda):
    • console: Xbox Series X (anaconda) (title memory 13824 MiB, mode advanced)
    • Shader preparation: only the 15 shaders earlier runs used
    • Shader preparation: compute pipelines in 8 worker processes, those an earlier run used
    • Shader preparation: the 4 graphics pipelines earlier runs used, in 4 worker processes
    • D3D12.X: the pipelines of 10 shader sets an earlier run used are built ahead of their first use
  • Final draw/memory telemetry in log: 19111 draws with translated pipelines (0 skipped, 0 with PC pipelines), 1024 dispatches (0 skipped); last memory sample 14719 MB committed by the process; video memory 6118 MB local, 4746 MB non-local; video memory budget 6993 MB.

Limits of coverage

  • The 60 s retail smoke exercised the default Series X (anaconda) manifest files and multi-worker startup preparation path end-to-end (8 compute + 4 graphics workers), confirming zero regression for Series X. A separate end-to-end Series S (XCL_DEVICE_TYPE=lockhart) retail boot inspecting -lockhart manifest files on disk was not run; Series S -lockhart filename separation and XCL_DEVICE_TYPE worker-command forwarding were verified through the PR's unit tests (used_manifests_separate_series_s_from_series_x and pipeline_worker_command_forwards_console_profile).
  • shaders::tests::pso_measurement_compiles_an_exact_synthetic_record self-skipped because Windows Developer Mode is disabled on this host.
  • Single-run frame count and peak-commit deltas against the cached parent baseline (1571 vs. 1551 frames; 14795 vs. 15926 MB) reflect normal run-to-run startup/worker timing variance and are not attributed to this PR.

AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).

**@⁠Decodere** on GitHub · 2026-11-26 20:27 UTC · [original](https://github.com/xcl-dev/xcl/pull/2860#issuecomment-7202701868) Independent desktop NVIDIA verification of **PR #2860** at head `6efa82fab8dce5df52e7f69fff5539b8258e2d2c` (`1` commit; exact parent & merge-base on `nvidia-dev`: `eae015021c639866ab061cdff2e9daf8ba9daac5`). ### Environment - **GPU:** NVIDIA GeForce RTX 4060 (8 GB / `7956 MiB` reported by D3D12, `6993 MB` DXGI local video memory budget observed in this run), driver `32.0.16.2114` (NVIDIA `621.14`, WDDM 3.2) - **CPU / RAM / OS:** Intel Core i5-11400F (6C / 12T), 32 GB RAM (`31.9 GiB` usable), Windows 11 Home `26200` (Developer Mode off) - **Toolchain:** `rustc 1.100.0 (0ef1bc386 2026-11-09)` MSVC, DXC `1.9.2609.5`, `--release` ### Targeted release tests & build (`6efa82fa`) | Command | Result | | --- | --- | | `cargo test --release -p xcl --lib used_manifests_separate_series_s_from_series_x -- --nocapture` | `1 passed; 0 failed; 0 ignored; 1721 filtered out` (`0.00s`) | | `cargo test --release -p xcl --lib pipeline_worker_command_forwards_console_profile -- --nocapture` | `1 passed; 0 failed; 0 ignored; 1721 filtered out` (`0.00s`) | | `cargo test --release -p xcl --lib hle::d3d12x::pso_async::` (3 consecutive runs) | `40 passed; 0 failed; 0 ignored; 1682 filtered out` × 3 (`1.21s`, `1.21s`, `1.21s`) | | `cargo test --release -p xcl --lib shaders::` | `16 passed; 0 failed; 0 ignored; 1706 filtered out` (`0.18s`; `1` test self-skipped at runtime, see below) | | `cargo build --release -p xcl --bin xcl` | Clean build (`1m 25s`, exit `0`) | Note on `shaders::`: `shaders::tests::pso_measurement_compiles_an_exact_synthetic_record` printed `SKIPPED` at runtime because Windows Developer Mode is disabled on this host (required by D3D12 to disable the driver shader cache); the remaining `15` tests, including `shaders::tests::pipeline_worker_command_forwards_console_profile`, executed and passed. ### Paired quiet 60 s retail smoke (`title: 29640639`) Exact parent & merge-base (`eae015021c639866ab061cdff2e9daf8ba9daac5`, cached baseline on the same machine): ``` xcl-smoke v1 commit: eae015021c639866ab061cdff2e9daf8ba9daac5 gpu: NVIDIA GeForce RTX 4060 title: 29640639 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: 15926 MB ``` PR #2860 (`6efa82fab8dce5df52e7f69fff5539b8258e2d2c`): ``` xcl-smoke v1 commit: 6efa82fab8dce5df52e7f69fff5539b8258e2d2c gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1571 (PresentX 1571) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14795 MB ``` ### Runtime log observations (`xcl.log`) - `9391` log lines, `0` `[ERROR]` / device-removal / panic lines. - Default console profile & manifest startup preparation ran cleanly on Series X (`anaconda`): - `console: Xbox Series X (anaconda) (title memory 13824 MiB, mode advanced)` - `Shader preparation: only the 15 shaders earlier runs used` - `Shader preparation: compute pipelines in 8 worker processes, those an earlier run used` - `Shader preparation: the 4 graphics pipelines earlier runs used, in 4 worker processes` - `D3D12.X: the pipelines of 10 shader sets an earlier run used are built ahead of their first use` - Final draw/memory telemetry in log: `19111 draws with translated pipelines (0 skipped, 0 with PC pipelines), 1024 dispatches (0 skipped)`; last memory sample `14719 MB committed by the process; video memory 6118 MB local, 4746 MB non-local; video memory budget 6993 MB`. ### Limits of coverage - The 60 s retail smoke exercised the default Series X (`anaconda`) manifest files and multi-worker startup preparation path end-to-end (`8` compute + `4` graphics workers), confirming zero regression for Series X. A separate end-to-end Series S (`XCL_DEVICE_TYPE=lockhart`) retail boot inspecting `-lockhart` manifest files on disk was not run; Series S `-lockhart` filename separation and `XCL_DEVICE_TYPE` worker-command forwarding were verified through the PR's unit tests (`used_manifests_separate_series_s_from_series_x` and `pipeline_worker_command_forwards_console_profile`). - `shaders::tests::pso_measurement_compiles_an_exact_synthetic_record` self-skipped because Windows Developer Mode is disabled on this host. - Single-run frame count and peak-commit deltas against the cached parent baseline (`1571` vs. `1551` frames; `14795` vs. `15926 MB`) reflect normal run-to-run startup/worker timing variance and are not attributed to this PR. *AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).*
Author
Owner

@⁠JJAutoCompare on GitHub · 2026-11-27 00:59 UTC · original

Tested

Clean 6efa82fab8dce5df52e7f69fff5539b8258e2d2c, Windows 11 build 26200, Ryzen 7 3800X, Rust 1.100.0 MSVC, DXC 1.9.2602.17. CPU and offline shader compilation using generated fixtures.

  • Ran the Cargo-produced debug libtest executable with --exact --test-threads=1 and 49 filters covering DXIL cache round-trip, graphics records, pipeline-ahead handling, and offline manifest selection. With XCL_DEVICE_TYPE=lockhart and then anaconda, each invocation had 49 passed, 0 failed, 0 ignored, 0 skips. Includes used_manifests_separate_series_s_from_series_x, pipeline_worker_command_forwards_console_profile, and used_only_keeps_the_compute_programs_an_earlier_run_used.
  • powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\verify-cpu.ps1 ran xcl shaders <synthetic-fixture-dir> --precompile --only cs --used-only --windows 4 --split 0 seven times. All seven controls passed. Both profile-switch orders kept manifests separate in a shared cache. A missing active manifest selected zero shaders for either profile. Each populated manifest selected its one expected shader, and the unset-profile control used the Series X manifest. Exact reader keys and artifact hashes confirmed that writing the second profile preserved the first profile's files.

Not tested

Native GPU rendering, retail profile switching, driver pipeline persistence, retail smoke, and full workspace suite.

AI use

Codex in T3 Code (gpt-6.2-sol for the worker run) ran the tests and prepared the synthetic CLI fixture. The coordinator independently reran both libtest groups and the CLI matrix.

**@⁠JJAutoCompare** on GitHub · 2026-11-27 00:59 UTC · [original](https://github.com/xcl-dev/xcl/pull/2860#issuecomment-7206922056) **Tested** Clean `6efa82fab8dce5df52e7f69fff5539b8258e2d2c`, Windows 11 build 26200, Ryzen 7 3800X, Rust 1.100.0 MSVC, DXC 1.9.2602.17. CPU and offline shader compilation using generated fixtures. - Ran the Cargo-produced debug libtest executable with `--exact --test-threads=1` and 49 filters covering DXIL cache round-trip, graphics records, pipeline-ahead handling, and offline manifest selection. With `XCL_DEVICE_TYPE=lockhart` and then `anaconda`, each invocation had 49 passed, 0 failed, 0 ignored, 0 skips. Includes `used_manifests_separate_series_s_from_series_x`, `pipeline_worker_command_forwards_console_profile`, and `used_only_keeps_the_compute_programs_an_earlier_run_used`. - `powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\verify-cpu.ps1` ran `xcl shaders <synthetic-fixture-dir> --precompile --only cs --used-only --windows 4 --split 0` seven times. All seven controls passed. Both profile-switch orders kept manifests separate in a shared cache. A missing active manifest selected zero shaders for either profile. Each populated manifest selected its one expected shader, and the unset-profile control used the Series X manifest. Exact reader keys and artifact hashes confirmed that writing the second profile preserved the first profile's files. **Not tested** Native GPU rendering, retail profile switching, driver pipeline persistence, retail smoke, and full workspace suite. **AI use** Codex in T3 Code (`gpt-6.2-sol` for the worker run) ran the tests and prepared the synthetic CLI fixture. The coordinator independently reran both libtest groups and the CLI matrix.
Author
Owner

@⁠LocranKing on GitHub · 2026-11-27 04:49 UTC · original

Independent 90 s Series S (lockhart) check on RTX 3060 Ti (8 GB) (6efa82fa merged with nvidia-dev ecc0bb57), with used-pipelines-lockhart.txt, used-shaders-lockhart.txt, and used-graphics-pipelines-lockhart.bin seeded in XCL_DXIL_CACHE.

  • Shader preparation: only the 1572 shaders earlier runs used, compute pipelines done in 34 s (0 of 8 workers failed), uma_coherent_lockhart.txt resolved, entered world (first_2pass_mesh_t=113.0 s), 0 crashes, 0 device removals.
xcl-smoke v1
commit: 6efa82fab8dce5df52e7f69fff5539b8258e2d2c
gpu: NVIDIA GeForce RTX 3060 Ti
title: 9cc6a39e
seconds: 90
exit: 0x0
frames shown: 1665 (PresentX 1666)
presents per 2 s (last 3): 2 0 4
device removals: 0
crashes: 0
peak commit: 19583 MB

Not tested: Series X (anaconda) switching in the same folder without pre-seeded -lockhart files.

**@⁠LocranKing** on GitHub · 2026-11-27 04:49 UTC · [original](https://github.com/xcl-dev/xcl/pull/2860#issuecomment-7210124240) Independent 90 s Series S (`lockhart`) check on **RTX 3060 Ti (8 GB)** (`6efa82fa` merged with `nvidia-dev` `ecc0bb57`), with `used-pipelines-lockhart.txt`, `used-shaders-lockhart.txt`, and `used-graphics-pipelines-lockhart.bin` seeded in `XCL_DXIL_CACHE`. - `Shader preparation: only the 1572 shaders earlier runs used`, `compute pipelines done in 34 s (0 of 8 workers failed)`, `uma_coherent_lockhart.txt` resolved, entered world (`first_2pass_mesh_t=113.0 s`), `0` crashes, `0` device removals. ```text xcl-smoke v1 commit: 6efa82fab8dce5df52e7f69fff5539b8258e2d2c gpu: NVIDIA GeForce RTX 3060 Ti title: 9cc6a39e seconds: 90 exit: 0x0 frames shown: 1665 (PresentX 1666) presents per 2 s (last 3): 2 0 4 device removals: 0 crashes: 0 peak commit: 19583 MB ``` **Not tested:** Series X (`anaconda`) switching in the same folder without pre-seeded `-lockhart` files.
Author
Owner

@⁠ettehn on GitHub · 2026-11-27 04:57 UTC · original

I checked the first Series X → Series S switch with only the legacy, unsuffixed manifests present. A standalone Windows x64 fixture compiled the manifest readers/writers and worker-command code from base eae01502 and head 6efa82fa. A test child recorded the actual arguments and environment it received.

  • Base: the first Series S worker received --used-only and inherited the Series X key. After Series S recorded a new key, both profiles saw both keys.
  • Head: the first Series S worker received XCL_DEVICE_TYPE=lockhart and omitted --used-only, so startup preparation did not filter against the Series X list. After recording a Series S key, the next Series S worker received --used-only and read just that key. Switching back to Series X picked its original key, and both Series X text files were byte-identical. A Series S boot with an inherited anaconda environment also sent lockhart to the child.

This covers the startup worker command and text-manifest transition. The child only recorded the command and read the manifests. No GPU, retail startup, or compile-time measurement. OpenAI Codex assisted with verification.

**@⁠ettehn** on GitHub · 2026-11-27 04:57 UTC · [original](https://github.com/xcl-dev/xcl/pull/2860#issuecomment-7210234989) I checked the first Series X → Series S switch with only the legacy, unsuffixed manifests present. A standalone Windows x64 fixture compiled the manifest readers/writers and worker-command code from base `eae01502` and head `6efa82fa`. A test child recorded the actual arguments and environment it received. - Base: the first Series S worker received `--used-only` and inherited the Series X key. After Series S recorded a new key, both profiles saw both keys. - Head: the first Series S worker received `XCL_DEVICE_TYPE=lockhart` and omitted `--used-only`, so startup preparation did not filter against the Series X list. After recording a Series S key, the next Series S worker received `--used-only` and read just that key. Switching back to Series X picked its original key, and both Series X text files were byte-identical. A Series S boot with an inherited `anaconda` environment also sent `lockhart` to the child. This covers the startup worker command and text-manifest transition. The child only recorded the command and read the manifests. No GPU, retail startup, or compile-time measurement. OpenAI Codex assisted with verification.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2860/head:github-bot/gh-2860'
git switch 'github-bot/gh-2860'

Merge

Merge the changes and update on Forgejo.
git switch 'nvidia-dev'
git merge --no-ff 'github-bot/gh-2860'
git switch 'github-bot/gh-2860'
git rebase 'nvidia-dev'
git switch 'nvidia-dev'
git merge --ff-only 'github-bot/gh-2860'
git switch 'github-bot/gh-2860'
git rebase 'nvidia-dev'
git switch 'nvidia-dev'
git merge --no-ff 'github-bot/gh-2860'
git switch 'nvidia-dev'
git merge --squash 'github-bot/gh-2860'
git switch 'nvidia-dev'
git merge --ff-only 'github-bot/gh-2860'
git switch 'nvidia-dev'
git merge 'github-bot/gh-2860'
git push origin 'nvidia-dev'
This discussion has been locked. Commenting is limited to contributors.
No description provided.