Test report: NVIDIA GTX 1650 SUPER (Turing 4 GB), Windows 11 26300 — 341 passed, 1 failed (gnullvm /DELAYLOAD) #842

Open
opened 2026-11-24 12:06:49 +00:00 by towiice · 2 comments
towiice commented 2026-11-24 12:06:49 +00:00 (Migrated from github.com)
Contributor

Imported from Marvisak/VIctory. Originally posted by towiice on 2026-11-24T12:06:49Z.


Full workspace test report on NVIDIA Turing (GTX 1650 SUPER, 4 GB VRAM, wave32) at main (ffe310e).

Setup

  • GPU: NVIDIA GeForce GTX 1650 SUPER (Turing TU116, 4 GB VRAM, wave32, driver 610.88, D3D12 SM 6.6 with Mesh Shaders)
  • OS: Windows 11 x64 (26H2 / build 26300)
  • Toolchain: rustc 1.100.0 (stable-x86_64-pc-windows-gnullvm, llvm-mingw 23.1.6), debug build, DXC v1.9.2609 (01b62ad4)
  • Command: cargo +stable-x86_64-pc-windows-gnullvm test --workspace --no-fail-fast

Results: 341 passed, 1 failed, 6 ignored

Crate / Target Passed Failed Ignored
victory 1 0 0
victory-core 11 0 0
victory-formats 23 0 4
victory-game 2 0 0
victory-gpu 50 0 1
victory-hle (+ no_dll_planting) 95 0 0
victory-loader (+ title_dlls) 23 0 0
victory-loader (load_probe) 1 1 0
victory-pe 7 0 0
victory-pipeline 4 0 0
victory-shader (GPU + WARP) 120 0 1
xtask 4 0 0

Notes

  • All 120 victory-shader tests pass on both hardware (GTX 1650 SUPER) and WARP, including all valu_tests and waterfall_tests.
  • All 50 victory-gpu tests pass on 4 GB VRAM Turing hardware.
  • 1 toolchain-specific failure (victory-loader --test load_probe, loads_binds_and_calls_probe): fails under x86_64-pc-windows-gnullvm because building hle-probe passes the MSVC-style /DELAYLOAD:victory-probe-delayed.dll flag directly to x86_64-w64-mingw32-clang (clang-23: error: no such file or directory: '/DELAYLOAD:victory-probe-delayed.dll'). Not a GPU or runtime failure.

