Tests: the debug-layer tests' SKIPPED lines go straight to stderr #261

Closed
PHeitor1 wants to merge 1 commit from upstream-pr/264 into main
PHeitor1 commented 2026-11-23 22:07:08 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by PHeitor1 on 2026-11-23T22:07:08Z.


Two tests print their SKIPPED <test>: <reason> line with eprintln! / println!. libtest captures both, so without --nocapture the test shows plain ok, nothing says it did not run, and scripts/test.ps1 does not count it. runner::skip_test already writes straight to std::io::stderr() for this reason; these now do the same. Part of #42 (testers' skip counts miss these two on machines without Graphics Tools / XGameRuntime).

What is in it

  • crates/xcl/tests/e2e.rs: test_title_draws_with_a_root_signature_under_the_debug_layer's skip line to stderr
  • crates/xcl/tests/texture_states.rs: a skipped helper for the three skip paths of uploads_start_from_each_subresources_state

No other change: the tests still pass when they skip.

Tested

  • NVIDIA GeForce RTX 5060 Ti 8 GB, driver 621.24; Ryzen 5 5600X; Windows 11 Pro 26300 (native, Graphics Tools and Gaming Services installed); Rust 1.100.0 msvc; debug
  • Head 52ad073 (rebased on main c160d86, same diff as the earlier head 84e6e3e): cargo build --workspace, then cargo test --workspace --no-fail-fast -- --test-threads=4: 858 passed, 0 failed, 42 ignored. SKIPPED: gpu_geometry_wave32_prefix_count_over_a_mask: no wave64, gpu_wave32_program_in_wave64_hardware: no wave64, heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows
  • Same head, cargo test -p xcl --test e2e --test texture_states -- --test-threads=1: 4 passed, 0 failed, no SKIPPED line; both changed tests take their real path here
  • Same head, the e2e test alone with SystemRoot pointing at an empty folder and default capture: stderr has SKIPPED test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll, then ... ok
  • Earlier head 84e6e3e, same machine before Graphics Tools and Gaming Services were installed: both tests skipped, and both lines were visible (no d3d12SDKLayers.dll, no D3D12 debug layer (0x887A002D)). On main they showed only ok.

Regression run

  • not needed: no file under crates/xcl/src changes

Not tested

  • The texture_states skip lines on the rebased head (seen on 84e6e3e)
  • AMD / Intel GPUs
  • hle::kernelx::tests::set_thread_affinity_mask_takes_console_masks has the same println! skip line; left out because the file is under crates/xcl/src and would need a regression run on a retail title, which I cannot make

