Tests: check cubemap tile reuse independently of idle page reclamation #447

Manually merged
github merged 1 commit from gh-pr/447/head into gh-pr/447/base 2026-11-26 04:22:04 +00:00
Owner

@⁠Prime1997 on GitHub · 2026-11-24 00:23 UTC · original
Prime1997:contrib/vram-cube-reuse-test → main · +22 −2 · 2 files · 1 commits · merged 2026-11-25 19:18 UTC

Part of #288. On an RTX 3060 Ti, the cubemap reuse test sometimes fails on main even though the second placement can reuse the same tiles. The test compares all page bytes on the device. Creating a placement can also reclaim pages from earlier textures after their two-second idle period.

What is in it

  • A test-only helper in vram.rs snapshots the pool and tile identity for each title-page and extra-page tile of a mapped resource.
  • title_textures.rs checks that the second cube has the same ordered tile identities and that the first cube retains them. The bounded streaming, immediate-reclamation and pixel-readback assertions still run.

Tested

  • Commit 48e7434f5fa51934c3cd225eed4336a0bf9b0747, Windows 11 Pro build 26200, Intel Core i5-10400, GeForce RTX 3060 Ti (driver 32.0.16.1714), Rust 1.100.0. Built the workspace in debug and the smoke binary with cargo build --locked --release -p xcl.
  • Unmodified main a6f5f7a: cargo test -p xcl --lib placed_title_textures_share_vram_and_preserve_pixels -- --test-threads=1 --nocapture failed, with total page bytes falling from 17,170,432 to 2,555,904.
  • Ran cargo test --locked -p xcl --lib hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels -- --exact --test-threads=1 --nocapture twice on the PR. Both runs passed on the GPU. Each observed 33 title-page and three extra-page tiles reused, and zero page growth after the streaming working set had filled.
  • cargo test --workspace --no-fail-fast -- --test-threads=4: 676 passed, 0 failed, 41 ignored. 2 GPU tests reported a skip. The full suite was rerun with XCL_DXC_DIR pointing to the installed DXC. The initial run loaded a compiler that returned E_NOINTERFACE and failed shader-related tests.
    • gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64
    • gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64

Related work and independent tests

This PR checks cubemap reuse. Luxuryig checks the separate unaligned-texture assertion in the same test. The two assertions can fail independently when unrelated memory is reclaimed. PR #770 and forced reproduction of the unaligned case.

A contributor tested both PRs together on an RTX 4060 Laptop, on upstream main at beaa245. All three full runs reported 713 passed, 0 failed and 41 ignored, with two wave64 skips in each. Main alone reproduced the cubemap assertion in two of three runs. The unaligned failure did not occur spontaneously in that comparison. Independent comparison on #718

Regression run

Same title, graphics settings and 60-second limit on both release builds, using fresh title-data directories. Both smoke blocks use the same anonymized title identifier. The synthetic GPU regression exercises cubemap reuse.

Main

xcl-smoke v1
commit: a6f5f7a74cc620c1f88a9e3669a633d10c3c8212
gpu: NVIDIA GeForce RTX 3060 Ti
title: 419239bf
seconds: 60
exit: 0x0
frames shown: 235 (PresentX 235)
presents per 2 s (last 3): 9 10 9
device removals: 0
crashes: 0
peak commit: 15196 MB

PR

xcl-smoke v1
commit: 48e7434f5fa51934c3cd225eed4336a0bf9b0747
gpu: NVIDIA GeForce RTX 3060 Ti
title: 419239bf
seconds: 60
exit: 0x0
frames shown: 283 (PresentX 283)
presents per 2 s (last 3): 10 10 11
device removals: 0
crashes: 0
peak commit: 15204 MB

Not tested

Other GPUs and drivers, retail gameplay, and optional tests requiring external sample files.

AI use

OpenAI Codex (GPT-6) helped diagnose the assertion, check existing PRs, implement the test-only change, and run validation.

I use a temporary Discord to coordinate my work. Anyone helping test XCL or compare results is welcome. Test coordination on Discord