No retail game files used.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6581392040 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/842). Originally posted by [towiice](https://github.com/towiice) on 2026-11-24T12:06:49Z. --- Full workspace test report on NVIDIA Turing (`GTX 1650 SUPER`, 4 GB VRAM, wave32) at `main` (`ffe310e`). ## Setup - **GPU:** NVIDIA GeForce GTX 1650 SUPER (Turing TU116, 4 GB VRAM, wave32, driver `610.88`, D3D12 SM 6.6 with Mesh Shaders) - **OS:** Windows 11 x64 (26H2 / build `26300`) - **Toolchain:** `rustc 1.100.0` (`stable-x86_64-pc-windows-gnullvm`, `llvm-mingw` 23.1.6), debug build, DXC `v1.9.2609` (`01b62ad4`) - **Command:** `cargo +stable-x86_64-pc-windows-gnullvm test --workspace --no-fail-fast` ## Results: **341 passed, 1 failed, 6 ignored** | Crate / Target | Passed | Failed | Ignored | |---|---:|---:|---:| | `victory` | 1 | 0 | 0 | | `victory-core` | 11 | 0 | 0 | | `victory-formats` | 23 | 0 | 4 | | `victory-game` | 2 | 0 | 0 | | `victory-gpu` | 50 | 0 | 1 | | `victory-hle` (+ `no_dll_planting`) | 95 | 0 | 0 | | `victory-loader` (+ `title_dlls`) | 23 | 0 | 0 | | `victory-loader` (`load_probe`) | 1 | 1 | 0 | | `victory-pe` | 7 | 0 | 0 | | `victory-pipeline` | 4 | 0 | 0 | | `victory-shader` (GPU + WARP) | 120 | 0 | 1 | | `xtask` | 4 | 0 | 0 | ## Notes - **All 120 `victory-shader` tests pass** on both hardware (GTX 1650 SUPER) and WARP, including all `valu_tests` and `waterfall_tests`. - **All 50 `victory-gpu` tests pass** on 4 GB VRAM Turing hardware. - **1 toolchain-specific failure (`victory-loader --test load_probe`, `loads_binds_and_calls_probe`):** fails under `x86_64-pc-windows-gnullvm` because building `hle-probe` passes the MSVC-style `/DELAYLOAD:victory-probe-delayed.dll` flag directly to `x86_64-w64-mingw32-clang` (`clang-23: error: no such file or directory: '/DELAYLOAD:victory-probe-delayed.dll'`). Not a GPU or runtime failure. No retail game files used.
andrewpozdnakov7-jpg commented 2026-11-24 13:02:01 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-24T12:18:04Z.


I reproduced the fixture link failure on ffe310e with Rust 1.100.0 (x86_64-pc-windows-gnullvm) and llvm-mingw 23.1.6. The Clang driver treated /DELAYLOAD:victory-probe-delayed.dll as an input filename.

The patch forwards --delayload through Clang on the LLVM MinGW target and retains the existing MSVC flag. llvm-readobj --coff-imports confirmed that victory-probe-delayed.dll is still in the resulting DLL's delay import table. Both load_probe integration tests passed on native Windows with each toolchain. The fixture passed rustfmt --check, and cargo xtask policy passed.

AI-assisted. Tested with the repository's synthetic fixture. Only the loader integration tests were rerun.

Patch on ffe310e
diff --git a/tests/fixtures/hle-probe/build.rs b/tests/fixtures/hle-probe/build.rs
index 45ab457..628746b 100644
--- a/tests/fixtures/hle-probe/build.rs
+++ b/tests/fixtures/hle-probe/build.rs
@@ -1,4 +1,12 @@
 fn main() {
-    println!("cargo:rustc-link-arg-cdylib=/DELAYLOAD:victory-probe-delayed.dll");
+    let target_env = std::env::var("CARGO_CFG_TARGET_ENV");
+    let target_abi = std::env::var("CARGO_CFG_TARGET_ABI");
+    let delay_load = if target_env.as_deref() == Ok("gnu") && target_abi.as_deref() == Ok("llvm") {
+        // The MinGW Clang driver forwards this option to LLD.
+        "-Wl,--delayload="
+    } else {
+        "/DELAYLOAD:"
+    };
+    println!("cargo:rustc-link-arg-cdylib={delay_load}victory-probe-delayed.dll");
     println!("cargo:rustc-link-lib=delayimp");
 }
<!-- greyfinch-sync:Marvisak/VIctory:comment:7131245385 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/842#issuecomment-7131245385). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-24T12:18:04Z. --- I reproduced the fixture link failure on `ffe310e` with Rust 1.100.0 (`x86_64-pc-windows-gnullvm`) and llvm-mingw 23.1.6. The Clang driver treated `/DELAYLOAD:victory-probe-delayed.dll` as an input filename. The patch forwards `--delayload` through Clang on the LLVM MinGW target and retains the existing MSVC flag. `llvm-readobj --coff-imports` confirmed that `victory-probe-delayed.dll` is still in the resulting DLL's delay import table. Both `load_probe` integration tests passed on native Windows with each toolchain. The fixture passed `rustfmt --check`, and `cargo xtask policy` passed. AI-assisted. Tested with the repository's synthetic fixture. Only the loader integration tests were rerun. <details> <summary>Patch on ffe310e</summary> ```diff diff --git a/tests/fixtures/hle-probe/build.rs b/tests/fixtures/hle-probe/build.rs index 45ab457..628746b 100644 --- a/tests/fixtures/hle-probe/build.rs +++ b/tests/fixtures/hle-probe/build.rs @@ -1,4 +1,12 @@ fn main() { - println!("cargo:rustc-link-arg-cdylib=/DELAYLOAD:victory-probe-delayed.dll"); + let target_env = std::env::var("CARGO_CFG_TARGET_ENV"); + let target_abi = std::env::var("CARGO_CFG_TARGET_ABI"); + let delay_load = if target_env.as_deref() == Ok("gnu") && target_abi.as_deref() == Ok("llvm") { + // The MinGW Clang driver forwards this option to LLD. + "-Wl,--delayload=" + } else { + "/DELAYLOAD:" + }; + println!("cargo:rustc-link-arg-cdylib={delay_load}victory-probe-delayed.dll"); println!("cargo:rustc-link-lib=delayimp"); } ``` </details>
Marvisak commented 2026-11-25 04:07:11 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T03:55:09Z.


Automated triage for the maintainers.

Thanks for the test-suite report (GTX 1650 SUPER, driver 610.88, Windows 11 26300, ffe310e). The single failure, loads_binds_and_calls_probe, comes from the toolchain: tests/fixtures/hle-probe/build.rs passes the MSVC linker flag /DELAYLOAD: unconditionally, and the project pins x86_64-pc-windows-msvc in rust-toolchain.toml (the README asks for the MSVC build tools). So gnullvm isn't a supported target, and on the pinned toolchain this test passes.

Support for the GNU delay-load flag in that fixture is in open PR #1631. The patch in the comment above does the same thing, so please compare it there.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7152361124 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/842#issuecomment-7152361124). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T03:55:09Z. --- <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-24T12:18:04Z at=2026-11-25T03:55:08Z --> Automated triage for the maintainers. Thanks for the test-suite report (GTX 1650 SUPER, driver 610.88, Windows 11 26300, `ffe310e`). The single failure, `loads_binds_and_calls_probe`, comes from the toolchain: `tests/fixtures/hle-probe/build.rs` passes the MSVC linker flag `/DELAYLOAD:` unconditionally, and the project pins `x86_64-pc-windows-msvc` in `rust-toolchain.toml` (the README asks for the MSVC build tools). So `gnullvm` isn't a supported target, and on the pinned toolchain this test passes. Support for the GNU delay-load flag in that fixture is in open PR #1631. The patch in the comment above does the same thing, so please compare it there. --- _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#842
No description provided.