D3D12.X: XCL_PSO_MANIFEST=1 writes the order a run asks for its pipelines (#2088) #2086

Closed
Anon64 wants to merge 1 commit from upstream-pr/2096 into main
Anon64 commented 2026-11-25 03:53:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Anon64 on 2026-11-25T03:53:03Z.


XCL_PSO_MANIFEST=1 writes the order in which a run asks for its pipelines, as it goes, to pso-manifest.txt beside used-pipelines.txt. It records which pipelines a title needs before each point of its start, in the order it needs them, and which ones it had to wait for. That is the input #2088's milestone precompile needs, and it is workstream 1's first part, as claimed there. Recording only, off by default: nothing is built, ordered or skipped differently. Part of #2088.

The file is new each run, one tab-separated event a line, numbered in file order, with milliseconds since the first event:

  • use: a pipeline's first use (pso_async's note_use, the same point that feeds used-pipelines.txt), its shader-set key, compute or graphics, and ready / cold (built by then or not);
  • build: each driver compile (driver_compile_identified): kind, DXIL bytes, the console record's hash and whether a driver blob was supplied, time in the driver, and time waiting for a compile slot;
  • present: the title's presents at milestones (1, 2, 4 … 1024, then every 1024th), so a manifest shows where presents stop and whether they come back.

What is in it

  • crates/xcl/src/hle/d3d12x/pso_manifest.rs (new): the switch, the line format, the file, and three unit tests (the line layout against the header, the present milestones, the order of a first use against a concurrent bind).
  • pso_async.rs: a use event in Pending::note_use, through pso_manifest::note_first: the line is written under the manifest's lock before the pipeline is marked used, so a second bind of it and anything recorded after come later in the file (found in review by @ettehn; test a_second_bind_comes_after_the_first_use_line, which fails with the old order).
  • real.rs: a build event in driver_compile_identified.
  • present.rs: a present event at the milestones.
  • mod.rs: the module.

Tested

  • NVIDIA GeForce RTX 3060 12 GB (driver 581.80, wave32), Windows 11 26200, 64 GB RAM, Rust stable MSVC.
  • After the rebase onto main 623d02e4 (head 6540f86e): cargo test --workspace --no-fail-fast -- --test-threads=4 (debug): 1427 passed, 34 failed, 47 ignored. All 34 failures were gpu::recomp::tests::gpu_* (code this PR does not touch); rerun alone, cargo test -p xcl --lib gpu::recomp::tests:: -- --test-threads=4: 167 passed, 0 failed, 17 ignored. So I read them as the GPU being busy with something else during the full run, not as a result of this change.
  • Before the rebase, cargo test --workspace --no-fail-fast -- --test-threads=4 (debug) on 3b84de8: 1156 passed, 1 failed, 46 ignored. The failure is hle::kernelx::tests::xmem_virtual_query_marks_cpu_readable_memory, which fails the same way on main. SKIPPED (no wave64 / no dxil.dll / per-lane refusals on this adapter): ir_text_assembles_signs_and_runs, a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu, coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu, cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu, the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu, a_per_lane_2d_or_3d_group_runs_on_the_gpu, const_and_null_mask_operands_agree_with_hlsl_on_the_gpu, f16_programs_on_the_gpu, f32_programs_on_the_gpu, f64_programs_on_the_gpu, integer_programs_on_the_gpu, mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu, gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware, heap_window_out_of_memory_falls_back_to_the_switch_form.
  • A retail title with XCL_PSO_MANIFEST=1 XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_PSO_PRELOAD=0, release, 150 s, A pressed every 4 s. XCL's DXIL cache and the NVIDIA cache were warm from earlier runs; the driver-blob column says which builds got a blob. The run wrote 1 030 lines: 511 first uses (510 cold, as expected with lazy pipelines and no preload), 508 driver builds, and presents up to the 1024th at 36.5 s. 12 pipelines were first used before that present; the other ~500 came after it, in the world load, where presents stop before the 2048th. No crash, no device removal.

Regression run
scripts/smoke.ps1 -Game <title folder>, 60 s, release, default settings (XCL_PSO_MANIFEST unset), A pressed every 4 s from 20 s:

main:

xcl-smoke v1
commit: 623d02e465a17497a757a4ce867f482b0a6c8f3b
gpu: NVIDIA GeForce RTX 3060
title: retail-1
seconds: 60
exit: 0x0
frames shown: 1339 (PresentX 1339)
presents per 2 s (last 3): 3 2 3
device removals: 0
crashes: 0
peak commit: 25957 MB

this PR:

xcl-smoke v1
commit: 6540f86e3e9fd1bedd2e3a52a2588dbda0cc94b1
gpu: NVIDIA GeForce RTX 3060
title: retail-1
seconds: 60
exit: 0x0
frames shown: 1677 (PresentX 1677)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 17032 MB

Not tested

  • AMD; Linux / Wine.
  • The milestone precompile that would consume this (#2088's workstream 1, second part); not in this PR.
  • A cold-cache run: the manifest records cache state per build, but I did not clear the caches for this run.
  • XCL_LAZY_PSO=0: reviewers measured that a compute pipeline built at creation gets a build record but no use record (@itsSio, @ettehn on bb4dea4). With the default lazy pipelines the use record is there. A manifest captured with XCL_LAZY_PSO=0 is incomplete.

AI use

  • Claude Code (Claude Opus 5.5) wrote the code, the tests and this description, and ran the tests and the title runs on this machine.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5484854215 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096). Originally posted by [Anon64](https://github.com/Anon64) on 2026-11-25T03:53:03Z. --- `XCL_PSO_MANIFEST=1` writes the order in which a run asks for its pipelines, as it goes, to `pso-manifest.txt` beside `used-pipelines.txt`. It records which pipelines a title needs before each point of its start, in the order it needs them, and which ones it had to wait for. That is the input #2088's milestone precompile needs, and it is workstream 1's first part, as claimed there. Recording only, off by default: nothing is built, ordered or skipped differently. Part of #2088. The file is new each run, one tab-separated event a line, numbered in file order, with milliseconds since the first event: - `use`: a pipeline's first use (`pso_async`'s `note_use`, the same point that feeds `used-pipelines.txt`), its shader-set key, compute or graphics, and `ready` / `cold` (built by then or not); - `build`: each driver compile (`driver_compile_identified`): kind, DXIL bytes, the console record's hash and whether a driver blob was supplied, time in the driver, and time waiting for a compile slot; - `present`: the title's presents at milestones (1, 2, 4 … 1024, then every 1024th), so a manifest shows where presents stop and whether they come back. **What is in it** - `crates/xcl/src/hle/d3d12x/pso_manifest.rs` (new): the switch, the line format, the file, and three unit tests (the line layout against the header, the present milestones, the order of a first use against a concurrent bind). - `pso_async.rs`: a `use` event in `Pending::note_use`, through `pso_manifest::note_first`: the line is written under the manifest's lock before the pipeline is marked used, so a second bind of it and anything recorded after come later in the file (found in review by @ettehn; test `a_second_bind_comes_after_the_first_use_line`, which fails with the old order). - `real.rs`: a `build` event in `driver_compile_identified`. - `present.rs`: a `present` event at the milestones. - `mod.rs`: the module. **Tested** - NVIDIA GeForce RTX 3060 12 GB (driver 581.80, wave32), Windows 11 26200, 64 GB RAM, Rust stable MSVC. - After the rebase onto `main` `623d02e4` (head `6540f86e`): `cargo test --workspace --no-fail-fast -- --test-threads=4` (debug): 1427 passed, 34 failed, 47 ignored. All 34 failures were `gpu::recomp::tests::gpu_*` (code this PR does not touch); rerun alone, `cargo test -p xcl --lib gpu::recomp::tests:: -- --test-threads=4`: 167 passed, 0 failed, 17 ignored. So I read them as the GPU being busy with something else during the full run, not as a result of this change. - Before the rebase, `cargo test --workspace --no-fail-fast -- --test-threads=4` (debug) on `3b84de8`: 1156 passed, 1 failed, 46 ignored. The failure is `hle::kernelx::tests::xmem_virtual_query_marks_cpu_readable_memory`, which fails the same way on `main`. SKIPPED (no wave64 / no dxil.dll / per-lane refusals on this adapter): `ir_text_assembles_signs_and_runs`, `a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu`, `coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu`, `cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu`, `the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu`, `a_per_lane_2d_or_3d_group_runs_on_the_gpu`, `const_and_null_mask_operands_agree_with_hlsl_on_the_gpu`, `f16_programs_on_the_gpu`, `f32_programs_on_the_gpu`, `f64_programs_on_the_gpu`, `integer_programs_on_the_gpu`, `mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu`, `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`, `heap_window_out_of_memory_falls_back_to_the_switch_form`. - A retail title with `XCL_PSO_MANIFEST=1 XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_PSO_PRELOAD=0`, release, 150 s, A pressed every 4 s. XCL's DXIL cache and the NVIDIA cache were warm from earlier runs; the driver-blob column says which builds got a blob. The run wrote 1 030 lines: 511 first uses (510 cold, as expected with lazy pipelines and no preload), 508 driver builds, and presents up to the 1024th at 36.5 s. 12 pipelines were first used before that present; the other ~500 came after it, in the world load, where presents stop before the 2048th. No crash, no device removal. **Regression run** `scripts/smoke.ps1 -Game <title folder>`, 60 s, release, default settings (`XCL_PSO_MANIFEST` unset), A pressed every 4 s from 20 s: main: ``` xcl-smoke v1 commit: 623d02e465a17497a757a4ce867f482b0a6c8f3b gpu: NVIDIA GeForce RTX 3060 title: retail-1 seconds: 60 exit: 0x0 frames shown: 1339 (PresentX 1339) presents per 2 s (last 3): 3 2 3 device removals: 0 crashes: 0 peak commit: 25957 MB ``` this PR: ``` xcl-smoke v1 commit: 6540f86e3e9fd1bedd2e3a52a2588dbda0cc94b1 gpu: NVIDIA GeForce RTX 3060 title: retail-1 seconds: 60 exit: 0x0 frames shown: 1677 (PresentX 1677) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 17032 MB ``` **Not tested** - AMD; Linux / Wine. - The milestone precompile that would consume this (#2088's workstream 1, second part); not in this PR. - A cold-cache run: the manifest records cache state per build, but I did not clear the caches for this run. - `XCL_LAZY_PSO=0`: reviewers measured that a compute pipeline built at creation gets a `build` record but no `use` record (@itsSio, @ettehn on `bb4dea4`). With the default lazy pipelines the `use` record is there. A manifest captured with `XCL_LAZY_PSO=0` is incomplete. **AI use** - Claude Code (Claude Opus 5.5) wrote the code, the tests and this description, and ran the tests and the title runs on this machine. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
anes66 commented 2026-11-25 06:05:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by anes66 on 2026-11-25T05:10:04Z.


CPU-only file-writer verification on exact head 5ffbb5ec8b5b4b475c603a3c14da1ed5d3847b9d passed. Optional test companion d098ec2 is directly on that head and adds one integration test only.

The unit-test build intentionally disables file creation, so this test compiles the unchanged pso_manifest.rs into a small non-test executable. Only cache-directory lookup and logging are supplied by the harness; the recorder, formatting, environment switch, file I/O and synchronization come from the real module. No GPU or title is involved.

Tested

  • Windows 10 Pro 19045, Ryzen 7 9800X3D, Rust 1.100.0 MSVC, debug. The machine has an RTX 3060; it was not used by these tests.
  • Eight isolated child invocations: unset / 0 / true leave a missing cache directory untouched; 1 and whitespace-padded 1 each record 1,024 mixed events from eight synchronized threads; an unset process preserves an existing file; a fresh enabled process replaces that file and restarts sequence numbering; an invalid destination remains intact and the recorder returns without crashing.
  • Every recorded event is checked for its payload, column layout, contiguous file sequence, nondecreasing timestamp, per-thread order, and absence of missing/duplicate events.
  • cargo test --locked -p xcl --test pso_manifest_processes -j 2 -- --nocapture --test-threads=1: 1 passed, 0 failed, 0 ignored, 0 skips.
  • cargo test --locked -p xcl --lib hle::d3d12x::pso_manifest::tests:: -j 2 -- --nocapture --test-threads=1: 2 passed, 0 failed, 0 ignored, 0 skips.
  • Three temporary negative controls failed as expected: append instead of truncate, bypass the enabled check, and allocate sequence numbers before acquiring the file lock (with a scheduling delay to expose reordering). All changes were restored before the final passing runs and commit.

Not tested

Actual note_use / driver / present call sites, first-use deduplication, correlation across event types, real cache-directory selection, GPU execution, retail milestones, release, full workspace suite, or performance. The test validates the recorder's file contract; it does not establish a startup speedup or first playable frame. No competing runtime PR.

AI use

Codex (GPT-6; exact variant unavailable) wrote the test and temporary negative controls, ran CPU verification and prepared this report.

<!-- greyfinch-sync:ivall/xcl:comment:7153511720 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7153511720). Originally posted by [anes66](https://github.com/anes66) on 2026-11-25T05:10:04Z. --- CPU-only file-writer verification on exact head `5ffbb5ec8b5b4b475c603a3c14da1ed5d3847b9d` passed. Optional test companion [d098ec2](https://github.com/anes66/xcl/commit/d098ec289b31b6cc7a00b88bc31994709fac9811) is directly on that head and adds one integration test only. The unit-test build intentionally disables file creation, so this test compiles the unchanged `pso_manifest.rs` into a small non-test executable. Only cache-directory lookup and logging are supplied by the harness; the recorder, formatting, environment switch, file I/O and synchronization come from the real module. No GPU or title is involved. **Tested** - Windows 10 Pro 19045, Ryzen 7 9800X3D, Rust 1.100.0 MSVC, debug. The machine has an RTX 3060; it was not used by these tests. - Eight isolated child invocations: unset / `0` / `true` leave a missing cache directory untouched; `1` and whitespace-padded `1` each record 1,024 mixed events from eight synchronized threads; an unset process preserves an existing file; a fresh enabled process replaces that file and restarts sequence numbering; an invalid destination remains intact and the recorder returns without crashing. - Every recorded event is checked for its payload, column layout, contiguous file sequence, nondecreasing timestamp, per-thread order, and absence of missing/duplicate events. - `cargo test --locked -p xcl --test pso_manifest_processes -j 2 -- --nocapture --test-threads=1`: **1 passed, 0 failed, 0 ignored, 0 skips**. - `cargo test --locked -p xcl --lib hle::d3d12x::pso_manifest::tests:: -j 2 -- --nocapture --test-threads=1`: **2 passed, 0 failed, 0 ignored, 0 skips**. - Three temporary negative controls failed as expected: append instead of truncate, bypass the enabled check, and allocate sequence numbers before acquiring the file lock (with a scheduling delay to expose reordering). All changes were restored before the final passing runs and commit. **Not tested** Actual `note_use` / driver / present call sites, first-use deduplication, correlation across event types, real cache-directory selection, GPU execution, retail milestones, release, full workspace suite, or performance. The test validates the recorder's file contract; it does not establish a startup speedup or first playable frame. No competing runtime PR. **AI use** Codex (GPT-6; exact variant unavailable) wrote the test and temporary negative controls, ran CPU verification and prepared this report.
DavidM1911 commented 2026-11-25 06:05:57 +00:00 (Migrated from github.com)

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


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7154081833 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7154081833). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T05:43:43Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
JoaoPauluu commented 2026-11-25 06:05:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JoaoPauluu on 2026-11-25T05:47:37Z.