**@⁠Prime1997** on GitHub · 2026-11-24 00:23 UTC · [original](https://github.com/xcl-dev/xcl/pull/447) `Prime1997:contrib/vram-cube-reuse-test` → `main` · +22 −2 · 2 files · 1 commits · merged 2026-11-25 19:18 UTC Part of #288. On an RTX 3060 Ti, the cubemap reuse test sometimes fails on main even though the second placement can reuse the same tiles. The test compares all page bytes on the device. Creating a placement can also reclaim pages from earlier textures after their two-second idle period. **What is in it** - A test-only helper in `vram.rs` snapshots the pool and tile identity for each title-page and extra-page tile of a mapped resource. - `title_textures.rs` checks that the second cube has the same ordered tile identities and that the first cube retains them. The bounded streaming, immediate-reclamation and pixel-readback assertions still run. **Tested** - Commit `48e7434f5fa51934c3cd225eed4336a0bf9b0747`, Windows 11 Pro build 26200, Intel Core i5-10400, GeForce RTX 3060 Ti (driver 32.0.16.1714), Rust 1.100.0. Built the workspace in debug and the smoke binary with `cargo build --locked --release -p xcl`. - Unmodified main `a6f5f7a`: `cargo test -p xcl --lib placed_title_textures_share_vram_and_preserve_pixels -- --test-threads=1 --nocapture` failed, with total page bytes falling from 17,170,432 to 2,555,904. - Ran `cargo test --locked -p xcl --lib hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels -- --exact --test-threads=1 --nocapture` twice on the PR. Both runs passed on the GPU. Each observed 33 title-page and three extra-page tiles reused, and zero page growth after the streaming working set had filled. - `cargo test --workspace --no-fail-fast -- --test-threads=4`: 676 passed, 0 failed, 41 ignored. 2 GPU tests reported a skip. The full suite was rerun with `XCL_DXC_DIR` pointing to the installed DXC. The initial run loaded a compiler that returned `E_NOINTERFACE` and failed shader-related tests. - `gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64` - `gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64` **Related work and independent tests** This PR checks cubemap reuse. Luxuryig checks the separate unaligned-texture assertion in the same test. The two assertions can fail independently when unrelated memory is reclaimed. [PR #770](https://github.com/ivall/xcl/pull/770) and [forced reproduction of the unaligned case](https://github.com/ivall/xcl/pull/447#issuecomment-7122445820). A contributor tested both PRs together on an RTX 4060 Laptop, on upstream main at `beaa245`. All three full runs reported 713 passed, 0 failed and 41 ignored, with two wave64 skips in each. Main alone reproduced the cubemap assertion in two of three runs. The unaligned failure did not occur spontaneously in that comparison. [Independent comparison on #718](https://github.com/ivall/xcl/issues/718#issuecomment-7124860206) **Regression run** Same title, graphics settings and 60-second limit on both release builds, using fresh title-data directories. Both smoke blocks use the same anonymized title identifier. The synthetic GPU regression exercises cubemap reuse. Main ``` xcl-smoke v1 commit: a6f5f7a74cc620c1f88a9e3669a633d10c3c8212 gpu: NVIDIA GeForce RTX 3060 Ti title: 419239bf seconds: 60 exit: 0x0 frames shown: 235 (PresentX 235) presents per 2 s (last 3): 9 10 9 device removals: 0 crashes: 0 peak commit: 15196 MB ``` PR ``` xcl-smoke v1 commit: 48e7434f5fa51934c3cd225eed4336a0bf9b0747 gpu: NVIDIA GeForce RTX 3060 Ti title: 419239bf seconds: 60 exit: 0x0 frames shown: 283 (PresentX 283) presents per 2 s (last 3): 10 10 11 device removals: 0 crashes: 0 peak commit: 15204 MB ``` **Not tested** Other GPUs and drivers, retail gameplay, and optional tests requiring external sample files. **AI use** OpenAI Codex (GPT-6) helped diagnose the assertion, check existing PRs, implement the test-only change, and run validation. I use a temporary Discord to coordinate my work. Anyone helping test XCL or compare results is welcome. [Test coordination on Discord](https://discord.gg/gK3y7WRRY)
A placement sweeps pages belonging to unrelated targets idle for two seconds. Comparing device-wide bytes before and after the second cube can therefore fail when those old targets expire. Snapshot the mapped title-page and extra-page pool/tile identities for the cube and require the new and original resources to share all of them. Keep the existing placement-growth, reclamation and pixel-readback checks.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:22:03 +00:00
github manually merged commit 48e7434f5f into gh-pr/447/base 2026-11-26 04:22:04 +00:00
Author
Owner

@⁠alpz1000 on GitHub · 2026-11-24 00:31 UTC · original

Independent RTX 3060 check of PR #447.

Tested on NVIDIA GeForce RTX 3060 12 GB (610.88 / 32.0.16.1088), Intel Core i5-8400, Windows 11 Home 26200.9974, Rust 1.100.0 x86_64-pc-windows-msvc, MSVC linker 14.44.35230, debug.

cargo test --locked -p xcl --lib hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels -- --exact --test-threads=1 --nocapture

  • Base a6f5f7a74cc620c1f88a9e3669a633d10c3c8212: both isolated runs passed. No skip message.
  • PR head 48e7434f5fa51934c3cd225eed4336a0bf9b0747: both isolated runs passed. No skip message. Both runs logged reuse of 33 title-page tiles and 3 extra-page tiles for the cubemap.

On this same machine, the earlier 2b4bb431 run reproduced the page-total assertion in isolation (2,555,904 vs. 17,170,432), as reported in #42. It did not reproduce on the PR's base during this check, so the new result confirms the tile-identity assertion runs and passes on this adapter.

Not tested: full workspace at this PR head, retail titles, or other adapters.

AI use: OpenAI Codex (GPT-6) ran the local checks and drafted the report.

**@⁠alpz1000** on GitHub · 2026-11-24 00:31 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7118154550) Independent RTX 3060 check of PR #447. **Tested** on NVIDIA GeForce RTX 3060 12 GB (610.88 / 32.0.16.1088), Intel Core i5-8400, Windows 11 Home 26200.9974, Rust 1.100.0 x86_64-pc-windows-msvc, MSVC linker 14.44.35230, debug. `cargo test --locked -p xcl --lib hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels -- --exact --test-threads=1 --nocapture` - Base `a6f5f7a74cc620c1f88a9e3669a633d10c3c8212`: both isolated runs passed. No skip message. - PR head `48e7434f5fa51934c3cd225eed4336a0bf9b0747`: both isolated runs passed. No skip message. Both runs logged reuse of 33 title-page tiles and 3 extra-page tiles for the cubemap. On this same machine, the earlier `2b4bb431` run reproduced the page-total assertion in isolation (2,555,904 vs. 17,170,432), as reported in #42. It did not reproduce on the PR's base during this check, so the new result confirms the tile-identity assertion runs and passes on this adapter. **Not tested**: full workspace at this PR head, retail titles, or other adapters. **AI use**: OpenAI Codex (GPT-6) ran the local checks and drafted the report.
Author
Owner

@⁠AGInformatique81 on GitHub · 2026-11-24 00:34 UTC · original

Independent RTX 2060 check of PR #447.

Tested — Windows 11 Pro build 26300, Intel Core i7-9700K, NVIDIA GeForce RTX 2060 (driver 32.0.16.2124), Rust 1.100.0, DXC 1.9.2602.17 from Windows SDK 10.0.26100.0.

cargo test --release --locked -p xcl --lib hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels -- --exact --test-threads=1 --nocapture
  • Baseline a6f5f7a74cc620c1f88a9e3669a633d10c3c8212: three passes. The intermittent failure did not reproduce on this machine.
  • PR head 48e7434f5fa51934c3cd225eed4336a0bf9b0747: three passes. Each run reported reuse of 33 title-page tiles and 3 extra-page tiles.
  • No skip was reported in any of the six runs.

Not tested — The full workspace suite on this PR, other GPUs, or a retail title.

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

**@⁠AGInformatique81** on GitHub · 2026-11-24 00:34 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7118218105) Independent RTX 2060 check of PR #447. **Tested** — Windows 11 Pro build 26300, Intel Core i7-9700K, NVIDIA GeForce RTX 2060 (driver `32.0.16.2124`), Rust `1.100.0`, DXC `1.9.2602.17` from Windows SDK `10.0.26100.0`. ```powershell cargo test --release --locked -p xcl --lib hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels -- --exact --test-threads=1 --nocapture ``` - Baseline `a6f5f7a74cc620c1f88a9e3669a633d10c3c8212`: three passes. The intermittent failure did not reproduce on this machine. - PR head `48e7434f5fa51934c3cd225eed4336a0bf9b0747`: three passes. Each run reported reuse of 33 title-page tiles and 3 extra-page tiles. - No skip was reported in any of the six runs. **Not tested** — The full workspace suite on this PR, other GPUs, or a retail title. **AI use** — Codex (GPT-6) ran the tests and drafted this report.
Author
Owner

