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

Open
iBooM72 wants to merge 1 commit from upstream-pr/2760 into main
iBooM72 commented 2026-11-29 16:55:45 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by iBooM72 on 2026-11-29T16:55:45Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5552952490 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2760). Originally posted by [iBooM72](https://github.com/iBooM72) on 2026-11-29T16:55:45Z. --- ## 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)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2760:upstream-pr/2760'
git switch 'upstream-pr/2760'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2760'
git switch 'upstream-pr/2760'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2760'
git switch 'upstream-pr/2760'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2760'
git switch 'main'
git merge --squash 'upstream-pr/2760'
git switch 'main'
git merge --ff-only 'upstream-pr/2760'
git switch 'main'
git merge 'upstream-pr/2760'
git push origin 'main'
Sign in to join this conversation.
No reviewers
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
trustno1-coder/VIctory-NVIDIA!2760
No description provided.