Synthetic D3D12.X frame and shader-cache baseline on Radeon 780M, RTX 5060 Laptop and WARP #1131

Open
opened 2026-11-26 04:20:46 +00:00 by github-bot · 3 comments
Owner

@⁠Doffi4 on GitHub · 2026-11-24 16:02 UTC · original

AI-assisted testing by Doffi4 on main at ffe310eb2098e52169f4c44db5ffdabf43a72622. This is a Windows synthetic baseline for the rendering path. No game files were used.

Environment

  • Windows 11 25H2 x64, build 26200.9550, Rust 1.98.1 MSVC
  • AMD Radeon 780M, driver 32.0.32029.2010
  • NVIDIA GeForce RTX 5060 Laptop GPU, driver 32.0.16.2101
  • WARP as a software control
  • Debug builds. The frame test enables the diagnostics feature.

Results

  • Clean checkout, cargo test --workspace --locked -- --test-threads=1 --show-output: 338 executed passes, 0 failures, 10 skips (6 ignored, 4 differential checks returned early without the console compiler). Both PE/HLE probe tests and the asset-policy test passed.
  • Explicit adapter runs: all 5 waterfall and all 13 VALU tests passed on each of the Radeon, the RTX and WARP. No skips in these runs.
  • D3D12.X proxy smoke test: a 384×216 render target cleared to magenta, submitted, then reused after ResetX. The second submission uses DrawInstanced to draw a green full-screen triangle via ExecuteX. Host draw count increased by one, and readback checked every RGBA pixel against the expected value on both frames. An initial control using a prebuilt host PSO passed on all three adapters.
  • The final test feeds two hand-authored Xbox-style shader containers into the standard pipeline-state stream and exercises VIctory's translation and worker PSO creation. Cold and warm runs were separate processes with a dedicated disk cache per adapter. All six runs passed, with zero skips and zero failures. Each cold run recorded 0 hits / 2 misses and each warm run recorded 2 hits / 0 misses for the shader translation cache.

Reproducer, HLSL, generator and local test patches

The result covers offscreen rendering and shader translation caching. Swap-chain presentation, the driver PSO cache, parallel test stability, menus and world entry were outside this run. The next check is to send the same synthetic target through PresentX and verify swap-chain output.

