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

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

@⁠breachato on GitHub · 2026-11-29 13:38 UTC · original
breachato:menu-relay-framegen → main · +4 −4 · 1 files · 1 commits · open

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

**@⁠breachato** on GitHub · 2026-11-29 13:38 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2495) `breachato:menu-relay-framegen` → `main` · +4 −4 · 1 files · 1 commits · open [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.
With RELAY at 0, host::late_free_present() is false, so
queue::behind::started() never starts the line of submissions and DLSS
frame generation stays off while F1 still shows it on. RELAY's note now
says so, THIN LISTS' and ASYNC SUBMIT's notes say the line needs the
relay as well, and the comment above VICTORY_THIN no longer reads as if
THIN alone were enough.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 13:39:21 +00:00
github-bot force-pushed github-bot/gh-2495 from db1555c7ff to 39cb5b6289 2026-11-30 18:47:03 +00:00 Compare
github-bot force-pushed github-bot/gh-2495 from 39cb5b6289 to 6b51b80705 2026-12-01 14:00:26 +00:00 Compare
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/2495/head:github-bot/gh-2495'
git switch 'github-bot/gh-2495'

Merge

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