@⁠AC-Storm-YT on GitHub · 2026-11-24 00:35 UTC · original

Test run on AMD RDNA4 – commit 48e7434 (this PR's head, as is), clean tree

Tested

  • AMD Radeon RX 9070 XT (RDNA4, wave64), driver 32.0.32029.2010 – the tests ran on it (backend 'real' – AMD Radeon RX 9070 XT); AMD Ryzen 7 9800X3D; Windows 11 Pro build 26200; Rust 1.100.0 stable-x86_64-pc-windows-msvc, debug; DXC 1.8.2502.11
  • cargo build --workspace: ok
  • cargo test --workspace -- --test-threads=4: 676 passed, 0 failed, 41 ignored. No SKIPPED tests.
  • placed_title_textures_share_vram_and_preserve_pixels passed in the full run and in 10 of 10 separate runs (cargo test -p xcl --lib placed_title_textures_share_vram_and_preserve_pixels, about 9–10 s each)

Not tested

  • The NVIDIA case the PR fixes: I have no RTX 3060 Ti, and I did not run main here to see whether the old check fails on this GPU
  • Release build; this commit merged with current main

Run and report: Claude Code (Claude Opus 5.5).

**@⁠AC-Storm-YT** on GitHub · 2026-11-24 00:35 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7118232997) Test run on AMD RDNA4 – commit `48e7434` (this PR's head, as is), clean tree **Tested** - AMD Radeon RX 9070 XT (RDNA4, wave64), driver 32.0.32029.2010 – the tests ran on it (`backend 'real' – AMD Radeon RX 9070 XT`); AMD Ryzen 7 9800X3D; Windows 11 Pro build 26200; Rust 1.100.0 `stable-x86_64-pc-windows-msvc`, debug; DXC 1.8.2502.11 - `cargo build --workspace`: ok - `cargo test --workspace -- --test-threads=4`: 676 passed, 0 failed, 41 ignored. No SKIPPED tests. - `placed_title_textures_share_vram_and_preserve_pixels` passed in the full run and in 10 of 10 separate runs (`cargo test -p xcl --lib placed_title_textures_share_vram_and_preserve_pixels`, about 9–10 s each) **Not tested** - The NVIDIA case the PR fixes: I have no RTX 3060 Ti, and I did not run `main` here to see whether the old check fails on this GPU - Release build; this commit merged with current `main` Run and report: Claude Code (Claude Opus 5.5).
Author
Owner

@⁠3L1A5-1 on GitHub · 2026-11-24 00:43 UTC · original · edited 2026-11-24 01:13 UTC

Independent Turing check of #447.

Tested: NVIDIA GeForce RTX 2060 SUPER 8 GB (Turing, 32-wide), driver 617.14 (32.0.16.1714), Intel Core i5-9400F, Windows 11 Pro 26300, Rust 1.100.0 x86_64-pc-windows-msvc, debug.

placed_title_textures_share_vram_and_preserve_pixels alone (--exact, --test-threads=1) full cargo test -p xcl --lib (default threads)
main (a6f5f7a / 2997c9a) 2 of 9 runs fail: cubemap extra_pages must be reused at same va, 2,555,904 vs 17,170,432 1 of 2 runs failed (that test, plus two PoisonError follow-ons)
#447 48e7434 9 of 9 pass 636 passed, 0 failed

The failure on main also shows with a single test thread, so it fits the idle-reclamation explanation here, not only the parallel collision in #343. Report written with Claude Code (Claude Opus 5.5) from these runs.

**@⁠3L1A5-1** on GitHub · 2026-11-24 00:43 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7118371659) · edited 2026-11-24 01:13 UTC Independent Turing check of #447. **Tested:** NVIDIA GeForce RTX 2060 SUPER 8 GB (Turing, 32-wide), driver 617.14 (32.0.16.1714), Intel Core i5-9400F, Windows 11 Pro 26300, Rust 1.100.0 x86_64-pc-windows-msvc, debug. | | `placed_title_textures_share_vram_and_preserve_pixels` alone (`--exact`, `--test-threads=1`) | full `cargo test -p xcl --lib` (default threads) | |---|---|---| | `main` (`a6f5f7a` / `2997c9a`) | 2 of 9 runs fail: `cubemap extra_pages must be reused at same va`, 2,555,904 vs 17,170,432 | 1 of 2 runs failed (that test, plus two `PoisonError` follow-ons) | | #447 `48e7434` | 9 of 9 pass | 636 passed, 0 failed | The failure on `main` also shows with a single test thread, so it fits the idle-reclamation explanation here, not only the parallel collision in #343. Report written with Claude Code (Claude Opus 5.5) from these runs.
Author
Owner

@⁠lukkasremondi on GitHub · 2026-11-24 01:50 UTC · original

Test of #447 on RTX 3080 / Zen 1 / Windows 10, plus the PR merged onto current main

Tested: NVIDIA GeForce RTX 3080 10 GB, driver 617.42 (32.0.16.1742); AMD Ryzen 5 1600 (Zen 1); Windows 10 Pro 22H2 (19045.6466) with Agility SDK 1.620.2 through XCL_D3D12_DIR; DXC 1.9.2602; Rust 1.100.0; debug build; clean worktrees.

cargo test --workspace --no-fail-fast -- --test-threads=4:

commit passed failed ignored
main 508a0c7 677 3 41
PR head 48e7434 676 0 41
48e7434 merged onto 508a0c7 (local merge; title_textures.rs merges without conflicts) 680 0 41
  • On main the failure happens every time on this machine: 3 of 3 runs, including cargo test -p xcl --lib -- --test-threads=1. Each run gives cubemap extra_pages must be reused at same va with 2,555,904 vs 17,170,432, and two PoisonError follow-ons. In one run I waited 2.1 s and placed the cube once more before p0, so the idle sweep ran before the measurement. That run passed (lib: 640 passed, 0 failed), which matches the PR's explanation.
  • With the PR, at its head and merged: cargo test -p xcl --lib -- --test-threads=1 --show-output prints 2D 256x256x6 cubemap 9 mips: reused 33 title-page tiles and 3 extra-page tiles and the test passes.
  • SKIPPED (every run): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware (no wave64).
  • On Windows 10, running the test alone shows nothing. cargo test -p xcl --lib hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels -- --exact prints SKIPPED …: this adapter makes no reserved cube with mips and passes, on main and on the PR. The line goes through println!, so it shows only with --nocapture. In the whole lib run the same test does not skip. I did not look into why.

Not tested: other GPUs, release build, any title.

AI use: Claude Code with Claude Opus 5.5 ran the tests and drafted this report.

**@⁠lukkasremondi** on GitHub · 2026-11-24 01:50 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7119490440) Test of #447 on RTX 3080 / Zen 1 / Windows 10, plus the PR merged onto current `main` **Tested**: NVIDIA GeForce RTX 3080 10 GB, driver 617.42 (32.0.16.1742); AMD Ryzen 5 1600 (Zen 1); Windows 10 Pro 22H2 (19045.6466) with Agility SDK 1.620.2 through `XCL_D3D12_DIR`; DXC 1.9.2602; Rust 1.100.0; debug build; clean worktrees. `cargo test --workspace --no-fail-fast -- --test-threads=4`: | commit | passed | failed | ignored | |---|---|---|---| | `main` `508a0c7` | 677 | 3 | 41 | | PR head `48e7434` | 676 | 0 | 41 | | `48e7434` merged onto `508a0c7` (local merge; `title_textures.rs` merges without conflicts) | 680 | 0 | 41 | - On `main` the failure happens every time on this machine: 3 of 3 runs, including `cargo test -p xcl --lib -- --test-threads=1`. Each run gives `cubemap extra_pages must be reused at same va` with 2,555,904 vs 17,170,432, and two `PoisonError` follow-ons. In one run I waited 2.1 s and placed the cube once more before `p0`, so the idle sweep ran before the measurement. That run passed (lib: 640 passed, 0 failed), which matches the PR's explanation. - With the PR, at its head and merged: `cargo test -p xcl --lib -- --test-threads=1 --show-output` prints `2D 256x256x6 cubemap 9 mips: reused 33 title-page tiles and 3 extra-page tiles` and the test passes. - SKIPPED (every run): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware` (no wave64). - **On Windows 10, running the test alone shows nothing.** `cargo test -p xcl --lib hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels -- --exact` prints `SKIPPED …: this adapter makes no reserved cube with mips` and passes, on `main` and on the PR. The line goes through `println!`, so it shows only with `--nocapture`. In the whole lib run the same test does not skip. I did not look into why. **Not tested**: other GPUs, release build, any title. **AI use**: Claude Code with Claude Opus 5.5 ran the tests and drafted this report.
Author
Owner

@⁠13hourstilliland on GitHub · 2026-11-24 01:52 UTC · original

Independent Ampere 8 GB (RTX 3070, driver 610.88) check on exact PR head 48e7434, including the full workspace suite.

