Repository navigation
Conversation
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))
|
Independent NVIDIA Windows 11 verification of PR #2860 at head Tested
Regression run ( (PR run: 4324 translated PSOs, 0 fallback, 0 failed, peak local VRAM 6192 MB, peak non-local VRAM 4890 MB, vs Not tested
AI use
|
|
Independent desktop NVIDIA verification of PR #2860 at head Environment
Targeted release tests & build (
|
| 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)
9391log 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 usedShader preparation: compute pipelines in 8 worker processes, those an earlier run usedShader preparation: the 4 graphics pipelines earlier runs used, in 4 worker processesD3D12.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 sample14719 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 (8compute +4graphics workers), confirming zero regression for Series X. A separate end-to-end Series S (XCL_DEVICE_TYPE=lockhart) retail boot inspecting-lockhartmanifest files on disk was not run; Series S-lockhartfilename separation andXCL_DEVICE_TYPEworker-command forwarding were verified through the PR's unit tests (used_manifests_separate_series_s_from_series_xandpipeline_worker_command_forwards_console_profile). shaders::tests::pso_measurement_compiles_an_exact_synthetic_recordself-skipped because Windows Developer Mode is disabled on this host.- Single-run frame count and peak-commit deltas against the cached parent baseline (
1571vs.1551frames;14795vs.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).
Series S (
lockhart) and Series X (anaconda) sharedused-pipelines.txt,used-shaders.txt, andused-graphics-pipelines.binindxc::cache_dir(), mixing startup preparation and preload manifests across profile switches.pipelines_in_workersalso omittedXCL_DEVICE_TYPEfor--used-onlyworkers.Routes Series S manifests to
-lockhartfilenames (state::boot()first,XCL_DEVICE_TYPEfallback) and forwardsXCL_DEVICE_TYPEto 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: routepath()viaused_file_name().crates/xcl/src/shaders.rs:pipeline_worker_command()forwardsXCL_DEVICE_TYPE,--used-onlyprints active manifest name,pipeline_worker_command_forwards_console_profile.README.md: document-lockhartmanifest variant.Tested
32.0.16.1088), Ryzen 7 9800X3D, Win11 26200,rustc 1.97.0, debug:cargo test --workspaceat6efa82fa(SDK DXC 1.6, noXCL_DXC_DIR): 1808 passed, 13 failed, 48 ignored, 147SKIPPED;pso_async::used_tests(40/0),gfx_records::tests(6/0),shaders::tests(12/0, 1SKIPPED) passed.1.8.2502.11,XCL_ADAPTER=NVIDIA, debug (identical diff oneae01502):cargo test -p xcl --lib -- pso_async gfx_records shaders --test-threads=4: 69 passed, 0 failed, 0 ignored, 1SKIPPED.cargo test --workspace --no-fail-fast -- --test-threads=4: 1817 passed, 8 failed, 48 ignored, 30SKIPPED(0 failures in touched modules).Regression run
Not tested
AI use
Ran via Samaritan:
nvidia-dev, wrote code, tests, commit, and coordinated PR handoff.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).