Improve GPU test diagnostics: identify DXGI adapter and make compiler-related skips explicit #32

Closed
opened 2026-11-26 03:41:41 +00:00 by github-bot · 0 comments
Owner

@⁠bymaxdev on GitHub · 2026-11-25 17:35 UTC · original

Motivation

While testing VItoriaBr on my NVIDIA RTX 5060, I noticed two limitations in the GPU test diagnostics:

  1. GPU tests can pass without identifying which DXGI adapter executed them, making it difficult to distinguish a physical GPU from WARP on systems with multiple adapters.
  2. Some emit::diff_tests return ok even when the required console/PC shader compilers are unavailable and the tests are skipped internally.

Environment

  • Commit: 5a84eb4
  • GPU: NVIDIA GeForce RTX 5060 (8 GB)
  • Driver: 621.24
  • OS: Windows x64
  • Toolchain: Rust stable MSVC

Test results

Workspace: All reported test suites passed without failures.

Shader differential tests:

no console compiler; skipped
no console or PC compiler; skipped
test result: ok. 4 passed; 0 failed

These tests did not perform shader comparisons due to missing compiler prerequisites.

Hardware execution:

I added temporary DXGI adapter logging locally and confirmed:

VICTORY TEST GPU: NVIDIA GeForce RTX 5060 | Vendor: 0x10de

The v_permlane16_and_x16_read_the_lanes_their_selectors_pick test passed on the NVIDIA GPU.

The emit::lds_bounds_tests suite passed all three tests across 10 consecutive runs: 30/30 passed, 0 failures. Adapter logging also identified WARP in two of these tests.

These results concern synthetic GPU tests only and do not establish game compatibility.

Proposal

Would a small diagnostics-focused PR be useful to:

  • Optionally report the DXGI adapter name and vendor used by GPU tests.
  • Make missing-prerequisite test skips more explicit.
  • Potentially offer an opt-in strict testing mode for environments where the shader compilers are expected to be installed.

I have preserved the test logs and a local diagnostic patch. My working tree is clean.

Happy to adapt the implementation to the maintainers' preferences.

AI-assisted testing and report preparation.

**@⁠bymaxdev** on GitHub · 2026-11-25 17:35 UTC · [original](https://github.com/uiliannn/VItoriaBr/issues/32) ## Motivation While testing VItoriaBr on my NVIDIA RTX 5060, I noticed two limitations in the GPU test diagnostics: 1. GPU tests can pass without identifying which DXGI adapter executed them, making it difficult to distinguish a physical GPU from WARP on systems with multiple adapters. 2. Some `emit::diff_tests` return `ok` even when the required console/PC shader compilers are unavailable and the tests are skipped internally. ## Environment - Commit: `5a84eb4` - GPU: NVIDIA GeForce RTX 5060 (8 GB) - Driver: 621.24 - OS: Windows x64 - Toolchain: Rust stable MSVC ## Test results **Workspace:** All reported test suites passed without failures. **Shader differential tests:** ```text no console compiler; skipped no console or PC compiler; skipped test result: ok. 4 passed; 0 failed ``` These tests did not perform shader comparisons due to missing compiler prerequisites. **Hardware execution:** I added temporary DXGI adapter logging locally and confirmed: ```text VICTORY TEST GPU: NVIDIA GeForce RTX 5060 | Vendor: 0x10de ``` The `v_permlane16_and_x16_read_the_lanes_their_selectors_pick` test passed on the NVIDIA GPU. The `emit::lds_bounds_tests` suite passed all three tests across 10 consecutive runs: **30/30 passed, 0 failures**. Adapter logging also identified WARP in two of these tests. These results concern synthetic GPU tests only and do not establish game compatibility. ## Proposal Would a small diagnostics-focused PR be useful to: - Optionally report the DXGI adapter name and vendor used by GPU tests. - Make missing-prerequisite test skips more explicit. - Potentially offer an opt-in strict testing mode for environments where the shader compilers are expected to be installed. I have preserved the test logs and a local diagnostic patch. My working tree is clean. Happy to adapt the implementation to the maintainers' preferences. AI-assisted testing and report preparation.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:41:41 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.