Tested

  • Commit: 48e7434f5fa51934c3cd225eed4336a0bf9b0747 (PR #447 head), clean worktree
  • Hardware: NVIDIA GeForce RTX 3070 8 GB, driver 610.88; Intel Core i5-12600K, 31.8 GB RAM; Windows 11 Home build 26200.9974
  • Toolchain: Rust 1.100.0 (stable-x86_64-pc-windows-gnu, not MSVC); DXC 1.9.2609.5 (01b62ad4) via XCL_DXC_DIR; debug build; no XCL_SAMPLE_* set
  • Targeted command (3 runs): cargo test -p xcl --lib -- hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels --exact --test-threads=1 --nocapture
    • Result: 3/3 passed (11.72 s, 11.39 s, 11.32 s), no skip; every run logged 2D 256x256x6 cubemap 9 mips: reused 33 title-page tiles and 3 extra-page tiles
  • Full workspace command: cargo test --workspace --no-fail-fast -- --test-threads=4 --show-output (interactive desktop session)
    • Result: 676 passed, 0 failed, 41 ignored across 16 test binaries (xcl lib: 636 passed, 0 failed, 21 ignored; e2e: 3/0)
  • SKIPPED (4, not coverage):
    • no wave64 (2): gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask, gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware
    • no D3D12 debug layer (2): test_title_draws_with_a_root_signature_under_the_debug_layer, uploads_start_from_each_subresources_state
  • TDR / device removal: 0 Display 4101 events in the System event log

Not tested

  • Reproducing the pre-PR reclamation failure on main, AMD / wave64 hardware, MSVC toolchain, release build, retail title / scripts/smoke.ps1, D3D12 debug-layer tests

AI use

  • Hermes Agent, gemini-4-neon: ran the commands and wrote this report from the logs; the human reviewed it.
**@⁠13hourstilliland** on GitHub · 2026-11-24 01:52 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7119527602) Independent Ampere 8 GB (RTX 3070, driver 610.88) check on exact PR head `48e7434`, including the full workspace suite. **Tested** - Commit: `48e7434f5fa51934c3cd225eed4336a0bf9b0747` (PR #447 head), clean worktree - Hardware: NVIDIA GeForce RTX 3070 8 GB, driver 610.88; Intel Core i5-12600K, 31.8 GB RAM; Windows 11 Home build 26200.9974 - Toolchain: Rust 1.100.0 (`stable-x86_64-pc-windows-gnu`, not MSVC); DXC 1.9.2609.5 (`01b62ad4`) via `XCL_DXC_DIR`; debug build; no `XCL_SAMPLE_*` set - Targeted command (3 runs): `cargo test -p xcl --lib -- hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels --exact --test-threads=1 --nocapture` - Result: **3/3 passed** (11.72 s, 11.39 s, 11.32 s), no skip; every run logged `2D 256x256x6 cubemap 9 mips: reused 33 title-page tiles and 3 extra-page tiles` - Full workspace command: `cargo test --workspace --no-fail-fast -- --test-threads=4 --show-output` (interactive desktop session) - Result: **676 passed, 0 failed, 41 ignored** across 16 test binaries (`xcl` lib: 636 passed, 0 failed, 21 ignored; `e2e`: 3/0) - `SKIPPED` (4, not coverage): - `no wave64` (2): `gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware` - `no D3D12 debug layer` (2): `test_title_draws_with_a_root_signature_under_the_debug_layer`, `uploads_start_from_each_subresources_state` - TDR / device removal: 0 Display 4101 events in the System event log **Not tested** - Reproducing the pre-PR reclamation failure on `main`, AMD / wave64 hardware, MSVC toolchain, release build, retail title / `scripts/smoke.ps1`, D3D12 debug-layer tests **AI use** - Hermes Agent, `gemini-4-neon`: ran the commands and wrote this report from the logs; the human reviewed it.
Author
Owner

@⁠Jevix on GitHub · 2026-11-24 01:54 UTC · original

Independent RTX 4060 validation of PR #447.

Tested

  • CPU: Intel Core i7-7700 (4C/8T)
  • GPU: NVIDIA RTX 4060 8 GB (Ada, Wave32)
  • Driver: NVIDIA 610.88
  • RAM: 24 GB
  • Windows 11 Pro build 26100
  • Rust 1.100.0 MSVC
  • DXC 1.9.2602.17
  • D3D12 debug layer installed

PR head: 48e7434f5fa51934c3cd225eed4336a0bf9b0747

The original cubemap assertion failed on local main (7ebf1b8), reproducing the reported decrease from 17,170,432 to 2,555,904 bytes.

Results on PR #447

  • Focused regression test: 5/5 passed.
  • 33 title-page tiles and 3 extra-page tiles reused in every run.
  • No additional page or local VRAM growth after the streaming working set filled.
  • Full workspace suite: 676 passed, 0 failed, 41 ignored, including 2 GPU skips due to unavailable native Wave64.

The resource-specific tile identity assertions passed consistently. No blocking findings on this configuration.

Not tested: AMD/Intel GPUs, native Wave64, retail titles, release builds, or rebasing onto current main.

AI use: OpenAI Codex (GPT-5, exact variant unavailable) assisted with code review, test execution and analysis. ChatGPT (GPT-6.2) condensed the report.

**@⁠Jevix** on GitHub · 2026-11-24 01:54 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7119564087) Independent RTX 4060 validation of PR #447. **Tested** - CPU: Intel Core i7-7700 (4C/8T) - GPU: NVIDIA RTX 4060 8 GB (Ada, Wave32) - Driver: NVIDIA 610.88 - RAM: 24 GB - Windows 11 Pro build 26100 - Rust 1.100.0 MSVC - DXC 1.9.2602.17 - D3D12 debug layer installed PR head: `48e7434f5fa51934c3cd225eed4336a0bf9b0747` The original cubemap assertion failed on local main (`7ebf1b8`), reproducing the reported decrease from 17,170,432 to 2,555,904 bytes. **Results on PR #447** - Focused regression test: 5/5 passed. - 33 title-page tiles and 3 extra-page tiles reused in every run. - No additional page or local VRAM growth after the streaming working set filled. - Full workspace suite: **676 passed, 0 failed, 41 ignored**, including 2 GPU skips due to unavailable native Wave64. The resource-specific tile identity assertions passed consistently. No blocking findings on this configuration. **Not tested:** AMD/Intel GPUs, native Wave64, retail titles, release builds, or rebasing onto current main. **AI use:** OpenAI Codex (GPT-5, exact variant unavailable) assisted with code review, test execution and analysis. ChatGPT (GPT-6.2) condensed the report.
Author
Owner

@⁠futurepro62 on GitHub · 2026-11-24 04:21 UTC · original

A check the runs above don't have: the failure forced, so it no longer depends on timing. Details of the cause are in #718.

Tested

  • 48e7434 merged onto current main f4ce27c (clean merge, title_textures.rs and vram.rs auto-merged). NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, debug, D3D12 debug layer installed, XCL_REQUIRE_GPU=mesh.

  • Forced the idle sweep with a temporary std::thread::sleep(2 s) just before the second place_tex (local edit, reverted after):

    --exact …placed_title_textures_share_vram_and_preserve_pixels --test-threads=1 cargo test -p xcl --lib -- --test-threads=4
    main f4ce27c + sleep 2 of 2 fail (left: 2359296, right: 17170432) 5 of 5 fail (same assertion, plus the two PoisonError follow-ons)
    this PR on f4ce27c + sleep 3 of 3 pass 3 of 3 pass (660 passed, 0 failed, 21 ignored)

    Each passing run printed 2D 256x256x6 cubemap 9 mips: reused 33 title-page tiles and 3 extra-page tiles.

  • Without the sleep, cargo build --workspace then cargo test --workspace -- --test-threads=4 on the merge: 701 passed, 0 failed, 41 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.

Not tested

  • That the new tile-identity check fails when reuse is really broken (I did not break reuse to check it), AMD, a release build.

AI use

  • Claude Code (Claude Opus 5.5) added and removed the sleep, ran the tests and wrote this report. I checked it before posting.
**@⁠futurepro62** on GitHub · 2026-11-24 04:21 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7121947024) A check the runs above don't have: the failure forced, so it no longer depends on timing. Details of the cause are in #718. **Tested** - `48e7434` merged onto current `main` `f4ce27c` (clean merge, `title_textures.rs` and `vram.rs` auto-merged). NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, debug, D3D12 debug layer installed, `XCL_REQUIRE_GPU=mesh`. - Forced the idle sweep with a temporary `std::thread::sleep(2 s)` just before the second `place_tex` (local edit, reverted after): | | `--exact …placed_title_textures_share_vram_and_preserve_pixels --test-threads=1` | `cargo test -p xcl --lib -- --test-threads=4` | |---|---|---| | `main` `f4ce27c` + sleep | **2 of 2 fail** (`left: 2359296, right: 17170432`) | **5 of 5 fail** (same assertion, plus the two `PoisonError` follow-ons) | | this PR on `f4ce27c` + sleep | **3 of 3 pass** | **3 of 3 pass** (660 passed, 0 failed, 21 ignored) | Each passing run printed `2D 256x256x6 cubemap 9 mips: reused 33 title-page tiles and 3 extra-page tiles`. - Without the sleep, `cargo build --workspace` then `cargo test --workspace -- --test-threads=4` on the merge: **701 passed, 0 failed, 41 ignored**. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. **Not tested** - That the new tile-identity check fails when reuse is really broken (I did not break reuse to check it), AMD, a release build. **AI use** - Claude Code (Claude Opus 5.5) added and removed the sleep, ran the tests and wrote this report. I checked it before posting.
Author
Owner

