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

Open
opened 2026-11-25 15:23:54 +00:00 by Auroraooy · 3 comments
Auroraooy commented 2026-11-25 15:23:54 +00:00 (Migrated from github.com)
Contributor

Imported from Marvisak/VIctory. Originally posted by Auroraooy on 2026-11-25T15:23:54Z.


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.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6607873399 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/2535). Originally posted by [Auroraooy](https://github.com/Auroraooy) on 2026-11-25T15:23:54Z. --- 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.
Auroraooy commented 2026-11-25 16:09:14 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Auroraooy on 2026-11-25T15:30:59Z.


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.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7166963458 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/2535#issuecomment-7166963458). Originally posted by [Auroraooy](https://github.com/Auroraooy) on 2026-11-25T15:30:59Z. --- 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.
Marvisak commented 2026-11-25 16:09:55 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T16:08:13Z.


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

<!-- greyfinch-sync:Marvisak/VIctory:comment:7167624915 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/2535#issuecomment-7167624915). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T16:08:13Z. --- <!-- 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)_
Auroraooy commented 2026-11-26 05:04:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Auroraooy on 2026-11-26T04:08:52Z.


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.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7182336091 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/2535#issuecomment-7182336091). Originally posted by [Auroraooy](https://github.com/Auroraooy) on 2026-11-26T04:08:52Z. --- 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.
Sign in to join this conversation.
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
Marvisak/VIctory#2533
No description provided.