A regression run under Wine on Linux on the retail title: no device removal, no crash, frames level with main (1353 here; 1360 and 1374 on the two main runs). This PR's run is with XCL_PSO_MANIFEST=1; the two new tests pass under Wine.

With XCL_PSO_MANIFEST=1 the run logged pipeline requests are written to C:\users\steamuser\AppData\Local\xcl\dxil\pso-manifest.txt at 3.9 s and wrote 245 events after the header:

  • 228 build: 227 graphics with cold, 1 with a driver blob. Their driver_ms sum to 17 ms and waited_ms to 0. I have not checked why the driver times are this low under vkd3d-proton. Three record hashes account for 222 of the builds (102, 102 and 18).
  • 6 use: 5 graphics ready, 1 compute ready.
  • 11 present, up to present 1024 at 45120 ms.

So this run has 6 first uses against 228 builds. Your run had 511 first uses. I have not checked whether the gap is expected, for example because builds that go through the stand-in path have no use event.

Tested

  • RTX 3060 12 GB (NVIDIA 620.70.06), i5-10400F, 16 GB, CachyOS (kernel 7.3.3), Proton Experimental 11.0-20261112 with the patched vkd3d-proton 3.1 from #257, DXC 1.9.2609.5. Release, cross-built for x86_64-pc-windows-gnu. 5ffbb5e as it is (based on cbc296a) and main 6020a33, no uncommitted changes. Retail title 1.0.2.1, scripts/linux/smoke.sh (#257) for 60 s, no input. Runs in order: main, this PR (with other PRs in between), main. The new lib tests ran under Wine, one test per process.

Regression run

main (first run):

xcl-smoke v1
commit: 6020a33b16ba2de25b3aef5947552f2dc1831f09
gpu: NVIDIA GeForce RTX 3060
title: GTA6.Xbox.v1.0.2.1
seconds: 60
exit: 0x0
frames shown: 1360 (PresentX 1360)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 0 MB

this PR:

xcl-smoke v1
commit: 5ffbb5ec8b5b4b475c603a3c14da1ed5d3847b9d
gpu: NVIDIA GeForce RTX 3060
title: GTA6.Xbox.v1.0.2.1
seconds: 60
exit: 0x0
frames shown: 1353 (PresentX 1354)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 0 MB

The second main run: 1374 frames, exit: 0x0, no device removal, no crash. Under Wine, peak commit reads 0 MB, so these blocks do not check memory.

Not tested

  • the whole test suite on this head, a run with input, XCL_DIRECT_DXIL=1, a cold driver cache, native Windows.

AI use

  • Claude Code (Claude Opus 5.5) built both commits, ran the tests and the runs and wrote this report. The account owner asked for test reports to be posted and has not reviewed this one.
