Tests: a panicking title-texture test no longer poisons the others #668

Merged
iggyvilla merged 1 commit from upstream-pr/673 into main 2026-11-25 19:18:55 +00:00
iggyvilla commented 2026-11-24 03:16:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by iggyvilla on 2026-11-24T03:16:30Z.


The title-texture and VRAM tests serialise on TEST_LOCK (title_textures.rs) and VRAM_TEST_LOCK (vram.rs) and take them with .lock().unwrap(). When one holder panics, the mutex is poisoned and every later test that takes it fails with PoisonError, though each passes alone. On main on RDNA2, placed_title_textures_share_vram_and_preserve_pixels fails (the packed-mip case open PR #470 fixes), and it takes transitions_apply_when_their_list_is_submitted and d32s8_targets_take_their_own_size_of_video_memory down with it. The locks guard no data, so they are now taken the way the crate's other test locks already are (ASYNC_TEST_LOCK, READING_CB_TEST_LOCK): unwrap_or_else(|e| e.into_inner()).

What is in it

  • crates/xcl/src/hle/d3d12x/title_textures.rs, crates/xcl/src/hle/d3d12x/vram.rs: the six lock().unwrap() calls on these two test locks, all in #[cfg(test)] code. No runtime code changes; 6 lines changed.

Tested

  • AMD Radeon RX 6650 XT (RDNA2), driver 32.0.21045.29003, Ryzen 7 5700X, Windows 11 Home 26300, rustc 1.100.0 MSVC, debug.
  • cargo test --workspace --no-fail-fast -- --test-threads=4, whole workspace:
    • main dd2ae9a: 687 passed, 3 failed, 41 ignored. The 3 failures are the #470 test and the two PoisonError failures named above.
    • this PR's head: 689 passed, 1 failed, 41 ignored. Only placed_title_textures_share_vram_and_preserve_pixels still fails, the #470 case.
  • No SKIPPED GPU tests on this adapter.

Regression run
The diff is test-only (#[cfg(test)] code in two runtime files); these runs are there so the check passes without a test-only label. 60 s each, XCL_NETWORK=0, the same retail title.

main:

xcl-smoke v1
commit: dd2ae9a70af5eb5aad60f02d86e386b72abe1e95
gpu: AMD Radeon RX 6650 XT
title: 3c290c16
seconds: 60
exit: 0x0
frames shown: 569 (PresentX 570)
presents per 2 s (last 3): 23 24 23
device removals: 0
crashes: 0
peak commit: 15856 MB

This PR:

xcl-smoke v1
commit: 84b664514f979b6d3bab76b807c0023f5fef008f
gpu: AMD Radeon RX 6650 XT
title: 3c290c16
seconds: 60
exit: 0x0
frames shown: 563 (PresentX 564)
presents per 2 s (last 3): 24 25 23
device removals: 0
crashes: 0
peak commit: 15866 MB

Not tested

  • NVIDIA, Intel, wave32-only GPUs. The retail title's run covers only its first minute; this diff does not change what it runs.

AI use

  • Claude Code (Claude Opus 5.5) found the cause, wrote the change and this description, and ran the tests above.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:6573819798 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/673). Originally posted by [iggyvilla](https://github.com/iggyvilla) on 2026-11-24T03:16:30Z. --- The title-texture and VRAM tests serialise on `TEST_LOCK` (`title_textures.rs`) and `VRAM_TEST_LOCK` (`vram.rs`) and take them with `.lock().unwrap()`. When one holder panics, the mutex is poisoned and every later test that takes it fails with `PoisonError`, though each passes alone. On `main` on RDNA2, `placed_title_textures_share_vram_and_preserve_pixels` fails (the packed-mip case open PR #470 fixes), and it takes `transitions_apply_when_their_list_is_submitted` and `d32s8_targets_take_their_own_size_of_video_memory` down with it. The locks guard no data, so they are now taken the way the crate's other test locks already are (`ASYNC_TEST_LOCK`, `READING_CB_TEST_LOCK`): `unwrap_or_else(|e| e.into_inner())`. **What is in it** - `crates/xcl/src/hle/d3d12x/title_textures.rs`, `crates/xcl/src/hle/d3d12x/vram.rs`: the six `lock().unwrap()` calls on these two test locks, all in `#[cfg(test)]` code. No runtime code changes; 6 lines changed. **Tested** - AMD Radeon RX 6650 XT (RDNA2), driver 32.0.21045.29003, Ryzen 7 5700X, Windows 11 Home 26300, rustc 1.100.0 MSVC, debug. - `cargo test --workspace --no-fail-fast -- --test-threads=4`, whole workspace: - `main` dd2ae9a: 687 passed, 3 failed, 41 ignored. The 3 failures are the #470 test and the two `PoisonError` failures named above. - this PR's head: 689 passed, 1 failed, 41 ignored. Only `placed_title_textures_share_vram_and_preserve_pixels` still fails, the #470 case. - No `SKIPPED` GPU tests on this adapter. **Regression run** The diff is test-only (`#[cfg(test)]` code in two runtime files); these runs are there so the check passes without a `test-only` label. 60 s each, `XCL_NETWORK=0`, the same retail title. `main`: ``` xcl-smoke v1 commit: dd2ae9a70af5eb5aad60f02d86e386b72abe1e95 gpu: AMD Radeon RX 6650 XT title: 3c290c16 seconds: 60 exit: 0x0 frames shown: 569 (PresentX 570) presents per 2 s (last 3): 23 24 23 device removals: 0 crashes: 0 peak commit: 15856 MB ``` This PR: ``` xcl-smoke v1 commit: 84b664514f979b6d3bab76b807c0023f5fef008f gpu: AMD Radeon RX 6650 XT title: 3c290c16 seconds: 60 exit: 0x0 frames shown: 563 (PresentX 564) presents per 2 s (last 3): 24 25 23 device removals: 0 crashes: 0 peak commit: 15866 MB ``` **Not tested** - NVIDIA, Intel, wave32-only GPUs. The retail title's run covers only its first minute; this diff does not change what it runs. **AI use** - Claude Code (Claude Opus 5.5) found the cause, wrote the change and this description, and ran the tests above. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
lordon1a commented 2026-11-24 07:05:53 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by lordon1a on 2026-11-24T03:28:51Z.


Independent test report on 84b6645:

Tested

  • Hardware: NVIDIA GeForce RTX 3070 Ti Laptop GPU (driver 616.64, SM 6.6), Intel i7-12700H, Windows 11 Home 26H2 (build 26200), rustc 1.100.0 (x86_64-pc-windows-gnullvm), debug build, DXC 1.9.2609.5 (01b62ad4)
  • Command: cargo test -p xcl --lib title_textures -- --test-threads=4
  • Result: 10 passed, 0 failed, 0 ignored in 1.53s (including placed_title_textures_share_vram_and_preserve_pixels and gpu_mirror_upload_follows_cpu_writes_and_later_mapping_changes on real D3D12.X backend)

Not tested

  • AMD / Intel GPU, retail title

AI use

  • Antigravity (Google DeepMind agent) — fetched 84b6645 in a detached worktree, audited the diff, ran the test suite, and posted this report.
<!-- greyfinch-sync:ivall/xcl:comment:7121137616 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/673#issuecomment-7121137616). Originally posted by [lordon1a](https://github.com/lordon1a) on 2026-11-24T03:28:51Z. --- Independent test report on `84b6645`: **Tested** - Hardware: NVIDIA GeForce RTX 3070 Ti Laptop GPU (driver `616.64`, SM 6.6), Intel i7-12700H, Windows 11 Home 26H2 (build 26200), `rustc 1.100.0` (`x86_64-pc-windows-gnullvm`), debug build, DXC `1.9.2609.5` (`01b62ad4`) - Command: `cargo test -p xcl --lib title_textures -- --test-threads=4` - Result: **10 passed, 0 failed, 0 ignored** in `1.53s` (including `placed_title_textures_share_vram_and_preserve_pixels` and `gpu_mirror_upload_follows_cpu_writes_and_later_mapping_changes` on real D3D12.X backend) **Not tested** - AMD / Intel GPU, retail title **AI use** - Antigravity (Google DeepMind agent) — fetched `84b6645` in a detached worktree, audited the diff, ran the test suite, and posted this report.
relativespace2K commented 2026-11-24 07:05:53 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by relativespace2K on 2026-11-24T03:31:30Z.


Tested — independent validation of 84b664514f979b6d3bab76b807c0023f5fef008f on AMD RDNA2

  • AMD Radeon RX 6800 XT (16338 MiB), driver 32.0.21045.29003; Ryzen 5 5600, 31.9 GB;
    Windows 11 IoT Enterprise LTSC 26100; Rust 1.100.0 stable-x86_64-pc-windows-msvc;
    DXC 1.9.2602.17 (Windows SDK 10.0.26100.0); debug; no XCL_SAMPLE_*.
  • Exact PR head, clean tree; based on dd2ae9a (main has since advanced to 91f9a5e).
  • cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4,
    once on the parent and once on the PR head.
tree passed failed ignored SKIPPED
parent dd2ae9a 687 3 41 0
PR head 84b6645 689 1 41 0
  • Parent: placed_title_textures_share_vram_and_preserve_pixels fails with
    3D 64x64x64 4 mips: subresource 2 mismatch; then
    transitions_apply_when_their_list_is_submitted and
    d32s8_targets_take_their_own_size_of_video_memory fail with PoisonError.
  • PR head: only the packed-mip failure remains (the #470 case); both formerly poisoned
    tests pass in the same parallel run. Both also pass alone on the parent.
  • No SKIPPED GPU tests on this adapter.

Not tested: retail title / smoke.ps1 (the diff is #[cfg(test)] code only),
release build, NVIDIA / Intel.

AI use: OpenCode with DeepSeek V4.1 Flash 1017 ran the tests and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7121178858 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/673#issuecomment-7121178858). Originally posted by [relativespace2K](https://github.com/relativespace2K) on 2026-11-24T03:31:30Z. --- **Tested** — independent validation of `84b664514f979b6d3bab76b807c0023f5fef008f` on AMD RDNA2 - AMD Radeon RX 6800 XT (16338 MiB), driver 32.0.21045.29003; Ryzen 5 5600, 31.9 GB; Windows 11 IoT Enterprise LTSC 26100; Rust 1.100.0 `stable-x86_64-pc-windows-msvc`; DXC 1.9.2602.17 (Windows SDK 10.0.26100.0); debug; no `XCL_SAMPLE_*`. - Exact PR head, clean tree; based on `dd2ae9a` (`main` has since advanced to `91f9a5e`). - `cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4`, once on the parent and once on the PR head. | tree | passed | failed | ignored | SKIPPED | |---|---:|---:|---:|---:| | parent `dd2ae9a` | 687 | 3 | 41 | 0 | | PR head `84b6645` | 689 | 1 | 41 | 0 | - Parent: `placed_title_textures_share_vram_and_preserve_pixels` fails with `3D 64x64x64 4 mips: subresource 2 mismatch`; then `transitions_apply_when_their_list_is_submitted` and `d32s8_targets_take_their_own_size_of_video_memory` fail with `PoisonError`. - PR head: only the packed-mip failure remains (the #470 case); both formerly poisoned tests pass in the same parallel run. Both also pass alone on the parent. - No `SKIPPED` GPU tests on this adapter. **Not tested**: retail title / `smoke.ps1` (the diff is `#[cfg(test)]` code only), release build, NVIDIA / Intel. **AI use**: OpenCode with DeepSeek V4.1 Flash 1017 ran the tests and drafted this report.
CryingLaughing commented 2026-11-24 07:05:54 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by CryingLaughing on 2026-11-24T03:32:46Z.


Tested

  • PR head 84b664514f979b6d3bab76b807c0023f5fef008f and its exact parent dd2ae9a70af5eb5aad60f02d86e386b72abe1e95, with the same scratch-only test in title_textures.rs. NVIDIA GeForce RTX 4080, driver 621.01, Intel Core i5-13600K, Windows 11 25H2 build 26200.9974, Rust 1.100.0 MSVC x64, Windows SDK DXC 1.8.2502.11, debug. XCL_ADAPTER=4080, XCL_REQUIRE_GPU=1, all XCL_SAMPLE_* variables unset.
  • Built each revision with cargo test -p xcl --lib --locked -j 4 --no-run --message-format=json and ran the executable with hle::d3d12x::title_textures::tests::gpu_title_texture_fixtures_reacquire_poisoned_locks --exact --test-threads=1 --nocapture. In each fresh process a worker acquired both test mutexes and intentionally panicked before any GPU activity. The fixture confirmed both mutexes were poisoned, then invoked the existing transitions, mirror-upload and placed-texture tests individually under catch_unwind.
  • On the parent, all three stopped at their lock acquisition with PoisonError. The wrapper failed 0/1. On the PR head all three completed and the wrapper passed 1/1, with zero skips. The backend logged the RTX 4080, and the mirror and placed fixtures completed their normal GPU readback assertions.

Not tested

  • Recovery after a panic that changes GPU resource state, the full workspace suite on this PR, other adapters, release builds, or retail titles. The injected panic tests the locks in isolation.

AI use

  • OpenAI Codex (GPT-6 family, exact variant unavailable) prepared the scratch fixture, ran the checks, and drafted this report.
<!-- greyfinch-sync:ivall/xcl:comment:7121198175 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/673#issuecomment-7121198175). Originally posted by [CryingLaughing](https://github.com/CryingLaughing) on 2026-11-24T03:32:46Z. --- **Tested** - PR head `84b664514f979b6d3bab76b807c0023f5fef008f` and its exact parent `dd2ae9a70af5eb5aad60f02d86e386b72abe1e95`, with the same scratch-only test in `title_textures.rs`. NVIDIA GeForce RTX 4080, driver 621.01, Intel Core i5-13600K, Windows 11 25H2 build 26200.9974, Rust 1.100.0 MSVC x64, Windows SDK DXC 1.8.2502.11, debug. `XCL_ADAPTER=4080`, `XCL_REQUIRE_GPU=1`, all `XCL_SAMPLE_*` variables unset. - Built each revision with `cargo test -p xcl --lib --locked -j 4 --no-run --message-format=json` and ran the executable with `hle::d3d12x::title_textures::tests::gpu_title_texture_fixtures_reacquire_poisoned_locks --exact --test-threads=1 --nocapture`. In each fresh process a worker acquired both test mutexes and intentionally panicked before any GPU activity. The fixture confirmed both mutexes were poisoned, then invoked the existing transitions, mirror-upload and placed-texture tests individually under `catch_unwind`. - On the parent, all three stopped at their lock acquisition with `PoisonError`. The wrapper failed 0/1. On the PR head all three completed and the wrapper passed 1/1, with zero skips. The backend logged the RTX 4080, and the mirror and placed fixtures completed their normal GPU readback assertions. **Not tested** - Recovery after a panic that changes GPU resource state, the full workspace suite on this PR, other adapters, release builds, or retail titles. The injected panic tests the locks in isolation. **AI use** - OpenAI Codex (GPT-6 family, exact variant unavailable) prepared the scratch fixture, ran the checks, and drafted this report.
MesshM commented 2026-11-24 07:05:54 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by MesshM on 2026-11-24T03:33:15Z.


Test run of 84b664514f979b6d3bab76b807c0023f5fef008f on AMD RDNA4. I merged it onto current main 91f9a5e locally (clean merge) and tested that tree.

Tested

  • AMD Radeon RX 9060 XT 16 GB (RDNA4), driver 32.0.32029.2010; Ryzen 7 5700X, 64 GB RAM, Windows 11 Pro build 26200, Rust 1.100.0 stable-x86_64-pc-windows-msvc, debug
  • cargo build --workspace + cargo test --workspace -- --test-threads=4 on the merge: 692 passed, 0 failed, 41 ignored, exit code 0; xcl lib tests 652 passed, 0 failed, 21 ignored
  • 0 SKIPPED; the title-texture and VRAM tests pass (none panicked here, so the poisoned-lock path itself was not exercised).

Review: Taking the guard with unwrap_or_else(|e| e.into_inner()) lets the later tests run after one panics, so a failure shows as one failed test instead of a cascade of PoisonErrors. Test-only. I found nothing to change.

Not tested: no retail title or regression run (I have no unpacked game), no XCL_SAMPLE_* tests, release build; the PR's head on its old base was not run, only its merge onto main.

Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code.

<!-- greyfinch-sync:ivall/xcl:comment:7121205539 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/673#issuecomment-7121205539). Originally posted by [MesshM](https://github.com/MesshM) on 2026-11-24T03:33:15Z. --- Test run of `84b664514f979b6d3bab76b807c0023f5fef008f` on AMD RDNA4. I merged it onto current `main` `91f9a5e` locally (clean merge) and tested that tree. **Tested** - AMD Radeon RX 9060 XT 16 GB (RDNA4), driver 32.0.32029.2010; Ryzen 7 5700X, 64 GB RAM, Windows 11 Pro build 26200, Rust 1.100.0 `stable-x86_64-pc-windows-msvc`, debug - `cargo build --workspace` + `cargo test --workspace -- --test-threads=4` on the merge: **692 passed, 0 failed, 41 ignored**, exit code 0; `xcl` lib tests 652 passed, 0 failed, 21 ignored - **0 `SKIPPED`**; the title-texture and VRAM tests pass (none panicked here, so the poisoned-lock path itself was not exercised). **Review:** Taking the guard with `unwrap_or_else(|e| e.into_inner())` lets the later tests run after one panics, so a failure shows as one failed test instead of a cascade of `PoisonError`s. Test-only. I found nothing to change. **Not tested:** no retail title or regression run (I have no unpacked game), no `XCL_SAMPLE_*` tests, release build; the PR's head on its old base was not run, only its merge onto `main`. Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code.
fladit123 commented 2026-11-24 07:06:01 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by fladit123 on 2026-11-24T03:52:38Z.


Independent release-mode validation on NVIDIA.

Tested

  • Exact PR head: 84b664514f979b6d3bab76b807c0023f5fef008f
  • NVIDIA GeForce RTX 4060 8 GB, driver 610.88
  • Intel Core i5-12400F, 32 GB RAM
  • Windows 11 Pro build 26300
  • Rust 1.100.0 MSVC, DXC 1.8.2502.11
  • Release, XCL_ADAPTER=4060
Configuration Result
Focused title-texture and D32S8 tests 11 passed, 0 failed, 0 ignored
Release workspace build PASS
Full release workspace, 4 threads 690 passed, 0 failed, 41 ignored
Library tests 650 passed, 0 failed, 21 ignored

Commands

cargo test --release -p xcl --lib --locked -- title_textures d32s8_targets_take_their_own_size_of_video_memory --test-threads=4 --show-output

cargo build --release --workspace --locked

cargo test --release --workspace --locked --no-fail-fast -- --test-threads=4 --show-output

All four directly affected tests passed in both the focused and full workspace runs. The real D3D12.X backend selected the RTX 4060. No hangs or cascading PoisonError failures were observed.

Two explicit GPU capability skips, included in the passed count:

  • gpu_geometry_wave32_prefix_count_over_a_mask
  • gpu_wave32_program_in_wave64_hardware

Ten additional sample-dependent tests explicitly skipped because their sample variables were unset.

Both test commands exited with code 0. The worktree remained clean.

Not tested: deliberately poisoned mutexes (already covered independently by CryingLaughing), recovery after GPU state corruption, baseline comparison, AMD/Intel GPUs, native wave64 or retail titles.

No blocking findings within the tested scope.

AI use: ChatGPT (GPT-6.2) assisted with diff review, test planning, log analysis and reporting. All commands were executed locally by me.

<!-- greyfinch-sync:ivall/xcl:comment:7121503523 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/673#issuecomment-7121503523). Originally posted by [fladit123](https://github.com/fladit123) on 2026-11-24T03:52:38Z. --- Independent release-mode validation on NVIDIA. **Tested** - Exact PR head: `84b664514f979b6d3bab76b807c0023f5fef008f` - NVIDIA GeForce RTX 4060 8 GB, driver 610.88 - Intel Core i5-12400F, 32 GB RAM - Windows 11 Pro build 26300 - Rust 1.100.0 MSVC, DXC 1.8.2502.11 - Release, `XCL_ADAPTER=4060` | Configuration | Result | |---|---| | Focused title-texture and D32S8 tests | 11 passed, 0 failed, 0 ignored | | Release workspace build | PASS | | Full release workspace, 4 threads | 690 passed, 0 failed, 41 ignored | | Library tests | 650 passed, 0 failed, 21 ignored | **Commands** ```powershell cargo test --release -p xcl --lib --locked -- title_textures d32s8_targets_take_their_own_size_of_video_memory --test-threads=4 --show-output cargo build --release --workspace --locked cargo test --release --workspace --locked --no-fail-fast -- --test-threads=4 --show-output ``` All four directly affected tests passed in both the focused and full workspace runs. The real D3D12.X backend selected the RTX 4060. No hangs or cascading PoisonError failures were observed. Two explicit GPU capability skips, included in the passed count: - `gpu_geometry_wave32_prefix_count_over_a_mask` - `gpu_wave32_program_in_wave64_hardware` Ten additional sample-dependent tests explicitly skipped because their sample variables were unset. Both test commands exited with code 0. The worktree remained clean. **Not tested:** deliberately poisoned mutexes (already covered independently by CryingLaughing), recovery after GPU state corruption, baseline comparison, AMD/Intel GPUs, native wave64 or retail titles. No blocking findings within the tested scope. **AI use:** ChatGPT (GPT-6.2) assisted with diff review, test planning, log analysis and reporting. All commands were executed locally by me.
gutersohn commented 2026-11-24 11:05:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by gutersohn on 2026-11-24T10:16:24Z.


Test run of 84b664514f979b6d3bab76b807c0023f5fef008f on an AMD Radeon RX 6600 (RDNA2, Navi 23, gfx1032), as is and merged onto current main 02bfd1d: the two PoisonError follow-on failures are gone and only the #470 case is left; with #470 merged as well, 0 failed. (Current main 6efdabc changes only scripts/pr_check.py and its test since then.)

Tested

  • AMD Radeon RX 6600 (8 GB), AMD Windows driver 32.0.21045.16010; Intel Core i5-14600KF; Windows 11 10.0.26200; Rust 1.100.0 (stable-x86_64-pc-windows-msvc), debug; DXC 1.9.2602.17 (Windows SDK 10.0.26100); XCL_ADAPTER=radeon; no XCL_SAMPLE_* set
  • cargo build --workspace + cargo test --workspace --no-fail-fast -- --test-threads=4, one worktree per tree:
tree passed failed ignored failing tests
this PR's head 84b6645 (base dd2ae9a) 689 1 41 placed_title_textures_share_vram_and_preserve_pixels
main 02bfd1d 724 3 41 the same + transitions_apply_when_their_list_is_submitted, d32s8_targets_take_their_own_size_of_video_memory (PoisonError)
02bfd1d + this PR (local merge, clean) 726 1 41 placed_title_textures_share_vram_and_preserve_pixels
02bfd1d + this PR + #470 3896e4f (local merges, clean) 727 0 41 –
  • The remaining failure is 3D 64x64x64 4 mips: subresource 2 mismatch, the case #470 fixes.
  • Each of the three tests alone, 3 runs per tree: transitions_apply_when_their_list_is_submitted and d32s8_targets_take_their_own_size_of_video_memory pass 3/3 in every tree; placed_title_textures_share_vram_and_preserve_pixels fails 3/3 except with #470 (3/3 pass).
  • No SKIPPED GPU tests on this adapter in any tree.

Not tested

  • the retail title / scripts/smoke.ps1 (no game data); release build

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

<!-- greyfinch-sync:ivall/xcl:comment:7128551517 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/673#issuecomment-7128551517). Originally posted by [gutersohn](https://github.com/gutersohn) on 2026-11-24T10:16:24Z. --- Test run of `84b664514f979b6d3bab76b807c0023f5fef008f` on an **AMD Radeon RX 6600** (RDNA2, Navi 23, gfx1032), as is and merged onto current `main` `02bfd1d`: the two `PoisonError` follow-on failures are gone and only the #470 case is left; with #470 merged as well, 0 failed. (Current `main` `6efdabc` changes only `scripts/pr_check.py` and its test since then.) **Tested** - AMD Radeon RX 6600 (8 GB), AMD Windows driver 32.0.21045.16010; Intel Core i5-14600KF; Windows 11 10.0.26200; Rust 1.100.0 (stable-x86_64-pc-windows-msvc), debug; DXC 1.9.2602.17 (Windows SDK 10.0.26100); `XCL_ADAPTER=radeon`; no `XCL_SAMPLE_*` set - `cargo build --workspace` + `cargo test --workspace --no-fail-fast -- --test-threads=4`, one worktree per tree: | tree | passed | failed | ignored | failing tests | |---|---|---|---|---| | this PR's head `84b6645` (base `dd2ae9a`) | 689 | 1 | 41 | `placed_title_textures_share_vram_and_preserve_pixels` | | `main` `02bfd1d` | 724 | 3 | 41 | the same + `transitions_apply_when_their_list_is_submitted`, `d32s8_targets_take_their_own_size_of_video_memory` (`PoisonError`) | | `02bfd1d` + this PR (local merge, clean) | 726 | 1 | 41 | `placed_title_textures_share_vram_and_preserve_pixels` | | `02bfd1d` + this PR + #470 `3896e4f` (local merges, clean) | 727 | 0 | 41 | – | - The remaining failure is `3D 64x64x64 4 mips: subresource 2 mismatch`, the case #470 fixes. - Each of the three tests alone, 3 runs per tree: `transitions_apply_when_their_list_is_submitted` and `d32s8_targets_take_their_own_size_of_video_memory` pass 3/3 in every tree; `placed_title_textures_share_vram_and_preserve_pixels` fails 3/3 except with #470 (3/3 pass). - No `SKIPPED` GPU tests on this adapter in any tree. **Not tested** - the retail title / `scripts/smoke.ps1` (no game data); release build AI-assisted: Claude Code (Claude Opus 5.5) ran the tests and wrote this report.
JJAutoCompare commented 2026-11-25 07:05:31 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T06:24:41Z.


Empirical test report (84b66451)

Hardware / environment

  • Commit 84b664514f979b6d3bab76b807c0023f5fef008f, clean detached checkout.
  • Windows 11 Enterprise Evaluation, build 26200. AMD Ryzen 7 3800X (8 cores). Intel Arc A770, driver 32.0.101.9175.
  • Rust and Cargo 1.100.0 (x86_64-pc-windows-msvc), DXC 1.9.2609.5. Unoptimized test profile, debug info and incremental compilation disabled.

Commands and results

  • cargo test --workspace --no-run outside the Arc lock, exit 0 after adding Cargo to PATH. Build only.
  • CPU with XCL_ADAPTER=NONE_CPU_ONLY, exit 0, 1 passed / 0 failed / 0 ignored / 0 skipped.
    xcl-00e28da3621caf64.exe --exact hle::d3d12x::title_textures::tests::transitions_apply_when_their_list_is_submitted
    
  • GPU with XCL_ADAPTER=A770 inside Invoke-ArcTest.ps1, exit 0, 3 passed / 0 failed / 0 ignored as reported by libtest. The first wrapper invocation was blocked by PowerShell execution policy. The retry used a process-scoped bypass.
    xcl-00e28da3621caf64.exe --exact --test-threads=1 hle::d3d12x::title_textures::tests::gpu_mirror_upload_follows_cpu_writes_and_later_mapping_changes hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels hle::d3d12x::vram::tests::d32s8_targets_take_their_own_size_of_video_memory
    
  • Both focused commands used the prebuilt xcl library test binary and RUST_TEST_NOCAPTURE=1. Zero case-sensitive ^SKIPPED lines, one inline skip counted as a pass by libtest.

Observed behavior

The CPU transition test and the GPU mirror test passed. The mirror test logged the real Arc A770 backend. The placed-texture test printed SKIPPED ... tiled tier < 2. The D32S8 test returned ok and can silently return early at its adapter and heap-tier checks.

Not tested

Full GPU workspace suite, game smoke runs, and recovery after an intentionally poisoned mutex. The placed-texture assertions were skipped, and D32S8 assertion coverage was unconfirmed.

AI use

Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr673-focused.log and published.

<!-- greyfinch-sync:ivall/xcl:comment:7154762258 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/673#issuecomment-7154762258). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T06:24:41Z. --- ### Empirical test report (84b66451) **Hardware / environment** - Commit `84b664514f979b6d3bab76b807c0023f5fef008f`, clean detached checkout. - Windows 11 Enterprise Evaluation, build 26200. AMD Ryzen 7 3800X (8 cores). Intel Arc A770, driver 32.0.101.9175. - Rust and Cargo 1.100.0 (x86_64-pc-windows-msvc), DXC 1.9.2609.5. Unoptimized test profile, debug info and incremental compilation disabled. **Commands and results** - `cargo test --workspace --no-run` outside the Arc lock, exit 0 after adding Cargo to PATH. Build only. - CPU with `XCL_ADAPTER=NONE_CPU_ONLY`, exit 0, 1 passed / 0 failed / 0 ignored / 0 skipped. ``` xcl-00e28da3621caf64.exe --exact hle::d3d12x::title_textures::tests::transitions_apply_when_their_list_is_submitted ``` - GPU with `XCL_ADAPTER=A770` inside `Invoke-ArcTest.ps1`, exit 0, 3 passed / 0 failed / 0 ignored as reported by libtest. The first wrapper invocation was blocked by PowerShell execution policy. The retry used a process-scoped bypass. ``` xcl-00e28da3621caf64.exe --exact --test-threads=1 hle::d3d12x::title_textures::tests::gpu_mirror_upload_follows_cpu_writes_and_later_mapping_changes hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels hle::d3d12x::vram::tests::d32s8_targets_take_their_own_size_of_video_memory ``` - Both focused commands used the prebuilt xcl library test binary and `RUST_TEST_NOCAPTURE=1`. Zero case-sensitive `^SKIPPED ` lines, one inline skip counted as a pass by libtest. **Observed behavior** The CPU transition test and the GPU mirror test passed. The mirror test logged the real Arc A770 backend. The placed-texture test printed `SKIPPED ... tiled tier < 2`. The D32S8 test returned `ok` and can silently return early at its adapter and heap-tier checks. **Not tested** Full GPU workspace suite, game smoke runs, and recovery after an intentionally poisoned mutex. The placed-texture assertions were skipped, and D32S8 assertion coverage was unconfirmed. **AI use** Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr673-focused.log and published.
DavidM1911 commented 2026-11-25 13:05:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T12:10:41Z.


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

  • cargo test -p xcl --lib: 1038 passed, 1 failed in one parallel run; the failing test passes on a single-threaded rerun (1039/0). Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7162022324 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/673#issuecomment-7162022324). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T12:10:41Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: 1038 passed, 1 failed in one parallel run; the failing test passes on a single-threaded rerun (1039/0). Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun. Thanks!
upstream-sync closed this pull request 2026-11-25 20:06:47 +00:00
ivall commented 2026-11-25 20:08:32 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-25T19:18:57Z.


Merging: a panicking test no longer takes the next ones down through a poisoned lock.

Tested on AMD RDNA4 (native wave64), Windows, DXC 1.8.2502.11, debug, main 2898511 with 27 test PRs merged locally, this one included: the whole suite 3 times, 1419 passed, 2 failed, 46 ignored each time (fuzz_validate_and_gpu_1 and _3, which fail the same way on main); hle::d3d12x on 16 threads 5 times, no failure.

AI use: Claude Code (Claude Opus 5.5) reviewed and tested this and wrote the comment on the maintainer's behalf.

<!-- greyfinch-sync:ivall/xcl:comment:7172127080 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/673#issuecomment-7172127080). Originally posted by [ivall](https://github.com/ivall) on 2026-11-25T19:18:57Z. --- Merging: a panicking test no longer takes the next ones down through a poisoned lock. Tested on AMD RDNA4 (native wave64), Windows, DXC 1.8.2502.11, debug, `main` `2898511` with 27 test PRs merged locally, this one included: the whole suite 3 times, 1419 passed, 2 failed, 46 ignored each time (`fuzz_validate_and_gpu_1` and `_3`, which fail the same way on `main`); `hle::d3d12x` on 16 threads 5 times, no failure. AI use: Claude Code (Claude Opus 5.5) reviewed and tested this and wrote the comment on the maintainer's behalf.
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!668
No description provided.