bench.ps1: DLSS files found where Get-NVIDIA-DLSS.cmd puts them, and -Run for builds without victory play #4226

Open
github-bot wants to merge 2 commits from github-bot/gh-4225 into main AGit
Owner

@⁠ozigalko on GitHub · 2026-11-30 17:35 UTC · original
ozigalko:pr/bench-dlss-run → main · +47 −2 · 1 files · 2 commits · open

What it changes

Two additions to scripts/bench.ps1:

  1. NVIDIA's files where Get-NVIDIA-DLSS.cmd puts them are found. Without VICTORY_STREAMLINE_DIR, -Dlss did not look in the checkout's nvidia-sdk\Streamline\bin\x64, so a run on a fresh checkout stopped with "no NVIDIA files (sl.interposer.dll)" even after Get-NVIDIA-DLSS.cmd. The script now also looks there and passes the folder it found on to play.
  2. -Run: builds without victory play are measured too. Some builds (FoxHound) start victory run <exe> --console <c> --execute from their own launcher, with settings as environment variables. -Run starts the title the same way: the launcher's tested switch set (the Base array of launcher\Launcher.cs, read from the checkout when it is there), VICTORY_NATIVE_1440P for the Series X profile, VICTORY_DLSS/_MODE/STREAMLINE_DIR for -Dlss, VICTORY_FRAMEGEN/_FRAMES for -FrameGen, then the run's own keys, capture, pipeline book and -Switches. Everything after the start (keys, frame lines, summary, -Compare) is unchanged. The summary notes how many switches came from Launcher.cs.

Without -Run, and with VICTORY_STREAMLINE_DIR set, nothing changes.

How it was tested

  • GPU and profile: RTX 5070 Ti, i7-13700K, 32 GB; Series X, 2560x1440, DLSS Quality, frame generation off, ray tracing on.
  • Before: a fresh checkout after Get-NVIDIA-DLSS.cmd stopped with "no NVIDIA files (sl.interposer.dll)" unless VICTORY_STREAMLINE_DIR was set by hand; a build without play could not be measured.
  • After: a first run without VICTORY_STREAMLINE_DIR loaded Streamline from the checkout's nvidia-sdk\Streamline\bin\x64, and DLSS upscaled every frame (0 failed). A FoxHound v0.8.2 build from source was measured through -Run (first run plus two measured runs, compared with -Compare against three other builds); each summary said "-Run: 49 switches from launcher\Launcher.cs's Base set", and DLSS upscaled every frame.
  • For shader changes, the wave sizes tested: no shader change.
  • cargo test passed for the crates it touches: no Rust change. The script parses (PowerShell parser, 0 errors) and stays CRLF.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #2475 and #3925 cover reading the frame line's newer wording ("draws or dispatches"); that part is left out of this PR on purpose. #2694 touches bench.ps1 for the F1 settings in VICTORY_HOME, a different part of the script.

AI-assisted (Claude Code).

🤖 Generated with Claude Code