@⁠futurepro62 on GitHub · 2026-11-24 04:54 UTC · original

Follow-up to my report above, confirming what @⁠fromthemoonx found on #718: the reusing unaligned va must share extra_pages tile check in the same test has the same timing dependence, and this PR does not cover it yet.

Tested

  • 48e7434 merged onto current main (clean merge). RTX 5070 Ti (616.64), Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, debug.
  • Temporary std::thread::sleep(2100 ms) between let pages_before_reuse = dev_pages(); and let reused = place_tex(base + 0x4000, &d16); (local edit, reverted): cargo test -p xcl --lib -- --exact hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels --test-threads=1 fails 3 of 3:
    assertion `left == right` failed: reusing unaligned va must share extra_pages tile
      left: 327680
     right: 16973824
    
    Without the sleep: 3 of 3 pass.
  • Same cause as the cube check: place_tex → bind → sweep returns pages left idle by earlier steps, so the device-wide dev_pages() drops. The tile-identity comparison this PR uses for the cube would likely fit here too.

Not tested

  • A change to this check (left to you), AMD.

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this comment. I checked it before posting.
**@⁠futurepro62** on GitHub · 2026-11-24 04:54 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7122445820) Follow-up to my report above, confirming what @⁠fromthemoonx found on #718: the **`reusing unaligned va must share extra_pages tile`** check in the same test has the same timing dependence, and this PR does not cover it yet. **Tested** - `48e7434` merged onto current `main` (clean merge). RTX 5070 Ti (616.64), Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, debug. - Temporary `std::thread::sleep(2100 ms)` between `let pages_before_reuse = dev_pages();` and `let reused = place_tex(base + 0x4000, &d16);` (local edit, reverted): `cargo test -p xcl --lib -- --exact hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels --test-threads=1` fails **3 of 3**: ``` assertion `left == right` failed: reusing unaligned va must share extra_pages tile left: 327680 right: 16973824 ``` Without the sleep: 3 of 3 pass. - Same cause as the cube check: `place_tex` → `bind` → `sweep` returns pages left idle by earlier steps, so the device-wide `dev_pages()` drops. The tile-identity comparison this PR uses for the cube would likely fit here too. **Not tested** - A change to this check (left to you), AMD. **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this comment. I checked it before posting.
Author
Owner

@⁠milesah3ad on GitHub · 2026-11-24 05:52 UTC · original

Test report for #447 on an RTX 5080 (wave32, Blackwell). It fixes the #718 flake here, and on this machine main fails every time, not just sometimes.

Tested

  • NVIDIA GeForce RTX 5080 16 GB, driver 621.14 (32.0.16.2114); AMD Ryzen 7 9800X3D; Windows 11 Pro build 26300
  • rustc 1.100.0 (stable-x86_64-pc-windows-msvc), debug; DXC 1.9.2609 (XCL_DXC_DIR)
  • main e50836b, cargo test --workspace --no-fail-fast -- --test-threads=4: lib 660 passed, 3 failed, 21 ignored. The failure is the #718 cubemap check (left: 2555904, right: 17170432), plus the two PoisonError follow-ons. It failed on 2 of 2 full-suite runs. Run alone (cargo test -p xcl --lib placed_title_textures_share_vram_and_preserve_pixels), it passes 5 of 5 times in about 1 s. That fits the 2 s idle-sweep explanation: under the full suite the test runs long enough to trigger the sweep.
  • #447 head 48e7434, same command: 676 passed, 0 failed, 41 ignored (all binaries).
  • #447 merged locally onto main e50836b (merges cleanly): 704 passed, 0 failed, 41 ignored (all binaries). The lib suite on its own passed 3 more times: 663 passed, 0 failed each time.
  • SKIPPED on this adapter: gpu_geometry_wave32_prefix_count_over_a_mask and gpu_wave32_program_in_wave64_hardware (no wave64).

Not tested

  • AMD / wave64 hardware, release builds, any retail title (this is a test-only change).

AI use

  • Claude Code (Claude Opus 5.5) ran the builds and tests and wrote this report. I checked the results before posting.
**@⁠milesah3ad** on GitHub · 2026-11-24 05:52 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7123350593) Test report for #447 on an RTX 5080 (wave32, Blackwell). It fixes the #718 flake here, and on this machine `main` fails every time, not just sometimes. **Tested** - NVIDIA GeForce RTX 5080 16 GB, driver 621.14 (32.0.16.2114); AMD Ryzen 7 9800X3D; Windows 11 Pro build 26300 - rustc 1.100.0 (stable-x86_64-pc-windows-msvc), debug; DXC 1.9.2609 (`XCL_DXC_DIR`) - `main` `e50836b`, `cargo test --workspace --no-fail-fast -- --test-threads=4`: lib 660 passed, **3 failed**, 21 ignored. The failure is the #718 cubemap check (`left: 2555904`, `right: 17170432`), plus the two `PoisonError` follow-ons. It failed on 2 of 2 full-suite runs. Run alone (`cargo test -p xcl --lib placed_title_textures_share_vram_and_preserve_pixels`), it passes 5 of 5 times in about 1 s. That fits the 2 s idle-sweep explanation: under the full suite the test runs long enough to trigger the sweep. - #447 head `48e7434`, same command: 676 passed, 0 failed, 41 ignored (all binaries). - #447 merged locally onto `main` `e50836b` (merges cleanly): 704 passed, 0 failed, 41 ignored (all binaries). The lib suite on its own passed 3 more times: 663 passed, 0 failed each time. - SKIPPED on this adapter: `gpu_geometry_wave32_prefix_count_over_a_mask` and `gpu_wave32_program_in_wave64_hardware` (no wave64). **Not tested** - AMD / wave64 hardware, release builds, any retail title (this is a test-only change). **AI use** - Claude Code (Claude Opus 5.5) ran the builds and tests and wrote this report. I checked the results before posting.
Author
Owner

@⁠MajorUnfazed on GitHub · 2026-11-24 08:01 UTC · original

