Rig launcher: workstation RTX cards get the settings of their real generation #2760

Open
github-bot wants to merge 1 commit from github-bot/gh-2760 into main AGit
Owner

@⁠iBooM72 on GitHub · 2026-11-29 16:55 UTC · original
iBooM72:fix/rig-workstation-cards → main · +37 −2 · 2 files · 1 commits · open

What it changes

scripts/play-rig.ps1 took a card's generation from the first two digits after "RTX". That is wrong for workstation cards: "Quadro RTX 5000" (Turing) counted as an RTX 50, and "RTX A4500" had no generation. It also failed when a mark came before the number, as in "RTX(TM) 5080".

Get-RtxGeneration now follows the layer's own rule, rtx_generation in streamline.rs (#312, #1028). Nothing else in the script changes. I also added a Pester test with 18 names: GeForce and workstation cards, names with marks, cards that aren't RTX, and an empty name.

Automatic settings with GPU scheduling on:

Card Before After
Quadro RTX 5000 DLSS and frame generation DLSS
RTX A4500 DLSS off DLSS
RTX 2000 Ada DLSS DLSS and frame generation
RTX PRO 6000 Blackwell DLSS off DLSS and frame generation
RTX 4070 Ti DLSS and frame generation the same

#1535 reports frame generation on a Quadro RTX 6000 and an RTX A4500, but only with a modified MFG Unlocker. The layer doesn't count either as a card that runs DLSS frame generation, so this script doesn't either.

How it was tested

  • GPU and profile: RTX 4070 Ti PC, with the other cards tested by name only. I don't have any of the workstation cards, and no game was run. Windows 11, Windows PowerShell 5.1.
  • Before: the new test failed with the old rule. 12 of 21 real names gave the wrong DLSS or frame generation choice for a detected NVIDIA card, compared with the layer's Rust functions built on their own. Two more only showed the wrong number.
  • After: the new test passes. On 2,881 generated names, the result is the same as the Rust functions' every time.
  • I ran play-rig.ps1 -Check with a stand-in nvidia-smi for the five cards above, before and after. The new script chose DLSS Quality for all five. Frame generation stayed off in those runs because GPU scheduling isn't set in this PC's registry. The table's settings come from calling Get-RigSettings with GPU scheduling on.
  • Invoke-Pester .\scripts\tests: 9 passed, 5 failed. The same 5 fail on unmodified 55d06914 (8 passed, 5 failed). This PC uses decimal commas, and at least one of the 5 expects 30.0. That may be why they fail, but I haven't confirmed it. After that run I only restored a space. The new test, the parse test and the 2,881-name check passed again on the final script.
  • For shader changes, the wave sizes tested: not a shader change.
  • cargo test passed for the crates it touches: no crate touched (scripts only). cargo xtask policy --staged passed.
  • I ran the checks with this change on top of 55d06914. This branch is based on 829188e9, one commit earlier, and the only difference is .github/workflows/spam.yml.
  • The three CI commands (tests with --no-fail-fast) fail here and on unmodified 55d06914. The 5 tests that fail here also fail there, and there are no new clippy errors. places_written_after_sending_are_learned also failed there, but not here; it fails on and off.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #1448 is the script author's open PR. It has newer changes to both files but the same old rule. This change merges cleanly with it, and with #2207. None of the open pull requests I found fixes this.

🤖 Generated with Claude Code

**@⁠iBooM72** on GitHub · 2026-11-29 16:55 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2760) `iBooM72:fix/rig-workstation-cards` → `main` · +37 −2 · 2 files · 1 commits · open ## What it changes `scripts/play-rig.ps1` took a card's generation from the first two digits after "RTX". That is wrong for workstation cards: "Quadro RTX 5000" (Turing) counted as an RTX 50, and "RTX A4500" had no generation. It also failed when a mark came before the number, as in "RTX(TM) 5080". `Get-RtxGeneration` now follows the layer's own rule, `rtx_generation` in `streamline.rs` (#312, #1028). Nothing else in the script changes. I also added a Pester test with 18 names: GeForce and workstation cards, names with marks, cards that aren't RTX, and an empty name. Automatic settings with GPU scheduling on: | Card | Before | After | |---|---|---| | Quadro RTX 5000 | DLSS and frame generation | DLSS | | RTX A4500 | DLSS off | DLSS | | RTX 2000 Ada | DLSS | DLSS and frame generation | | RTX PRO 6000 Blackwell | DLSS off | DLSS and frame generation | | RTX 4070 Ti | DLSS and frame generation | the same | #1535 reports frame generation on a Quadro RTX 6000 and an RTX A4500, but only with a modified MFG Unlocker. The layer doesn't count either as a card that runs DLSS frame generation, so this script doesn't either. ## How it was tested - GPU and profile: RTX 4070 Ti PC, with the other cards tested by name only. **I don't have any of the workstation cards, and no game was run.** Windows 11, Windows PowerShell 5.1. - Before: the new test failed with the old rule. 12 of 21 real names gave the wrong DLSS or frame generation choice for a detected NVIDIA card, compared with the layer's Rust functions built on their own. Two more only showed the wrong number. - After: the new test passes. On 2,881 generated names, the result is the same as the Rust functions' every time. - I ran `play-rig.ps1 -Check` with a stand-in `nvidia-smi` for the five cards above, before and after. The new script chose DLSS Quality for all five. Frame generation stayed off in those runs because GPU scheduling isn't set in this PC's registry. The table's settings come from calling `Get-RigSettings` with GPU scheduling on. - `Invoke-Pester .\scripts\tests`: 9 passed, 5 failed. The same 5 fail on unmodified `55d06914` (8 passed, 5 failed). This PC uses decimal commas, and at least one of the 5 expects `30.0`. That may be why they fail, but I haven't confirmed it. After that run I only restored a space. The new test, the parse test and the 2,881-name check passed again on the final script. - For shader changes, the wave sizes tested: not a shader change. - `cargo test` passed for the crates it touches: no crate touched (scripts only). `cargo xtask policy --staged` passed. - I ran the checks with this change on top of `55d06914`. This branch is based on `829188e9`, one commit earlier, and the only difference is `.github/workflows/spam.yml`. - The three CI commands (tests with `--no-fail-fast`) fail here and on unmodified `55d06914`. The 5 tests that fail here also fail there, and there are no new clippy errors. `places_written_after_sending_are_learned` also failed there, but not here; it fails on and off. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #1448 is the script author's open PR. It has newer changes to both files but the same old rule. This change merges cleanly with it, and with #2207. None of the open pull requests I found fixes this. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
play-rig.ps1 took the first two digits after "RTX", which say nothing of
a workstation card's generation. A Quadro RTX 5000 (Turing) was taken
for an RTX 50 and given frame generation, and an RTX A4500 or RTX PRO
6000 Blackwell got no DLSS. A mark hid the number too ("RTX(TM) 5080").

Get-RtxGeneration follows streamline::rtx_generation (#312, #1028). Its
test covers workstation and GeForce names, marks, and cards that are not
RTX.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 17:00:20 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2760/head:github-bot/gh-2760'
git switch 'github-bot/gh-2760'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2760'
git switch 'github-bot/gh-2760'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2760'
git switch 'github-bot/gh-2760'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2760'
git switch 'main'
git merge --squash 'github-bot/gh-2760'
git switch 'main'
git merge --ff-only 'github-bot/gh-2760'
git switch 'main'
git merge 'github-bot/gh-2760'
git push origin 'main'
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!2760
No description provided.