Use the renderer's device for GPU startup checks #3376

Closed
github-bot wants to merge 12 commits from github-bot/gh-3376 into main AGit
Owner

@⁠SmallDevBigNothing on GitHub · 2026-11-29 22:27 UTC · original
SmallDevBigNothing:fix/gpu-startup-check → main · +1007 −916 · 34 files · 12 commits · closed without merging

What it changes

  • The launcher's shader-model probe now opens the renderer's feature level 12.0 device and uses the saved or overridden adapter settings. It identifies the device by its DXGI LUID, including when Windows falls back to its default adapter.
  • The launcher uses the probed adapter for optional frame generation SDK prompts. The existing shader-model command still ends with the model or none for the PowerShell launchers.
  • victory gpu-check reports the adapter, dedicated VRAM, loaded runtime, shader model, and whether a synthetic root signature with direct descriptor indexing works. gpu-check --warp runs the same checks on Microsoft's software adapter.

How it was tested

  • Windows 11 build 26100, GeForce RTX 3060 12 GiB, NVIDIA driver 621.40. The release build passed with the default adapter, a mixed-case adapter override, and an unmatched name. The device reported Shader Model 6.7 and accepted direct descriptor indexing.
  • WARP opened Microsoft Basic Render Driver and passed both capability checks. The shader-model subprocess retained its final-line protocol. All checks used no title files.
  • The locked release build, all 80 CLI unit tests, and the staged asset policy passed. The new CLI regression test covers saved GPU settings, command-line overrides, and cleanup of inherited WARP selection.
  • The GPU unit suite reported 913 passed, 2 failed, and 60 ignored. Both failures reproduce on the base commit. The shader-cache test failed in the full GPU suite, and the F1 menu test failed in four focused baseline runs.
  • The three BCPack parity failures, strict workspace Clippy failures, and diagnostics build errors also reproduce on base commit 716a0c99. The full-tree asset policy flags the same unchanged loader file on both revisions. The staged check passed for all five changed files.

Checked for overlap

  • Searched open PRs for shader-model adapter selection and hardware diagnostics. #2486 overlaps the redundant adapter lookup. This PR shares renderer device creation and covers saved launch settings, fallback reporting, and the standalone capability check. #1331 covers general hardware inventory.

Implementation and testing assisted by Codex.

**@⁠SmallDevBigNothing** on GitHub · 2026-11-29 22:27 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3376) `SmallDevBigNothing:fix/gpu-startup-check` → `main` · +1007 −916 · 34 files · 12 commits · closed without merging ## What it changes - The launcher's shader-model probe now opens the renderer's feature level 12.0 device and uses the saved or overridden adapter settings. It identifies the device by its DXGI LUID, including when Windows falls back to its default adapter. - The launcher uses the probed adapter for optional frame generation SDK prompts. The existing `shader-model` command still ends with the model or `none` for the PowerShell launchers. - `victory gpu-check` reports the adapter, dedicated VRAM, loaded runtime, shader model, and whether a synthetic root signature with direct descriptor indexing works. `gpu-check --warp` runs the same checks on Microsoft's software adapter. ## How it was tested - Windows 11 build 26100, GeForce RTX 3060 12 GiB, NVIDIA driver 621.40. The release build passed with the default adapter, a mixed-case adapter override, and an unmatched name. The device reported Shader Model 6.7 and accepted direct descriptor indexing. - WARP opened Microsoft Basic Render Driver and passed both capability checks. The shader-model subprocess retained its final-line protocol. All checks used no title files. - The locked release build, all 80 CLI unit tests, and the staged asset policy passed. The new CLI regression test covers saved GPU settings, command-line overrides, and cleanup of inherited WARP selection. - The GPU unit suite reported 913 passed, 2 failed, and 60 ignored. Both failures reproduce on the base commit. The shader-cache test failed in the full GPU suite, and the F1 menu test failed in four focused baseline runs. - The three BCPack parity failures, strict workspace Clippy failures, and diagnostics build errors also reproduce on base commit 716a0c99. The full-tree asset policy flags the same unchanged loader file on both revisions. The staged check passed for all five changed files. ## Checked for overlap - [x] Searched open PRs for shader-model adapter selection and hardware diagnostics. #2486 overlaps the redundant adapter lookup. This PR shares renderer device creation and covers saved launch settings, fallback reporting, and the standalone capability check. #1331 covers general hardware inventory. Implementation and testing assisted by Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 22:29:38 +00:00
Author
Owner

