Skip to content

Tests: label geometry subgroup regression phases - #872

Open
Abuudiii wants to merge 1 commit into
xcl-dev:mainfrom
Abuudiii:xcl-subgroup-test-phases
Open

Abuudiii wants to merge 1 commit into
xcl-dev:mainfrom
Abuudiii:xcl-subgroup-test-phases

Conversation

@Abuudiii

Copy link
Copy Markdown

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 xcl-dev#847, not a fix for the unreproduced flake.
Assisted-by: omp (GPT-6.2 Sol)
@SlopTart

Copy link
Copy Markdown

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

Copy link
Copy Markdown

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 Memory: a sparse alloc/free loop makes a new 64 MiB pool each cycle; lib tests fill a 12 GB card (#348's test) #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

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

jmal423 commented Nov 24, 2026

Copy link
Copy Markdown

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

Copy link
Copy Markdown
Contributor

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

@github-actions

Copy link
Copy Markdown

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.

@github-actions github-actions Bot added the stale No activity for 3 days; closed 4 days later unless something happens label Nov 28, 2026
@Foniass

Foniass commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

off-goal Does not bear on the current goal (world loading); waits until it is reached stale No activity for 3 days; closed 4 days later unless something happens

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants