Windows test report at ffe310e: empty reference stack walk and 15 shader tests with no device results #1605

Open
opened 2026-11-26 04:38:07 +00:00 by github-bot · 4 comments
Owner

@⁠HocotateGuy15 on GitHub · 2026-11-24 19:42 UTC · original

On Windows x64 with an NVIDIA GeForce RTX 3070 installed, the default debug workspace tests at ffe310eb20 reported 326 passed, 16 failed, 6 ignored. Rust 1.98.1, MSVC target. These are test-harness results. The game was never launched and the run did not establish that the failing shader tests executed on the RTX 3070.

How to reproduce: From the repository root, run cargo test --workspace --no-fail-fast. The initial run without --no-fail-fast stopped at the loader failure. The full run reproduced it and reached the shader tests.

Group Failures Observation
victory-loader 1 crash::tests::unwinds_like_the_system_walk failed twice at crash.rs:672. The Windows reference stack walk returned an empty list where the test requires at least four frames.
victory-shader, VALU 13 The tests reached the shared assertion at emit/valu_tests.rs:212. Its device-run counter was zero. This gives no arithmetic comparison result.
victory-shader, waterfall 2 Both tests asserted that the results list was nonempty, at emit/waterfall_tests.rs:228 and :244.

The graphics driver version and the reason device selection failed were not captured. For comparison, #1140 reports a passing suite on an RTX 3050 at the same revision. A useful next comparison would be whether the device-selection path gives a specific initialization error on another Windows session.

AI-assisted: Codex ran the commands and prepared this report from their output.