@⁠madvillain91 on GitHub · 2026-11-29 23:08 UTC · original

System Information:

  • GPU: NVIDIA GeForce RTX 3070 Ti 8GB
  • Windows 11 Pro, Build 26300.9711

Summary of Experience:

  • Gameplay test duration: 1–5 minutes (both on foot and in vehicles)
  • FPS: Average 12 FPS
  • Visuals: Despite low FPS, the experience felt smooth and stable for movement (vehicle and on-foot).
  • No crashes or freezes.
  • Texture, LOD, and artefacts:
  • Texture detail on roads, faces, and skins showed improvement compared to previous problem builds.
  • No major pop-in, missing assets, or glaring visual artefacts noted during rapid movement.
  • Stability: Game remained stable during quick transitions and area changes.
  • No unusual startup or GPU device errors in this run.

Relevant Log File:
victory-nvidia-play-20261129-225927-1832.log

Summary/Conclusion:

  • This build delivers a much improved user experience despite the FPS drop.
  • Shaders and LOD rendering appear better tuned for my hardware, especially for fast action.
  • Recommend further profiling to investigate sources of low FPS, even as visual quality and gameplay feel are now markedly better.
**@⁠madvillain91** on GitHub · 2026-11-29 23:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3376#issuecomment-7264222996) System Information: - GPU: NVIDIA GeForce RTX 3070 Ti 8GB - Windows 11 Pro, Build 26300.9711 Summary of Experience: - Gameplay test duration: 1–5 minutes (both on foot and in vehicles) - FPS: Average 12 FPS - Visuals: Despite low FPS, the experience felt smooth and stable for movement (vehicle and on-foot). - No crashes or freezes. - Texture, LOD, and artefacts: - Texture detail on roads, faces, and skins showed improvement compared to previous problem builds. - No major pop-in, missing assets, or glaring visual artefacts noted during rapid movement. - Stability: Game remained stable during quick transitions and area changes. - No unusual startup or GPU device errors in this run. Relevant Log File: [victory-nvidia-play-20261129-225927-1832.log](https://github.com/user-attachments/files/35585613/victory-nvidia-play-20261129-225927-1832.log) Summary/Conclusion: - This build delivers a much improved user experience despite the FPS drop. - Shaders and LOD rendering appear better tuned for my hardware, especially for fast action. - Recommend further profiling to investigate sources of low FPS, even as visual quality and gameplay feel are now markedly better.
Author
Owner

@⁠SmallDevBigNothing on GitHub · 2026-11-30 06:11 UTC · original

Thanks for testing the RTX 3070 Ti and attaching the log. Across the 57 frame-meter entries with at least 500 draws per frame, the median was 75.1 ms per rendered frame, including 56.0 ms preparing submissions. That gives us a concrete CPU path to investigate. I opened #3762 for a measured improvement to large refresh batches. The synthetic benchmark is about 11% faster at three workers, and a paired gameplay run is still needed to measure its FPS impact.

**@⁠SmallDevBigNothing** on GitHub · 2026-11-30 06:11 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3376#issuecomment-7270403947) Thanks for testing the RTX 3070 Ti and attaching the log. Across the 57 frame-meter entries with at least 500 draws per frame, the median was 75.1 ms per rendered frame, including 56.0 ms preparing submissions. That gives us a concrete CPU path to investigate. I opened #3762 for a measured improvement to large refresh batches. The synthetic benchmark is about 11% faster at three workers, and a paired gameplay run is still needed to measure its FPS impact.
github-bot closed this pull request 2026-12-01 18:58:49 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
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/trustno1-coder--VIctory-NVIDIA!3376
No description provided.