<!-- greyfinch-sync:ivall/xcl:comment:7154143824 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7154143824). Originally posted by [JoaoPauluu](https://github.com/JoaoPauluu) on 2026-11-25T05:47:37Z. --- A regression run under Wine on Linux on the retail title: no device removal, no crash, frames level with `main` (1353 here; 1360 and 1374 on the two `main` runs). This PR's run is with `XCL_PSO_MANIFEST=1`; the two new tests pass under Wine. With `XCL_PSO_MANIFEST=1` the run logged `pipeline requests are written to C:\users\steamuser\AppData\Local\xcl\dxil\pso-manifest.txt` at 3.9 s and wrote 245 events after the header: - 228 `build`: 227 `graphics` with `cold`, 1 with a driver `blob`. Their `driver_ms` sum to 17 ms and `waited_ms` to 0. I have not checked why the driver times are this low under vkd3d-proton. Three record hashes account for 222 of the builds (102, 102 and 18). - 6 `use`: 5 `graphics ready`, 1 `compute ready`. - 11 `present`, up to `present 1024` at 45120 ms. So this run has 6 first uses against 228 builds. Your run had 511 first uses. I have not checked whether the gap is expected, for example because builds that go through the stand-in path have no `use` event. **Tested** - RTX 3060 12 GB (NVIDIA 620.70.06), i5-10400F, 16 GB, CachyOS (kernel 7.3.3), Proton Experimental 11.0-20261112 with the patched vkd3d-proton 3.1 from #257, DXC 1.9.2609.5. Release, cross-built for `x86_64-pc-windows-gnu`. `5ffbb5e` as it is (based on `cbc296a`) and `main` `6020a33`, no uncommitted changes. Retail title 1.0.2.1, `scripts/linux/smoke.sh` (#257) for 60 s, no input. Runs in order: main, this PR (with other PRs in between), main. The new lib tests ran under Wine, one test per process. **Regression run** main (first run): ``` xcl-smoke v1 commit: 6020a33b16ba2de25b3aef5947552f2dc1831f09 gpu: NVIDIA GeForce RTX 3060 title: GTA6.Xbox.v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 1360 (PresentX 1360) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 0 MB ``` this PR: ``` xcl-smoke v1 commit: 5ffbb5ec8b5b4b475c603a3c14da1ed5d3847b9d gpu: NVIDIA GeForce RTX 3060 title: GTA6.Xbox.v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 1353 (PresentX 1354) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 0 MB ``` The second `main` run: 1374 frames, `exit: 0x0`, no device removal, no crash. Under Wine, `peak commit` reads 0 MB, so these blocks do not check memory. **Not tested** - the whole test suite on this head, a run with input, `XCL_DIRECT_DXIL=1`, a cold driver cache, native Windows. **AI use** - Claude Code (Claude Opus 5.5) built both commits, ran the tests and the runs and wrote this report. The account owner asked for test reports to be posted and has not reviewed this one.
luckyteagirl commented 2026-11-25 06:06:04 +00:00 (Migrated from github.com)

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


Independent native Windows check of exact PR head 5ffbb5ec8b5b4b475c603a3c14da1ed5d3847b9d against main 6020a33b16ba2de25b3aef5947552f2dc1831f09.

Hardware/toolchain: Windows 11 build 26200, Ryzen 9 5980HX, Radeon RX 6800M driver 30.0.13002.13003, Rust 1.99.0 MSVC, DXC/DXIL 1.9.2609.5.

Tested

  • cargo test --locked -p xcl --lib -j 2 pso_manifest::tests -- --test-threads=1 --show-output: 2 passed, 0 failed, 0 ignored on the exact PR head.
  • cargo build --locked --workspace --release -j 2: passed.
  • Paired 7-second launches of my owned 1.0.2.1 title, each with isolated data and shader caches and a commit-memory guard. XCL_PSO_MANIFEST=1 was set on the PR run only. Both completed without the guard firing:
xcl-smoke v1
commit: 6020a33b16ba2de25b3aef5947552f2dc1831f09
gpu: AMD Radeon RX 6800M
title: 2ef5fd64
seconds: 7
exit: 0x0
frames shown: 1 (PresentX 1)
presents per 2 s (last 3): 0 0 0
device removals: 0
crashes: 0
peak commit: 6969 MB
xcl-smoke v1
commit: 5ffbb5ec8b5b4b475c603a3c14da1ed5d3847b9d
gpu: AMD Radeon RX 6800M
title: 2ef5fd64
seconds: 7
exit: 0x0
frames shown: 1 (PresentX 1)
presents per 2 s (last 3): 0 0 1
device removals: 0
crashes: 0
peak commit: 7057 MB

The PR created pso-manifest.txt in the isolated DXIL cache. It contained the v1 header and exactly one event, 0\t0\tpresent\t1, consistent with the one shown frame. used-pipelines.txt was empty. This short run did not reach a pipeline use or build event, a world-loading milestone, or a meaningful performance comparison. It checks the enabled recorder's startup, file location, and first-present event on this AMD setup; the two unit tests check line formatting and milestone selection.

No game data was uploaded. AI-assisted testing and report drafting with OpenAI Codex (GPT-6); I checked the exact revisions and local logs before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7154388274 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7154388274). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-25T06:02:56Z. --- Independent native Windows check of exact PR head `5ffbb5ec8b5b4b475c603a3c14da1ed5d3847b9d` against `main` `6020a33b16ba2de25b3aef5947552f2dc1831f09`. Hardware/toolchain: Windows 11 build 26200, Ryzen 9 5980HX, Radeon RX 6800M driver `30.0.13002.13003`, Rust 1.99.0 MSVC, DXC/DXIL 1.9.2609.5. **Tested** - `cargo test --locked -p xcl --lib -j 2 pso_manifest::tests -- --test-threads=1 --show-output`: **2 passed, 0 failed, 0 ignored** on the exact PR head. - `cargo build --locked --workspace --release -j 2`: passed. - Paired 7-second launches of my owned 1.0.2.1 title, each with isolated data and shader caches and a commit-memory guard. `XCL_PSO_MANIFEST=1` was set on the PR run only. Both completed without the guard firing: ```text xcl-smoke v1 commit: 6020a33b16ba2de25b3aef5947552f2dc1831f09 gpu: AMD Radeon RX 6800M title: 2ef5fd64 seconds: 7 exit: 0x0 frames shown: 1 (PresentX 1) presents per 2 s (last 3): 0 0 0 device removals: 0 crashes: 0 peak commit: 6969 MB ``` ```text xcl-smoke v1 commit: 5ffbb5ec8b5b4b475c603a3c14da1ed5d3847b9d gpu: AMD Radeon RX 6800M title: 2ef5fd64 seconds: 7 exit: 0x0 frames shown: 1 (PresentX 1) presents per 2 s (last 3): 0 0 1 device removals: 0 crashes: 0 peak commit: 7057 MB ``` The PR created `pso-manifest.txt` in the isolated DXIL cache. It contained the v1 header and exactly one event, `0\t0\tpresent\t1`, consistent with the one shown frame. `used-pipelines.txt` was empty. This short run did **not** reach a pipeline `use` or `build` event, a world-loading milestone, or a meaningful performance comparison. It checks the enabled recorder's startup, file location, and first-present event on this AMD setup; the two unit tests check line formatting and milestone selection. No game data was uploaded. AI-assisted testing and report drafting with OpenAI Codex (GPT-6); I checked the exact revisions and local logs before posting.
ettehn commented 2026-11-25 08:08:11 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ettehn on 2026-11-25T07:14:43Z.


CPU-only A/B for two binds of the same pending pipeline. On Windows 11 25H2 (26200.9974), Ryzen 9 8945HX and rustc 1.97.1 MSVC, I compiled the actual Pending::note_use body from 5ffbb5e, the real manifest writer, and the compute_prefix parser from #2104 in a small harness. It pauses the first bind inside used::note, then lets a second thread bind the same pending pipeline and emit Present(1) before releasing the first thread. The harness controls thread scheduling and writes to an isolated directory.

  • 5ffbb5e, 20/20: the file had present then use. The parser selected [] through present 1.
  • Local candidate, 20/20: the file had use then present. The parser selected [1]. The candidate writes the first-use event under the manifest lock before publishing the used flag when recording is enabled.

The candidate also passed the 3 manifest and 6 async-pipeline unit tests with cargo test --locked --offline -j 2 -p xcl --lib <filter> -- --test-threads=1. This is a controlled interleaving. Frequency during retail runs and recording overhead are unmeasured. No GPU or title was used.

Verification and local patch assisted by OpenAI Codex (GPT-6).

<!-- greyfinch-sync:ivall/xcl:comment:7155646743 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7155646743). Originally posted by [ettehn](https://github.com/ettehn) on 2026-11-25T07:14:43Z. --- **CPU-only A/B for two binds of the same pending pipeline.** On Windows 11 25H2 (26200.9974), Ryzen 9 8945HX and rustc 1.97.1 MSVC, I compiled the actual `Pending::note_use` body from `5ffbb5e`, the real manifest writer, and the `compute_prefix` parser from #2104 in a small harness. It pauses the first bind inside `used::note`, then lets a second thread bind the same pending pipeline and emit `Present(1)` before releasing the first thread. The harness controls thread scheduling and writes to an isolated directory. - `5ffbb5e`, **20/20**: the file had `present` then `use`. The parser selected `[]` through present 1. - Local candidate, **20/20**: the file had `use` then `present`. The parser selected `[1]`. The candidate writes the first-use event under the manifest lock before publishing the `used` flag when recording is enabled. The candidate also passed the 3 manifest and 6 async-pipeline unit tests with `cargo test --locked --offline -j 2 -p xcl --lib <filter> -- --test-threads=1`. This is a controlled interleaving. Frequency during retail runs and recording overhead are unmeasured. No GPU or title was used. Verification and local patch assisted by OpenAI Codex (GPT-6).
Anon64 commented 2026-11-25 08:08:13 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Anon64 on 2026-11-25T07:27:40Z.


@ettehn thanks, you're right. used.swap(true) published the flag before the line was written, so a second bind could go on, and a present could get into the file, ahead of the first use. Fixed in 3b84de8 (squashed into the PR's commit):

  • The fix: pso_manifest::note_first checks the flag, writes the use line and only then sets the flag, all under the manifest's lock. Pending::note_use goes through it. With recording off it is the old swap.
  • New test a_second_bind_comes_after_the_first_use_line: two threads bind one pipeline at once for 200 rounds. The losing one records a present as soon as its bind returns, and the test checks that the use line comes first and appears once.
  • Checked against the old order: I put that order (flag set, lock dropped, line written after) into the same function. The test failed at round 139 with present before use, your interleaving. That was with a yield_now added to widen the window, so in a real run it would be much rarer.

The full suite and the smoke pair on the new head are running; I'll update the description with both.

