wave64 GPU tests fail on RTX 2080 Ti (Turing / SM 6.5) - expected at least one SM 6.6 adapter #2535

Open
opened 2026-11-26 05:08:31 +00:00 by github-bot · 3 comments
Owner

@⁠Auroraooy on GitHub · 2026-11-25 15:23 UTC · original

While validating PR #189 on real 32-lane NVIDIA hardware, I cloned the PR head 92778cd and ran:

$env:RUSTUP_TOOLCHAIN='1.98.1'
$env:CARGO_BUILD_JOBS='8'
$env:VICTORY_DXIL='C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\dxil.dll'
cargo test -p victory-shader --locked -- wave64 --test-threads=1

Environment: Windows 10 Pro for Workstations build 19045, Core Ultra 7 265K (20 cores), 95 GiB RAM, RTX 2080 Ti 11 GB, driver 595.79, compute capability 7.5, Rust 1.98.1 x86_64-pc-windows-msvc, SDK dxil.dll 10.0.26100.0. No game files were used.

Result: 18 passed; 19 failed. Every failure is in emit::wave64_tests::gpu::* and happens before shader execution:

panicked at crates/victory-shader/src/emit/wave64_tests.rs:1133:13:
expected at least one SM 6.6 adapter

with_hosts() gets an empty list because Host::all_adapters() drops adapters that fail check_sm66() (host.rs:123-144, :146-190). The RTX 2080 Ti is Turing / hardware SM 6.5, and this tree has no Agility SDK declaration, so the Windows 10 inbox runtime does not report SM 6.6. WARP is excluded by the same check.

Could the harness either (a) print which adapters were rejected and why, and (b) skip with SKIPPED: no SM 6.6 adapter instead of failing, or alternatively state that an Agility SDK redistributable is required? I can re-run with an SM 6.6 adapter or with an explicit SM 6.5 allowance if maintainers prefer one of those paths.

I prepared a small patch for (a)+(b) here: https://github.com/alfycs/VIctory/pull/2

AI use: AI-assisted (WorkBuddy) for running the commands and drafting this report; all numbers come from the real local run.

**@⁠Auroraooy** on GitHub · 2026-11-25 15:23 UTC · [original](https://github.com/Marvisak/VIctory/issues/2535) While validating PR #189 on real 32-lane NVIDIA hardware, I cloned the PR head `92778cd` and ran: ```powershell $env:RUSTUP_TOOLCHAIN='1.98.1' $env:CARGO_BUILD_JOBS='8' $env:VICTORY_DXIL='C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\dxil.dll' cargo test -p victory-shader --locked -- wave64 --test-threads=1 ``` Environment: Windows 10 Pro for Workstations build 19045, Core Ultra 7 265K (20 cores), 95 GiB RAM, RTX 2080 Ti 11 GB, driver 595.79, compute capability 7.5, Rust 1.98.1 x86_64-pc-windows-msvc, SDK dxil.dll 10.0.26100.0. No game files were used. Result: `18 passed; 19 failed`. Every failure is in `emit::wave64_tests::gpu::*` and happens before shader execution: ```text panicked at crates/victory-shader/src/emit/wave64_tests.rs:1133:13: expected at least one SM 6.6 adapter ``` `with_hosts()` gets an empty list because `Host::all_adapters()` drops adapters that fail `check_sm66()` (`host.rs:123-144`, `:146-190`). The RTX 2080 Ti is Turing / hardware SM 6.5, and this tree has no Agility SDK declaration, so the Windows 10 inbox runtime does not report SM 6.6. WARP is excluded by the same check. Could the harness either (a) print which adapters were rejected and why, and (b) skip with `SKIPPED: no SM 6.6 adapter` instead of failing, or alternatively state that an Agility SDK redistributable is required? I can re-run with an SM 6.6 adapter or with an explicit SM 6.5 allowance if maintainers prefer one of those paths. I prepared a small patch for (a)+(b) here: https://github.com/alfycs/VIctory/pull/2 AI use: AI-assisted (WorkBuddy) for running the commands and drafting this report; all numbers come from the real local run.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:08:31 +00:00
Author
Owner

@⁠Auroraooy on GitHub · 2026-11-25 15:30 UTC · original

Update after applying the diagnostic patch (alfycs/VIctory#2): reran one representative GPU test on the same RTX 2080 Ti machine with 18 build threads.

Command:

cargo test -p victory-shader --locked -- emit::wave64_tests::gpu::gpu_64_threads_mbcnt_ballot_and_high_ff1 --test-threads=18 --nocapture

Result: 1 passed; 0 failed with the new diagnostics instead of the previous panic:

[wave64_tests] adapter "Intel(R) Graphics" skipped: the device supports SM 0x65 only
[wave64_tests] adapter "NVIDIA GeForce RTX 2080 Ti" skipped: the device supports SM 0x65 only
[wave64_tests] adapter "Microsoft Basic Render Driver" skipped: software adapter
[wave64_tests] WARP skipped: the device supports SM 0x62 only
SKIPPED mbcnt_ballot_ff1: no SM 6.6 adapter

This confirms the failures were an SM 6.6 test-harness gate, not wave64 shader logic. No game data was used.

**@⁠Auroraooy** on GitHub · 2026-11-25 15:30 UTC · [original](https://github.com/Marvisak/VIctory/issues/2535#issuecomment-7166963458) Update after applying the diagnostic patch (alfycs/VIctory#2): reran one representative GPU test on the same RTX 2080 Ti machine with 18 build threads. Command: ```powershell cargo test -p victory-shader --locked -- emit::wave64_tests::gpu::gpu_64_threads_mbcnt_ballot_and_high_ff1 --test-threads=18 --nocapture ``` Result: `1 passed; 0 failed` with the new diagnostics instead of the previous panic: ```text [wave64_tests] adapter "Intel(R) Graphics" skipped: the device supports SM 0x65 only [wave64_tests] adapter "NVIDIA GeForce RTX 2080 Ti" skipped: the device supports SM 0x65 only [wave64_tests] adapter "Microsoft Basic Render Driver" skipped: software adapter [wave64_tests] WARP skipped: the device supports SM 0x62 only SKIPPED mbcnt_ballot_ff1: no SM 6.6 adapter ``` This confirms the failures were an SM 6.6 test-harness gate, not wave64 shader logic. No game data was used.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 16:08 UTC · original · edited 2026-11-26 06:48 UTC

Automated triage for the maintainers.

The failing tests are not on main: crates/victory-shader/src/emit/wave64_tests.rs exists only in open PR #189. The reruns showed the failure comes from the SM 6.6 adapter gate in the harness and the Windows 10 in-box runtime (no Agility SDK), not from the wave64 lowering.

New since the last triage: the reporter says the skip-with-reason change was cherry-picked into #189 (9db4e94) and passes locally (37/0), and considers this resolved by that PR. Since the change lives in #189, review continues there; the reporter may close this issue, or it can be closed once #189 is decided.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 16:08 UTC · [original](https://github.com/Marvisak/VIctory/issues/2535#issuecomment-7167624915) · edited 2026-11-26 06:48 UTC <!-- victory-issue-triage v1 verdict=answered seen=2026-11-26T04:08:52Z at=2026-11-26T07:22:00Z --> Automated triage for the maintainers. The failing tests are not on `main`: `crates/victory-shader/src/emit/wave64_tests.rs` exists only in open PR #189. The reruns showed the failure comes from the SM 6.6 adapter gate in the harness and the Windows 10 in-box runtime (no Agility SDK), not from the wave64 lowering. **New since the last triage:** the reporter says the skip-with-reason change was cherry-picked into #189 (`9db4e94`) and passes locally (37/0), and considers this resolved by that PR. Since the change lives in #189, review continues there; the reporter may close this issue, or it can be closed once #189 is decided. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠Auroraooy on GitHub · 2026-11-26 04:08 UTC · original

Update: alfycs has cherry-picked the skip-with-reason change into PR #189 as 9db4e94 and verified it locally (37 passed; 0 failed). Marvisak also confirmed the failing file only exists in PR #189, not on main. From my side this issue is resolved by that PR; happy to close it if that matches maintainer preference.

**@⁠Auroraooy** on GitHub · 2026-11-26 04:08 UTC · [original](https://github.com/Marvisak/VIctory/issues/2535#issuecomment-7182336091) Update: alfycs has cherry-picked the skip-with-reason change into PR #189 as `9db4e94` and verified it locally (`37 passed; 0 failed`). Marvisak also confirmed the failing file only exists in PR #189, not on main. From my side this issue is resolved by that PR; happy to close it if that matches maintainer preference.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#2535
No description provided.