DLSS: keep upscaling when a driver override shrinks the optimal render size #558
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!558
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-558"
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?
@jhon17parizotto-byte on GitHub · 2026-11-28 00:54 UTC · original
jhon17parizotto-byte:fix/dlss-override-range→main· +67 −4 · 1 files · 1 commits · openFor #446.
An NVIDIA App DLSS override answers every mode with its own optimal render size (960x540 for 1080p on an RTX 3060 here). A 1280x720 scene then fits none of the modes, so every upscaling is dropped and the picture goes black.
Change (
crates/victory-gpu/src/streamline.rs): when the scene size fits a mode's reported minimum..maximum range, offer that mode's maximum size instead of rejecting it. The sizes the call returns are now logged.VICTORY_DLSS_RANGE=0keeps the old behaviour.Tested: RTX 3060 12 GB, Xeon E5-2680 v3, Series S 1080p, DLSS Performance + DLSS FG 2x, with the driver override on. Upscaling stays on instead of going black. Rebased onto
64d4931;cargo check -p victory-gpuis clean (not re-run in game on this base).@ANDREANIADS on GitHub · 2026-11-28 01:48 UTC · original
Independent review on
3f4c5bc: the new fallback is computed with the currentcamera.render, but the cachedOption<[u32; 2]>is keyed only by(output, mode). The same source size can therefore get different results depending on which frame populated the cache.I exercised the actual
record()andpick_mode()path on CPU with simulated SDK callbacks. With 1920×1080 output, optimum 960×540 and maximum 1920×1080, a fresh cache accepted 1280×720. Feeding 960×540 first and then 1280×720 at the same output rejected the second frame. In the reverse direction the cached maximum persisted, and in a separate case a below-minimum source was selected after a valid frame primed the cache. These are synthetic selection results, not observed failures in-game.A narrow fix is to cache the raw optimum/min/max per
(output, mode)and compute eligibility after lookup using the currentcamera.render. That made the transition tests pass without additional SDK queries and preservedVICTORY_DLSS_RANGE=0. With identical bounds across all modes, a fresh 1280×720 run still chooses DLAA by the existing tie order; that is separate from the cache fix. No game files or physical GPU evaluation were used.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.