feat(scripts): default VICTORY_DLSS_PRESET=auto on RTX 40/50 in play-rig.ps1 #4153

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

@⁠Andreww2009 on GitHub · 2026-11-30 16:50 UTC · original
Andreww2009:feat/play-rig-rtx40-50-dlss-auto → main · +7 −0 · 1 files · 1 commits · open

Summary

Default VICTORY_DLSS_PRESET=auto on NVIDIA RTX 40 and RTX 50 series GPUs in scripts/play-rig.ps1 when DLSS is active, while keeping explicit -Set VICTORY_DLSS_PRESET=... overrides intact.

Problem

scripts/play-rig.ps1 left VICTORY_DLSS_PRESET unset on Ada Lovelace (RTX 40) and Blackwell (RTX 50) GPUs instead of selecting auto, which lets Streamline / NGX choose the optimal DLSS 4 / 4.5 transformer preset per scaling mode (K for DLAA/Quality/Balanced, M for Performance, L for Ultra Performance).

Root Cause

Get-RigSettings checked $rig.RtxGeneration -ge 40 for Frame Generation, but did not configure VICTORY_DLSS_PRESET=auto for RTX 40/50 adapters with native FP8 tensor acceleration.

Implementation

  • In Get-RigSettings (scripts/play-rig.ps1), set $switchSet.VICTORY_DLSS_PRESET = 'auto' and record the explanation in $why when $o.Dlss -ne 'off' -and $rig.RtxGeneration -ge 40.
  • User-supplied -Set VICTORY_DLSS_PRESET=... is applied afterward and continues to override this default.
  • Kept strictly ASCII-only and CRLF line endings for Windows PowerShell 5.1 compatibility.
  • Deliberately scoped to only the RTX 40/50 preset default (locale decimal-parsing fixes are intentionally omitted so this does not overlap with open PRs #2824 / #3583).

Testing

  • Invoke-Pester .\scripts\tests\play-rig.Tests.ps1 -TestName 'the scripts','-Check' -EnableExit: 3 passed, 0 failed (ASCII-only parse check + -Check switch handling on Windows PowerShell 5.1).
  • cargo xtask policy --staged: 1 files ok.
  • Verified VICTORY_DLSS_PRESET=auto with victory.exe upscaler-check --device on RTX 5080 Laptop (Streamline 2.14.16, NGX 310.9.16).

Performance Before and After

No CPU overhead; selects the per-mode DLSS 4.5 transformer preset automatically on RTX 40/50 hardware with native FP8 tensor cores.

Hardware Configuration

  • GPU: NVIDIA GeForce RTX 5080 Laptop GPU (16 GB GDDR7, Blackwell, driver 621.14)
  • CPU: Intel Core Ultra 9 275HX
  • OS: Windows 11 x64 (build 26200, Windows PowerShell 5.1)

Compatibility

Strictly gated on $o.Dlss -ne 'off' -and $rig.RtxGeneration -ge 40. RTX 20/30, AMD, and Intel GPUs are unaffected.

Risks and Limitations

Minimal; easily overridden via -Set VICTORY_DLSS_PRESET=<preset>.

  • Searched open pull requests and main (84bd61e2). Distinct from locale parsing PRs #2824 and #3583.
**@⁠Andreww2009** on GitHub · 2026-11-30 16:50 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4153) `Andreww2009:feat/play-rig-rtx40-50-dlss-auto` → `main` · +7 −0 · 1 files · 1 commits · open ## Summary Default `VICTORY_DLSS_PRESET=auto` on NVIDIA RTX 40 and RTX 50 series GPUs in `scripts/play-rig.ps1` when DLSS is active, while keeping explicit `-Set VICTORY_DLSS_PRESET=...` overrides intact. ## Problem `scripts/play-rig.ps1` left `VICTORY_DLSS_PRESET` unset on Ada Lovelace (RTX 40) and Blackwell (RTX 50) GPUs instead of selecting `auto`, which lets Streamline / NGX choose the optimal DLSS 4 / 4.5 transformer preset per scaling mode (K for DLAA/Quality/Balanced, M for Performance, L for Ultra Performance). ## Root Cause `Get-RigSettings` checked `$rig.RtxGeneration -ge 40` for Frame Generation, but did not configure `VICTORY_DLSS_PRESET=auto` for RTX 40/50 adapters with native FP8 tensor acceleration. ## Implementation - In `Get-RigSettings` (`scripts/play-rig.ps1`), set `$switchSet.VICTORY_DLSS_PRESET = 'auto'` and record the explanation in `$why` when `$o.Dlss -ne 'off' -and $rig.RtxGeneration -ge 40`. - User-supplied `-Set VICTORY_DLSS_PRESET=...` is applied afterward and continues to override this default. - Kept strictly ASCII-only and CRLF line endings for Windows PowerShell 5.1 compatibility. - Deliberately scoped to only the RTX 40/50 preset default (locale decimal-parsing fixes are intentionally omitted so this does not overlap with open PRs #2824 / #3583). ## Testing - `Invoke-Pester .\scripts\tests\play-rig.Tests.ps1 -TestName 'the scripts','-Check' -EnableExit`: **3 passed, 0 failed** (ASCII-only parse check + `-Check` switch handling on Windows PowerShell 5.1). - `cargo xtask policy --staged`: **1 files ok**. - Verified `VICTORY_DLSS_PRESET=auto` with `victory.exe upscaler-check --device` on RTX 5080 Laptop (Streamline 2.14.16, NGX 310.9.16). ## Performance Before and After No CPU overhead; selects the per-mode DLSS 4.5 transformer preset automatically on RTX 40/50 hardware with native FP8 tensor cores. ## Hardware Configuration - GPU: NVIDIA GeForce RTX 5080 Laptop GPU (16 GB GDDR7, Blackwell, driver 621.14) - CPU: Intel Core Ultra 9 275HX - OS: Windows 11 x64 (build 26200, Windows PowerShell 5.1) ## Compatibility Strictly gated on `$o.Dlss -ne 'off' -and $rig.RtxGeneration -ge 40`. RTX 20/30, AMD, and Intel GPUs are unaffected. ## Risks and Limitations Minimal; easily overridden via `-Set VICTORY_DLSS_PRESET=<preset>`. ## Related Issues / Overlap Check - [x] Searched open pull requests and `main` (`84bd61e2`). Distinct from locale parsing PRs #2824 and #3583.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 16:51:57 +00:00
github-bot force-pushed github-bot/gh-4153 from 4938abacfc to cc95283fc2 2026-12-01 09:51:32 +00:00 Compare
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/4153/head:github-bot/gh-4153'
git switch 'github-bot/gh-4153'

Merge

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