DLSS MODEL: "AUTO" — pick the right nvngx preset per resolution mode #1164

Manually merged
github merged 1 commit from github-bot/gh-1164 into main 2026-11-29 08:22:22 +00:00 AGit
Owner

@⁠Alxspb on GitHub · 2026-11-28 14:37 UTC · original
Alxspb:feat/dlss-auto-preset → main · +61 −8 · 4 files · 1 commits · merged 2026-11-29 08:16 UTC

What

VICTORY_DLSS_PRESET (and the F1 DLSS MODEL row) gain auto. With auto the preset is chosen from the resolution mode each frame actually runs in, instead of one fixed model for all six:

mode preset model
performance 13 M
ultra performance 12 L
balanced / quality / DLAA 11 K

The shipped default stays default (the title asks, we obey) — auto is an opt-in that overrides that on purpose, the way NVIDIA App presets by mode.

Why

DlssOptions::new copies the one asked preset into all six mode-specific fields (crates/victory-gpu/src/streamline/abi.rs, the *_preset fields), while plan::pick_mode (crates/victory-gpu/src/streamline/plan.rs) picks the mode from the frame sizes. So a user who sets, say, K gets K in performance mode too, and a user who sets M pays M's cost in quality/DLAA. NVIDIA's own guidance for the DLSS 3.1+/3.5 models is per-mode: M for performance, L for ultra performance, K for quality/balanced (see the NVIDIA DLSS preset recommendations for integration); M/L trade in FP8 tensor throughput — free on Ada/Blackwell, an added cost on RTX 20/30, which is why this is opt-in and not a change to default.

It also keeps the in-process override out of the picture: a per-game NVIDIA App DLSS override can fight the in-process Streamline call (see #558 for what an outside override does to the proxy); auto gets the mode-appropriate model without leaving the process.

How

  • plan::AUTO is a sentinel (u32::MAX); preset("auto"|"recommended") maps to it.
  • plan::resolve(asked, mode) expands the sentinel at DlssOptions::new time, where the mode is known (crates/victory-gpu/src/streamline.rs); named models pass through untouched.
  • Logs/stats print auto plus what it resolved to (preset_name), so a capture still says which nvngx model ran.
  • The F1 row shows AUTO (BY MODE) (crates/victory-gpu/src/host/menu.rs); docs/dlss.md documents the env var.

Tests: plan::names_and_presets covers the sentinel per mode and pass-through for named models.

**@⁠Alxspb** on GitHub · 2026-11-28 14:37 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1164) `Alxspb:feat/dlss-auto-preset` → `main` · +61 −8 · 4 files · 1 commits · merged 2026-11-29 08:16 UTC ## What `VICTORY_DLSS_PRESET` (and the F1 **DLSS MODEL** row) gain `auto`. With `auto` the preset is chosen from the resolution mode each frame actually runs in, instead of one fixed model for all six: | mode | preset | model | |---|---|---| | performance | 13 | M | | ultra performance | 12 | L | | balanced / quality / DLAA | 11 | K | The shipped default stays `default` (the title asks, we obey) — `auto` is an opt-in that overrides that on purpose, the way NVIDIA App presets by mode. ## Why `DlssOptions::new` copies the one asked preset into all six mode-specific fields (`crates/victory-gpu/src/streamline/abi.rs`, the `*_preset` fields), while `plan::pick_mode` (`crates/victory-gpu/src/streamline/plan.rs`) picks the mode from the frame sizes. So a user who sets, say, `K` gets K in performance mode too, and a user who sets `M` pays M's cost in quality/DLAA. NVIDIA's own guidance for the DLSS 3.1+/3.5 models is per-mode: M for performance, L for ultra performance, K for quality/balanced (see the NVIDIA DLSS preset recommendations for integration); M/L trade in FP8 tensor throughput — free on Ada/Blackwell, an added cost on RTX 20/30, which is why this is opt-in and not a change to `default`. It also keeps the in-process override out of the picture: a per-game NVIDIA App DLSS override can fight the in-process Streamline call (see #558 for what an outside override does to the proxy); `auto` gets the mode-appropriate model without leaving the process. ## How - `plan::AUTO` is a sentinel (`u32::MAX`); `preset("auto"|"recommended")` maps to it. - `plan::resolve(asked, mode)` expands the sentinel at `DlssOptions::new` time, where the mode is known (`crates/victory-gpu/src/streamline.rs`); named models pass through untouched. - Logs/stats print `auto` plus what it resolved to (`preset_name`), so a capture still says which nvngx model ran. - The F1 row shows `AUTO (BY MODE)` (`crates/victory-gpu/src/host/menu.rs`); `docs/dlss.md` documents the env var. Tests: `plan::names_and_presets` covers the sentinel per mode and pass-through for named models.
VICTORY_DLSS_PRESET and the F1 DLSS MODEL row gained "auto": the preset
is then chosen from the resolution mode the frame runs in, the way
NVIDIA App recommends - M for performance, L for ultra performance, and
K for quality/balanced/DLAA. A 64 MiB block of VRAM and the FP8 cost
differ by model, and a fixed model across all six modes pays for the
worst case everywhere; "auto" gets the right model per mode without
the user having to think about it. The default stays "default" (the
title asks; we obey) - "auto" overrides that on purpose.

plan::AUTO is a sentinel; plan::resolve() maps it at DlssOptions::new
time, where the mode is known. Logs and stats print "auto" plus the
model it resolved to, so a capture still tells you which nvngx binary
ran.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:44:24 +00:00
github manually merged commit 88501a7cf1 into main 2026-11-29 08:22:22 +00:00
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!1164
No description provided.