[pr-fix][dlss][frame-generation][NVIDIA] Rig launcher: an RTX card's generation is read as the layer reads it #89

Manually merged
TrustNo1 merged 1 commit from iBooM72/Darner:fix/rig-rtx-generation into main 2026-12-03 20:19:35 +00:00
Contributor

What it changes

play-rig.ps1 reads the card's generation from the first two digits after "RTX" (RTX\s*(\d{2})\d{2}), which says nothing of a workstation card: a Quadro RTX 5000 (Turing) is taken for an RTX 50 and offered frame generation, and an RTX A4500, RTX 2000 Ada or RTX PRO 6000 Blackwell gets no DLSS. A mark can hide the number too ("RTX(TM) 5080").

Get-RtxGeneration follows the layer's own rule, rtx_generation in crates/darner-gpu/src/streamline.rs, and the launcher now uses it. A new test in scripts/tests/play-rig.Tests.ps1 covers GeForce and workstation names, marks, and cards that are not RTX.

This is the Victory-era fix/rig-workstation-cards, which never landed, ported to the current main.

How it was tested

  • Tested revision: 1a5286a7 + this commit
  • Commands and results: Invoke-Pester -Script scripts\tests\play-rig.Tests.ps1 (Pester 3.4, Windows PowerShell 5.1): 13 passed, 4 failed. Unmodified main gives 12 passed and the same 4 failures, which expect "30.0" where this PC prints decimal commas ("30,0"), so they don't come from this change. The new card test passes: all 18 names give the expected generation. The asset-policy pre-commit hook passed.
  • Coverage gaps: not run on a workstation card; the names are the test's. The three cargo gates were not run (PowerShell only).

Checklist

  • This PR contains one change based on main.
  • The diff follows docs/asset-policy.md.
  • I recorded this PR's dependencies below.
    • Depends on: none

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches.
  • Related PRs: none found

🤖 Generated with Claude Code

<!-- Use Fixes #N for a complete fix or Refs #N for a partial change. --> ## What it changes play-rig.ps1 reads the card's generation from the first two digits after "RTX" (`RTX\s*(\d{2})\d{2}`), which says nothing of a workstation card: a Quadro RTX 5000 (Turing) is taken for an RTX 50 and offered frame generation, and an RTX A4500, RTX 2000 Ada or RTX PRO 6000 Blackwell gets no DLSS. A mark can hide the number too ("RTX(TM) 5080"). `Get-RtxGeneration` follows the layer's own rule, `rtx_generation` in `crates/darner-gpu/src/streamline.rs`, and the launcher now uses it. A new test in `scripts/tests/play-rig.Tests.ps1` covers GeForce and workstation names, marks, and cards that are not RTX. This is the Victory-era fix/rig-workstation-cards, which never landed, ported to the current `main`. ## How it was tested - Tested revision: 1a5286a7 + this commit - Commands and results: `Invoke-Pester -Script scripts\tests\play-rig.Tests.ps1` (Pester 3.4, Windows PowerShell 5.1): 13 passed, 4 failed. Unmodified `main` gives 12 passed and the same 4 failures, which expect "30.0" where this PC prints decimal commas ("30,0"), so they don't come from this change. The new card test passes: all 18 names give the expected generation. The asset-policy pre-commit hook passed. - Coverage gaps: not run on a workstation card; the names are the test's. The three cargo gates were not run (PowerShell only). ## Checklist - [x] This PR contains one change based on `main`. - [x] The diff follows `docs/asset-policy.md`. - [x] I recorded this PR's dependencies below. - Depends on: none ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. - Related PRs: none found 🤖 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 in darner-gpu. Its
test covers workstation and GeForce names, marks, and cards that are not
RTX. Ported from the Victory-era fix/rig-workstation-cards (f8080c20).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
TrustNo1 manually merged commit 538db501d4 into main 2026-12-03 20:19:35 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
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
TrustNo1/Darner!89
No description provided.