**@⁠HocotateGuy15** on GitHub · 2026-11-24 19:42 UTC · [original](https://github.com/Marvisak/VIctory/issues/1605) On Windows x64 with an NVIDIA GeForce RTX 3070 installed, the default debug workspace tests at ffe310eb2098e52169f4c44db5ffdabf43a72622 reported **326 passed, 16 failed, 6 ignored**. Rust 1.98.1, MSVC target. These are test-harness results. The game was never launched and the run did not establish that the failing shader tests executed on the RTX 3070. **How to reproduce:** From the repository root, run `cargo test --workspace --no-fail-fast`. The initial run without `--no-fail-fast` stopped at the loader failure. The full run reproduced it and reached the shader tests. | Group | Failures | Observation | | --- | ---: | --- | | victory-loader | 1 | `crash::tests::unwinds_like_the_system_walk` failed twice at `crash.rs:672`. The Windows reference stack walk returned an empty list where the test requires at least four frames. | | victory-shader, VALU | 13 | The tests reached the shared assertion at `emit/valu_tests.rs:212`. Its device-run counter was zero. This gives no arithmetic comparison result. | | victory-shader, waterfall | 2 | Both tests asserted that the results list was nonempty, at `emit/waterfall_tests.rs:228` and `:244`. | The graphics driver version and the reason device selection failed were not captured. For comparison, #1140 reports a passing suite on an RTX 3050 at the same revision. A useful next comparison would be whether the device-selection path gives a specific initialization error on another Windows session. AI-assisted: Codex ran the commands and prepared this report from their output.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:38:07 +00:00
Author
Owner

@⁠zhaibingye on GitHub · 2026-11-24 20:51 UTC · original

I reproduced the no-device case under Wine 10. With neither hardware nor WARP available, three of the five waterfall tests passed without checking any GPU results. PR #1695 makes all five report the missing device. The stack-walk failure reported here is separate.

**@⁠zhaibingye** on GitHub · 2026-11-24 20:51 UTC · [original](https://github.com/Marvisak/VIctory/issues/1605#issuecomment-7144157835) I reproduced the no-device case under Wine 10. With neither hardware nor WARP available, three of the five waterfall tests passed without checking any GPU results. PR #1695 makes all five report the missing device. The stack-walk failure reported here is separate.
Author
Owner

@⁠Calvix2k on GitHub · 2026-11-24 21:27 UTC · original

Follow-up with a run on the Windows 10 machine that hits these failures:

  • System: Windows 10 x64, Ryzen 7 5800X, Radeon RX 7800 XT (RDNA3), Rust 1.98.1 MSVC. System D3D12 reports SM 6.5, so the shader test binary was opted into the Agility SDK runtime 1.616 locally (D3D12Core.dll + exports, not part of the repo) to give the tests a device.
  • Shader tests: emit::valu_tests 13 passed, emit::waterfall_tests 5 passed, 0 failed. That covers the 15 "no device results" rows from the report.
  • WARP: still SM 6.2 here even with Agility, so these are hardware-only runs; the per-device skip messages now name the shader model (#1290).
  • Loader failure: unwinds_like_the_system_walk reproduced 13 failures in 20 runs on main. With PR #1159 (head 121412b) it was 0/20, and the full victory-loader suite passed (22 + 2 + 1). So the other row from this report has a verified fix waiting.
**@⁠Calvix2k** on GitHub · 2026-11-24 21:27 UTC · [original](https://github.com/Marvisak/VIctory/issues/1605#issuecomment-7144963845) Follow-up with a run on the Windows 10 machine that hits these failures: - **System:** Windows 10 x64, Ryzen 7 5800X, Radeon RX 7800 XT (RDNA3), Rust 1.98.1 MSVC. System D3D12 reports SM 6.5, so the shader test binary was opted into the Agility SDK runtime 1.616 locally (D3D12Core.dll + exports, not part of the repo) to give the tests a device. - **Shader tests:** `emit::valu_tests` **13 passed**, `emit::waterfall_tests` **5 passed**, 0 failed. That covers the 15 "no device results" rows from the report. - **WARP:** still SM 6.2 here even with Agility, so these are hardware-only runs; the per-device skip messages now name the shader model (#1290). - **Loader failure:** `unwinds_like_the_system_walk` reproduced **13 failures in 20 runs** on `main`. With PR #1159 (head `121412b`) it was **0/20**, and the full `victory-loader` suite passed (22 + 2 + 1). So the other row from this report has a verified fix waiting.
Author
Owner

@⁠Calvix2k on GitHub · 2026-11-24 21:30 UTC · original

Full-workspace follow-up on the same AMD+AMD machine (Agility SDK 1.616 for SM 6.6):

cargo test --workspace --locked --no-fail-fast -- --test-threads=1 → 23 targets, 341 passed, 1 failed, 6 ignored.

The single failure is crash::tests::unwinds_like_the_system_walk (the known Windows 10 RtlCaptureStackBackTrace flake). With PR #1159 it was 0/20 in repeated runs and the whole victory-loader suite passed, so every other target is green on this configuration.

**@⁠Calvix2k** on GitHub · 2026-11-24 21:30 UTC · [original](https://github.com/Marvisak/VIctory/issues/1605#issuecomment-7145014097) Full-workspace follow-up on the same AMD+AMD machine (Agility SDK 1.616 for SM 6.6): `cargo test --workspace --locked --no-fail-fast -- --test-threads=1` → **23 targets, 341 passed, 1 failed, 6 ignored**. The single failure is `crash::tests::unwinds_like_the_system_walk` (the known Windows 10 `RtlCaptureStackBackTrace` flake). With PR #1159 it was **0/20** in repeated runs and the whole `victory-loader` suite passed, so every other target is green on this configuration.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 12:48 UTC · original

Automated triage for the maintainers.

Both parts of this report are addressed on main (940d32f):

  • crash::tests::unwinds_like_the_system_walk (empty reference stack walk): fixed by #1159 (merged as e2a80cf, commit 121412b), which checks the unwind against known caller frames when RtlCaptureStackBackTrace returns nothing (crates/victory-loader/src/crash.rs, the test module). The comment above measured 13/20 failures before and 0/20 with it.
  • The 15 shader tests with no device results: those tests fail on purpose when no SM 6.6 device (hardware or WARP) can be created. Since #1290 (87f01ff) the skip line names the device error (crates/victory-shader/src/emit/valu_tests.rs and waterfall_tests.rs, "no SM 6.6 … device (…); skipped"), and #1695 (1bde03c) makes all five waterfall tests report the missing device. On Windows 10 the system runtime stops at SM 6.5 (see #84), which is the usual reason; with the Agility SDK the same tests pass, as the comments show.

Proposing to close as fixed in main. This issue will be closed in 48 hours unless the reporter replies or a maintainer removes the triage: proposed close label. If the shader tests still fail on current main, please post the "no SM 6.6 … device (…)" line and your Windows version.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 12:48 UTC · [original](https://github.com/Marvisak/VIctory/issues/1605#issuecomment-7162891811) <!-- victory-issue-triage v1 verdict=proposed-close seen=2026-11-24T21:30:09Z at=2026-11-25T12:48:34Z --> Automated triage for the maintainers. Both parts of this report are addressed on `main` (`940d32f`): - **`crash::tests::unwinds_like_the_system_walk`** (empty reference stack walk): fixed by #1159 (merged as `e2a80cf`, commit `121412b`), which checks the unwind against known caller frames when `RtlCaptureStackBackTrace` returns nothing (`crates/victory-loader/src/crash.rs`, the test module). The comment above measured 13/20 failures before and 0/20 with it. - **The 15 shader tests with no device results:** those tests fail on purpose when no SM 6.6 device (hardware or WARP) can be created. Since #1290 (`87f01ff`) the skip line names the device error (`crates/victory-shader/src/emit/valu_tests.rs` and `waterfall_tests.rs`, "no SM 6.6 … device (…); skipped"), and #1695 (`1bde03c`) makes all five waterfall tests report the missing device. On Windows 10 the system runtime stops at SM 6.5 (see #84), which is the usual reason; with the Agility SDK the same tests pass, as the comments show. Proposing to close as fixed in `main`. This issue will be closed in 48 hours unless the reporter replies or a maintainer removes the `triage: proposed close` label. If the shader tests still fail on current `main`, please post the "no SM 6.6 … device (…)" line and your Windows version. --- _Generated by [Claude Code](https://claude.ai/code)_
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#1605
No description provided.