F1: a frame generation choice made with DLSS off is kept, and the game says why it is off (#1810) #3248

Open
hussainmussa wants to merge 1 commit from upstream-pr/3248 into main
hussainmussa commented 2026-11-29 20:59:53 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by hussainmussa on 2026-11-29T20:59:53Z.


Fixes #1810

What it changes

The report: FSR 3 picked in F1 with frame generation at 3X, SAVE AND RESTART, and the menu is back at OFF after every restart. The log shows a GTX 1660 SUPER with DLSS off.

The choice was saved. Frame generation, AMD's FSR 3 included, needs DLSS's upscaling, so with DLSS off victory play leaves it out (#331, #459). But it then gave the menu FRAME GENERATION = OFF, so the saved choice looked lost, the only reason given was one line in the launcher's window (#1445), and the menu line said SAVE AND RESTART NOW TURNS IT ON.

  • play.rs: with DLSS off the menu is shown the choice that was saved, as it already is for the DLSS mode. No switch is turned on that was not before.
  • play.rs: such a start puts two lines on the picture's start notice: frame generation is off, it needs DLSS, the choice is kept.
  • menu.rs: with DLSS off the FRAME GENERATION line says it needs DLSS and that a restart does not start it, in place of the restart promise. FRAME GEN TYPE says FSR 3 needs DLSS on.

The script launcher is unchanged: it already shows the saved number, and the layer's own notice gives the reason there. This does not make frame generation run on a card without DLSS.

How it was tested

  • GPU and profile: RTX 4070 12 GB, Core Ultra 7 265KF, Windows 11. Unit tests only; not run in the game yet.
  • Before: the new test a_frame_generation_choice_without_dlss_is_kept_and_explained fails without the one-line change in settings(): the menu is given VICTORY_MENU_FRAMEGEN=0, not 3.
  • After: it passes. cargo test -p victory passed (79 unit tests and the integration tests). cargo test -p victory-gpu --lib host::menu -- --test-threads=1 passed (14). Run in parallel, one older test (a_change_is_saved_at_once_however_the_game_was_started) fails with and without this change: another test sets VICTORY_MENU_FILE at the same time.
  • cargo xtask policy --staged passed.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: none for #1810; #1236 is the nearest area and does not change this.

Written with help from Claude; everything above was built and run on my machine.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5555063913 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3248). Originally posted by [hussainmussa](https://github.com/hussainmussa) on 2026-11-29T20:59:53Z. --- Fixes #1810 ## What it changes The report: FSR 3 picked in F1 with frame generation at 3X, SAVE AND RESTART, and the menu is back at OFF after every restart. The log shows a GTX 1660 SUPER with DLSS off. The choice was saved. Frame generation, AMD's FSR 3 included, needs DLSS's upscaling, so with DLSS off `victory play` leaves it out (#331, #459). But it then gave the menu FRAME GENERATION = OFF, so the saved choice looked lost, the only reason given was one line in the launcher's window (#1445), and the menu line said SAVE AND RESTART NOW TURNS IT ON. - `play.rs`: with DLSS off the menu is shown the choice that was saved, as it already is for the DLSS mode. No switch is turned on that was not before. - `play.rs`: such a start puts two lines on the picture's start notice: frame generation is off, it needs DLSS, the choice is kept. - `menu.rs`: with DLSS off the FRAME GENERATION line says it needs DLSS and that a restart does not start it, in place of the restart promise. FRAME GEN TYPE says FSR 3 needs DLSS on. The script launcher is unchanged: it already shows the saved number, and the layer's own notice gives the reason there. This does not make frame generation run on a card without DLSS. ## How it was tested - GPU and profile: RTX 4070 12 GB, Core Ultra 7 265KF, Windows 11. Unit tests only; not run in the game yet. - Before: the new test `a_frame_generation_choice_without_dlss_is_kept_and_explained` fails without the one-line change in `settings()`: the menu is given `VICTORY_MENU_FRAMEGEN=0`, not `3`. - After: it passes. `cargo test -p victory` passed (79 unit tests and the integration tests). `cargo test -p victory-gpu --lib host::menu -- --test-threads=1` passed (14). Run in parallel, one older test (`a_change_is_saved_at_once_however_the_game_was_started`) fails with and without this change: another test sets `VICTORY_MENU_FILE` at the same time. - `cargo xtask policy --staged` passed. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: none for #1810; #1236 is the nearest area and does not change this. Written with help from Claude; everything above was built and run on my machine.
ErRusso commented 2026-11-29 21:25:04 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ErRusso on 2026-11-29T21:25:04Z.

Review: COMMENTED


Reviewed against main (fbe3dc20). The settings() change is correct (the menu shows the saved choice, nothing new is switched on) and start_notice::add exists. Two gaps:

  1. SDK download failed on an RTX card. dlss_on is false there too, so framegen_left_off puts "DLSS NEEDS AN RTX CARD (F1)" on the picture of an RTX card, which is wrong. The F1 text does not have this problem, since VICTORY_MENU_DLSS keeps the saved mode in that case. Telling the two apart (no NVIDIA files vs. DLSS turned off) or wording the second notice line neutrally would fix it.
  2. Type dlss with DLSS off. The menu now keeps the choice, but the "FRAME GEN OFF" note that triggers the notice is only made when fg_type != "dlss" (play.rs:533), so this case gets no on-picture notice. Either extend that condition or cover the case in the test.

The rest (menu text, glyph/width checks in the tests) looks fine.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:review:6104874636 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3248#pullrequestreview-6104874636). Originally posted by [ErRusso](https://github.com/ErRusso) on 2026-11-29T21:25:04Z. **Review:** COMMENTED --- Reviewed against main (fbe3dc20). The `settings()` change is correct (the menu shows the saved choice, nothing new is switched on) and `start_notice::add` exists. Two gaps: 1. **SDK download failed on an RTX card.** `dlss_on` is false there too, so `framegen_left_off` puts "DLSS NEEDS AN RTX CARD (F1)" on the picture of an RTX card, which is wrong. The F1 text does not have this problem, since `VICTORY_MENU_DLSS` keeps the saved mode in that case. Telling the two apart (no NVIDIA files vs. DLSS turned off) or wording the second notice line neutrally would fix it. 2. **Type `dlss` with DLSS off.** The menu now keeps the choice, but the "FRAME GEN OFF" note that triggers the notice is only made when `fg_type != "dlss"` (`play.rs:533`), so this case gets no on-picture notice. Either extend that condition or cover the case in the test. The rest (menu text, glyph/width checks in the tests) looks fine.
andrewpozdnakov7-jpg commented 2026-11-30 14:46:21 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-11-30T14:46:21Z.


I tested the saved F1 choices on v2026.11.30.01 (c71899d). #2642 and this PR both cherry-pick cleanly in that order. The same synthetic settings test gives this matrix on the new release source.

Source Saved FSR 3 at 3x with DLSS off FSR 4 runtime selection FSR 4 false OFF message
Release main menu shows 0, runtime off 4 console
#3248 menu shows 3, runtime off 4 console and startup overlay
#2642 then #3248 menu shows 3, runtime off 4 absent

The Series S picture-size fallback note is still present in the FSR 4 case. The underlying diagnostic is NO_DLSS_NOTE. Main includes the FSR 3 warning for an FSR 4 selection, and #3248 also consumes that note for its new startup overlay. #2642 removes the false warning while keeping the existing FSR 3 behavior.

Combined review branch keeps both original Git authors. The targeted settings suites passed 30/30 on main, 31/31 with #3248, and 32/32 on the combined branch. The combined menu text test passed with the test-only #4018 applied locally to clear the current main GPU unit-test build error. Both outgoing files passed staged asset policy. Please land #2642 before this PR so the new overlay ships with the corrected note.

Follow-up on ErRusso's two review cases

The branch now includes 2cee279. A saved DLSS frame generation choice now explains why it stays off both when DLSS is explicitly disabled and when the Streamline SDK is unavailable. The overlay keeps the saved choice visible and no longer attributes SDK availability to the card. Ready-only DLSS frame generation still produces no warning when the multiplier is unselected.

The new launcher regression failed on the previous branch and passed with this commit. The scoped settings suite passed 33/33. The two combined files passed staged asset policy again.

If you cherry-pick the follow-up, please retain its Git author. If you fold it into another commit, please retain Co-authored-by: andrewpozdnakov7-jpg <[email protected]>.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7281904972 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3248#issuecomment-7281904972). Originally posted by [andrewpozdnakov7-jpg](https://github.com/andrewpozdnakov7-jpg) on 2026-11-30T14:46:21Z. --- I tested the saved F1 choices on `v2026.11.30.01` (`c71899d`). #2642 and this PR both cherry-pick cleanly in that order. The same synthetic settings test gives this matrix on the new release source. | Source | Saved FSR 3 at 3x with DLSS off | FSR 4 runtime selection | FSR 4 false OFF message | | --- | --- | --- | --- | | Release main | menu shows 0, runtime off | 4 | console | | #3248 | menu shows 3, runtime off | 4 | console and startup overlay | | #2642 then #3248 | menu shows 3, runtime off | 4 | absent | The Series S picture-size fallback note is still present in the FSR 4 case. The underlying diagnostic is `NO_DLSS_NOTE`. Main includes the FSR 3 warning for an FSR 4 selection, and #3248 also consumes that note for its new startup overlay. #2642 removes the false warning while keeping the existing FSR 3 behavior. [Combined review branch](https://github.com/andrewpozdnakov7-jpg/VIctory-NVIDIA/tree/review/2642-3248-framegen-notices) keeps both original Git authors. The targeted settings suites passed 30/30 on main, 31/31 with #3248, and 32/32 on the combined branch. The combined menu text test passed with the test-only [#4018](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4018) applied locally to clear the current main GPU unit-test build error. Both outgoing files passed staged asset policy. Please land [#2642](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2642) before this PR so the new overlay ships with the corrected note. **Follow-up on ErRusso's two review cases** The branch now includes [`2cee279`](https://github.com/andrewpozdnakov7-jpg/VIctory-NVIDIA/commit/2cee27952a1424c0b6caf1db4c96c3ba1da7e06b). A saved DLSS frame generation choice now explains why it stays off both when DLSS is explicitly disabled and when the Streamline SDK is unavailable. The overlay keeps the saved choice visible and no longer attributes SDK availability to the card. Ready-only DLSS frame generation still produces no warning when the multiplier is unselected. The new launcher regression failed on the previous branch and passed with this commit. The scoped settings suite passed 33/33. The two combined files passed staged asset policy again. If you cherry-pick the follow-up, please retain its Git author. If you fold it into another commit, please retain `Co-authored-by: andrewpozdnakov7-jpg <[email protected]>`.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3248:upstream-pr/3248'
git switch 'upstream-pr/3248'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/3248'
git switch 'upstream-pr/3248'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3248'
git switch 'upstream-pr/3248'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3248'
git switch 'main'
git merge --squash 'upstream-pr/3248'
git switch 'main'
git merge --ff-only 'upstream-pr/3248'
git switch 'main'
git merge 'upstream-pr/3248'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA!3248
No description provided.