**@⁠ozigalko** on GitHub · 2026-11-30 17:35 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4225) `ozigalko:pr/bench-dlss-run` → `main` · +47 −2 · 1 files · 2 commits · open <!-- [pr-feature] scripts --> ## What it changes Two additions to `scripts/bench.ps1`: 1. **NVIDIA's files where `Get-NVIDIA-DLSS.cmd` puts them are found.** Without `VICTORY_STREAMLINE_DIR`, `-Dlss` did not look in the checkout's `nvidia-sdk\Streamline\bin\x64`, so a run on a fresh checkout stopped with "no NVIDIA files (sl.interposer.dll)" even after `Get-NVIDIA-DLSS.cmd`. The script now also looks there and passes the folder it found on to `play`. 2. **`-Run`: builds without `victory play` are measured too.** Some builds (FoxHound) start `victory run <exe> --console <c> --execute` from their own launcher, with settings as environment variables. `-Run` starts the title the same way: the launcher's tested switch set (the `Base` array of `launcher\Launcher.cs`, read from the checkout when it is there), `VICTORY_NATIVE_1440P` for the Series X profile, `VICTORY_DLSS`/`_MODE`/`STREAMLINE_DIR` for `-Dlss`, `VICTORY_FRAMEGEN`/`_FRAMES` for `-FrameGen`, then the run's own keys, capture, pipeline book and `-Switches`. Everything after the start (keys, frame lines, summary, `-Compare`) is unchanged. The summary notes how many switches came from `Launcher.cs`. Without `-Run`, and with `VICTORY_STREAMLINE_DIR` set, nothing changes. ## How it was tested - GPU and profile: RTX 5070 Ti, i7-13700K, 32 GB; Series X, 2560x1440, DLSS Quality, frame generation off, ray tracing on. - Before: a fresh checkout after `Get-NVIDIA-DLSS.cmd` stopped with "no NVIDIA files (sl.interposer.dll)" unless `VICTORY_STREAMLINE_DIR` was set by hand; a build without `play` could not be measured. - After: a first run without `VICTORY_STREAMLINE_DIR` loaded Streamline from the checkout's `nvidia-sdk\Streamline\bin\x64`, and DLSS upscaled every frame (0 failed). A FoxHound v0.8.2 build from source was measured through `-Run` (first run plus two measured runs, compared with `-Compare` against three other builds); each summary said "-Run: 49 switches from launcher\Launcher.cs's Base set", and DLSS upscaled every frame. - For shader changes, the wave sizes tested: no shader change. - `cargo test` passed for the crates it touches: no Rust change. The script parses (PowerShell parser, 0 errors) and stays CRLF. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #2475 and #3925 cover reading the frame line's newer wording ("draws or dispatches"); that part is left out of this PR on purpose. #2694 touches `bench.ps1` for the F1 settings in `VICTORY_HOME`, a different part of the script. AI-assisted (Claude Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Get-NVIDIA-DLSS.cmd puts Streamline in the repository's nvidia-sdk
(nvidia-sdk\Streamline\bin\x64). bench.ps1 looked for sl.interposer.dll only in
VICTORY_STREAMLINE_DIR, %LOCALAPPDATA%\victory\nvidia-sdk and beside
target\diag\victory.exe, so a checkout set up the way the README says stopped
with "no NVIDIA files" before the title started, and `play` (streamline_dir in
play.rs) would not have looked there either.

Found only in the repository's folder, the script now names it in
VICTORY_STREAMLINE_DIR, one of the variables `play` keeps, as
play-foxhound.ps1 already does. The message names Get-NVIDIA-DLSS.cmd too.

Found on an RTX 5070 Ti and Core i7-13700K: `.\scripts\bench.ps1 -Build -Dlss
quality` right after Get-NVIDIA-DLSS.cmd stopped at that check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Tm79qsXSPwQ348Az4h32dy
FoxHound (readmet3xt-lab/foxhound) has no `play` command: Foxhound.exe starts
`victory run <exe> --console <c> --execute` with its settings as environment
variables. -Run does the same: the launcher's tested switch set (the Base array
of launcher\Launcher.cs, read from the checkout), VICTORY_NATIVE_1440P for the
Series X profile, VICTORY_DLSS/_MODE/STREAMLINE_DIR for -Dlss, VICTORY_FRAMEGEN
and _FRAMES for -FrameGen, then the run's own keys, capture, pipeline book and
-Switches, all set in the process and put back afterwards as the others are.
Everything after the start (keys, frame lines, summary) is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Tm79qsXSPwQ348Az4h32dy
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 18:09:00 +00:00
github-bot force-pushed github-bot/gh-4225 from 34486162f2 to bb356295fa 2026-12-01 10:48:01 +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/4226/head:github-bot/gh-4225'
git switch 'github-bot/gh-4225'

Merge

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