AI use

  • Claude Code with Claude Opus 5.5: found the captured skip lines while running the suite, wrote the change and this description, ran the tests; I reviewed the diff.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:6569805251 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/264). Originally posted by [PHeitor1](https://github.com/PHeitor1) on 2026-11-23T22:07:08Z. --- Two tests print their `SKIPPED <test>: <reason>` line with `eprintln!` / `println!`. libtest captures both, so without `--nocapture` the test shows plain `ok`, nothing says it did not run, and `scripts/test.ps1` does not count it. `runner::skip_test` already writes straight to `std::io::stderr()` for this reason; these now do the same. Part of #42 (testers' skip counts miss these two on machines without Graphics Tools / XGameRuntime). **What is in it** - `crates/xcl/tests/e2e.rs`: `test_title_draws_with_a_root_signature_under_the_debug_layer`'s skip line to stderr - `crates/xcl/tests/texture_states.rs`: a `skipped` helper for the three skip paths of `uploads_start_from_each_subresources_state` No other change: the tests still pass when they skip. **Tested** - NVIDIA GeForce RTX 5060 Ti 8 GB, driver 621.24; Ryzen 5 5600X; Windows 11 Pro 26300 (native, Graphics Tools and Gaming Services installed); Rust 1.100.0 msvc; debug - Head `52ad073` (rebased on `main` `c160d86`, same diff as the earlier head `84e6e3e`): `cargo build --workspace`, then `cargo test --workspace --no-fail-fast -- --test-threads=4`: 858 passed, 0 failed, 42 ignored. SKIPPED: `gpu_geometry_wave32_prefix_count_over_a_mask: no wave64`, `gpu_wave32_program_in_wave64_hardware: no wave64`, `heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows` - Same head, `cargo test -p xcl --test e2e --test texture_states -- --test-threads=1`: 4 passed, 0 failed, no SKIPPED line; both changed tests take their real path here - Same head, the e2e test alone with `SystemRoot` pointing at an empty folder and default capture: stderr has `SKIPPED test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll`, then `... ok` - Earlier head `84e6e3e`, same machine before Graphics Tools and Gaming Services were installed: both tests skipped, and both lines were visible (`no d3d12SDKLayers.dll`, `no D3D12 debug layer (0x887A002D)`). On `main` they showed only `ok`. **Regression run** - not needed: no file under `crates/xcl/src` changes **Not tested** - The `texture_states` skip lines on the rebased head (seen on `84e6e3e`) - AMD / Intel GPUs - `hle::kernelx::tests::set_thread_affinity_mask_takes_console_masks` has the same `println!` skip line; left out because the file is under `crates/xcl/src` and would need a regression run on a retail title, which I cannot make **AI use** - Claude Code with Claude Opus 5.5: found the captured skip lines while running the suite, wrote the change and this description, ran the tests; I reviewed the diff. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
requiemsnkrp commented 2026-11-24 07:04:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by requiemsnkrp on 2026-11-23T23:15:58Z.


Tested 0684daa on NVIDIA GeForce RTX 3060 12 GB (driver 32.0.16.1714 / 617.14, 32-lane waves), Ryzen 5 5600X, Windows 11 Pro 25H2 (26200.9974), Rust 1.100.0 (stable-x86_64-pc-windows-msvc), DXC 1.9.2602.17 (Windows SDK), debug: pass.

Tested

  • cargo test --workspace -j 4 --no-fail-fast -- --test-threads=4 --skip test_title_runs_and_game_folder_is_untouched --skip test_title_draws_with_a_root_signature_under_the_debug_layer: 649 passed, 0 failed, 40 ignored
  • SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware
  • The changed e2e skip path, forced without opening a window by pointing SystemRoot at an empty folder (cargo test -p xcl --test e2e -- test_title_draws_with_a_root_signature_under_the_debug_layer, no --nocapture): on 0684daa the output has SKIPPED test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll before ... ok; on main 4017f8f only ... ok.
  • uploads_start_from_each_subresources_state ... ok on both: Graphics Tools are installed here, so it runs instead of skipping.
  • main 4017f8f, same command: 650 passed, 0 failed, 40 ignored, same 2 SKIPPED (one test more on main since this PR's base 9ab7d76).
  • Tested the head itself; it merges cleanly into main 4017f8f (git merge-tree), the merge result was not tested.
  • Not run here: the two e2e tests that run the test title (test_title_runs_and_game_folder_is_untouched, test_title_draws_with_a_root_signature_under_the_debug_layer): they open the XCL game window and this PC was in use (the 2 "filtered out").

Not tested

  • The texture_states skip lines (that test does not skip on this machine).
  • Retail title regression run (not needed for a test-only change; no game copy here).

AI use: Claude Code with Claude Opus 5.5 (ran the tests and wrote this report).

<!-- greyfinch-sync:ivall/xcl:comment:7116756565 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/264#issuecomment-7116756565). Originally posted by [requiemsnkrp](https://github.com/requiemsnkrp) on 2026-11-23T23:15:58Z. --- Tested `0684daa` on NVIDIA GeForce RTX 3060 12 GB (driver 32.0.16.1714 / 617.14, 32-lane waves), Ryzen 5 5600X, Windows 11 Pro 25H2 (26200.9974), Rust 1.100.0 (stable-x86_64-pc-windows-msvc), DXC 1.9.2602.17 (Windows SDK), debug: **pass**. **Tested** - `cargo test --workspace -j 4 --no-fail-fast -- --test-threads=4 --skip test_title_runs_and_game_folder_is_untouched --skip test_title_draws_with_a_root_signature_under_the_debug_layer`: 649 passed, 0 failed, 40 ignored - `SKIPPED` (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware` - The changed e2e skip path, forced without opening a window by pointing `SystemRoot` at an empty folder (`cargo test -p xcl --test e2e -- test_title_draws_with_a_root_signature_under_the_debug_layer`, no `--nocapture`): on `0684daa` the output has `SKIPPED test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll` before `... ok`; on `main` `4017f8f` only `... ok`. - `uploads_start_from_each_subresources_state ... ok` on both: Graphics Tools are installed here, so it runs instead of skipping. - `main` `4017f8f`, same command: 650 passed, 0 failed, 40 ignored, same 2 SKIPPED (one test more on `main` since this PR's base `9ab7d76`). - Tested the head itself; it merges cleanly into `main` `4017f8f` (`git merge-tree`), the merge result was not tested. - Not run here: the two e2e tests that run the test title (`test_title_runs_and_game_folder_is_untouched`, `test_title_draws_with_a_root_signature_under_the_debug_layer`): they open the XCL game window and this PC was in use (the 2 "filtered out"). **Not tested** - The texture_states skip lines (that test does not skip on this machine). - Retail title regression run (not needed for a test-only change; no game copy here). **AI use**: Claude Code with Claude Opus 5.5 (ran the tests and wrote this report).
Rednaxeh commented 2026-11-24 07:04:46 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Rednaxeh on 2026-11-24T00:00:46Z.


AMD RDNA3 (RX 7800 XT), Graphics Tools installed – 84e6e3e merged onto main 85bdf21: 665 passed, 0 failed, the two debug-layer tests run their real path

Tested the merge commit eb70c92 = main 85bdf21 + this PR's head 84e6e3e (clean merge, no uncommitted changes). No XCL_SAMPLE_* variables set.

  • GPU / driver: AMD Radeon RX 7800 XT (16 GB, RDNA3), driver 32.0.32029.2010 · CPU / RAM: Ryzen 7 7800X3D, 32 GB · OS: Windows 11 Pro 26300 (native), with Graphics Tools (System32\d3d12SDKLayers.dll) and System32\xgameruntime.dll present · Toolchain: rustc 1.100.0 msvc, debug, DXC 1.9.2602.17
  • .\scripts\test.ps1 (cargo test --workspace -- --test-threads=4) with XCL_REQUIRE_GPU=wave64,mesh: 665 passed, 0 failed, 41 ignored, 0 SKIPPED – the same counts as main 85bdf21 on this machine, as expected for a change that moves two skip lines.
  • cargo test -p xcl --test e2e --test texture_states -- --test-threads=1: 3 + 1 passed, 0 failed, no SKIPPED line – with the debug layer and the system runtime installed, test_title_draws_with_a_root_signature_under_the_debug_layer and uploads_start_from_each_subresources_state take their real path here (the e2e debug-layer test takes ~17 s), so this run checks the "not skipped" side of the change on AMD; the visible-SKIPPED side is the RTX 5060 Ti run in the description.

Not tested: the skip path itself (nothing is missing on this machine); no title (none needed: no file under crates/xcl/src changes).

Report written with Claude Code (Claude Fable 5.1) from the runs above; the commands and counts are from this machine.

<!-- greyfinch-sync:ivall/xcl:comment:7117606263 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/264#issuecomment-7117606263). Originally posted by [Rednaxeh](https://github.com/Rednaxeh) on 2026-11-24T00:00:46Z. --- ### AMD RDNA3 (RX 7800 XT), Graphics Tools installed – `84e6e3e` merged onto `main` `85bdf21`: 665 passed, 0 failed, the two debug-layer tests run their real path Tested the merge commit `eb70c92` = `main` `85bdf21` + this PR's head `84e6e3e` (clean merge, no uncommitted changes). No `XCL_SAMPLE_*` variables set. - **GPU / driver:** AMD Radeon RX 7800 XT (16 GB, RDNA3), driver 32.0.32029.2010 · **CPU / RAM:** Ryzen 7 7800X3D, 32 GB · **OS:** Windows 11 Pro 26300 (native), with Graphics Tools (`System32\d3d12SDKLayers.dll`) and `System32\xgameruntime.dll` present · **Toolchain:** rustc 1.100.0 msvc, debug, DXC 1.9.2602.17 - `.\scripts\test.ps1` (`cargo test --workspace -- --test-threads=4`) with `XCL_REQUIRE_GPU=wave64,mesh`: **665 passed, 0 failed, 41 ignored, 0 SKIPPED** – the same counts as `main` `85bdf21` on this machine, as expected for a change that moves two skip lines. - `cargo test -p xcl --test e2e --test texture_states -- --test-threads=1`: 3 + 1 passed, 0 failed, **no SKIPPED line** – with the debug layer and the system runtime installed, `test_title_draws_with_a_root_signature_under_the_debug_layer` and `uploads_start_from_each_subresources_state` take their real path here (the e2e debug-layer test takes ~17 s), so this run checks the "not skipped" side of the change on AMD; the visible-SKIPPED side is the RTX 5060 Ti run in the description. **Not tested:** the skip path itself (nothing is missing on this machine); no title (none needed: no file under `crates/xcl/src` changes). Report written with Claude Code (Claude Fable 5.1) from the runs above; the commands and counts are from this machine.
Mayzkl commented 2026-11-24 07:05:02 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Mayzkl on 2026-11-24T00:40:21Z.


The same problem is in two more files on main 2997c9a. They print their skip line with println!("SKIPPED …"), so libtest captures it and scripts/test.ps1 does not count the test as skipped:

  • crates/xcl/src/hle/d3d12x/title_textures.rs: 7 skip paths of placed_title_textures_share_vram_and_preserve_pixels, at lines 1378, 1382, 1388, 1396, 1406, 1413 and 1418.
  • crates/xcl/src/hle/kernelx.rs:1789: set_thread_affinity_mask_takes_console_masks ("every processor bit is taken").

The title_textures.rs one matters in practice. Its probe at line 1406 ("this adapter makes no reserved cube with mips") is the skip @regiumlepidi found on an RTX 5070 Ti in #42. A plain cargo test or test.ps1 run shows that test only as ok there.

These are in src/ (unit tests), so crate::gpu::recomp::runner::skip_test is in reach. It fits the GPU skips in title_textures.rs. For the kernelx.rs one it does not fit: under XCL_REQUIRE_GPU=wave64 it panics on any reason other than no mesh shaders, so a CPU-affinity skip would fail there. That one needs a plain write to std::io::stderr(), as this PR does.

Would you like to fold these into this PR, or should I open a small follow-up stacked on it once it is merged?

AI use: Claude Code with Claude Opus 5.5 found these with grep on a clean checkout of main and wrote this comment. The line numbers were checked against the file.

<!-- greyfinch-sync:ivall/xcl:comment:7118312001 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/264#issuecomment-7118312001). Originally posted by [Mayzkl](https://github.com/Mayzkl) on 2026-11-24T00:40:21Z. --- The same problem is in two more files on `main` 2997c9a. They print their skip line with `println!("SKIPPED …")`, so libtest captures it and `scripts/test.ps1` does not count the test as skipped: - `crates/xcl/src/hle/d3d12x/title_textures.rs`: 7 skip paths of `placed_title_textures_share_vram_and_preserve_pixels`, at lines 1378, 1382, 1388, 1396, 1406, 1413 and 1418. - `crates/xcl/src/hle/kernelx.rs:1789`: `set_thread_affinity_mask_takes_console_masks` ("every processor bit is taken"). The `title_textures.rs` one matters in practice. Its probe at line 1406 ("this adapter makes no reserved cube with mips") is the skip @regiumlepidi found on an RTX 5070 Ti in #42. A plain `cargo test` or `test.ps1` run shows that test only as `ok` there. These are in `src/` (unit tests), so `crate::gpu::recomp::runner::skip_test` is in reach. It fits the GPU skips in `title_textures.rs`. For the `kernelx.rs` one it does not fit: under `XCL_REQUIRE_GPU=wave64` it panics on any reason other than `no mesh shaders`, so a CPU-affinity skip would fail there. That one needs a plain write to `std::io::stderr()`, as this PR does. Would you like to fold these into this PR, or should I open a small follow-up stacked on it once it is merged? AI use: Claude Code with Claude Opus 5.5 found these with `grep` on a clean checkout of `main` and wrote this comment. The line numbers were checked against the file.
requiemsnkrp commented 2026-11-24 07:05:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by requiemsnkrp on 2026-11-24T00:45:34Z.


Checked on main 2997c9a: the eight println!("SKIPPED …") lines are where you say (title_textures.rs 1378–1418, kernelx.rs:1789). skip_test (gpu/recomp/runner.rs:428-442) panics under XCL_REQUIRE_GPU=wave64 for any reason but no mesh shaders, so a plain stderr write is the right fit for the affinity test.

Three things for whoever takes it:

  • scripts/pr_check.py (runtime(), l. 45-46) treats every file under crates/xcl/src/ as a runtime change unless its path has /tests or ends in tests.rs. A follow-up that touches title_textures.rs or kernelx.rs will therefore be asked for an xcl-smoke regression run, even if only #[cfg(test)] code changes. That is why this PR left kernelx.rs out, and folding the two files in here would put the same requirement on #264.
  • With skip_test in title_textures.rs, a run with XCL_REQUIRE_GPU=wave64 (or mesh) fails on an adapter that hits one of those probes (tiled tier < 2, no reserved cube with mips…) instead of skipping. That is probably what the variable is for, but it changes behaviour on those adapters.
  • On an RTX 3060 12 GB (Ampere, driver 621.24, Windows 11 26200) both tests take their real path on main 2997c9a. cargo test -p xcl --lib -- placed_title_textures_share_vram_and_preserve_pixels set_thread_affinity_mask_takes_console_masks --nocapture prints no SKIPPED line: 2 passed. So not every NVIDIA card has the line-1406 skip.

AI use: checked and written with Claude Code (Claude Opus 5.5); the test run is from this machine.

<!-- greyfinch-sync:ivall/xcl:comment:7118401944 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/264#issuecomment-7118401944). Originally posted by [requiemsnkrp](https://github.com/requiemsnkrp) on 2026-11-24T00:45:34Z. --- Checked on `main` 2997c9a: the eight `println!("SKIPPED …")` lines are where you say (`title_textures.rs` 1378–1418, `kernelx.rs:1789`). `skip_test` (`gpu/recomp/runner.rs:428-442`) panics under `XCL_REQUIRE_GPU=wave64` for any reason but `no mesh shaders`, so a plain stderr write is the right fit for the affinity test. Three things for whoever takes it: - `scripts/pr_check.py` (`runtime()`, l. 45-46) treats every file under `crates/xcl/src/` as a runtime change unless its path has `/tests` or ends in `tests.rs`. A follow-up that touches `title_textures.rs` or `kernelx.rs` will therefore be asked for an `xcl-smoke` regression run, even if only `#[cfg(test)]` code changes. That is why this PR left `kernelx.rs` out, and folding the two files in here would put the same requirement on #264. - With `skip_test` in `title_textures.rs`, a run with `XCL_REQUIRE_GPU=wave64` (or `mesh`) fails on an adapter that hits one of those probes (`tiled tier < 2`, no reserved cube with mips…) instead of skipping. That is probably what the variable is for, but it changes behaviour on those adapters. - On an RTX 3060 12 GB (Ampere, driver 621.24, Windows 11 26200) both tests take their real path on `main` 2997c9a. `cargo test -p xcl --lib -- placed_title_textures_share_vram_and_preserve_pixels set_thread_affinity_mask_takes_console_masks --nocapture` prints no SKIPPED line: 2 passed. So not every NVIDIA card has the line-1406 skip. AI use: checked and written with Claude Code (Claude Opus 5.5); the test run is from this machine.
AGInformatique81 commented 2026-11-24 07:05:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by AGInformatique81 on 2026-11-24T00:46:05Z.


Independent RTX 2060 check of PR #264, with Graphics Tools and Gaming Services present.

Tested — Windows 11 Pro build 26300, Core i7-9700K, RTX 2060 (driver 32.0.16.2124), Rust 1.100.0, DXC 1.9.2602.17. Tested base 4017f8ff8faaae6007fd83910d230a027dd85a33 and PR head 84e6e3e8732965f78ea66a9c424152c9c590f8af.

  • Built with cargo build --release --locked --workspace and cargo test --release --locked -p xcl --test e2e --test texture_states --no-run. Ran the two test binaries with --test-threads=1, filtering e2e to test_title_draws_with_a_root_signature_under_the_debug_layer with --exact. The two selected tests passed on both commits with the normal environment and no skip reported.
  • Ran the filtered e2e test again with SystemRoot pointing to a temporary directory containing an empty System32, only for the test process. With libtest capture enabled, the base reported only ok. The PR reported SKIPPED test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll and still exited successfully. No Windows components were removed.

Not tested — The missing-debug-layer branches of texture_states, the full workspace suite, and other GPUs.

AI use — Codex (GPT-6) ran the tests and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7118411676 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/264#issuecomment-7118411676). Originally posted by [AGInformatique81](https://github.com/AGInformatique81) on 2026-11-24T00:46:05Z. --- Independent RTX 2060 check of PR #264, with Graphics Tools and Gaming Services present. **Tested** — Windows 11 Pro build 26300, Core i7-9700K, RTX 2060 (driver `32.0.16.2124`), Rust `1.100.0`, DXC `1.9.2602.17`. Tested base `4017f8ff8faaae6007fd83910d230a027dd85a33` and PR head `84e6e3e8732965f78ea66a9c424152c9c590f8af`. - Built with `cargo build --release --locked --workspace` and `cargo test --release --locked -p xcl --test e2e --test texture_states --no-run`. Ran the two test binaries with `--test-threads=1`, filtering e2e to `test_title_draws_with_a_root_signature_under_the_debug_layer` with `--exact`. The two selected tests passed on both commits with the normal environment and no skip reported. - Ran the filtered e2e test again with `SystemRoot` pointing to a temporary directory containing an empty `System32`, only for the test process. With libtest capture enabled, the base reported only `ok`. The PR reported `SKIPPED test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll` and still exited successfully. No Windows components were removed. **Not tested** — The missing-debug-layer branches of `texture_states`, the full workspace suite, and other GPUs. **AI use** — Codex (GPT-6) ran the tests and drafted this report.
PHeitor1 commented 2026-11-24 07:05:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by PHeitor1 on 2026-11-24T00:47:02Z.


@Mayzkl thanks, good catch on the title_textures.rs probe. That ties this to the RTX 5070 Ti skip in #42.

Please open the follow-up. I'd rather not fold them in here: both files are under crates/xcl/src outside a tests path, so scripts/pr_check.py treats them as runtime changes and asks for two xcl-smoke blocks, even though the edits are only #[cfg(test)] code. I have no title I can make a regression run with, so this PR would stop being mergeable. Keeping this one to crates/xcl/tests/ lets it go in as it is.

For kernelx.rs I agree with you that runner::skip_test does not fit: a CPU-affinity reason would panic under XCL_REQUIRE_GPU=wave64. This is the change I had and dropped from this PR for the reason above; take it if it helps:

// straight to stderr: libtest captures println!, and scripts/test.ps1 counts this line
use std::io::Write;
let _ = writeln!(std::io::stderr(), "SKIPPED set_thread_affinity_mask_takes_console_masks: ...");

(same reason string as now). For title_textures.rs, skip_test looks right to me for the adapter and tiled-tier probes.

Written with Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:ivall/xcl:comment:7118428523 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/264#issuecomment-7118428523). Originally posted by [PHeitor1](https://github.com/PHeitor1) on 2026-11-24T00:47:02Z. --- @Mayzkl thanks, good catch on the `title_textures.rs` probe. That ties this to the RTX 5070 Ti skip in #42. Please open the follow-up. I'd rather not fold them in here: both files are under `crates/xcl/src` outside a `tests` path, so `scripts/pr_check.py` treats them as runtime changes and asks for two `xcl-smoke` blocks, even though the edits are only `#[cfg(test)]` code. I have no title I can make a regression run with, so this PR would stop being mergeable. Keeping this one to `crates/xcl/tests/` lets it go in as it is. For `kernelx.rs` I agree with you that `runner::skip_test` does not fit: a CPU-affinity reason would panic under `XCL_REQUIRE_GPU=wave64`. This is the change I had and dropped from this PR for the reason above; take it if it helps: ```rust // straight to stderr: libtest captures println!, and scripts/test.ps1 counts this line use std::io::Write; let _ = writeln!(std::io::stderr(), "SKIPPED set_thread_affinity_mask_takes_console_masks: ..."); ``` (same reason string as now). For `title_textures.rs`, `skip_test` looks right to me for the adapter and tiled-tier probes. _Written with Claude Code (Claude Opus 5.5)._
wbnm77 commented 2026-11-24 15:05:48 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by wbnm77 on 2026-11-24T14:19:32Z.


Tested

Native Windows 10 Pro 22H2 build 19045.6466, RTX 5060 Ti driver 621.24, Rust 1.98.1 MSVC, and app-local Agility SDK 1.620.2. I compared main 930e8b49c1c2ec683d22c724a398b39111cd0e56 with PR head 84e6e3e8732965f78ea66a9c424152c9c590f8af merged into that revision locally (tree 081885d9cee7d5dd67f9299d2d2bc39410110ac8).

I ran test_title_draws_with_a_root_signature_under_the_debug_layer and uploads_start_from_each_subresources_state as exact filters. Both exited successfully but skipped on this configuration. Main hid both SKIPPED lines with default libtest capture and showed them with --nocapture. The local merge showed both lines with default capture, as intended.

Not tested

Debug-layer rendering and texture-state assertions, because the system layer file was absent and the debug interface returned 0x887A002D. Retail titles and assets were outside this test.

AI use

Codex (GPT-6) assisted with reviewing the diff, building, running the checks and writing this report.

<!-- greyfinch-sync:ivall/xcl:comment:7134191030 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/264#issuecomment-7134191030). Originally posted by [wbnm77](https://github.com/wbnm77) on 2026-11-24T14:19:32Z. --- **Tested** Native Windows 10 Pro 22H2 build 19045.6466, RTX 5060 Ti driver 621.24, Rust 1.98.1 MSVC, and app-local Agility SDK 1.620.2. I compared main `930e8b49c1c2ec683d22c724a398b39111cd0e56` with PR head `84e6e3e8732965f78ea66a9c424152c9c590f8af` merged into that revision locally (tree `081885d9cee7d5dd67f9299d2d2bc39410110ac8`). I ran `test_title_draws_with_a_root_signature_under_the_debug_layer` and `uploads_start_from_each_subresources_state` as exact filters. Both exited successfully but skipped on this configuration. Main hid both `SKIPPED` lines with default libtest capture and showed them with `--nocapture`. The local merge showed both lines with default capture, as intended. **Not tested** Debug-layer rendering and texture-state assertions, because the system layer file was absent and the debug interface returned `0x887A002D`. Retail titles and assets were outside this test. **AI use** Codex (GPT-6) assisted with reviewing the diff, building, running the checks and writing this report.
humsterbumster commented 2026-11-24 22:06:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by humsterbumster on 2026-11-24T21:41:13Z.


Test report for head 52ad073aa29c1ee73dbc11a046c5f3ab9d0ff3a (last push 2026-11-24), base b9b6ea6 (current main). class: nv-linux (Wine on Linux; no native-Windows runs).

Unit suite (cargo build --workspace --release --target x86_64-pc-windows-gnu, then the 19 test binaries run under Wine, --test-threads=4):

  • exit codes: 15 binaries rc=0; e2e rc=101, xcl (lib tests) rc=3, predication_e2e rc=101, pls_quota rc=101 — the same four non-zero binaries (same tests, same panic sites) also fail on base b9b6ea6 on this machine (e2e fails test_title_runs_and_game_folder_is_untouched; the lib binary dies mid-run inside gpu::dxil::ops_tests with no Rust panic; predication panic predication_e2e.rs:360 — #1272; pls_quota panic pls_quota.rs:37 — #810). No test fails on this head that does not also fail on base on this machine.
  • totals over the binaries that reach a summary line: passed=46 failed=3 ignored=20 (the lib binary dies before printing a summary, as on base).

Smoke: not run from this machine. The repo's own tests/testtitle presents no frames in this Wine environment, so no xcl-smoke block is posted here; a retail-title smoke pair (base vs head, 60 s) is not producible from this machine.

Tested

  • RTX 5090 (wave32), Proton 11 Wine + vkd3d-proton (asserts off, VKD3D_CONFIG=ignore_shared_fence), DXVK, DXC 1.9.2609, Rust 1.100.0, x86_64-pc-windows-gnu cross build

Not tested

  • native Windows
  • a retail title run
  • XCL_SHORT_MOVIES / movie-related paths: unset in these runs

Report written with pi (Qwen3.8-27B) from runs on this machine; all values above are measured, base b9b6ea6 and head with the same command line.

<!-- greyfinch-sync:ivall/xcl:comment:7145256781 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/264#issuecomment-7145256781). Originally posted by [humsterbumster](https://github.com/humsterbumster) on 2026-11-24T21:41:13Z. --- Test report for head `52ad073aa29c1ee73dbc11a046c5f3ab9d0ff3a` (last push 2026-11-24), base `b9b6ea6` (current main). class: `nv-linux` (Wine on Linux; no native-Windows runs). Unit suite (`cargo build --workspace --release --target x86_64-pc-windows-gnu`, then the 19 test binaries run under Wine, `--test-threads=4`): - exit codes: 15 binaries rc=0; `e2e` rc=101, `xcl` (lib tests) rc=3, `predication_e2e` rc=101, `pls_quota` rc=101 — the same four non-zero binaries (same tests, same panic sites) also fail on base `b9b6ea6` on this machine (e2e fails `test_title_runs_and_game_folder_is_untouched`; the lib binary dies mid-run inside `gpu::dxil::ops_tests` with no Rust panic; predication panic `predication_e2e.rs:360` — #1272; pls_quota panic `pls_quota.rs:37` — #810). No test fails on this head that does not also fail on base on this machine. - totals over the binaries that reach a summary line: `passed=46 failed=3 ignored=20` (the lib binary dies before printing a summary, as on base). Smoke: not run from this machine. The repo's own `tests/testtitle` presents no frames in this Wine environment, so no `xcl-smoke` block is posted here; a retail-title smoke pair (base vs head, 60 s) is not producible from this machine. **Tested** - RTX 5090 (wave32), Proton 11 Wine + vkd3d-proton (asserts off, `VKD3D_CONFIG=ignore_shared_fence`), DXVK, DXC 1.9.2609, Rust 1.100.0, `x86_64-pc-windows-gnu` cross build **Not tested** - native Windows - a retail title run - `XCL_SHORT_MOVIES` / movie-related paths: unset in these runs Report written with pi (Qwen3.8-27B) from runs on this machine; all values above are measured, base `b9b6ea6` and head with the same command line.
upstream-sync closed this pull request 2026-11-25 12:04:05 +00:00
PHeitor1 commented 2026-11-25 12:06:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by PHeitor1 on 2026-11-25T11:52:17Z.


Closing: #2153 and #2154 made the same change on main, so nothing is left here. Thanks to everyone who tested it.

<!-- greyfinch-sync:ivall/xcl:comment:7161612950 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/264#issuecomment-7161612950). Originally posted by [PHeitor1](https://github.com/PHeitor1) on 2026-11-25T11:52:17Z. --- Closing: #2153 and #2154 made the same change on `main`, so nothing is left here. Thanks to everyone who tested it.
DavidM1911 commented 2026-11-25 16:12:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T15:14:16Z.


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:7166519893 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/264#issuecomment-7166519893). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T15:14:16Z. --- 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!

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