[pr-fix][dlss][frame-generation][NVIDIA] Rig launcher: an RTX card's generation is read as the layer reads it #89
Loading…
Reference in a new issue
No description provided.
Delete branch "iBooM72/Darner:fix/rig-rtx-generation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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-RtxGenerationfollows the layer's own rule,rtx_generationincrates/darner-gpu/src/streamline.rs, and the launcher now uses it. A new test inscripts/tests/play-rig.Tests.ps1covers 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
1a5286a7+ this commitInvoke-Pester -Script scripts\tests\play-rig.Tests.ps1(Pester 3.4, Windows PowerShell 5.1): 13 passed, 4 failed. Unmodifiedmaingives 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.Checklist
main.docs/asset-policy.md.Checked for overlap
🤖 Generated with 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]>