DLSS MODEL: "AUTO" — pick the right nvngx preset per resolution mode #1164
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1164"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Alxspb on 2026-11-28T14:37:16Z.
What
VICTORY_DLSS_PRESET(and the F1 DLSS MODEL row) gainauto. Withautothe preset is chosen from the resolution mode each frame actually runs in, instead of one fixed model for all six:The shipped default stays
default(the title asks, we obey) —autois an opt-in that overrides that on purpose, the way NVIDIA App presets by mode.Why
DlssOptions::newcopies the one asked preset into all six mode-specific fields (crates/victory-gpu/src/streamline/abi.rs, the*_presetfields), whileplan::pick_mode(crates/victory-gpu/src/streamline/plan.rs) picks the mode from the frame sizes. So a user who sets, say,Kgets K in performance mode too, and a user who setsMpays 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 todefault.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);
autogets the mode-appropriate model without leaving the process.How
plan::AUTOis a sentinel (u32::MAX);preset("auto"|"recommended")maps to it.plan::resolve(asked, mode)expands the sentinel atDlssOptions::newtime, where the mode is known (crates/victory-gpu/src/streamline.rs); named models pass through untouched.autoplus what it resolved to (preset_name), so a capture still says which nvngx model ran.AUTO (BY MODE)(crates/victory-gpu/src/host/menu.rs);docs/dlss.mddocuments the env var.Tests:
plan::names_and_presetscovers the sentinel per mode and pass-through for named models.