Tests: label geometry subgroup regression phases #866

Open
Abuudiii wants to merge 1 commit from upstream-pr/872 into main
Abuudiii commented 2026-11-24 07:07:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Abuudiii on 2026-11-24T07:07:36Z.


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.
<!-- greyfinch-sync:ivall/xcl:issue:5467719180 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/872). Originally posted by [Abuudiii](https://github.com/Abuudiii) on 2026-11-24T07:07:36Z. --- 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.
SlopTart commented 2026-11-24 09:07:00 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-24T08:09:14Z.


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.

<!-- greyfinch-sync:ivall/xcl:comment:7125788578 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/872#issuecomment-7125788578). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-24T08:09:14Z. --- 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.
fromthemoonx commented 2026-11-24 09:07:06 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by fromthemoonx on 2026-11-24T08:33:19Z.


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.
<!-- greyfinch-sync:ivall/xcl:comment:7126276690 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/872#issuecomment-7126276690). Originally posted by [fromthemoonx](https://github.com/fromthemoonx) on 2026-11-24T08:33:19Z. --- 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.
jmal423 commented 2026-11-24 11:05:45 +00:00 (Migrated from github.com)

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


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.

<!-- greyfinch-sync:ivall/xcl:comment:7128824224 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/872#issuecomment-7128824224). Originally posted by [jmal423](https://github.com/jmal423) on 2026-11-24T10:28:16Z. --- 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.
DavidM1911 commented 2026-11-25 10:10:43 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T10:02:24Z.


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

<!-- greyfinch-sync:ivall/xcl:comment:7159139975 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/872#issuecomment-7159139975). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T10:02:24Z. --- Verification on RTX 3060 Ti (Windows 11): **merge conflict with current `main`** — needs a rebase before it can be tested.
github-actions[bot] commented 2026-11-28 20:19:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-28T20:19:42Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7245205088 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/872#issuecomment-7245205088). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T20:19:42Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 04:22:20 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:22:20Z.


Triage (#1607) – head 98d987a

Diagnostics only: labels the split-wave64, four-window and native-wave64 phases of gpu_geometry_wave32_prefix_count_over_a_mask; the assertions are unchanged. #1244 (same issue #847) changes the spin-loop polls in emit.rs, a fix, not the same change. On main the test now continues with a direct-DXIL phase after the native wave64 one, which this PR does not label; it conflicts and needs a rebase.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7300666653 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/872#issuecomment-7300666653). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T04:22:20Z. --- **Triage (#1607)** – head 98d987a Diagnostics only: labels the split-wave64, four-window and native-wave64 phases of gpu_geometry_wave32_prefix_count_over_a_mask; the assertions are unchanged. #1244 (same issue #847) changes the spin-loop polls in emit.rs, a fix, not the same change. On main the test now continues with a direct-DXIL phase after the native wave64 one, which this PR does not label; it conflicts and needs a rebase. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/872:upstream-pr/872'
git switch 'upstream-pr/872'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/872'
git switch 'upstream-pr/872'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/872'
git switch 'upstream-pr/872'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/872'
git switch 'main'
git merge --squash 'upstream-pr/872'
git switch 'main'
git merge --ff-only 'upstream-pr/872'
git switch 'main'
git merge 'upstream-pr/872'
git push origin 'main'
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!866
No description provided.