Tested: PR head 48e7434f5f on a GTX 1650 (4 GB), driver 621.24, i7-12700K, Windows build 26300.9974, Rust 1.100.0 MSVC, DXC 1.9.2602.17, debug build.

  • cargo build --workspace --locked --offline passed.
  • Ran cargo test --workspace --locked --offline --no-fail-fast -- --test-threads=4 three times back to back. Each run had 676 passed, 0 failed, and 41 ignored. Two native-wave64 checks skipped each time and are included in the pass count.
  • The cubemap reuse test passed 5/5 in isolation on both the PR head and main at 1ec4c98. An earlier four-thread workspace run on 1ec4c98 hit the cubemap assertion tracked in #718.
    Not tested: Retail titles or native-wave64 hardware.
**@⁠MajorUnfazed** on GitHub · 2026-11-24 08:01 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7125632381) Tested: PR head 48e7434f5fa51934c3cd225eed4336a0bf9b0747 on a GTX 1650 (4 GB), driver 621.24, i7-12700K, Windows build 26300.9974, Rust 1.100.0 MSVC, DXC 1.9.2602.17, debug build. - cargo build --workspace --locked --offline passed. - Ran cargo test --workspace --locked --offline --no-fail-fast -- --test-threads=4 three times back to back. Each run had 676 passed, 0 failed, and 41 ignored. Two native-wave64 checks skipped each time and are included in the pass count. - The cubemap reuse test passed 5/5 in isolation on both the PR head and main at 1ec4c98. An earlier four-thread workspace run on 1ec4c98 hit the cubemap assertion tracked in #718. Not tested: Retail titles or native-wave64 hardware.
Author
Owner

@⁠Prime1997 on GitHub · 2026-11-24 08:17 UTC · original

Hey everyone! Just a heads up, I am commenting on this to attach my Discord for those who want to work on this:

https://discord.gg/gK3y7WRRY

This is not a self advertisement, I just don't want people using this push request and getting confused.

**@⁠Prime1997** on GitHub · 2026-11-24 08:17 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7125965587) Hey everyone! Just a heads up, I am commenting on this to attach my Discord for those who want to work on this: https://discord.gg/gK3y7WRRY This is not a self advertisement, I just don't want people using this push request and getting confused.
Author
Owner

@⁠Diskuss on GitHub · 2026-11-24 08:46 UTC · original · edited 2026-11-24 09:29 UTC

Tested on AMD Radeon RX 9070 XT (RDNA4) at 48e7434f5fa51934c3cd225eed4336a0bf9b0747 (PR head merged locally with main 1ec4c98; the head is 62 commits behind main; merge was clean, nothing pushed)

AMD Radeon RX 9070 XT (RDNA4), driver 32.0.32015.7029; Ryzen 7 5700X3D; 32 GB RAM; Windows 11 Pro build 26300.9974; Rust 1.100.0 x86_64-pc-windows-msvc; DXC 1.9.2602.17; debug build.

Tested:

  • cargo build --workspace: ok.
  • cargo test --workspace --no-fail-fast -- --test-threads=4: 715 passed, 0 failed, 41 ignored. 0 SKIPPED, no DXGI_ERROR_DEVICE_REMOVED. Matches main 1ec4c98 (715/0/41).
  • cargo test -p xcl --lib title_textures -- --test-threads=1: 13 passed, 0 failed, including placed_title_textures_share_vram_and_preserve_pixels.
  • Stress loop for flaky #718, cargo test -p xcl --lib hle::d3d12x -- --test-threads=4 x10 each: main 1ec4c98 0/10 failed (115 passed each run) vs PR 0/10 failed (114 passed each run). The flake did not reproduce in this loop, so the comparison proves nothing either way. The failure ("cubemap extra_pages must be reused at same va", left 7798784, right 17170432) did happen earlier on this machine on main 1ec4c98 during a --test-threads=4 lib run. The PR run has one fewer test in this filter than main (114 vs 115); I did not investigate why.

Not tested: retail title / scripts/smoke.ps1 (no game files), release build.

Report written by Claude Code (Claude Sonnet 5.5) from a real run on this machine.

Update: the flake does reproduce on this machine without this PR. On main 077ce40 (clean tree), cargo test --workspace --no-fail-fast -- --test-threads=4: 713 passed, 3 failed, 41 ignored. The failures were placed_title_textures_share_vram_and_preserve_pixels ("cubemap extra_pages must be reused at same va", left 8847360, right 17170432), then transitions_apply_when_their_list_is_submitted and d32s8_targets_take_their_own_size_of_video_memory with PoisonError (fallout from the poisoned lock). With this PR merged locally, the full suite (1 run) and the hle::d3d12x loop (10 runs) had 0 failures. The flake shows up mainly under full-suite load, so this is supporting evidence, not proof.

Correction (hidden skips): "0 SKIPPED" above means no SKIPPED line appeared in the normal run. A later -- --nocapture run on this machine shows that two tests skip silently, because the D3D12 debug layer is not installed (no Graphics Tools / d3d12SDKLayers.dll). libtest captures their output, so they show as ok: e2e::test_title_draws_with_a_root_signature_under_the_debug_layer and texture_states::uploads_start_from_each_subresources_state. Neither is related to this change, and all other GPU tests ran on the RX 9070 XT.

**@⁠Diskuss** on GitHub · 2026-11-24 08:46 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7126549405) · edited 2026-11-24 09:29 UTC **Tested on AMD Radeon RX 9070 XT (RDNA4) at `48e7434f5fa51934c3cd225eed4336a0bf9b0747`** (PR head merged locally with main 1ec4c98; the head is 62 commits behind main; merge was clean, nothing pushed) AMD Radeon RX 9070 XT (RDNA4), driver 32.0.32015.7029; Ryzen 7 5700X3D; 32 GB RAM; Windows 11 Pro build 26300.9974; Rust 1.100.0 x86_64-pc-windows-msvc; DXC 1.9.2602.17; debug build. **Tested**: - `cargo build --workspace`: ok. - `cargo test --workspace --no-fail-fast -- --test-threads=4`: 715 passed, 0 failed, 41 ignored. 0 SKIPPED, no DXGI_ERROR_DEVICE_REMOVED. Matches main 1ec4c98 (715/0/41). - `cargo test -p xcl --lib title_textures -- --test-threads=1`: 13 passed, 0 failed, including `placed_title_textures_share_vram_and_preserve_pixels`. - Stress loop for flaky #718, `cargo test -p xcl --lib hle::d3d12x -- --test-threads=4` x10 each: main 1ec4c98 0/10 failed (115 passed each run) vs PR 0/10 failed (114 passed each run). The flake did not reproduce in this loop, so the comparison proves nothing either way. The failure ("cubemap extra_pages must be reused at same va", left 7798784, right 17170432) did happen earlier on this machine on main 1ec4c98 during a `--test-threads=4` lib run. The PR run has one fewer test in this filter than main (114 vs 115); I did not investigate why. **Not tested**: retail title / `scripts/smoke.ps1` (no game files), release build. Report written by Claude Code (Claude Sonnet 5.5) from a real run on this machine. **Update:** the flake does reproduce on this machine without this PR. On main `077ce40` (clean tree), `cargo test --workspace --no-fail-fast -- --test-threads=4`: 713 passed, 3 failed, 41 ignored. The failures were `placed_title_textures_share_vram_and_preserve_pixels` ("cubemap extra_pages must be reused at same va", left 8847360, right 17170432), then `transitions_apply_when_their_list_is_submitted` and `d32s8_targets_take_their_own_size_of_video_memory` with `PoisonError` (fallout from the poisoned lock). With this PR merged locally, the full suite (1 run) and the `hle::d3d12x` loop (10 runs) had 0 failures. The flake shows up mainly under full-suite load, so this is supporting evidence, not proof. **Correction (hidden skips):** "0 SKIPPED" above means no `SKIPPED` line appeared in the normal run. A later `-- --nocapture` run on this machine shows that two tests skip silently, because the D3D12 debug layer is not installed (no Graphics Tools / `d3d12SDKLayers.dll`). libtest captures their output, so they show as `ok`: `e2e::test_title_draws_with_a_root_signature_under_the_debug_layer` and `texture_states::uploads_start_from_each_subresources_state`. Neither is related to this change, and all other GPU tests ran on the RX 9070 XT.
Author
Owner

@⁠upipibi on GitHub · 2026-11-24 10:15 UTC · original

Full-suite run on this PR's head 48e7434 on NVIDIA, plus the test this PR changes, run on its own:

Tested

  • NVIDIA GeForce RTX 3070 (driver 616.56, wave32), Ryzen 9 5950X, Windows 11 Pro 26100, rustc 1.100.0 MSVC, debug
  • cargo build --workspace then cargo test --workspace --no-fail-fast -- --test-threads=4: 676 passed, 0 failed, 41 ignored (16 test binaries); placed_title_textures_share_vram_and_preserve_pixels passed in the full run.
  • placed_title_textures_share_vram_and_preserve_pixels alone, --test-threads=1: 5 of 5 passed (about 12 s each; on main the same test alone takes about 1 s, also 5 of 5). On this machine main's full run had failed it once (657 passed, 3 failed in the lib: the #718 cubemap assert plus its two PoisonError followers).
  • SKIPPED: gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware (no wave64)

Not tested: AMD / wave64; no retail title (the changes are in #[cfg(test)] code).

AI-assisted (Claude Code).

**@⁠upipibi** on GitHub · 2026-11-24 10:15 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7128525009) Full-suite run on this PR's head `48e7434` on NVIDIA, plus the test this PR changes, run on its own: **Tested** - NVIDIA GeForce RTX 3070 (driver 616.56, wave32), Ryzen 9 5950X, Windows 11 Pro 26100, rustc 1.100.0 MSVC, debug - `cargo build --workspace` then `cargo test --workspace --no-fail-fast -- --test-threads=4`: **676 passed, 0 failed, 41 ignored** (16 test binaries); `placed_title_textures_share_vram_and_preserve_pixels` passed in the full run. - `placed_title_textures_share_vram_and_preserve_pixels` alone, `--test-threads=1`: 5 of 5 passed (about 12 s each; on `main` the same test alone takes about 1 s, also 5 of 5). On this machine `main`'s full run had failed it once (657 passed, 3 failed in the lib: the #718 cubemap assert plus its two `PoisonError` followers). - SKIPPED: `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware` (no wave64) **Not tested:** AMD / wave64; no retail title (the changes are in `#[cfg(test)]` code). AI-assisted (Claude Code).
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 14:15 UTC · original

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!

**@⁠DavidM1911** on GitHub · 2026-11-25 14:15 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7165003666) 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!
Author
Owner

@⁠ivall on GitHub · 2026-11-25 19:18 UTC · original

Merging: the check compares this resource's own tiles instead of a device-wide byte count, which is what made it fail by timing.

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.

**@⁠ivall** on GitHub · 2026-11-25 19:18 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#issuecomment-7172120950) Merging: the check compares this resource's own tiles instead of a device-wide byte count, which is what made it fail by timing. 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.
Author
Owner

@⁠towiice on GitHub · 2026-11-24 01:06 UTC · original · reviewed

Tested PR head 48e7434 on NVIDIA GeForce GTX 1650 SUPER (Turing / TU116, wave32, driver 610.88), Windows 11 build 10.0.26300 (26H2), Rust 1.100.0 (stable-x86_64-pc-windows-gnullvm), DXC v1.9.2609:

  • cargo test -p xcl --lib cube -- --test-threads=4: 5 passed, 0 failed (0.58 s), including gpu::recomp::tests::gpu_retail_vs_blit_gen_amb_cube and gpu::recomp::tests::gpu_cube_array_slices.

All cubemap tests pass on Turing.

**@⁠towiice** on GitHub · 2026-11-24 01:06 UTC · [original](https://github.com/xcl-dev/xcl/pull/447#pullrequestreview-6032068555) · **reviewed** Tested PR head `48e7434` on **NVIDIA GeForce GTX 1650 SUPER** (Turing / TU116, wave32, driver 610.88), Windows 11 build 10.0.26300 (26H2), Rust 1.100.0 (`stable-x86_64-pc-windows-gnullvm`), DXC `v1.9.2609`: - `cargo test -p xcl --lib cube -- --test-threads=4`: **5 passed, 0 failed** (0.58 s), including `gpu::recomp::tests::gpu_retail_vs_blit_gen_amb_cube` and `gpu::recomp::tests::gpu_cube_array_slices`. All cubemap tests pass on Turing.
This discussion has been locked. Commenting is limited to contributors.
No description provided.