**@⁠Doffi4** on GitHub · 2026-11-24 16:02 UTC · [original](https://github.com/Marvisak/VIctory/issues/1131) AI-assisted testing by Doffi4 on main at `ffe310eb2098e52169f4c44db5ffdabf43a72622`. This is a Windows synthetic baseline for the rendering path. No game files were used. ## Environment - Windows 11 25H2 x64, build 26200.9550, Rust 1.98.1 MSVC - AMD Radeon 780M, driver 32.0.32029.2010 - NVIDIA GeForce RTX 5060 Laptop GPU, driver 32.0.16.2101 - WARP as a software control - Debug builds. The frame test enables the diagnostics feature. ## Results - Clean checkout, `cargo test --workspace --locked -- --test-threads=1 --show-output`: 338 executed passes, 0 failures, 10 skips (6 ignored, 4 differential checks returned early without the console compiler). Both PE/HLE probe tests and the asset-policy test passed. - Explicit adapter runs: all 5 waterfall and all 13 VALU tests passed on each of the Radeon, the RTX and WARP. No skips in these runs. - D3D12.X proxy smoke test: a 384×216 render target cleared to magenta, submitted, then reused after `ResetX`. The second submission uses `DrawInstanced` to draw a green full-screen triangle via `ExecuteX`. Host draw count increased by one, and readback checked every RGBA pixel against the expected value on both frames. An initial control using a prebuilt host PSO passed on all three adapters. - The final test feeds two hand-authored Xbox-style shader containers into the standard pipeline-state stream and exercises VIctory's translation and worker PSO creation. Cold and warm runs were separate processes with a dedicated disk cache per adapter. All six runs passed, with zero skips and zero failures. Each cold run recorded 0 hits / 2 misses and each warm run recorded 2 hits / 0 misses for the shader translation cache. [Reproducer, HLSL, generator and local test patches](https://gist.github.com/Doffi4/3d40d85fd2532913c59ad6b5eeaebdcf) The result covers offscreen rendering and shader translation caching. Swap-chain presentation, the driver PSO cache, parallel test stability, menus and world entry were outside this run. The next check is to send the same synthetic target through PresentX and verify swap-chain output.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:20:46 +00:00
Author
Owner

@⁠Doffi4 on GitHub · 2026-11-24 16:06 UTC · original

AI-assisted testing follow-up at the same revision, ffe310eb, debug + diagnostics, with the same Windows 11 and driver versions.

The synthetic fixture now sends both 384×216 frames through the newer D3D12.X queue's PresentX slot (0x100). It reads the actual DXGI back buffer after CopyResource, before the flip. Frame 1 was magenta after the clear and frame 2 was green after the translated full-screen triangle. All 82,944 RGBA pixels matched on each frame. The back-buffer indices were 0 and 1, and DXGI Present returned S_OK for both.

Radeon 780M, RTX 5060 Laptop and WARP: 3 passed, 0 skipped, 0 failed (two presents per run). This verifies the swap-chain copy and DXGI return status. Physical display scanout, game menus and world entry were outside the test. The reproducer now includes the opt-in PresentX check.

**@⁠Doffi4** on GitHub · 2026-11-24 16:06 UTC · [original](https://github.com/Marvisak/VIctory/issues/1131#issuecomment-7137121895) AI-assisted testing follow-up at the same revision, `ffe310eb`, debug + diagnostics, with the same Windows 11 and driver versions. The synthetic fixture now sends both 384×216 frames through the newer D3D12.X queue's PresentX slot (0x100). It reads the actual DXGI back buffer after CopyResource, before the flip. Frame 1 was magenta after the clear and frame 2 was green after the translated full-screen triangle. All 82,944 RGBA pixels matched on each frame. The back-buffer indices were 0 and 1, and DXGI Present returned S_OK for both. Radeon 780M, RTX 5060 Laptop and WARP: 3 passed, 0 skipped, 0 failed (two presents per run). This verifies the swap-chain copy and DXGI return status. Physical display scanout, game menus and world entry were outside the test. The [reproducer](https://gist.github.com/Doffi4/3d40d85fd2532913c59ad6b5eeaebdcf) now includes the opt-in PresentX check.
Author
Owner

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

Adding a discrete RDNA3 data point for the synthetic baseline (no game files):

  • System: Windows 10 x64, Ryzen 7 5800X, Radeon RX 7800 XT (RDNA3, driver 32.0.32029.2010), Rust 1.98.1 MSVC.
  • Device: the system D3D12 runtime reports SM 6.5, so the shader test binary was opted into Agility SDK 1.616 locally (D3D12Core.dll + the two exports) to get SM 6.6. WARP stays at SM 6.2 here.
  • 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 and the whole victory-loader crate passed.
  • Shader suites with a device: emit::valu_tests 13 passed, emit::waterfall_tests 5 passed, no skips.

So on RDNA3 the synthetic path is clean apart from the loader test, which has a verified fix waiting.

**@⁠Calvix2k** on GitHub · 2026-11-24 21:30 UTC · [original](https://github.com/Marvisak/VIctory/issues/1131#issuecomment-7145030145) Adding a discrete RDNA3 data point for the synthetic baseline (no game files): - **System:** Windows 10 x64, Ryzen 7 5800X, Radeon RX 7800 XT (RDNA3, driver 32.0.32029.2010), Rust 1.98.1 MSVC. - **Device:** the system D3D12 runtime reports SM 6.5, so the shader test binary was opted into Agility SDK 1.616 locally (`D3D12Core.dll` + the two exports) to get SM 6.6. WARP stays at SM 6.2 here. - `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** and the whole `victory-loader` crate passed. - Shader suites with a device: `emit::valu_tests` **13 passed**, `emit::waterfall_tests` **5 passed**, no skips. So on RDNA3 the synthetic path is clean apart from the loader test, which has a verified fix waiting.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 10:06 UTC · original

Automated triage for the maintainers.

Thanks for the synthetic baseline (Radeon 780M, RTX 5060 Laptop and WARP at ffe310e, plus the RX 7800 XT comment). Nothing here needs a code change:

  • The PresentX check from your gist is in your open PR #1143 ("verify a synthetic frame through PresentX"). Review belongs there; pull requests are open to everyone.
  • The Windows 10 failure in the RX 7800 XT comment, crash::tests::unwinds_like_the_system_walk (crates/victory-loader/src/crash.rs), is fixed in main by #1159 (merged 2026-11-25).

main has moved on a lot since ffe310e. A run on current main would be the more useful data point if you repeat it.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 10:06 UTC · [original](https://github.com/Marvisak/VIctory/issues/1131#issuecomment-7159228747) <!-- victory-issue-triage v1 verdict=answered seen=2026-11-24T21:30:53Z at=2026-11-25T09:50:38Z --> Automated triage for the maintainers. Thanks for the synthetic baseline (Radeon 780M, RTX 5060 Laptop and WARP at `ffe310e`, plus the RX 7800 XT comment). Nothing here needs a code change: - The PresentX check from your gist is in your open PR #1143 ("verify a synthetic frame through PresentX"). Review belongs there; pull requests are open to everyone. - The Windows 10 failure in the RX 7800 XT comment, `crash::tests::unwinds_like_the_system_walk` (`crates/victory-loader/src/crash.rs`), is fixed in `main` by #1159 (merged 2026-11-25). `main` has moved on a lot since `ffe310e`. A run on current `main` would be the more useful data point if you repeat it. --- _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#1131
No description provided.