Tests: skip offline compute PSO checks when D3D12 is unavailable #1363

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

@⁠gurvancampion on GitHub · 2026-11-24 15:15 UTC · original
gurvancampion:topic/linux-compute-tests → main · +6 −0 · 1 files · 1 commits · open

When Vulkan is unavailable under GE-Proton 11-12, the first compute integration test fails to initialize DXVK and XCL caches its fallback backend. The offline pipeline-cache test then probes DXGI again, where DXVK faults and aborts the test binary. This change makes the offline test share the cached backend check with its sibling tests.

What is in it

  • crates/xcl/tests/gpu_compute_e2e.rs reports a GPU skip before the offline test probes wave support if the D3D12 backend is unavailable. On a supported adapter, it proceeds to the existing wave-capability and pipeline-cache checks.

Tested

  • Omarchy Linux 7.2.15, Ryzen 7 9800X3D, RTX 5090 with NVIDIA 615.78.08, GE-Proton 11-12, DXVK 3.1.1-174-gf86377680682448, DXC 1.9.2609.5. Debug x86_64-pc-windows-msvc cross-build with cargo-xwin 0.24.1 and Rust 1.99.0. Vulkan disabled for these runs.
  • cargo xwin test --locked --target x86_64-pc-windows-msvc -p xcl --test gpu_compute_e2e -- --test-threads=4 --nocapture with DXVK's DXGI and no Vulkan ICD. Base 930e8b4 reports two skips, then the process exits with status 5 after a second CreateDXGIFactory2. Head 3afeda5 completes with 3 harness passes, 0 failures, 0 ignored and all 3 tests marked SKIPPED for no GPU. The offline test run alone reports one skip.
  • cargo xwin test --workspace --target x86_64-pc-windows-msvc --no-fail-fast -- --test-threads=4 with Wine's built-in DXGI and renderer=no3d. Both revisions report 737 harness passes, 14 failures, 41 ignored and 108 distinct skips. The same tests fail and skip on both revisions. The offline test reports no GPU at the shared backend check.

Regression run

  • Scope is limited to the compute integration tests.

Not tested

  • Native Windows, GPU-backed compute execution, and retail titles.

AI use

  • Claude Code (Claude Opus 5.5) set up the Linux build and gathered the initial logs. OpenAI Codex (GPT-6) isolated the failure, wrote the test change, ran the before/after checks, and drafted the PR description. Antigravity (Gemini 4 Neon) ran the final verification and PR-template check. The author reviewed the diff and description before opening the PR.
**@⁠gurvancampion** on GitHub · 2026-11-24 15:15 UTC · [original](https://github.com/xcl-dev/xcl/pull/1363) `gurvancampion:topic/linux-compute-tests` → `main` · +6 −0 · 1 files · 1 commits · open When Vulkan is unavailable under GE-Proton 11-12, the first compute integration test fails to initialize DXVK and XCL caches its fallback backend. The offline pipeline-cache test then probes DXGI again, where DXVK faults and aborts the test binary. This change makes the offline test share the cached backend check with its sibling tests. **What is in it** - `crates/xcl/tests/gpu_compute_e2e.rs` reports a GPU skip before the offline test probes wave support if the D3D12 backend is unavailable. On a supported adapter, it proceeds to the existing wave-capability and pipeline-cache checks. **Tested** - Omarchy Linux 7.2.15, Ryzen 7 9800X3D, RTX 5090 with NVIDIA 615.78.08, GE-Proton 11-12, DXVK 3.1.1-174-gf86377680682448, DXC 1.9.2609.5. Debug `x86_64-pc-windows-msvc` cross-build with cargo-xwin 0.24.1 and Rust 1.99.0. Vulkan disabled for these runs. - `cargo xwin test --locked --target x86_64-pc-windows-msvc -p xcl --test gpu_compute_e2e -- --test-threads=4 --nocapture` with DXVK's DXGI and no Vulkan ICD. Base `930e8b4` reports two skips, then the process exits with status 5 after a second `CreateDXGIFactory2`. Head `3afeda5` completes with 3 harness passes, 0 failures, 0 ignored and all 3 tests marked `SKIPPED` for no GPU. The offline test run alone reports one skip. - `cargo xwin test --workspace --target x86_64-pc-windows-msvc --no-fail-fast -- --test-threads=4` with Wine's built-in DXGI and `renderer=no3d`. Both revisions report 737 harness passes, 14 failures, 41 ignored and 108 distinct skips. The same tests fail and skip on both revisions. The offline test reports `no GPU` at the shared backend check. **Regression run** - Scope is limited to the compute integration tests. **Not tested** - Native Windows, GPU-backed compute execution, and retail titles. **AI use** - Claude Code (Claude Opus 5.5) set up the Linux build and gathered the initial logs. OpenAI Codex (GPT-6) isolated the failure, wrote the test change, ran the before/after checks, and drafted the PR description. Antigravity (Gemini 4 Neon) ran the final verification and PR-template check. The author reviewed the diff and description before opening the PR.
The compute integration tests share one process. When DXVK cannot initialize Vulkan, the runtime backend caches the failure. The offline pipeline test bypassed that check and probed DXGI again, where DXVK could fault.

Reuse the backend check before the separate wave-support probe. Confirm the integration binary reports three skips under GE-Proton with no Vulkan ICD instead of exiting after the second factory call.

Assisted-by: Codex (GPT-6, exact variant unavailable)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:52:00 +00:00
Author
Owner

@⁠futurepro62 on GitHub · 2026-11-24 15:26 UTC · original · edited 2026-11-24 15:30 UTC

Full-suite run, since this PR has no test report yet. Tested exact head 3afeda5 (on its base 930e8b4).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 751 passed, 0 failed, 41 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • No new #[test] functions in the diff.
  • Same head on the AMD Radeon iGPU of the 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4: 751 passed, 0 failed, 41 ignored, no skips.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
**@⁠futurepro62** on GitHub · 2026-11-24 15:26 UTC · [original](https://github.com/xcl-dev/xcl/pull/1363#issuecomment-7136042948) · edited 2026-11-24 15:30 UTC Full-suite run, since this PR has no test report yet. Tested exact head `3afeda5` (on its base `930e8b4`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4`: **751 passed, 0 failed, 41 ignored**. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - No new `#[test]` functions in the diff. - Same head on the AMD Radeon iGPU of the 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4`: **751 passed, 0 failed, 41 ignored**, no skips. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-24 16:28 UTC · original

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

  • cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored.

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-24 16:28 UTC · [original](https://github.com/xcl-dev/xcl/pull/1363#issuecomment-7137715805) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~21 ignored. Thanks!
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-26 05:03 UTC · original

Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.

Thanks!

— Devin

**@⁠DavidM1911** on GitHub · 2026-11-26 05:03 UTC · [original](https://github.com/xcl-dev/xcl/pull/1363#issuecomment-7183138797) Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved. Thanks! — Devin
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

Merge

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