Tests: label geometry subgroup regression phases #872

Open
github-bot wants to merge 1 commit from github-bot/gh-872 into main AGit
Owner

@⁠Abuudiii on GitHub · 2026-11-24 07:07 UTC · original
Abuudiii:xcl-subgroup-test-phases → main · +14 −11 · 1 files · 1 commits · open

Part of #847. A readback mismatch currently cannot identify whether the split or native wave64 dispatch failed.

What is in it

  • Mark split wave64, the four-window compile, and native wave64. Keep the same shader and lane assertions.

Tested

  • RX 9070, GE-Proton 11-7, DXC 1.9.2609.5, Windows GNU release: the exact subgroup test passed with all three phase markers, no skips.

Not tested

  • Native Windows, whole suite, or the intermittent failure itself. This is diagnostics, not a runtime fix.

AI use

  • omp (GPT-6.2 Sol) wrote and verified the diagnostic change.
**@⁠Abuudiii** on GitHub · 2026-11-24 07:07 UTC · [original](https://github.com/xcl-dev/xcl/pull/872) `Abuudiii:xcl-subgroup-test-phases` → `main` · +14 −11 · 1 files · 1 commits · open Part of #847. A readback mismatch currently cannot identify whether the split or native wave64 dispatch failed. **What is in it** - Mark split wave64, the four-window compile, and native wave64. Keep the same shader and lane assertions. **Tested** - RX 9070, GE-Proton 11-7, DXC 1.9.2609.5, Windows GNU release: the exact subgroup test passed with all three phase markers, no skips. **Not tested** - Native Windows, whole suite, or the intermittent failure itself. This is diagnostics, not a runtime fix. **AI use** - omp (GPT-6.2 Sol) wrote and verified the diagnostic change.
Distinguish split-wave64 execution, the four-window compile, and native-wave64 execution in the existing prefix-count regression. Preserve the shader, lane oracle and pass/skip behavior.
The release test passed on RX 9070 / GE-Proton with DXC 1.9.2609.5 and all three stage markers present. This is diagnostics for #847, not a fix for the unreproduced flake.
Assisted-by: omp (GPT-6.2 Sol)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:35:15 +00:00
Author
Owner

@⁠SlopTart on GitHub · 2026-11-24 08:09 UTC · original

Linux / AMD RDNA3 datapoint.

Merged state: head 98d987a onto main 1ec4c98, clean merge.

Full suite, cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4: 704 passed, 11 failed, 41 ignored. Failures = the known Wine-lane set from my #42 rows plus #718 trio members and a hit of gpu_mirror_upload_follows_cpu_writes_and_later_mapping_changes (new flake, see #718 addendum). geometry subgroup phase labels green (the #847 flake did not fire in this lane).

Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.

Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross x86_64-pc-windows-gnu, XCL_NETWORK=0, release profile, --test-threads=4. My Linux rows: #42 / #718.

AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.

**@⁠SlopTart** on GitHub · 2026-11-24 08:09 UTC · [original](https://github.com/xcl-dev/xcl/pull/872#issuecomment-7125788578) Linux / AMD RDNA3 datapoint. **Merged state:** head `98d987a` onto main `1ec4c98`, clean merge. **Full suite, `cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4`:** **704 passed, 11 failed, 41 ignored**. Failures = the known Wine-lane set from my #42 rows plus #718 trio members and a hit of `gpu_mirror_upload_follows_cpu_writes_and_later_mapping_changes` (new flake, see #718 addendum). geometry subgroup phase labels green (the #847 flake did not fire in this lane). **Not tested:** retail titles (none here), Windows, RDNA4. Counts only, no game data. **Machine:** RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross `x86_64-pc-windows-gnu`, `XCL_NETWORK=0`, release profile, `--test-threads=4`. My Linux rows: #42 / #718. AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
Author
Owner

@⁠fromthemoonx on GitHub · 2026-11-24 08:33 UTC · original

Native Windows / NVIDIA run, since Not tested lists native Windows and the whole suite.

Tested

  • Exact head 98d987afce7d5f3028d5ba16fe9d760b3b8982a7, clean worktree, not merged onto main
  • NVIDIA GeForce RTX 3060 12 GB (32-lane waves only), driver 32.0.16.1088; AMD Ryzen 7 5700X; native Windows 11 Pro 26H2 (build 26300.9974); rustc 1.100.0 stable-x86_64-pc-windows-msvc; DXC 1.9.2602.17 (Windows SDK 10.0.26100.0); debug
  • cargo build --workspace, then cargo test --workspace -- --test-threads=4 --skip a_freed_block_is_decommitted_before_its_address_is_reused: 712 passed, 0 failed, 41 ignored, 1 filtered out (lib 671 / 0 / 21). The skip is #913: on this 12 GB card, that test fills video memory and makes unrelated tests fail with E_OUTOFMEMORY.
  • The changed test alone (--exact gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask --nocapture) prints the new labels for the two phases that run on a 32-lane card. Both pass, then the test skips the native phase:
    geometry prefix count: split wave64
    geometry prefix count: four-window split wave64 (compile only)
    SKIPPED gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64
    
  • SKIPPED in the full run (no wave64 on this adapter): gpu_geometry_wave32_prefix_count_over_a_mask (native wave64 phase only, as above), gpu_wave32_program_in_wave64_hardware
  • XCL_SAMPLE_* not set

Not tested

  • The native wave64 phase (this card has no wave64), and the intermittent failure from #847 itself, which did not occur here.
  • Release build.

AI use

  • Claude Code (Claude Opus 5.5) ran the build and tests on the machine above and wrote this report from the log.
**@⁠fromthemoonx** on GitHub · 2026-11-24 08:33 UTC · [original](https://github.com/xcl-dev/xcl/pull/872#issuecomment-7126276690) Native Windows / NVIDIA run, since **Not tested** lists native Windows and the whole suite. **Tested** - Exact head `98d987afce7d5f3028d5ba16fe9d760b3b8982a7`, clean worktree, not merged onto `main` - NVIDIA GeForce RTX 3060 12 GB (32-lane waves only), driver 32.0.16.1088; AMD Ryzen 7 5700X; native Windows 11 Pro 26H2 (build 26300.9974); rustc 1.100.0 `stable-x86_64-pc-windows-msvc`; DXC 1.9.2602.17 (Windows SDK 10.0.26100.0); debug - `cargo build --workspace`, then `cargo test --workspace -- --test-threads=4 --skip a_freed_block_is_decommitted_before_its_address_is_reused`: **712 passed, 0 failed, 41 ignored, 1 filtered out** (lib 671 / 0 / 21). The skip is #913: on this 12 GB card, that test fills video memory and makes unrelated tests fail with `E_OUTOFMEMORY`. - The changed test alone (`--exact gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask --nocapture`) prints the new labels for the two phases that run on a 32-lane card. Both pass, then the test skips the native phase: ``` geometry prefix count: split wave64 geometry prefix count: four-window split wave64 (compile only) SKIPPED gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64 ``` - SKIPPED in the full run (no wave64 on this adapter): `gpu_geometry_wave32_prefix_count_over_a_mask` (native wave64 phase only, as above), `gpu_wave32_program_in_wave64_hardware` - `XCL_SAMPLE_*` not set **Not tested** - The native wave64 phase (this card has no wave64), and the intermittent failure from #847 itself, which did not occur here. - Release build. **AI use** - Claude Code (Claude Opus 5.5) ran the build and tests on the machine above and wrote this report from the log.
Author
Owner

@⁠jmal423 on GitHub · 2026-11-24 10:28 UTC · original

Native Windows / AMD follow-up on PR head 98d987afce7d5f3028d5ba16fe9d760b3b8982a7. RX 9070 XT, driver 32.0.32029.2010, Windows 11 Pro build 26200, DXC/DXIL 1.8.2502.11, debug build.

Geometry test. With XCL_ADAPTER=9070 and XCL_REQUIRE_GPU=wave64,mesh, the exact prefix-count test passed in isolation and during the workspace run. The split dispatch matched the reference, the four-window variant compiled, and the native dispatch matched the reference. All three labels appeared in order. No #847 mismatch occurred.

Workspace run. The library target stopped at 669 passed, 3 failed, 21 ignored. The first assertion matched #718: cubemap extra_pages must be reused at same va (left 8847360, right 17170432). The transitions and D32S8 tests then reported poisoned locks. Five fresh-process runs of the placed-texture test alone passed on the same binary. Later workspace targets did not run. No retail data used.

AI use: OpenAI Codex ran the tests and drafted this report from the local results.

**@⁠jmal423** on GitHub · 2026-11-24 10:28 UTC · [original](https://github.com/xcl-dev/xcl/pull/872#issuecomment-7128824224) Native Windows / AMD follow-up on PR head `98d987afce7d5f3028d5ba16fe9d760b3b8982a7`. RX 9070 XT, driver `32.0.32029.2010`, Windows 11 Pro build 26200, DXC/DXIL 1.8.2502.11, debug build. **Geometry test.** With `XCL_ADAPTER=9070` and `XCL_REQUIRE_GPU=wave64,mesh`, the exact prefix-count test passed in isolation and during the workspace run. The split dispatch matched the reference, the four-window variant compiled, and the native dispatch matched the reference. All three labels appeared in order. No #847 mismatch occurred. **Workspace run.** The library target stopped at 669 passed, 3 failed, 21 ignored. The first assertion matched #718: `cubemap extra_pages must be reused at same va` (left 8847360, right 17170432). The transitions and D32S8 tests then reported poisoned locks. Five fresh-process runs of the placed-texture test alone passed on the same binary. Later workspace targets did not run. No retail data used. AI use: OpenAI Codex ran the tests and drafted this report from the local results.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 10:02 UTC · original

Verification on RTX 3060 Ti (Windows 11): merge conflict with current main — needs a rebase before it can be tested.

**@⁠DavidM1911** on GitHub · 2026-11-25 10:02 UTC · [original](https://github.com/xcl-dev/xcl/pull/872#issuecomment-7159139975) Verification on RTX 3060 Ti (Windows 11): **merge conflict with current `main`** — needs a rebase before it can be tested.
This pull request has changes conflicting with the target branch.
  • crates/xcl/src/gpu/recomp/tests.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/872/head:github-bot/gh-872'
git switch 'github-bot/gh-872'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-872'
git switch 'github-bot/gh-872'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-872'
git switch 'github-bot/gh-872'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-872'
git switch 'main'
git merge --squash 'github-bot/gh-872'
git switch 'main'
git merge --ff-only 'github-bot/gh-872'
git switch 'main'
git merge 'github-bot/gh-872'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.