D3D12.X: the window title counts driver pipeline builds too #2660

Closed
Kalmarv wants to merge 1 commit from upstream-pr/2670 into main
Kalmarv commented 2026-11-26 05:41:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Kalmarv on 2026-11-26T05:41:30Z.


The window title's "compiling shaders: N running, M done" counts only XCL's DXC compiles. While the NVIDIA driver built cold pipelines (2 - 5 s each, some on the title's own thread, some waiting for the huge-compile slot) it read "0 running", which looked like a hang. This PR also counts the driver's pipeline builds in the title, and logs the slow ones that were only visible with XCL_PSO_TRACE=1.

Part of #2088.

The driver counter idea comes from #214, but there the counter sits inside a ~380-line driver-concurrency change that no longer merges into main. This PR is only the title and log part, on main's own huge-compile gating. #214's author is welcome to take it into their PR instead.

What is in it

  • crates/xcl/src/hle/d3d12x/real.rs: driver_pso makes every Create*PipelineState call XCL makes, on a worker or on a title thread. It now counts each build while it runs and once it is done. driver_compile_identified counts the huge ones waiting for their slot. A call given a driver blob of an earlier build is a load and is not counted. A driver compile below the huge size that takes 1 s or more now logs slow driver compile #N: <kind> PSO, <bytes> B DXIL[, record …, driver blob …], <ms> ms on <thread> without XCL_PSO_TRACE=1. Two tests: the counter itself, and that a call through driver_pso is counted while a blob load is not.
  • crates/xcl/src/hle/d3d12x/present.rs: the title reads compiling shaders: DXC N running, M done | driver N building[ (W waiting for a slot)], D done[, Q pipelines queued][, F failed]. It stays up while driver builds run or wait, as well as for DXC compiles. One test of the text.

Tested

  • Ryzen 9 9950X, RTX 5070 Ti (NVIDIA 610.74), Windows 11 build 26200, rustc 1.99.0, DXC 1.9.2609.
  • cargo test -p xcl --lib -- hle::d3d12x::real::big_compile_tests hle::d3d12x::present::tests --test-threads=4 (debug): 20 passed, 0 failed, 0 ignored.
  • cargo test --workspace --no-fail-fast -- --test-threads=4 (debug) on ca6a0cc0: 1426 passed, 0 failed, 46 ignored. SKIPPED: 21 for no wave64 on this adapter, 1 for no heap windows (heap_window_out_of_memory_falls_back_to_the_switch_form), and 3 per-lane f16/f32 forms that the translator refuses (V_MUL_F16, V_PK_MUL_F16, V_CVT_F16_F32, #1426).

Tested by others

  • @sage-sage on ca6a0cc0 as it is (not merged onto current main): RTX 4080 SUPER (driver 621.40), Ryzen 5 7600X, Windows 11 build 26300, rustc 1.100.0, DXC 1.9.2602.17, debug: cargo test --workspace -- --test-threads=4: 1426 passed, 0 failed, 46 ignored; the 3 new tests pass; the SKIPPED tests are the same as on main on that machine (report). Thanks!

Regression run

scripts/smoke.ps1 -Seconds 60, the same retail title, both from release builds of clean trees, run back to back in one queue job on the machine above, beside other GPU-queue work. A CPU-bound shader precompile ran on the same machine beside the head side for all of its run, and beside the main side from partway through (it started during that run), so the head side ran under at least as much load as main's.

main e1d84b7d (this PR's base):

xcl-smoke v1
commit: e1d84b7d9153f86a97d2ec5d209d196046fc0bea
gpu: NVIDIA GeForce RTX 5070 Ti
title: ea3b5e4d
seconds: 60
exit: 0x0
frames shown: 644 (PresentX 644)
presents per 2 s (last 3): 59 60 60
device removals: 0
crashes: 0
peak commit: 15189 MB

This PR's head ca6a0cc0:

xcl-smoke v1
commit: ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae
gpu: NVIDIA GeForce RTX 5070 Ti
title: ea3b5e4d
seconds: 60
exit: 0x0
frames shown: 611 (PresentX 611)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15074 MB

Not tested

  • AMD and Intel GPUs.
  • The title text in a full play session: the smoke runs do not record the window title.
  • Whether "slow driver compile" lines come at a rate that matters in a long session. They come only for compiles of 1 s or more.

AI use

  • Claude Code with Claude Opus 5.5 wrote the code, the tests and this description, and ran the tests and the regression run on the hardware above.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5504688592 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2670). Originally posted by [Kalmarv](https://github.com/Kalmarv) on 2026-11-26T05:41:30Z. --- The window title's "compiling shaders: N running, M done" counts only XCL's DXC compiles. While the NVIDIA driver built cold pipelines (2 - 5 s each, some on the title's own thread, some waiting for the huge-compile slot) it read "0 running", which looked like a hang. This PR also counts the driver's pipeline builds in the title, and logs the slow ones that were only visible with `XCL_PSO_TRACE=1`. Part of #2088. The driver counter idea comes from #214, but there the counter sits inside a ~380-line driver-concurrency change that no longer merges into `main`. This PR is only the title and log part, on `main`'s own huge-compile gating. #214's author is welcome to take it into their PR instead. **What is in it** - `crates/xcl/src/hle/d3d12x/real.rs`: `driver_pso` makes every `Create*PipelineState` call XCL makes, on a worker or on a title thread. It now counts each build while it runs and once it is done. `driver_compile_identified` counts the huge ones waiting for their slot. A call given a driver blob of an earlier build is a load and is not counted. A driver compile below the huge size that takes 1 s or more now logs `slow driver compile #N: <kind> PSO, <bytes> B DXIL[, record …, driver blob …], <ms> ms on <thread>` without `XCL_PSO_TRACE=1`. Two tests: the counter itself, and that a call through `driver_pso` is counted while a blob load is not. - `crates/xcl/src/hle/d3d12x/present.rs`: the title reads `compiling shaders: DXC N running, M done | driver N building[ (W waiting for a slot)], D done[, Q pipelines queued][, F failed]`. It stays up while driver builds run or wait, as well as for DXC compiles. One test of the text. **Tested** - Ryzen 9 9950X, RTX 5070 Ti (NVIDIA 610.74), Windows 11 build 26200, rustc 1.99.0, DXC 1.9.2609. - `cargo test -p xcl --lib -- hle::d3d12x::real::big_compile_tests hle::d3d12x::present::tests --test-threads=4` (debug): 20 passed, 0 failed, 0 ignored. - `cargo test --workspace --no-fail-fast -- --test-threads=4` (debug) on `ca6a0cc0`: 1426 passed, 0 failed, 46 ignored. SKIPPED: 21 for no wave64 on this adapter, 1 for no heap windows (`heap_window_out_of_memory_falls_back_to_the_switch_form`), and 3 per-lane f16/f32 forms that the translator refuses (`V_MUL_F16`, `V_PK_MUL_F16`, `V_CVT_F16_F32`, #1426). **Tested by others** - @sage-sage on `ca6a0cc0` as it is (not merged onto current `main`): RTX 4080 SUPER (driver 621.40), Ryzen 5 7600X, Windows 11 build 26300, rustc 1.100.0, DXC 1.9.2602.17, debug: `cargo test --workspace -- --test-threads=4`: 1426 passed, 0 failed, 46 ignored; the 3 new tests pass; the SKIPPED tests are the same as on `main` on that machine ([report](https://github.com/xcl-dev/xcl/pull/2670#issuecomment-7185093258)). Thanks! **Regression run** `scripts/smoke.ps1 -Seconds 60`, the same retail title, both from release builds of clean trees, run back to back in one queue job on the machine above, beside other GPU-queue work. A CPU-bound shader precompile ran on the same machine beside the head side for all of its run, and beside the `main` side from partway through (it started during that run), so the head side ran under at least as much load as `main`'s. `main` `e1d84b7d` (this PR's base): ``` xcl-smoke v1 commit: e1d84b7d9153f86a97d2ec5d209d196046fc0bea gpu: NVIDIA GeForce RTX 5070 Ti title: ea3b5e4d seconds: 60 exit: 0x0 frames shown: 644 (PresentX 644) presents per 2 s (last 3): 59 60 60 device removals: 0 crashes: 0 peak commit: 15189 MB ``` This PR's head `ca6a0cc0`: ``` xcl-smoke v1 commit: ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae gpu: NVIDIA GeForce RTX 5070 Ti title: ea3b5e4d seconds: 60 exit: 0x0 frames shown: 611 (PresentX 611) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15074 MB ``` **Not tested** - AMD and Intel GPUs. - The title text in a full play session: the smoke runs do not record the window title. - Whether "slow driver compile" lines come at a rate that matters in a long session. They come only for compiles of 1 s or more. **AI use** - Claude Code with Claude Opus 5.5 wrote the code, the tests and this description, and ran the tests and the regression run on the hardware above. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
luckyteagirl commented 2026-11-26 05:43:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T05:43:27Z.

Review: COMMENTED


Could the two-pass compute PSO pass its cache-hit state into the driver counter? This path attaches a prior blob to cdesc.CachedPSO, but calls driver_compile_identified(..., None, ...); that sets BLOB_SUPPLIED to false, so driver_pso counts the warm load as a new build/done. The later creused branch confirms the same successful call was reused. A separate cache flag would let the uncached retry continue to count as a build without inventing a tracing record hash. Exact-head source review at ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae; no title runtime or GPU test. AI-assisted review with Codex.

<!-- greyfinch-sync:ivall/xcl:review:6069107022 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2670#pullrequestreview-6069107022). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-26T05:43:27Z. **Review:** COMMENTED --- Could the two-pass compute PSO pass its cache-hit state into the driver counter? This path attaches a prior blob to `cdesc.CachedPSO`, but calls `driver_compile_identified(..., None, ...)`; that sets `BLOB_SUPPLIED` to false, so `driver_pso` counts the warm load as a new build/done. The later `creused` branch confirms the same successful call was reused. A separate cache flag would let the uncached retry continue to count as a build without inventing a tracing record hash. Exact-head source review at `ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae`; no title runtime or GPU test. AI-assisted review with Codex.
sage-sage commented 2026-11-26 08:04:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by sage-sage on 2026-11-26T07:05:54Z.


Test report: passes on NVIDIA. Exact head ca6a0cc0 (its base e1d84b7 is 7 commits behind current main b49be18; tested as it is, not merged).

Tested

  • RTX 4080 SUPER (driver 621.40), Ryzen 5 7600X, Windows 11 26H2 build 26300.10075, rustc 1.100.0 MSVC, DXC 1.9.2602.17 (Windows SDK 10.0.26100), debug build
  • cargo test --workspace -- --test-threads=4: 1426 passed, 0 failed, 46 ignored; the 3 new tests pass
  • SKIPPED (29 lines, the same as on main on this machine): 21 wave64 tests (NVIDIA is wave32 only), 3 per-lane wave32 f16/f32 forms (refused), 3 D3D12 debug layer (d3d12SDKLayers.dll not installed), 1 no heap windows, 1 pso_measurement_compiles_an_exact_synthetic_record (Developer Mode off)

Not tested

  • No game, so not the window title on a real run; not merged onto current main.

Claude Code (Claude Opus 5.5) ran the tests and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7185093258 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2670#issuecomment-7185093258). Originally posted by [sage-sage](https://github.com/sage-sage) on 2026-11-26T07:05:54Z. --- **Test report: passes on NVIDIA.** Exact head `ca6a0cc0` (its base `e1d84b7` is 7 commits behind current `main` `b49be18`; tested as it is, not merged). **Tested** - RTX 4080 SUPER (driver 621.40), Ryzen 5 7600X, Windows 11 26H2 build 26300.10075, rustc 1.100.0 MSVC, DXC 1.9.2602.17 (Windows SDK 10.0.26100), debug build - `cargo test --workspace -- --test-threads=4`: 1426 passed, 0 failed, 46 ignored; the 3 new tests pass - SKIPPED (29 lines, the same as on `main` on this machine): 21 wave64 tests (NVIDIA is wave32 only), 3 per-lane wave32 f16/f32 forms (refused), 3 D3D12 debug layer (`d3d12SDKLayers.dll` not installed), 1 `no heap windows`, 1 `pso_measurement_compiles_an_exact_synthetic_record` (Developer Mode off) **Not tested** - No game, so not the window title on a real run; not merged onto current `main`. Claude Code (Claude Opus 5.5) ran the tests and wrote this report.
Kalmarv commented 2026-11-26 08:04:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Kalmarv on 2026-11-26T07:11:57Z.


Thanks @sage-sage for the run on the RTX 4080 SUPER: it is now under Tested by others in the description. Your Not tested points (the title on a real run, the merge onto current main) are open on our side too. The smoke pair here reached the title, but smoke.ps1 does not record the window text.

Claude Code (Claude Opus 5.5) wrote this reply.

<!-- greyfinch-sync:ivall/xcl:comment:7185199076 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2670#issuecomment-7185199076). Originally posted by [Kalmarv](https://github.com/Kalmarv) on 2026-11-26T07:11:57Z. --- Thanks @sage-sage for the run on the RTX 4080 SUPER: it is now under **Tested by others** in the description. Your Not tested points (the title on a real run, the merge onto current `main`) are open on our side too. The smoke pair here reached the title, but `smoke.ps1` does not record the window text. Claude Code (Claude Opus 5.5) wrote this reply.
emirduran707 commented 2026-11-26 11:05:09 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by emirduran707 on 2026-11-26T10:32:48Z.


Independent AMD RDNA4 (native wave64) verification of exact PR head ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae on Windows 11 Pro 26300 (AMD Radeon RX 9060 XT 16 GB, driver 32.0.31044.16, Ryzen 5 5600, Rust 1.100.0 MSVC, DXC 1.9.2602.17).

Tested

  • cargo build --workspace (debug): passed (0 errors).
  • cargo test --workspace --no-fail-fast -- --test-threads=4: 1424 passed, 2 failed, 46 ignored (8 SKIPPED: 6 per-lane DXIL forms refused by host adapter/driver, 1 heap_window_out_of_memory_falls_back_to_the_switch_form no heap windows, 1 pso_measurement_compiles_an_exact_synthetic_record Windows Developer Mode off).
    • All 3 new tests passed:
      • hle::d3d12x::present::tests::the_title_counts_dxc_compiles_and_driver_builds
      • hle::d3d12x::real::big_compile_tests::driver_builds_count_while_running_and_once_done
      • hle::d3d12x::real::big_compile_tests::every_driver_call_is_counted_and_a_blob_load_is_not
    • The 2 failures (gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 and fuzz_validate_and_gpu_3) are pre-existing on unmodified main on this RX 9060 XT / driver 32.0.31044.16.
  • cargo build --release -p xcl + 60 s retail-title smoke test (scripts/smoke.ps1, offline):
xcl-smoke v1
commit: ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae
gpu: AMD Radeon RX 9060 XT
title: 21222967
seconds: 60
exit: 0x0
frames shown: 1617 (PresentX 1617)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 18670 MB

(Compare against main b49be183 on this machine: 1603 frames, 18576 MB peak, 0 device removals, 0 crashes.)

Not tested

  • NVIDIA / Intel GPUs, Linux / Wine.

AI use

  • Verification run and report prepared with Antigravity (Gemini 4 Neon); all build, test, and smoke results are from live runs on this machine.
<!-- greyfinch-sync:ivall/xcl:comment:7189509075 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2670#issuecomment-7189509075). Originally posted by [emirduran707](https://github.com/emirduran707) on 2026-11-26T10:32:48Z. --- Independent AMD RDNA4 (native wave64) verification of exact PR head `ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae` on Windows 11 Pro 26300 (AMD Radeon RX 9060 XT 16 GB, driver `32.0.31044.16`, Ryzen 5 5600, Rust 1.100.0 MSVC, DXC `1.9.2602.17`). **Tested** - `cargo build --workspace` (debug): passed (`0` errors). - `cargo test --workspace --no-fail-fast -- --test-threads=4`: `1424 passed, 2 failed, 46 ignored` (`8 SKIPPED`: 6 per-lane DXIL forms refused by host adapter/driver, 1 `heap_window_out_of_memory_falls_back_to_the_switch_form` no heap windows, 1 `pso_measurement_compiles_an_exact_synthetic_record` Windows Developer Mode off). - All 3 new tests passed: - `hle::d3d12x::present::tests::the_title_counts_dxc_compiles_and_driver_builds` - `hle::d3d12x::real::big_compile_tests::driver_builds_count_while_running_and_once_done` - `hle::d3d12x::real::big_compile_tests::every_driver_call_is_counted_and_a_blob_load_is_not` - The 2 failures (`gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` and `fuzz_validate_and_gpu_3`) are pre-existing on unmodified `main` on this RX 9060 XT / driver `32.0.31044.16`. - `cargo build --release -p xcl` + 60 s retail-title smoke test (`scripts/smoke.ps1`, offline): ``` xcl-smoke v1 commit: ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae gpu: AMD Radeon RX 9060 XT title: 21222967 seconds: 60 exit: 0x0 frames shown: 1617 (PresentX 1617) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 18670 MB ``` (Compare against `main` `b49be183` on this machine: `1603 frames, 18576 MB peak, 0 device removals, 0 crashes`.) **Not tested** - NVIDIA / Intel GPUs, Linux / Wine. **AI use** - Verification run and report prepared with Antigravity (Gemini 4 Neon); all build, test, and smoke results are from live runs on this machine.
Kalmarv commented 2026-11-26 11:05:09 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Kalmarv on 2026-11-26T10:37:29Z.


Thanks @emirduran707 for the RX 9060 XT run on ca6a0cc: 1,424 passed, with the two fuzz failures you saw on main too; all 3 new tests passed; the 60 s smoke drew 1,617 frames with 0 removals and 0 crashes. That covers AMD for this PR; NVIDIA beyond our own card, Intel and Linux are still untested by others.

AI use: Claude Code (Claude Opus 5.5) drafted this comment from the linked report.

<!-- greyfinch-sync:ivall/xcl:comment:7189612699 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2670#issuecomment-7189612699). Originally posted by [Kalmarv](https://github.com/Kalmarv) on 2026-11-26T10:37:29Z. --- Thanks @emirduran707 for the RX 9060 XT run on `ca6a0cc`: 1,424 passed, with the two fuzz failures you saw on main too; all 3 new tests passed; the 60 s smoke drew 1,617 frames with 0 removals and 0 crashes. That covers AMD for this PR; NVIDIA beyond our own card, Intel and Linux are still untested by others. AI use: Claude Code (Claude Opus 5.5) drafted this comment from the linked report.
Decodere commented 2026-11-27 00:04:06 +00:00 (Migrated from github.com)

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


Independent desktop NVIDIA verification of PR #2670 at head ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae (1 commit; exact parent & merge-base: e1d84b7d9153f86a97d2ec5d209d196046fc0bea, pre-#2555 ancestor of main).

Environment

  • GPU: NVIDIA GeForce RTX 4060 (8 GB / 7956 MiB reported by D3D12), 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 (ca6a0cc0)

Command Result
cargo test --release -p xcl the_title_counts_dxc_compiles_and_driver_builds -- --nocapture (3 consecutive runs) 1 passed; 0 failed; 0 ignored; 1326 filtered out × 3 (0.00s × 3)
cargo test --release -p xcl driver_builds_count_while_running_and_once_done -- --nocapture (3 consecutive runs) 1 passed; 0 failed; 0 ignored; 1326 filtered out × 3 (0.00s × 3)
cargo test --release -p xcl every_driver_call_is_counted_and_a_blob_load_is_not -- --nocapture (3 consecutive runs) 1 passed; 0 failed; 0 ignored; 1326 filtered out × 3 (0.02s × 3)
cargo test --release -p xcl hle::d3d12x::present:: (3 consecutive runs) 10 passed; 0 failed; 0 ignored; 1317 filtered out × 3 (0.02s × 3)
cargo test --release -p xcl hle::d3d12x::real:: -- --test-threads=1 (3 consecutive runs) 61 passed; 0 failed; 0 ignored; 1266 filtered out × 3 (1.91s, 1.91s, 1.92s, 0 skipped)
cargo build --release -p xcl Clean build (exit 0, 0 new warnings)

Paired quiet 60 s retail smoke (title: 29640639)

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

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

PR #2670 (ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae):

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

Runtime log observations (xcl.log)

  • 9224 log lines, 0 [ERROR] / device-removal / panic lines.
  • 5 graphics PSOs built/loaded from translated console shaders (recomp_dxc_ok=0, recomp_dxc_cached=0, recomp_dxc_failed=0 in report.json with existing warm shader/driver caches); 0 D3D12.X: slow driver compile lines (>= 1 s threshold not triggered on warm caches).
  • Final draw/memory telemetry in log: 19489 draws with translated pipelines (0 skipped, 0 with PC pipelines), 1024 dispatches (0 skipped); last memory sample 14025 MB committed by the process; video memory 6115 MB local, 4683 MB non-local.

Limits of coverage

  • Driver pipeline build accounting (running, waiting for a huge-compile slot, done, excluding cached blob loads) and window-title formatting were verified via all 3 new unit tests, hle::d3d12x::present:: (10/10 × 3), and hle::d3d12x::real:: (61/61 × 3).
  • The 60 s retail smoke ran with warm shader/driver caches (0 cold >= 1 s driver compiles logged) and did not visually capture the live Win32 window title bar during a cold pipeline compilation burst, so it confirms zero runtime regression in driver_pso / present.rs on title: 29640639 (frame-count and commit deltas vs. cached parent reflect single-run startup variance, not this PR).

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

<!-- greyfinch-sync:ivall/xcl:comment:7206141921 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2670#issuecomment-7206141921). Originally posted by [Decodere](https://github.com/Decodere) on 2026-11-27T00:04:06Z. --- Independent desktop NVIDIA verification of **PR #2670** at head `ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae` (`1` commit; exact parent & merge-base: `e1d84b7d9153f86a97d2ec5d209d196046fc0bea`, pre-`#2555` ancestor of `main`). ### Environment - **GPU:** NVIDIA GeForce RTX 4060 (8 GB / `7956 MiB` reported by D3D12), 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 (`ca6a0cc0`) | Command | Result | | --- | --- | | `cargo test --release -p xcl the_title_counts_dxc_compiles_and_driver_builds -- --nocapture` (3 consecutive runs) | `1 passed; 0 failed; 0 ignored; 1326 filtered out` × 3 (`0.00s` × 3) | | `cargo test --release -p xcl driver_builds_count_while_running_and_once_done -- --nocapture` (3 consecutive runs) | `1 passed; 0 failed; 0 ignored; 1326 filtered out` × 3 (`0.00s` × 3) | | `cargo test --release -p xcl every_driver_call_is_counted_and_a_blob_load_is_not -- --nocapture` (3 consecutive runs) | `1 passed; 0 failed; 0 ignored; 1326 filtered out` × 3 (`0.02s` × 3) | | `cargo test --release -p xcl hle::d3d12x::present::` (3 consecutive runs) | `10 passed; 0 failed; 0 ignored; 1317 filtered out` × 3 (`0.02s` × 3) | | `cargo test --release -p xcl hle::d3d12x::real:: -- --test-threads=1` (3 consecutive runs) | `61 passed; 0 failed; 0 ignored; 1266 filtered out` × 3 (`1.91s`, `1.91s`, `1.92s`, `0` skipped) | | `cargo build --release -p xcl` | Clean build (exit `0`, `0` new warnings) | ### Paired quiet 60 s retail smoke (`title: 29640639`) Exact parent & merge-base (`e1d84b7d9153f86a97d2ec5d209d196046fc0bea`, cached baseline on the same machine): ``` xcl-smoke v1 commit: e1d84b7d9153f86a97d2ec5d209d196046fc0bea gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1531 (PresentX 1531) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 13982 MB ``` PR #2670 (`ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae`): ``` xcl-smoke v1 commit: ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1582 (PresentX 1582) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14025 MB ``` ### Runtime log observations (`xcl.log`) - `9224` log lines, `0` `[ERROR]` / device-removal / panic lines. - `5` graphics PSOs built/loaded from translated console shaders (`recomp_dxc_ok=0`, `recomp_dxc_cached=0`, `recomp_dxc_failed=0` in `report.json` with existing warm shader/driver caches); `0` `D3D12.X: slow driver compile` lines (`>= 1 s` threshold not triggered on warm caches). - Final draw/memory telemetry in log: `19489 draws with translated pipelines (0 skipped, 0 with PC pipelines), 1024 dispatches (0 skipped)`; last memory sample `14025 MB committed by the process; video memory 6115 MB local, 4683 MB non-local`. ### Limits of coverage - Driver pipeline build accounting (running, waiting for a huge-compile slot, done, excluding cached blob loads) and window-title formatting were verified via all 3 new unit tests, `hle::d3d12x::present::` (`10/10` × 3), and `hle::d3d12x::real::` (`61/61` × 3). - The 60 s retail smoke ran with warm shader/driver caches (`0` cold `>= 1 s` driver compiles logged) and did not visually capture the live Win32 window title bar during a cold pipeline compilation burst, so it confirms zero runtime regression in `driver_pso` / `present.rs` on `title: 29640639` (frame-count and commit deltas vs. cached parent reflect single-run startup variance, not this PR). *AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).*
JJAutoCompare commented 2026-11-27 00:32:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-27T00:32:03Z.


Tested: Clean ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae, Windows 11 build 26200.9974, Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175, Rust 1.100.0 MSVC debug. Built cargo test --locked -j 2 -p xcl --test gpu_compute_e2e --no-run. Three exact Arc fixtures passed with --test-threads=1 --nocapture: async_compute_pso_registers_real_pso_and_not_standin, console_wave64_compute_through_the_pso_hook_dispatch_and_read_back, and offline_compute_pipeline_is_reused_by_a_second_process. Zero failures, ignores or skips. These exercised driver builds, readback, and cross-process cache recovery; the tests do not directly assert the live window caption.

Not tested: Live compiling/slot-wait captions, workspace suite and retail smoke.

AI use: T3 Code / Codex (gpt-6.2-sol) ran and reran the checks and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7206540719 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2670#issuecomment-7206540719). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-27T00:32:03Z. --- **Tested:** Clean `ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae`, Windows 11 build 26200.9974, Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175, Rust 1.100.0 MSVC debug. Built `cargo test --locked -j 2 -p xcl --test gpu_compute_e2e --no-run`. Three exact Arc fixtures passed with `--test-threads=1 --nocapture`: `async_compute_pso_registers_real_pso_and_not_standin`, `console_wave64_compute_through_the_pso_hook_dispatch_and_read_back`, and `offline_compute_pipeline_is_reused_by_a_second_process`. Zero failures, ignores or skips. These exercised driver builds, readback, and cross-process cache recovery; the tests do not directly assert the live window caption. **Not tested:** Live compiling/slot-wait captions, workspace suite and retail smoke. **AI use:** T3 Code / Codex (`gpt-6.2-sol`) ran and reran the checks and drafted this report.
throny commented 2026-11-28 03:01:28 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-28T03:01:28Z.


merge-check claim
head: ca6a0cc0e8

<!-- greyfinch-sync:ivall/xcl:comment:7232743579 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2670#issuecomment-7232743579). Originally posted by [throny](https://github.com/throny) on 2026-11-28T03:01:28Z. --- merge-check claim head: ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae
throny commented 2026-11-28 03:16:08 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-28T03:16:08Z.


merge-check
base: 753e8b1a
head: ca6a0cc0e8
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 1515 passed, 0 failed, 47 ignored (26 SKIPPED lines); base alone: 1512 passed, 0 failed, 47 ignored
review: none blocking. Open from the thread and confirmed on main: the two-pass compute pass attaches a cached blob but passes no record, so a warm blob load is counted as a build (cosmetic). Minor: a panic in build() leaves a thread-local flag set. New by default: a log line for every driver compile of one second or more. For whoever merges: textual conflict with #1665 in driver_compile_identified; whichever lands second needs a rebase.
performance: the title text is set from the window's own timer on the UI thread, every 500 ms and only when it changed, so it cannot block on another thread; one TLS read and two atomics per driver pipeline build (reasoned).
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:7232934622 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2670#issuecomment-7232934622). Originally posted by [throny](https://github.com/throny) on 2026-11-28T03:16:08Z. --- merge-check base: 753e8b1a head: ca6a0cc0e8f5bed2a3f7f96c23429674961a02ae merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 1515 passed, 0 failed, 47 ignored (26 SKIPPED lines); base alone: 1512 passed, 0 failed, 47 ignored review: none blocking. Open from the thread and confirmed on main: the two-pass compute pass attaches a cached blob but passes no record, so a warm blob load is counted as a build (cosmetic). Minor: a panic in build() leaves a thread-local flag set. New by default: a log line for every driver compile of one second or more. For whoever merges: textual conflict with #1665 in driver_compile_identified; whichever lands second needs a rebase. performance: the title text is set from the window's own timer on the UI thread, every 500 ms and only when it changed, so it cannot block on another thread; one TLS read and two atomics per driver pipeline build (reasoned). 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).
Foniass commented 2026-12-01 06:02:06 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:02:06Z.


Review (head ca6a0cc0, diff read, not a merge-check; it conflicts with main, so not built or run):

  • Superseded by main. 8de71805 ("D3D12.X: count driver pipeline builds in the window title", merged through the #2959 stack) is this change plus two fixes:
    • here BLOB_SUPPLIED is taken from record, so the two-pass compute pass and the mesh pass, which pass record: None even when they load a cached blob, count as builds; main passes cached as its own argument;
    • here the flag is restored after build() without a guard, so a panic leaves it set; main restores it in a Drop guard.

Fine: the present.rs title text and its test are identical to main's. Recommendation: close as superseded by 8de71805.

AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7302403733 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2670#issuecomment-7302403733). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T06:02:06Z. --- Review (head ca6a0cc0, diff read, not a merge-check; it conflicts with main, so not built or run): - **Superseded by main.** 8de71805 ("D3D12.X: count driver pipeline builds in the window title", merged through the #2959 stack) is this change plus two fixes: - here `BLOB_SUPPLIED` is taken from `record`, so the two-pass compute pass and the mesh pass, which pass `record: None` even when they load a cached blob, count as builds; main passes `cached` as its own argument; - here the flag is restored after `build()` without a guard, so a panic leaves it set; main restores it in a `Drop` guard. Fine: the `present.rs` title text and its test are identical to main's. Recommendation: close as superseded by 8de71805. AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
throny commented 2026-12-01 12:57:24 +00:00 (Migrated from github.com)

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


Closing as superseded: this change is already on main (8de71805). main 8de71805 counts driver pipeline builds in the window title (present.rs compiling_text, real.rs DRIVER_BUILDS, driver_build_counts); same change as the PR plus fixes (blob loads not counted, unwind-safe)

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

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

<!-- greyfinch-sync:ivall/xcl:comment:7311892315 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2670#issuecomment-7311892315). Originally posted by [throny](https://github.com/throny) on 2026-12-01T12:57:24Z. --- Closing as superseded: this change is already on `main` (8de71805). main 8de71805 counts driver pipeline builds in the window title (present.rs compiling_text, real.rs DRIVER_BUILDS, driver_build_counts); same change as the PR plus fixes (blob loads not counted, unwind-safe) Two independent checks found this: Foniass's close list on #1607 and ours against current `main`. If something here is still missing on `main`, say so and reopen it, or ask and I will. AI use: Claude Code (Claude Opus 5.5); the per-PR comparison was done by Claude Sonnet 5.5 sub-agents.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

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