Written with Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:ivall/xcl:comment:7155884865 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7155884865). Originally posted by [Anon64](https://github.com/Anon64) on 2026-11-25T07:27:40Z. --- @ettehn thanks, you're right. `used.swap(true)` published the flag before the line was written, so a second bind could go on, and a present could get into the file, ahead of the first use. Fixed in `3b84de8` (squashed into the PR's commit): - **The fix:** `pso_manifest::note_first` checks the flag, writes the `use` line and only then sets the flag, all under the manifest's lock. `Pending::note_use` goes through it. With recording off it is the old `swap`. - **New test** `a_second_bind_comes_after_the_first_use_line`: two threads bind one pipeline at once for 200 rounds. The losing one records a present as soon as its bind returns, and the test checks that the `use` line comes first and appears once. - **Checked against the old order:** I put that order (flag set, lock dropped, line written after) into the same function. The test failed at round 139 with `present` before `use`, your interleaving. That was with a `yield_now` added to widen the window, so in a real run it would be much rarer. The full suite and the smoke pair on the new head are running; I'll update the description with both. Written with Claude Code (Claude Opus 5.5).
Gevroska commented 2026-11-25 09:08:10 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Gevroska on 2026-11-25T08:14:20Z.


Could you add a sentence to the manifest docs explaining when a build record is written? As I read the patch, it’s emitted when the driver compilation returns. Until then, the absence of a build line can mean the request is still waiting for a compile slot or the driver call is still in progress. The manifest alone can’t distinguish those cases.

I ran into that ambiguity when reviewing two RTX 3080 world-loading traces captured before this PR. The ordinary logs showed three driver calls in one run and four in the other. The earliest logged call started about 12 seconds after the last shown-present interval in the first run and 11 seconds after it in the second. None of the seven logged calls spanned the point where presentation stopped. That leaves earlier unlogged work unresolved. A short note would help anyone reading a manifest that ends during a stall.

I used Codex with GPT-6.2 Sol to analyze the saved traces. A separate GPT-6.2 Sol agent independently verified the timing comparison.

<!-- greyfinch-sync:ivall/xcl:comment:7156780975 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7156780975). Originally posted by [Gevroska](https://github.com/Gevroska) on 2026-11-25T08:14:20Z. --- Could you add a sentence to the manifest docs explaining when a `build` record is written? As I read the patch, it’s emitted when the driver compilation returns. Until then, the absence of a `build` line can mean the request is still waiting for a compile slot or the driver call is still in progress. The manifest alone can’t distinguish those cases. I ran into that ambiguity when reviewing two RTX 3080 world-loading traces captured before this PR. The ordinary logs showed three driver calls in one run and four in the other. The earliest logged call started about 12 seconds after the last shown-present interval in the first run and 11 seconds after it in the second. None of the seven logged calls spanned the point where presentation stopped. That leaves earlier unlogged work unresolved. A short note would help anyone reading a manifest that ends during a stall. I used Codex with GPT-6.2 Sol to analyze the saved traces. A separate GPT-6.2 Sol agent independently verified the timing comparison.
Anon64 commented 2026-11-25 09:08:13 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Anon64 on 2026-11-25T08:21:50Z.


Added in bb4dea4, in the module docs: a build line is written when the driver call returns, so a compile that is still waiting for a slot or still in the driver has no line yet, and a manifest that ends in a stall cannot tell those two apart. Smoke blocks in the description are rerun on the new head.

(Claude Code, Claude Opus 5.5)

<!-- greyfinch-sync:ivall/xcl:comment:7156932863 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7156932863). Originally posted by [Anon64](https://github.com/Anon64) on 2026-11-25T08:21:50Z. --- Added in `bb4dea4`, in the module docs: a `build` line is written when the driver call returns, so a compile that is still waiting for a slot or still in the driver has no line yet, and a manifest that ends in a stall cannot tell those two apart. Smoke blocks in the description are rerun on the new head. (Claude Code, Claude Opus 5.5)
raylitebull commented 2026-11-25 11:09:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by raylitebull on 2026-11-25T10:47:32Z.


Code review on bb4dea4:

  • pso_manifest::note_first_on cleanly checks and sets pending.used under the manifest mutex so losing concurrent binds never emit a present before the winning use line (a_second_bind_comes_after_the_first_use_line).
  • Diff audited and CI workflow approved (running).

Remaining before merge: Fix PR description, Build and test green, and dual-vendor verification on bb4dea4.

<!-- greyfinch-sync:ivall/xcl:comment:7160178806 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7160178806). Originally posted by [raylitebull](https://github.com/raylitebull) on 2026-11-25T10:47:32Z. --- Code review on `bb4dea4`: - `pso_manifest::note_first_on` cleanly checks and sets `pending.used` under the manifest mutex so losing concurrent binds never emit a `present` before the winning `use` line (`a_second_bind_comes_after_the_first_use_line`). - Diff audited and CI workflow approved (running). **Remaining before merge:** Fix `PR description`, `Build and test` green, and dual-vendor verification on `bb4dea4`.
itsSio commented 2026-11-25 12:06:33 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by itsSio on 2026-11-25T11:57:28Z.


The manifest omits the first-use event for a compute pipeline built synchronously with XCL_LAZY_PSO=0, even when its dispatch and readback succeed. Lazy-on runs recorded that event, including a new process reusing the DXIL cache directory. This is a limitation of the tested synchronous path, not evidence that a reused DXIL cache alone drops events. #2104 selects use rather than build records, so these manifests should not be assumed complete for milestone precompile.

Tested: Clean bb4dea405b5a108fc1a73e0de77537ed6fd93b59, Windows 11 Pro build 26200, NVIDIA 610.88, debug MSVC:

  • RTX 5080 16 GB, Ryzen 7 9800X3D, 32 GiB, Rust 1.97.0, DXC 1.9.2609.5.
  • RTX 2080 SUPER 8 GB, Ryzen 5 5600X, 16 GiB, Rust 1.99.1, DXC 1.8.2502.11.

On each PC ran cargo test -p xcl --locked -j 4 --test gpu_compute_e2e console_wave64_compute_through_the_pso_hook_dispatch_and_read_back -- --exact --nocapture --test-threads=1 with XCL_PSO_MANIFEST=1, XCL_ASYNC_PSO=1, and XCL_PSO_DISK_CACHE=0. Each run was 1 passed, 0 failed, 0 ignored, 0 runtime skips. With XCL_LAZY_PSO=1, both a fresh XCL DXIL cache and a subsequent process reusing it recorded one use, one build per PC (key b3b2fd750cde2d8d). With XCL_LAZY_PSO=0 and a separate fresh XCL DXIL cache, each PC recorded zero use, one build. The built record was f762fc1473e87d61 in all six runs. A targeted docs note about XCL_LAZY_PSO=0 would prevent readers from treating those captures as complete.

Downstream CLI check: On both machines cargo build --workspace --locked -j 4 succeeded at clean #2104 head f1810d0c362e73822e08bacf789e7422736ffafc. I appended one synthetic present 1 event to each capture because the readback test does not present. In xcl shaders <unrelated-synthetic-record> --precompile --pipelines --pso-manifest <capture> --through-present 1, both lazy-on captures selected the recorded key and exited 2 with unmatched compute keys (1): b3b2fd750cde2d8d, as expected for the deliberately unrelated input. The lazy-off build-only capture exited 0 with present 1: 0 compute pipelines in first-use order on both PCs. This confirms the CLI behavior, not a real startup milestone or a pipeline build.

Not tested: A matching #2104 precompile build, XCL_ASYNC_PSO=0, graphics, a retail title, AMD, or the whole workspace on these heads.

AI use

Ran via Samaritan:

  • OpenCode (Claude Opus 5.5): identified the manifest coverage gap and suggested a targeted replay.
  • OpenCode (GPT-6.2 Sol): ran both PC controls, checked the lazy deferral path, and drafted the report.
<!-- greyfinch-sync:ivall/xcl:comment:7161730101 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7161730101). Originally posted by [itsSio](https://github.com/itsSio) on 2026-11-25T11:57:28Z. --- The manifest omits the first-use event for a compute pipeline built synchronously with `XCL_LAZY_PSO=0`, even when its dispatch and readback succeed. Lazy-on runs recorded that event, including a new process reusing the DXIL cache directory. This is a limitation of the tested synchronous path, not evidence that a reused DXIL cache alone drops events. #2104 selects `use` rather than `build` records, so these manifests should not be assumed complete for milestone precompile. **Tested:** Clean `bb4dea405b5a108fc1a73e0de77537ed6fd93b59`, Windows 11 Pro build 26200, NVIDIA 610.88, debug MSVC: - RTX 5080 16 GB, Ryzen 7 9800X3D, 32 GiB, Rust 1.97.0, DXC 1.9.2609.5. - RTX 2080 SUPER 8 GB, Ryzen 5 5600X, 16 GiB, Rust 1.99.1, DXC 1.8.2502.11. On each PC ran `cargo test -p xcl --locked -j 4 --test gpu_compute_e2e console_wave64_compute_through_the_pso_hook_dispatch_and_read_back -- --exact --nocapture --test-threads=1` with `XCL_PSO_MANIFEST=1`, `XCL_ASYNC_PSO=1`, and `XCL_PSO_DISK_CACHE=0`. Each run was **1 passed, 0 failed, 0 ignored, 0 runtime skips**. With `XCL_LAZY_PSO=1`, both a fresh XCL DXIL cache and a subsequent process reusing it recorded **one `use`, one `build`** per PC (key `b3b2fd750cde2d8d`). With `XCL_LAZY_PSO=0` and a separate fresh XCL DXIL cache, each PC recorded **zero `use`, one `build`**. The built record was `f762fc1473e87d61` in all six runs. A targeted docs note about `XCL_LAZY_PSO=0` would prevent readers from treating those captures as complete. **Downstream CLI check:** On both machines `cargo build --workspace --locked -j 4` succeeded at clean #2104 head `f1810d0c362e73822e08bacf789e7422736ffafc`. I appended one synthetic `present 1` event to each capture because the readback test does not present. In `xcl shaders <unrelated-synthetic-record> --precompile --pipelines --pso-manifest <capture> --through-present 1`, both lazy-on captures selected the recorded key and exited **2** with `unmatched compute keys (1): b3b2fd750cde2d8d`, as expected for the deliberately unrelated input. The lazy-off build-only capture exited **0** with `present 1: 0 compute pipelines in first-use order` on both PCs. This confirms the CLI behavior, not a real startup milestone or a pipeline build. **Not tested:** A matching #2104 precompile build, `XCL_ASYNC_PSO=0`, graphics, a retail title, AMD, or the whole workspace on these heads. **AI use** Ran via Samaritan: - OpenCode (Claude Opus 5.5): identified the manifest coverage gap and suggested a targeted replay. - OpenCode (GPT-6.2 Sol): ran both PC controls, checked the lazy deferral path, and drafted the report.
ettehn commented 2026-11-25 14:10:07 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ettehn on 2026-11-25T13:46:47Z.


I reproduced @itsSio’s missing compute use record on clean bb4dea4 with a synthetic dispatch/readback on Windows 11, RTX 5070 Ti Laptop (621.24), DXC 1.8.2502.11. With XCL_ASYNC_PSO=1 and XCL_LAZY_PSO=0, the readback passed but the manifest contained one build and zero use records.

A local follow-up covers both paths. The eager background submission now carries the same shader key into Pending when manifest logging is enabled. The already-translated synchronous path keeps the key until first bind (or final release) and records it as ready. Neither changes scheduling or which PSOs enter the lazy preload history.

On the patched build, cold eager, warm eager, lazy, and async-off runs each recorded exactly one compute use for b3b2fd750cde2d8d, with one build and correct readback. Trace-off produced no manifest. A new GPU regression also checks that synchronous creation has no use yet, then calls the real SetPipelineState hook twice and checks that only one ready use follows the build. gpu_compute_e2e reported 5 passed, 0 failed, with one explicit skip (the existing heap-window fallback test). Synthetic input only.

OpenAI Codex assisted.

<!-- greyfinch-sync:ivall/xcl:comment:7164277244 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7164277244). Originally posted by [ettehn](https://github.com/ettehn) on 2026-11-25T13:46:47Z. --- I reproduced @itsSio’s missing compute use record on clean `bb4dea4` with a synthetic dispatch/readback on Windows 11, RTX 5070 Ti Laptop (621.24), DXC 1.8.2502.11. With `XCL_ASYNC_PSO=1` and `XCL_LAZY_PSO=0`, the readback passed but the manifest contained one `build` and zero `use` records. A local follow-up covers both paths. The eager background submission now carries the same shader key into `Pending` when manifest logging is enabled. The already-translated synchronous path keeps the key until first bind (or final release) and records it as `ready`. Neither changes scheduling or which PSOs enter the lazy preload history. On the patched build, cold eager, warm eager, lazy, and async-off runs each recorded exactly one compute `use` for `b3b2fd750cde2d8d`, with one build and correct readback. Trace-off produced no manifest. A new GPU regression also checks that synchronous creation has no `use` yet, then calls the real `SetPipelineState` hook twice and checks that only one `ready` use follows the build. `gpu_compute_e2e` reported 5 passed, 0 failed, with one explicit skip (the existing heap-window fallback test). Synthetic input only. OpenAI Codex assisted.
Anon64 commented 2026-11-25 18:04:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Anon64 on 2026-11-25T17:32:27Z.


@itsSio @ettehn thank you both: two machines and a third reproduction agree, so it's confirmed. With XCL_LAZY_PSO=0, a compute pipeline built at creation is never bound through a pending entry, so no use line is written for it. I've added this under Not tested in the description, so nobody treats such a capture as complete.

@ettehn, your follow-up covers both the eager and the already-translated synchronous path and comes with a GPU regression test. Rather than write a second version, could you open it as a PR stacked on this one (Stacked on #2096)? Pushing it to d3d12x/pso-manifest would also work. Either way I'll run it on the RTX 3060 and post the results there.

AI use: Claude Code, Claude Opus 5.5 read the reports and wrote this reply.

<!-- greyfinch-sync:ivall/xcl:comment:7169649573 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7169649573). Originally posted by [Anon64](https://github.com/Anon64) on 2026-11-25T17:32:27Z. --- @itsSio @ettehn thank you both: two machines and a third reproduction agree, so it's confirmed. With `XCL_LAZY_PSO=0`, a compute pipeline built at creation is never bound through a pending entry, so no `use` line is written for it. I've added this under **Not tested** in the description, so nobody treats such a capture as complete. @ettehn, your follow-up covers both the eager and the already-translated synchronous path and comes with a GPU regression test. Rather than write a second version, could you open it as a PR stacked on this one (`Stacked on #2096`)? Pushing it to `d3d12x/pso-manifest` would also work. Either way I'll run it on the RTX 3060 and post the results there. AI use: Claude Code, Claude Opus 5.5 read the reports and wrote this reply.
DavidM1911 commented 2026-11-26 08:04:39 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T07:28:42Z.


Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.

Thanks!

— Devin

<!-- greyfinch-sync:ivall/xcl:comment:7185500234 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7185500234). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-26T07:28:42Z. --- Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved. Thanks! — Devin
futurepro62 commented 2026-11-26 17:11:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-26T17:11:50Z.


NVIDIA and AMD full-suite run, to go with the reports above by ettehn, itsSio, since none of them covers AMD. Tested exact head bb4dea40 (on its base cbc296a).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests: 1145 passed, 0 failed, 44 ignored. SKIPPED (no wave64): a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu, a_per_lane_2d_or_3d_group_runs_on_the_gpu, coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu, cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu, gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware, the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu.
  • The new tests ran and passed: a_second_bind_comes_after_the_first_use_line, manifest_lines_have_one_column_layout_per_event, presents_are_noted_at_milestones.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1: 1156 passed, 0 failed, 46 ignored. SKIPPED: f16_programs_on_the_gpu (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • --skip leaves out tests that fail on main 8b957bec too, not because of this PR. On NVIDIA: heap_window_out_of_memory_falls_back_to_the_switch_form (#1651), the four gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu tests, const_and_null_mask_operands_agree_with_hlsl_on_the_gpu and mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu (follow-up on #1651) fail because runner::skip_test turns their skips into failures under XCL_REQUIRE_GPU=mesh, and gpu::dxil::fuzz_tests seeds 70, 545, 1019 and 1507 fail CreateComputePipelineState with E_OUTOFMEMORY on this card (drivers 616.64 and 621.40). On AMD: fuzz_validate_and_gpu_1 fails on seed 540 (res[833] 0x7 vs CPU 0x6). The AMD run does not set XCL_REQUIRE_GPU.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7198637070 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7198637070). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-26T17:11:50Z. --- NVIDIA and AMD full-suite run, to go with the reports above by ettehn, itsSio, since none of them covers AMD. Tested exact head `bb4dea40` (on its base `cbc296a`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests`: **1145 passed, 0 failed, 44 ignored**. SKIPPED (no wave64): `a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu`, `a_per_lane_2d_or_3d_group_runs_on_the_gpu`, `coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu`, `cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu`, `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`, `the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu`. - The new tests ran and passed: `a_second_bind_comes_after_the_first_use_line`, `manifest_lines_have_one_column_layout_per_event`, `presents_are_noted_at_milestones`. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1`: **1156 passed, 0 failed, 46 ignored**. SKIPPED: `f16_programs_on_the_gpu` (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - `--skip` leaves out tests that fail on main `8b957bec` too, not because of this PR. On NVIDIA: `heap_window_out_of_memory_falls_back_to_the_switch_form` (#1651), the four `gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu` tests, `const_and_null_mask_operands_agree_with_hlsl_on_the_gpu` and `mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu` ([follow-up on #1651](https://github.com/xcl-dev/xcl/issues/1651#issuecomment-7146069648)) fail because `runner::skip_test` turns their skips into failures under `XCL_REQUIRE_GPU=mesh`, and `gpu::dxil::fuzz_tests` seeds 70, 545, 1019 and 1507 fail `CreateComputePipelineState` with `E_OUTOFMEMORY` on this card (drivers 616.64 and 621.40). On AMD: `fuzz_validate_and_gpu_1` fails on seed 540 (`res[833]` 0x7 vs CPU 0x6). The AMD run does not set `XCL_REQUIRE_GPU`. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
oni-swr commented 2026-11-26 19:49:16 +00:00 (Migrated from github.com)

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


Independent AMD report for bb4dea405b5a108fc1a73e0de77537ed6fd93b59.

Tested

  • AMD Radeon RX 7800 XT (driver 32.0.31035.1003, XCL_ADAPTER unset), Ryzen 7 5700X3D, 64 GB, Windows 11 build 26200, rustc 1.100.0, debug profile for tests / release for xcl.exe, DXC from the Windows SDK. Exact PR head in a clean detached checkout (not merged onto main), own target directory per checkout; main was 8b957bec, merge-base below. Merge-base: cbc296ab65a2661a61e3e2da109134bcd5319f60.
  • cargo test --workspace --no-fail-fast -j 4 -- --test-threads=4 --nocapture: 1156 passed, 1 failed, 46 ignored. The one failure is gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 (seed 722: res[30] = 0x1, CPU 0x7fffffff); it fails identically on main 6d12f58a on this adapter (cargo test -p xcl --lib fuzz_validate_and_gpu_1), so it is not caused by this PR.
  • The first run had 3 e2e failures from my setup (the test title was not built next to the e2e binary); after cargo build --workspace the e2e test passed (cargo test -p xcl --test e2e), counts below include that rerun.
  • 7 SKIPPED lines: 6 f16_programs_on_the_gpu / f32_programs_on_the_gpu per-lane cases refused for V_MUL_F16, V_PK_MUL_F16 or V_CVT_F16_F32, and heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • The new pso_manifest::tests (manifest_lines_have_one_column_layout_per_event, presents_are_noted_at_milestones, a_second_bind_comes_after_the_first_use_line) passed. The retail runs were made without XCL_PSO_MANIFEST=1, so the manifest writer itself was not exercised on the title.

Regression run (scripts/smoke.ps1 -Seconds 60 -Title retail-title, one 60 s run each, same retail title, built from the merge-base and from this head)

xcl-smoke v1
commit: cbc296ab65a2661a61e3e2da109134bcd5319f60
gpu: AMD Radeon RX 7800 XT
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1436 (PresentX 1436)
presents per 2 s (last 3): 60 60 61
device removals: 0
crashes: 0
peak commit: 18193 MB
xcl-smoke v1
commit: bb4dea405b5a108fc1a73e0de77537ed6fd93b59
gpu: AMD Radeon RX 7800 XT
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1375 (PresentX 1375)
presents per 2 s (last 3): 60 57 60
device removals: 0
crashes: 0
peak commit: 17368 MB

No device removal, no crash; 1375 frames vs 1436 on the merge-base (95.7 %), peak commit 17368 MB vs 18193 MB.

Not tested

  • NVIDIA / other adapters, more than one run per build (frame counts vary from run to run), XCL_ADAPTER overrides, any title other than the one retail title. No game data was committed or posted.

AI use

Claude Code (Claude Sonnet 5.5) ran the tests and drafted this report. No game files, dumps, shader names or retail hashes are included; the title in the xcl-smoke blocks is replaced with retail-title.

<!-- greyfinch-sync:ivall/xcl:comment:7201995445 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7201995445). Originally posted by [oni-swr](https://github.com/oni-swr) on 2026-11-26T19:49:16Z. --- Independent AMD report for `bb4dea405b5a108fc1a73e0de77537ed6fd93b59`. **Tested** - AMD Radeon RX 7800 XT (driver 32.0.31035.1003, `XCL_ADAPTER` unset), Ryzen 7 5700X3D, 64 GB, Windows 11 build 26200, rustc 1.100.0, debug profile for tests / release for `xcl.exe`, DXC from the Windows SDK. Exact PR head in a clean detached checkout (not merged onto `main`), own target directory per checkout; `main` was `8b957bec`, merge-base below. Merge-base: `cbc296ab65a2661a61e3e2da109134bcd5319f60`. - `cargo test --workspace --no-fail-fast -j 4 -- --test-threads=4 --nocapture`: 1156 passed, 1 failed, 46 ignored. The one failure is `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` (seed 722: `res[30] = 0x1, CPU 0x7fffffff`); it fails identically on `main` `6d12f58a` on this adapter (`cargo test -p xcl --lib fuzz_validate_and_gpu_1`), so it is not caused by this PR. - The first run had 3 `e2e` failures from my setup (the test title was not built next to the e2e binary); after `cargo build --workspace` the `e2e` test passed (`cargo test -p xcl --test e2e`), counts below include that rerun. - 7 SKIPPED lines: 6 `f16_programs_on_the_gpu` / `f32_programs_on_the_gpu` per-lane cases refused for `V_MUL_F16`, `V_PK_MUL_F16` or `V_CVT_F16_F32`, and `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - The new `pso_manifest::tests` (`manifest_lines_have_one_column_layout_per_event`, `presents_are_noted_at_milestones`, `a_second_bind_comes_after_the_first_use_line`) passed. The retail runs were made without `XCL_PSO_MANIFEST=1`, so the manifest writer itself was not exercised on the title. **Regression run** (`scripts/smoke.ps1 -Seconds 60 -Title retail-title`, one 60 s run each, same retail title, built from the merge-base and from this head) ``` xcl-smoke v1 commit: cbc296ab65a2661a61e3e2da109134bcd5319f60 gpu: AMD Radeon RX 7800 XT title: retail-title seconds: 60 exit: 0x0 frames shown: 1436 (PresentX 1436) presents per 2 s (last 3): 60 60 61 device removals: 0 crashes: 0 peak commit: 18193 MB ``` ``` xcl-smoke v1 commit: bb4dea405b5a108fc1a73e0de77537ed6fd93b59 gpu: AMD Radeon RX 7800 XT title: retail-title seconds: 60 exit: 0x0 frames shown: 1375 (PresentX 1375) presents per 2 s (last 3): 60 57 60 device removals: 0 crashes: 0 peak commit: 17368 MB ``` No device removal, no crash; 1375 frames vs 1436 on the merge-base (95.7 %), peak commit 17368 MB vs 18193 MB. **Not tested** - NVIDIA / other adapters, more than one run per build (frame counts vary from run to run), `XCL_ADAPTER` overrides, any title other than the one retail title. No game data was committed or posted. **AI use** Claude Code (Claude Sonnet 5.5) ran the tests and drafted this report. No game files, dumps, shader names or retail hashes are included; the title in the `xcl-smoke` blocks is replaced with `retail-title`.
Decodere commented 2026-11-27 09:17:23 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Decodere on 2026-11-27T09:17:23Z.


Independent desktop NVIDIA verification of PR #2096 at head bb4dea405b5a108fc1a73e0de77537ed6fd93b59 (1 commit; exact parent & merge-base: cbc296ab65a2661a61e3e2da109134bcd5319f60, 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 (bb4dea40)

Command Result
cargo test --release -p xcl --lib hle::d3d12x::pso_manifest:: -- --test-threads=1 --nocapture (3 consecutive runs) 3 passed; 0 failed; 0 ignored; 1124 filtered out × 3 (0.04s × 3, 0 skipped: a_second_bind_comes_after_the_first_use_line, manifest_lines_have_one_column_layout_per_event, presents_are_noted_at_milestones)
cargo test --release -p xcl --lib hle::d3d12x::pso_async:: -- --test-threads=1 (3 consecutive runs) 6 passed; 0 failed; 0 ignored; 1121 filtered out × 3 (0.61s × 3, 0 skipped)
cargo build --release -p xcl Clean build (1m 25s, exit 0, 0 new warnings)

Paired quiet 60 s retail smoke (title: 29640639)

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

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

PR #2096 (bb4dea405b5a108fc1a73e0de77537ed6fd93b59, default flags — XCL_PSO_MANIFEST unset):

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

PR #2096 (bb4dea405b5a108fc1a73e0de77537ed6fd93b59, opt-in XCL_PSO_MANIFEST=1):

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

Live pso-manifest.txt capture (XCL_PSO_MANIFEST=1)

  • Generated pso-manifest.txt cleanly (13292 bytes, 246 lines total: 1 # xcl pso manifest v1: header line + 245 monotonic tab-separated event lines seq 0..244):
    • 6 use events (6 ready, 0 cold)
    • 228 build events
    • 11 present milestone events (1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, spanning 1183 ms to 38908 ms).

Limits of coverage

  • Both default (XCL_PSO_MANIFEST unset) and opt-in (XCL_PSO_MANIFEST=1) paths were directly exercised via unit tests (3/3 + 6/6 × 3) and paired 60 s retail smokes (0 device removals, 0 crashes, steady 60 60 60 presents), confirming live pso-manifest.txt emission on title: 29640639.
  • Because this retail run hit a warm shader cache (6 ready, 0 cold use lines), cold first-use recording under a completely cold driver/DXIL cache was not separately triggered in the retail smoke (covered by pso_manifest::tests).

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

<!-- greyfinch-sync:ivall/xcl:comment:7214503518 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7214503518). Originally posted by [Decodere](https://github.com/Decodere) on 2026-11-27T09:17:23Z. --- Independent desktop NVIDIA verification of **PR #2096** at head `bb4dea405b5a108fc1a73e0de77537ed6fd93b59` (`1` commit; exact parent & merge-base: `cbc296ab65a2661a61e3e2da109134bcd5319f60`, 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 (`bb4dea40`) | Command | Result | | --- | --- | | `cargo test --release -p xcl --lib hle::d3d12x::pso_manifest:: -- --test-threads=1 --nocapture` (3 consecutive runs) | `3 passed; 0 failed; 0 ignored; 1124 filtered out` × 3 (`0.04s` × 3, `0` skipped: `a_second_bind_comes_after_the_first_use_line`, `manifest_lines_have_one_column_layout_per_event`, `presents_are_noted_at_milestones`) | | `cargo test --release -p xcl --lib hle::d3d12x::pso_async:: -- --test-threads=1` (3 consecutive runs) | `6 passed; 0 failed; 0 ignored; 1121 filtered out` × 3 (`0.61s` × 3, `0` skipped) | | `cargo build --release -p xcl` | Clean build (`1m 25s`, exit `0`, `0` new warnings) | ### Paired quiet 60 s retail smoke (`title: 29640639`) Exact parent & merge-base (`cbc296ab65a2661a61e3e2da109134bcd5319f60`, cached baseline on the same machine): ``` xcl-smoke v1 commit: cbc296ab65a2661a61e3e2da109134bcd5319f60 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1572 (PresentX 1572) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14509 MB ``` PR #2096 (`bb4dea405b5a108fc1a73e0de77537ed6fd93b59`, default flags — `XCL_PSO_MANIFEST` unset): ``` xcl-smoke v1 commit: bb4dea405b5a108fc1a73e0de77537ed6fd93b59 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1565 (PresentX 1566) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14498 MB ``` PR #2096 (`bb4dea405b5a108fc1a73e0de77537ed6fd93b59`, opt-in `XCL_PSO_MANIFEST=1`): ``` xcl-smoke v1 commit: bb4dea405b5a108fc1a73e0de77537ed6fd93b59 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1584 (PresentX 1584) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14520 MB ``` ### Live `pso-manifest.txt` capture (`XCL_PSO_MANIFEST=1`) - Generated `pso-manifest.txt` cleanly (`13292` bytes, `246` lines total: `1` `# xcl pso manifest v1:` header line + `245` monotonic tab-separated event lines `seq 0..244`): - `6` `use` events (`6` `ready`, `0` `cold`) - `228` `build` events - `11` `present` milestone events (`1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`, `512`, `1024`, spanning `1183 ms` to `38908 ms`). ### Limits of coverage - Both default (`XCL_PSO_MANIFEST` unset) and opt-in (`XCL_PSO_MANIFEST=1`) paths were directly exercised via unit tests (`3/3` + `6/6` × 3) and paired 60 s retail smokes (`0` device removals, `0` crashes, steady `60 60 60` presents), confirming live `pso-manifest.txt` emission on `title: 29640639`. - Because this retail run hit a warm shader cache (`6` `ready`, `0` `cold` `use` lines), `cold` first-use recording under a completely cold driver/DXIL cache was not separately triggered in the retail smoke (covered by `pso_manifest::tests`). *AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).*
thehollowedone commented 2026-11-27 10:12:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-27T10:12:35Z.


Independent native Windows smoke check of PR #2096 at head bb4dea4 against current main 623d02e: the first pair finished without a crash or device removal, but the PR head showed 839/1,182 frames (71.0%). A repeat gave 862/1,356 (63.6%). Both are below the 80% regression-run threshold. Peak commit was 15,215/15,558 MB in the first pair and 15,205/14,991 MB in the repeat, within the 125% limit.

Both were clean release builds (cargo build --release --offline --locked -j 4 -p xcl --bin xcl), followed by scripts/smoke.ps1 -Seconds 60 on the same locally owned title, RTX 3080 Ti, with no input. The script generated these first-pair blocks:

main:

xcl-smoke v1
commit: 623d02e465a17497a757a4ce867f482b0a6c8f3b
gpu: NVIDIA GeForce RTX 3080 Ti
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1182 (PresentX 1182)
presents per 2 s (last 3): 60 58 57
device removals: 0
crashes: 0
peak commit: 15558 MB

this PR:

xcl-smoke v1
commit: bb4dea405b5a108fc1a73e0de77537ed6fd93b59
gpu: NVIDIA GeForce RTX 3080 Ti
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 839 (PresentX 839)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15215 MB

This does not isolate a slowdown caused by the manifest change. The PR head is 336 main commits behind. I set XCL_PREPARE=0 on both runs, but main now implements that switch, while this head predates it, so the two builds take different startup paths. The repeat used the same settings and remained below the frame threshold. Bringing the branch onto current main and regenerating both smoke blocks with matching effective startup behavior is needed before these results can establish merge readiness. The PR description's existing blocks also lack title: lines, which is why its current PR-description check fails.

Not tested: interactive menu/world load, manifest enabled, AMD, or the rebased change. No title data or diagnostics are attached. AI use: Codex (GPT-6.2 Sol) built both commits, ran the checks, and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7215606599 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7215606599). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-27T10:12:35Z. --- Independent native Windows smoke check of [PR #2096](https://github.com/xcl-dev/xcl/pull/2096) at head [`bb4dea4`](https://github.com/xcl-dev/xcl/commit/bb4dea405b5a108fc1a73e0de77537ed6fd93b59) against current [`main` `623d02e`](https://github.com/xcl-dev/xcl/commit/623d02e465a17497a757a4ce867f482b0a6c8f3b): the first pair finished without a crash or device removal, but the PR head showed 839/1,182 frames (71.0%). A repeat gave 862/1,356 (63.6%). Both are below the 80% regression-run threshold. Peak commit was 15,215/15,558 MB in the first pair and 15,205/14,991 MB in the repeat, within the 125% limit. Both were clean release builds (`cargo build --release --offline --locked -j 4 -p xcl --bin xcl`), followed by `scripts/smoke.ps1 -Seconds 60` on the same locally owned title, RTX 3080 Ti, with no input. The script generated these first-pair blocks: main: ``` xcl-smoke v1 commit: 623d02e465a17497a757a4ce867f482b0a6c8f3b gpu: NVIDIA GeForce RTX 3080 Ti title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1182 (PresentX 1182) presents per 2 s (last 3): 60 58 57 device removals: 0 crashes: 0 peak commit: 15558 MB ``` this PR: ``` xcl-smoke v1 commit: bb4dea405b5a108fc1a73e0de77537ed6fd93b59 gpu: NVIDIA GeForce RTX 3080 Ti title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 839 (PresentX 839) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15215 MB ``` This does **not** isolate a slowdown caused by the manifest change. The PR head is 336 main commits behind. I set `XCL_PREPARE=0` on both runs, but [main now implements that switch](https://github.com/xcl-dev/xcl/commit/8617577b), while this head predates it, so the two builds take different startup paths. The repeat used the same settings and remained below the frame threshold. Bringing the branch onto current main and regenerating both smoke blocks with matching *effective* startup behavior is needed before these results can establish merge readiness. The PR description's existing blocks also lack `title:` lines, which is why its current PR-description check fails. Not tested: interactive menu/world load, manifest enabled, AMD, or the rebased change. No title data or diagnostics are attached. AI use: Codex (GPT-6.2 Sol) built both commits, ran the checks, and drafted this report.
JJAutoCompare commented 2026-11-27 12:25:44 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-27T12:25:44Z.


Tested

Clean detached PR #2096 head 6540f86e3e on native Windows 11 25H2 (26200.9974), Intel Arc A770 (16,258 MiB reported, driver 32.0.101.9175), Ryzen 7 3800X, 48 GiB RAM, Rust 1.100.0 x86_64-pc-windows-msvc, DXC/DXIL 1.9.2602.17, unoptimized test profile.

  • cargo test --locked --offline -p xcl -j 2 --lib pso_manifest::tests:: -- --test-threads=1 --nocapture outside the GPU lock gave 3 passed, 0 failed, 0 ignored, 0 skips.
  • Built with cargo test --locked --offline -p xcl -j 2 --test gpu_compute_e2e --no-run --message-format=json. Ran its executable under the Arc A770 lock with console_wave64_compute_through_the_pso_hook_dispatch_and_read_back --exact --nocapture --test-threads=1 and measured 1 passed, 0 failed, 0 ignored, 0 skips, exit 0.
  • An external scratch adaptation linked the unmodified XCL library and ran lazy_compute_use_precedes_present_x --exact --nocapture --test-threads=1 under that lock. Two SetPipelineState requests for the same pending PSO emitted exactly one compute first-use row before explicit resolution. The translated shader's readback matched all 1,536 expected dwords across 768 threads. The raw manifest had sequence 0 use b3b2fd750cde2d8d compute cold, then sequence 1 build compute 6168 f762fc1473e87d61 cold. The scratch test then called the production PresentX handler. It reached one boundary and zero shown frames after CreateSwapChainForHwnd returned 0x887A0022 in Windows service session 0. The manifest had zero present rows. Scratch result 0 passed, 1 failed, 0 ignored, 0 skips, exit 101 at the shown-frame assertion.
  • Both GPU processes used XCL_ADAPTER=A770 XCL_PSO_MANIFEST=1 XCL_PSO_DISK_CACHE=0, default lazy and async settings, and fresh separate XCL cache and data directories. The runtime identified the A770 in both. Executable SHA-256 values matched before, under and after the lock. Implicit Intel driver cache state was uncontrolled.

Not tested

Successful PresentX milestone ordering, retail smoke, full workspace suite, synchronous compute, Wine, or the #2104 consumer. A driver build row is emitted at return. The manifest cannot distinguish an unfinished driver call from a build still waiting for a compile slot. A PresentX call alone does not establish a shown-frame milestone.

AI use

Codex in T3 Code (gpt-6.2-sol, high reasoning effort) wrote the external scratch adaptation and ran and documented the scoped verification.

<!-- greyfinch-sync:ivall/xcl:comment:7218231534 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7218231534). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-27T12:25:44Z. --- **Tested** Clean detached PR #2096 head 6540f86e3e9fd1bedd2e3a52a2588dbda0cc94b1 on native Windows 11 25H2 (26200.9974), Intel Arc A770 (16,258 MiB reported, driver 32.0.101.9175), Ryzen 7 3800X, 48 GiB RAM, Rust 1.100.0 x86_64-pc-windows-msvc, DXC/DXIL 1.9.2602.17, unoptimized test profile. - `cargo test --locked --offline -p xcl -j 2 --lib pso_manifest::tests:: -- --test-threads=1 --nocapture` outside the GPU lock gave **3 passed, 0 failed, 0 ignored, 0 skips**. - Built with `cargo test --locked --offline -p xcl -j 2 --test gpu_compute_e2e --no-run --message-format=json`. Ran its executable under the Arc A770 lock with `console_wave64_compute_through_the_pso_hook_dispatch_and_read_back --exact --nocapture --test-threads=1` and measured **1 passed, 0 failed, 0 ignored, 0 skips**, exit 0. - An external scratch adaptation linked the unmodified XCL library and ran `lazy_compute_use_precedes_present_x --exact --nocapture --test-threads=1` under that lock. Two `SetPipelineState` requests for the same pending PSO emitted exactly one compute first-use row before explicit resolution. The translated shader's readback matched all 1,536 expected dwords across 768 threads. The raw manifest had sequence **0** `use b3b2fd750cde2d8d compute cold`, then sequence **1** `build compute 6168 f762fc1473e87d61 cold`. The scratch test then called the production PresentX handler. It reached one boundary and zero shown frames after `CreateSwapChainForHwnd` returned `0x887A0022` in Windows service session 0. The manifest had zero present rows. Scratch result **0 passed, 1 failed, 0 ignored, 0 skips**, exit 101 at the shown-frame assertion. - Both GPU processes used `XCL_ADAPTER=A770 XCL_PSO_MANIFEST=1 XCL_PSO_DISK_CACHE=0`, default lazy and async settings, and fresh separate XCL cache and data directories. The runtime identified the A770 in both. Executable SHA-256 values matched before, under and after the lock. Implicit Intel driver cache state was uncontrolled. **Not tested** Successful PresentX milestone ordering, retail smoke, full workspace suite, synchronous compute, Wine, or the #2104 consumer. A driver build row is emitted at return. The manifest cannot distinguish an unfinished driver call from a build still waiting for a compile slot. A PresentX call alone does not establish a shown-frame milestone. **AI use** Codex in T3 Code (gpt-6.2-sol, high reasoning effort) wrote the external scratch adaptation and ran and documented the scoped verification.
oni-swr commented 2026-11-27 13:22:46 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by oni-swr on 2026-11-27T13:22:46Z.


Running a native Windows AMD check of head 6540f86e (RX 7800 XT, RDNA3, native wave64): workspace tests plus a bounded base-vs-head smoke pair; report here in a few hours.
AI use: the run and the report are done with Claude Code (Claude Sonnet 5.5).

<!-- greyfinch-sync:ivall/xcl:comment:7219405067 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7219405067). Originally posted by [oni-swr](https://github.com/oni-swr) on 2026-11-27T13:22:46Z. --- Running a native Windows AMD check of head `6540f86e` (RX 7800 XT, RDNA3, native wave64): workspace tests plus a bounded base-vs-head smoke pair; report here in a few hours. AI use: the run and the report are done with Claude Code (Claude Sonnet 5.5).
oni-swr commented 2026-11-27 14:14:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by oni-swr on 2026-11-27T14:14:50Z.


AMD RDNA3 report for #2096, head 6540f86e (base = merge-base 623d02e4)

Hardware / software: AMD Radeon RX 7800 XT (RDNA3, native wave64), driver 32.0.31035.1003; Ryzen 7 5700X3D, 64 GB; Windows 11 build 26200; Rust 1.100.0 (stable-x86_64-pc-windows-msvc); tests debug, smoke release. Native Windows, no Wine, XCL_ADAPTER unset.

What changed vs my earlier report on bb4dea40: the PR's patch is the same (the changed lines of bb4dea40^..bb4dea40 and 6540f86e^..6540f86e are identical); the head was only rebased, from cbc296ab onto 623d02e4. This is a fresh run on the new head, not a carry-over.

Tested

  • cargo test -p xcl --lib -- --test-threads=4 on the head: 1332 passed, 1 failed, 27 ignored; 6 GPU cases SKIPPED (f16/f32 conversion programs, "refused"). The failure is gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 (seed 722), which also fails on an older main commit (b49be183), so it is not from this PR.
  • cargo test -p xcl --lib pso_manifest: 3 passed.
  • XCL_PSO_MANIFEST=1, 40 s run of the head: exit 0x0, 736 frames, no device removal; pso-manifest.txt was written with the header and 1470 lines (1453 build, 7 use, 10 present).

Regression run (scripts/smoke.ps1, 90 s, retail title, same title and isolated data copy, XCL_NETWORK=0, XCL_PREPARE=0; manifest off)

base 623d02e4 head 6540f86e
frames shown / PresentX 2244 / 2244 2166 / 2166
presents per 2 s (last 3) 60 60 60 60 60 60
peak commit 14439 MB 14423 MB
device removals / crashes 0 / 0 0 / 0

Head is 96.5 % of base's frames, 99.9 % of its peak commit. One run each.

Not tested

  • Full cargo test --workspace; a long manifest run (world load); manifest ordering against a cold cache.
  • Wave32-only GPUs, NVIDIA, RDNA4.

AI use

  • Claude Code, Claude Sonnet 5.5: built the trees, ran the commands and wrote this report. Numbers come from real runs on the hardware above (logs kept locally).

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:comment:7220537946 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7220537946). Originally posted by [oni-swr](https://github.com/oni-swr) on 2026-11-27T14:14:50Z. --- **AMD RDNA3 report for #2096, head `6540f86e` (base = merge-base `623d02e4`)** **Hardware / software:** AMD Radeon RX 7800 XT (RDNA3, native wave64), driver 32.0.31035.1003; Ryzen 7 5700X3D, 64 GB; Windows 11 build 26200; Rust 1.100.0 (stable-x86_64-pc-windows-msvc); tests debug, smoke release. Native Windows, no Wine, `XCL_ADAPTER` unset. **What changed vs my earlier report on `bb4dea40`:** the PR's patch is the same (the changed lines of `bb4dea40^..bb4dea40` and `6540f86e^..6540f86e` are identical); the head was only rebased, from `cbc296ab` onto `623d02e4`. This is a fresh run on the new head, not a carry-over. **Tested** - `cargo test -p xcl --lib -- --test-threads=4` on the head: 1332 passed, 1 failed, 27 ignored; 6 GPU cases `SKIPPED` (f16/f32 conversion programs, "refused"). The failure is `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` (seed 722), which also fails on an older main commit (`b49be183`), so it is not from this PR. - `cargo test -p xcl --lib pso_manifest`: 3 passed. - `XCL_PSO_MANIFEST=1`, 40 s run of the head: exit 0x0, 736 frames, no device removal; `pso-manifest.txt` was written with the header and 1470 lines (1453 `build`, 7 `use`, 10 `present`). **Regression run** (`scripts/smoke.ps1`, 90 s, retail title, same title and isolated data copy, `XCL_NETWORK=0`, `XCL_PREPARE=0`; manifest off) | | base `623d02e4` | head `6540f86e` | |---|---|---| | frames shown / PresentX | 2244 / 2244 | 2166 / 2166 | | presents per 2 s (last 3) | 60 60 60 | 60 60 60 | | peak commit | 14439 MB | 14423 MB | | device removals / crashes | 0 / 0 | 0 / 0 | Head is 96.5 % of base's frames, 99.9 % of its peak commit. One run each. **Not tested** - Full `cargo test --workspace`; a long manifest run (world load); manifest ordering against a cold cache. - Wave32-only GPUs, NVIDIA, RDNA4. **AI use** - Claude Code, Claude Sonnet 5.5: built the trees, ran the commands and wrote this report. Numbers come from real runs on the hardware above (logs kept locally). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
thehollowedone commented 2026-11-27 14:30:17 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-27T14:30:17Z.


Independent RTX 3080 Ti recheck of #2096 head 6540f86e against current main 06f90c19. The current head did not reproduce the frame shortfall in my earlier run on bb4dea40 on this machine.

Tested: Windows 11 build 26300, RTX 3080 Ti / driver 621.35, Ryzen 7 9800X3D, rustc 1.99.1 MSVC, debug tests and clean release binaries. cargo build --workspace passed. cargo test --workspace --no-fail-fast -- --test-threads=4 on the exact PR head: 1,461 passed, 0 failed, 47 ignored. There were 25 GPU skip notices: 21 no-wave64 cases, three unsupported per-lane instruction cases, and one opt-in heap-window case. Both clean checkouts built with cargo build --release --offline --locked -j 4 -p xcl --bin xcl.

Two same-title, 60-second scripts/smoke.ps1 pairs used the same retained shader cache and settings: XCL_PSO_MANIFEST=1, XCL_DIRECT_DXIL=1, XCL_HEAP_WINDOWS=1, XCL_PSO_PRELOAD=0, and XCL_PREPARE=0. The last setting leaves automatic shader preparation out and lets the title request pipelines as it runs. The first pair showed 1,391 main / 1,419 PR frames (102.0%); the warm repeat showed 1,405 / 1,413 (100.6%). Peak commit was 14,942 / 14,978 MB and 14,978 / 14,971 MB, respectively. All four runs exited normally with zero crashes and device removals, and each ended at 60/60/60 presents per 2 seconds. A process-tree commit cap and system-headroom guard stayed inactive. The latest PR run wrote 23 sequential manifest events: six first uses, six builds and 11 present milestones through the 1,024th present.

Not tested: Input beyond the initial menu, world loading, automatic full shader preparation, and AMD/Intel. These paired runs establish the required smoke thresholds for this phase on this NVIDIA setup; they do not measure gameplay pacing.

Script-generated blocks from the warm main/head pair

main:

xcl-smoke v1
commit: 06f90c1986f43698d0405eff3c2ab0af230e1ed9
gpu: NVIDIA GeForce RTX 3080 Ti
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1405 (PresentX 1405)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14978 MB

PR head:

xcl-smoke v1
commit: 6540f86e3e9fd1bedd2e3a52a2588dbda0cc94b1
gpu: NVIDIA GeForce RTX 3080 Ti
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1413 (PresentX 1413)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14971 MB

AI use: Codex (GPT-6.2 Sol) ran the builds, tests and guarded smoke pairs, checked the counters, and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7220866103 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7220866103). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-27T14:30:17Z. --- Independent RTX 3080 Ti recheck of [#2096 head `6540f86e`](https://github.com/xcl-dev/xcl/commit/6540f86e3e9fd1bedd2e3a52a2588dbda0cc94b1) against current [main `06f90c19`](https://github.com/xcl-dev/xcl/commit/06f90c1986f43698d0405eff3c2ab0af230e1ed9). The current head did not reproduce the frame shortfall in [my earlier run on `bb4dea40`](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7215606599) on this machine. **Tested:** Windows 11 build 26300, RTX 3080 Ti / driver 621.35, Ryzen 7 9800X3D, rustc 1.99.1 MSVC, debug tests and clean release binaries. `cargo build --workspace` passed. `cargo test --workspace --no-fail-fast -- --test-threads=4` on the exact PR head: **1,461 passed, 0 failed, 47 ignored**. There were 25 GPU skip notices: 21 no-wave64 cases, three unsupported per-lane instruction cases, and one opt-in heap-window case. Both clean checkouts built with `cargo build --release --offline --locked -j 4 -p xcl --bin xcl`. Two same-title, 60-second `scripts/smoke.ps1` pairs used the same retained shader cache and settings: `XCL_PSO_MANIFEST=1`, `XCL_DIRECT_DXIL=1`, `XCL_HEAP_WINDOWS=1`, `XCL_PSO_PRELOAD=0`, and `XCL_PREPARE=0`. The last setting leaves automatic shader preparation out and lets the title request pipelines as it runs. The first pair showed **1,391 main / 1,419 PR frames** (102.0%); the warm repeat showed **1,405 / 1,413** (100.6%). Peak commit was **14,942 / 14,978 MB** and **14,978 / 14,971 MB**, respectively. All four runs exited normally with zero crashes and device removals, and each ended at 60/60/60 presents per 2 seconds. A process-tree commit cap and system-headroom guard stayed inactive. The latest PR run wrote 23 sequential manifest events: six first uses, six builds and 11 present milestones through the 1,024th present. **Not tested:** Input beyond the initial menu, world loading, automatic full shader preparation, and AMD/Intel. These paired runs establish the required smoke thresholds for this phase on this NVIDIA setup; they do not measure gameplay pacing. <details><summary>Script-generated blocks from the warm main/head pair</summary> main: ``` xcl-smoke v1 commit: 06f90c1986f43698d0405eff3c2ab0af230e1ed9 gpu: NVIDIA GeForce RTX 3080 Ti title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1405 (PresentX 1405) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14978 MB ``` PR head: ``` xcl-smoke v1 commit: 6540f86e3e9fd1bedd2e3a52a2588dbda0cc94b1 gpu: NVIDIA GeForce RTX 3080 Ti title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1413 (PresentX 1413) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14971 MB ``` </details> AI use: Codex (GPT-6.2 Sol) ran the builds, tests and guarded smoke pairs, checked the counters, and drafted this report.
ClosetPie107 commented 2026-11-27 16:12:32 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ClosetPie107 on 2026-11-27T16:12:32Z.


Tested on AMD / Linux: 6540f86e (RX 9070 16 GB, RDNA4, Mesa 26.3.1 RADV; Ryzen 5 9600X, 32 GB; CachyOS; Proton Experimental experimental-11.0-20261112 with vkd3d-proton master ec207194 plus a local patch dropping the lpVtbl checks of command allocators and lists; DXC 1.9.2609.5; Rust 1.96.0, x86_64-pc-windows-gnu debug build, tests run under Wine)

The head as it is (base 623d02e4), with main f9a0cb80 the same session as the baseline.

Tests (XCL_REQUIRE_GPU=wave64)

  • cargo test -p xcl --lib -- hle::d3d12x::pso_manifest:: --test-threads=1: 3 passed, 0 failed, 0 ignored.
  • cargo test -p xcl --lib -- hle::d3d12x::pso_async:: --test-threads=1: 14 passed, 0 failed, 0 ignored.
  • cargo test --workspace --no-fail-fast -- --test-threads=4 with --skip compositor_blends_ui_plane_over_scene_plane --skip failed_restore_stops_before_importing_an_unbacked_window --skip grooming_leaves_a_window_under_1_gib_only_its_hole (here the first loses the RADV device, the other two run out of memory under Wine): lib 1321 passed, 9 failed, 27 ignored; main f9a0cb80 lib (--test-threads=1, same skips): 1323 passed, 9 failed, 27 ignored. All failures but one are among main's. The other, flush_parked_does_not_free_or_reuse_tiles_while_unmap_is_in_flight, is flaky under load here: run alone 3 times it passed every time on this head and on main. The other binaries fail the same 3 tests as on main (e2e, pls_quota, predication_e2e).
  • d3d12_resource_and_sync: its fence and queue test ended the process here, as it does on main and most other trees in this setup.

Not tested

  • Native Windows, NVIDIA / Intel
  • A retail title with XCL_PSO_MANIFEST=1 (the manifest file itself was not checked)

AI use

  • Claude Code (Claude Opus 5.5) wrote the test scripts, ran the builds and tests on my machine and wrote this report.
<!-- greyfinch-sync:ivall/xcl:comment:7222986120 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7222986120). Originally posted by [ClosetPie107](https://github.com/ClosetPie107) on 2026-11-27T16:12:32Z. --- **Tested on AMD / Linux: `6540f86e`** (RX 9070 16 GB, RDNA4, Mesa 26.3.1 RADV; Ryzen 5 9600X, 32 GB; CachyOS; Proton Experimental `experimental-11.0-20261112` with vkd3d-proton master `ec207194` plus a local patch dropping the `lpVtbl` checks of command allocators and lists; DXC 1.9.2609.5; Rust 1.96.0, `x86_64-pc-windows-gnu` debug build, tests run under Wine) The head as it is (base `623d02e4`), with `main` `f9a0cb80` the same session as the baseline. **Tests** (`XCL_REQUIRE_GPU=wave64`) - `cargo test -p xcl --lib -- hle::d3d12x::pso_manifest:: --test-threads=1`: **3 passed, 0 failed**, 0 ignored. - `cargo test -p xcl --lib -- hle::d3d12x::pso_async:: --test-threads=1`: **14 passed, 0 failed**, 0 ignored. - `cargo test --workspace --no-fail-fast -- --test-threads=4` with `--skip compositor_blends_ui_plane_over_scene_plane --skip failed_restore_stops_before_importing_an_unbacked_window --skip grooming_leaves_a_window_under_1_gib_only_its_hole` (here the first loses the RADV device, the other two run out of memory under Wine): lib 1321 passed, 9 failed, 27 ignored; `main` `f9a0cb80` lib (`--test-threads=1`, same skips): 1323 passed, 9 failed, 27 ignored. All failures but one are among `main`'s. The other, `flush_parked_does_not_free_or_reuse_tiles_while_unmap_is_in_flight`, is flaky under load here: run alone 3 times it passed every time on this head and on `main`. The other binaries fail the same 3 tests as on `main` (`e2e`, `pls_quota`, `predication_e2e`). - `d3d12_resource_and_sync`: its fence and queue test ended the process here, as it does on `main` and most other trees in this setup. **Not tested** - Native Windows, NVIDIA / Intel - A retail title with `XCL_PSO_MANIFEST=1` (the manifest file itself was not checked) **AI use** - Claude Code (Claude Opus 5.5) wrote the test scripts, ran the builds and tests on my machine and wrote this report.
Anon64 commented 2026-11-27 18:14:02 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Anon64 on 2026-11-27T18:14:02Z.


A data point for what this manifest is for, from a 12 GB card (details on #2595). On main 6089122a, the retail title stops presenting at ~188 s. A title thread then builds 28 huge graphics pipelines one at a time, 4–7 s each, with no driver blob and none of them covered by the offline preparation. With the blobs on disk from that run, the same build presents to the end. Those 28 are the graphics … cold builds with large driver_ms that this manifest writes down, in the order the run asked for them, so a later preparation can build them before the title waits on them.

AI use: Claude Code (Claude Opus 5.5) ran the title, read the logs and wrote this note.

<!-- greyfinch-sync:ivall/xcl:comment:7225271230 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7225271230). Originally posted by [Anon64](https://github.com/Anon64) on 2026-11-27T18:14:02Z. --- A data point for what this manifest is for, from a 12 GB card (details on #2595). On `main` `6089122a`, the retail title stops presenting at ~188 s. A title thread then builds 28 huge graphics pipelines one at a time, 4–7 s each, with no driver blob and none of them covered by the offline preparation. With the blobs on disk from that run, the same build presents to the end. Those 28 are the `graphics … cold` builds with large `driver_ms` that this manifest writes down, in the order the run asked for them, so a later preparation can build them before the title waits on them. **AI use:** Claude Code (Claude Opus 5.5) ran the title, read the logs and wrote this note.
throny commented 2026-11-30 20:18:41 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-30T20:18:41Z.


Closing: main's pso_manifest.rs (59cd71e6, #3175) covers what this adds (use/build/present events, plus a recipe column). Checked against current main (ff0c364b), hunk by hunk. 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) checked this; part of the duplicate sweep on #3041.

<!-- greyfinch-sync:ivall/xcl:comment:7290716504 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2096#issuecomment-7290716504). Originally posted by [throny](https://github.com/throny) on 2026-11-30T20:18:41Z. --- Closing: `main`'s `pso_manifest.rs` (59cd71e6, #3175) covers what this adds (use/build/present events, plus a recipe column). Checked against current `main` (`ff0c364b`), hunk by hunk. 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) checked this; part of the duplicate sweep on #3041.

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!2086
No description provided.