Explain when a DLSS mode override masks the F1 choice #3632
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3632
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3632"
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?
@ThePerfomance on GitHub · 2026-11-30 02:19 UTC · original
ThePerfomance:diagnostics/dlss-mode-override→main· +49 −8 · 1 files · 2 commits · openWhat it changes
The built-in launcher keeps explicit
--setoptions when F1 restarts it. In a local run, F1 saved DLSS Balanced while an earlier--set VICTORY_DLSS_MODE=qualitykept the game on Quality. The player had to inspect a log containing both settings to explain the result.When a valid
VICTORY_DLSS_MODEdiffers from the F1 choice and DLSS is enabled, the launcher now names both modes on the console and in the play log. Settings precedence stays the same. Equivalent spellings are compared through the runtime's DLSS mode parser.How it was tested
cargo test --locked -p victorypassed on Windows. The changed file passed the asset policy check.Checked for overlap
AI-assisted contribution using OpenAI Codex.
@Trillazill on GitHub · 2026-11-30 04:01 UTC · original · reviewed
Reviewed against
41adb551, and it looks right to me.Mode::name()returns exactly the menu's spellings (dlaa,quality,balanced,performance,ultraperformance), so equivalent forms (BALANCED,ultra-performance,native) don't produce a false note. The test covers the upper-case case.VICTORY_DLSS_MODE=quality, goes through the DLSS-off branch, so it gets no false note. An override that turns DLSS off (VICTORY_DLSS=0) is skipped too.VICTORY_MENU_NO_DLSS_NOTE(git grep).cargo test --locked -p victory: 84 passed, includinga_dlss_mode_override_is_reported_when_it_masks_the_menu_choice. Clippy finds nothing new inplay.rs.One optional idea: the override can come from
--setor from a non-VICTORY_MENU_line invictory-settings.txt, and the note reads the same either way. Saying which ("from --set" / "from victory-settings.txt") would tell the player where to take it out.@ThePerfomance on GitHub · 2026-11-30 04:09 UTC · original
Thanks for the review, @Trillazill. I took your suggestion in
a9366cf. The launch notice now says whether the DLSS override came from--setorvictory-settings.txt. I checked both sources and confirmed that the notice points to--setwhen both are present. All 84 launcher tests passed.@Trillazill on GitHub · 2026-11-30 05:37 UTC · original
Checked
a9366cf9, and it looks right: 84 tests incargo test --locked -p victorypass.--setwins when both set it, as intended: its loop runs second and overwritesdlss_mode_source, which the second half of the test covers.konce means the new source check seesVICTORY_DLSS_MODE = quality(with spaces) too, and the test uses that form.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.