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

Open
github-bot wants to merge 1 commit from github-bot/gh-3248 into main AGit
Owner

@⁠hussainmussa on GitHub · 2026-11-29 20:59 UTC · original
hussainmussa:fix/1810-framegen-without-dlss → main · +92 −4 · 2 files · 1 commits · open

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.

**@⁠hussainmussa** on GitHub · 2026-11-29 20:59 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3248) `hussainmussa:fix/1810-framegen-without-dlss` → `main` · +92 −4 · 2 files · 1 commits · open 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.
Reported on a GTX 1660 SUPER: FSR 3 picked in F1 with frame generation at 3X,
SAVE AND RESTART, and the menu was back at OFF after every restart.

The choice was saved. Frame generation, AMD's FSR 3 included, runs only on
DLSS's upscaling, and with DLSS off `victory play` rightly leaves it out
(#331, #459). But it then handed the menu FRAME GENERATION at OFF, so the
saved choice looked lost; the only word of why was one line in the launcher's
window (#1445); and with the line picked F1 said SAVE AND RESTART NOW TURNS
IT ON, which it could not.

- play.rs: with DLSS off the menu is shown the choice that was saved, as it
  already is for the DLSS mode. Nothing more is switched on than 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 that it needs DLSS
  and that a restart does not start it, in place of the restart promise.
  FRAME GEN TYPE says that 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.

Tested: the new play.rs test fails without the one-line change (the menu is
given 0, not 3) and passes with it; `cargo test -p victory` passes (79 and
the integration tests). `cargo test -p victory-gpu --lib host::menu` passes
single-threaded (14); 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 meanwhile).
`cargo xtask policy --staged` passes. Not run in the game.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 21:03:25 +00:00
Author
Owner

@⁠ErRusso on GitHub · 2026-11-29 21:25 UTC · original · reviewed

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.

**@⁠ErRusso** on GitHub · 2026-11-29 21:25 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3248#pullrequestreview-6104874636) · **reviewed** 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.
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-11-30 14:46 UTC · original · edited 2026-11-30 14:56 UTC

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]>.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-11-30 14:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3248#issuecomment-7281904972) · edited 2026-11-30 14:56 UTC 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://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/4018) applied locally to clear the current main GPU unit-test build error. Both outgoing files passed staged asset policy. Please land [#2642](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/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 can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/3248/head:github-bot/gh-3248'
git switch 'github-bot/gh-3248'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-3248'
git switch 'github-bot/gh-3248'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-3248'
git switch 'github-bot/gh-3248'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-3248'
git switch 'main'
git merge --squash 'github-bot/gh-3248'
git switch 'main'
git merge --ff-only 'github-bot/gh-3248'
git switch 'main'
git merge 'github-bot/gh-3248'
git push origin 'main'
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!3248
No description provided.