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

Open
opened 2026-11-24 19:42:22 +00:00 by HocotateGuy15 · 4 comments
HocotateGuy15 commented 2026-11-24 19:42:22 +00:00 (Migrated from github.com)
Contributor

Imported from Marvisak/VIctory. Originally posted by HocotateGuy15 on 2026-11-24T19:42:22Z.


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.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6589956020 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1605). Originally posted by [HocotateGuy15](https://github.com/HocotateGuy15) on 2026-11-24T19:42:22Z. --- 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.
zhaibingye commented 2026-11-24 21:03:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by zhaibingye on 2026-11-24T20:51:51Z.


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.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7144157835 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1605#issuecomment-7144157835). Originally posted by [zhaibingye](https://github.com/zhaibingye) on 2026-11-24T20:51:51Z. --- 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.
Calvix2k commented 2026-11-24 21:28:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Calvix2k on 2026-11-24T21:27:54Z.


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.
<!-- greyfinch-sync:Marvisak/VIctory:comment:7144963845 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1605#issuecomment-7144963845). Originally posted by [Calvix2k](https://github.com/Calvix2k) on 2026-11-24T21:27:54Z. --- 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 commented 2026-11-24 22:02:19 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Calvix2k on 2026-11-24T21:30:09Z.


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.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7145014097 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1605#issuecomment-7145014097). Originally posted by [Calvix2k](https://github.com/Calvix2k) on 2026-11-24T21:30:09Z. --- 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.
Marvisak commented 2026-11-25 13:02:59 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T12:48:46Z.


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

<!-- greyfinch-sync:Marvisak/VIctory:comment:7162891811 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1605#issuecomment-7162891811). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T12:48:46Z. --- <!-- 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)_
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#1604
No description provided.