F1 menu: RELAY's help says 0 turns frame generation off (#2425) #2495

Open
breachato wants to merge 1 commit from upstream-pr/2495 into main
breachato commented 2026-11-29 13:38:31 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by breachato on 2026-11-29T13:38:31Z.


[pr-fix] [pr-docs]

Fixes #2425

What it changes

With F1 > RELAY at 0, late_stage() is 0, so host::late_free_present() is false and queue::behind::started() refuses to start the line of submissions (VICTORY_ASYNC_SUBMIT=1 needs the relay ...). DLSS frame generation then stays off, but nothing in F1 says so: RELAY's note only says to lower it if triangles break, and THIN LISTS' note says frame generation needs THIN or ASYNC SUBMIT, as if either were enough.

This takes the first fix the issue suggests, text only:

  • RELAY: 0 ALSO TURNS FRAME GENERATION OFF: IT NEEDS THE RELAY. (the first two lines are shortened to make room in the three-line box).
  • THIN LISTS: ... FRAME GENERATION NEEDS IT, OR ASYNC SUBMIT, AND RELAY ABOVE 0 EITHER WAY.
  • ASYNC SUBMIT: its empty third line now says it needs RELAY above 0.
  • The comment above VICTORY_THIN in host/menu.rs says the line needs the relay, with the functions that decide it.

No behaviour changes. Showing FRAME GENERATION as off when the line did not start (the issue's second option) is left for a separate change.

How it was tested

  • No GPU run needed: text only. Every line is at most 55 characters (box is 60) and uses only characters the menu font has.
  • cargo test -p victory-gpu --lib --locked host::menu -- --test-threads=1: 14 passed, including every_line_fits_and_every_character_has_a_picture.
  • With the default parallel run, one of the menu tests that set VICTORY_MENU_FILE fails at random, on main too (a different one each run); not related to this change.
  • cargo test passed for the crates it touches: yes (single-threaded, see above)

How to try it

  1. Start a title with this build, press F1 and move to RELAY (SPEED, TRIANGLES): the note under the list now ends with 0 ALSO TURNS FRAME GENERATION OFF: IT NEEDS THE RELAY.
  2. THIN LISTS and ASYNC SUBMIT say the same in their notes.
  3. Without a title: cargo test -p victory-gpu --lib --locked host::menu::tests (includes every_line_says_what_it_does, which checks every note fits the box).

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: none for #2425.

Assisted by Claude.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5551259218 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2495). Originally posted by [breachato](https://github.com/breachato) on 2026-11-29T13:38:31Z. --- [pr-fix] [pr-docs] Fixes #2425 ## What it changes With F1 > RELAY at 0, `late_stage()` is 0, so `host::late_free_present()` is false and `queue::behind::started()` refuses to start the line of submissions (`VICTORY_ASYNC_SUBMIT=1 needs the relay ...`). DLSS frame generation then stays off, but nothing in F1 says so: RELAY's note only says to lower it if triangles break, and THIN LISTS' note says frame generation needs THIN *or* ASYNC SUBMIT, as if either were enough. This takes the first fix the issue suggests, text only: - RELAY: `0 ALSO TURNS FRAME GENERATION OFF: IT NEEDS THE RELAY.` (the first two lines are shortened to make room in the three-line box). - THIN LISTS: `... FRAME GENERATION NEEDS IT, OR ASYNC SUBMIT, AND RELAY ABOVE 0 EITHER WAY.` - ASYNC SUBMIT: its empty third line now says it needs RELAY above 0. - The comment above `VICTORY_THIN` in `host/menu.rs` says the line needs the relay, with the functions that decide it. No behaviour changes. Showing FRAME GENERATION as off when the line did not start (the issue's second option) is left for a separate change. ## How it was tested - No GPU run needed: text only. Every line is at most 55 characters (box is 60) and uses only characters the menu font has. - `cargo test -p victory-gpu --lib --locked host::menu -- --test-threads=1`: 14 passed, including `every_line_fits_and_every_character_has_a_picture`. - With the default parallel run, one of the menu tests that set `VICTORY_MENU_FILE` fails at random, on `main` too (a different one each run); not related to this change. - `cargo test` passed for the crates it touches: yes (single-threaded, see above) ## How to try it 1. Start a title with this build, press F1 and move to RELAY (SPEED, TRIANGLES): the note under the list now ends with `0 ALSO TURNS FRAME GENERATION OFF: IT NEEDS THE RELAY.` 2. THIN LISTS and ASYNC SUBMIT say the same in their notes. 3. Without a title: `cargo test -p victory-gpu --lib --locked host::menu::tests` (includes `every_line_says_what_it_does`, which checks every note fits the box). ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: none for #2425. Assisted by Claude.
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/2495:upstream-pr/2495'
git switch 'upstream-pr/2495'

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/2495'
git switch 'upstream-pr/2495'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2495'
git switch 'upstream-pr/2495'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2495'
git switch 'main'
git merge --squash 'upstream-pr/2495'
git switch 'main'
git merge --ff-only 'upstream-pr/2495'
git switch 'main'
git merge 'upstream-pr/2495'
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!2495
No description provided.