F1 QUICK PRESET: the costly lines at once for a low-end PC, low delay, balance or looks #4380

Closed
github-bot wants to merge 11 commits from github-bot/gh-4379 into main AGit
Owner

@⁠IRennie74 on GitHub · 2026-11-30 19:26 UTC · original
IRennie74:pr/menu-quick-preset → main · +953 −822 · 33 files · 11 commits · closed without merging

What it changes

A player on a smaller PC has to learn forty F1 lines to find the few that cost the most frames. This adds one line, QUICK PRESET, at the top of the F1 menu (under WHAT LIMITS FPS) that sets them in one press:

  • LOW-END PC (FASTEST): Series S with its scene at 960x540, DLSS Performance, frame generation 2X, ray tracing and water light off, plus the cheaper switches the menu already describes as faster (early depth, skip big copy-backs, texture no wait, and so on).
  • LOW DELAY (NO FRAME GEN): the same without frame generation, which holds a frame back.
  • BALANCED: Series S at the game's own 720, DLSS Quality, a 60 cap.
  • BEST LOOKS (FAST PCS): Series X at 1440p, DLSS Quality, ray tracing.

Every preset also turns on two switches that are off by default and were measured on an RTX 3060 12 GB at Series X 1440p: VICTORY_PLACED_FILLS (median frame 192.6 to 100.8 ms, card_steps.rs) and VICTORY_DUE_INDEX (median/p95/longest 82.9/125.3/640.7 to 77.8/108.9/268.7 ms, descriptor/host.rs). VICTORY_DUE_INDEX gets its own menu line, QUICK TEXTURE QUEUE.

Behaviour (crates/victory-gpu/src/host/menu.rs: PRESETS, preset_lines, Menu::apply_preset):

  • Changing a line a preset set turns the preset back to CUSTOM; lines it leaves alone (controls, stats panel, shadow lift) keep it. CUSTOM itself changes nothing.
  • A line live in this run (frame generation, in a run started with it) changes at once; the rest wait for SAVE AND RESTART NOW, as the note says.
  • VICTORY_PRESET is read by nothing but the menu; it is saved without the VICTORY_MENU_ prefix so the launchers hand it back and the line still shows what was picked.
  • On main WATER LIGHT is left out by default on 32-lane hosts (#739, "" = OFF, "1" = ON), so every preset keeps it at "".

Docs: docs/troubleshooting.md gets "Low frame rate on a smaller PC" (F2 first, then the presets; and that on a 1920x1080 monitor Series S is the one profile whose picture is 1920x1080, Series X making 2560x1440 that Windows scales down). README.md points to it from the F1 paragraph.

Tests: every_preset_sets_values_its_lines_offer (every value a preset sets is one its line offers, and every name on the line but CUSTOM has settings) and a_preset_sets_its_lines_and_a_change_by_hand_makes_it_custom. the_picture_line_is_the_consoles now looks from the console line, since the new row pushed SERIES X PICTURE past the box's 20 rows seen from the top.

Left out on purpose, after reconciling with current main:

  • The launcher defaults from the source branch (VICTORY_SWEEP_SPLIT, VICTORY_SHADOW_MAKE_UNLOCKED, VICTORY_COMPILE_ADMIT=learned, VICTORY_DSTORAGE_BOOST, VICTORY_PAGE_BATCH, VICTORY_THREAD_BUDGET): none of these switches exists on main, so setting them in play.rs / play-nvidia.ps1 would do nothing. They belong with the pull requests that bring the switches themselves. VICTORY_PACE=auto was measured with the source branch's own pacer (frame.rs), not with main's reworked VICTORY_PACE in host.rs, so that measurement does not carry over and the default is not added.
  • The pipeline out-of-memory retry and the wait-loop fix (retry_waits): main already has both (refused::failed's driver_oom path, eb2b947c / 64818e37, and wait_for_pipeline's !p.retry_waits()).

How it was tested

  • GPU and profile: RTX 3060 12 GB, Ryzen 5 5600X, 32 GB; Series S profile, 960x540 internal, DLSS Performance, frame generation off, ray tracing default.
  • Before / After: the presets as a whole were not measured in game. They are the menu's own descriptions put together (marked shortcut: in menu.rs); the F2 advisor says what still limits the frame rate after one is picked. The only measured numbers are the two switches above (192.6 to 100.8 ms median; 640.7 to 268.7 ms longest frame, RTX 3060 12 GB, Series X 1440p), from their own doc comments.
  • For shader changes, the wave sizes tested: no shader changes.
  • cargo test passed for the crates it touches: yes for the menu (cargo test -p victory-gpu --lib menu: 30 passed, including the two new preset tests). The full victory-gpu lib run had 1132 passed and 3 failed, none in a touched file: list::thin::tests::bindings_record_no_work and shader_cache::tests::every_switch_of_the_translator_is_in_the_key fail the same way on main without this change, and watch::ask_holds::wait_open_done_covers_immediate_fast_spin_yield_cleared_and_timeout is timing-sensitive (it passed on both main and this branch when run again). cargo build --locked --profile diag -p victory --features diagnostics builds. cargo clippy -p victory-gpu --all-targets -- -D warnings stops on two errors already on main in files this does not touch (shadow.rs:7197 unused ranged, host.rs:5092 manual is_multiple_of). cargo xtask policy --staged: 3 files ok.

Checked for overlap

  • I searched the open and merged pull requests for "preset", "quick preset", "menu preset", "F1 preset" and "low-end". Related: #3590 (adds VRAM presets among other F1 additions; a different set of lines, no QUICK PRESET), #1164 (DLSS MODEL AUTO, merged; a DLSS preset, not a menu preset), #740 (VICTORY_PLACED_FILLS, merged; this turns it on in presets only). None adds a one-press preset line.
**@⁠IRennie74** on GitHub · 2026-11-30 19:26 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4379) `IRennie74:pr/menu-quick-preset` → `main` · +953 −822 · 33 files · 11 commits · closed without merging ## What it changes A player on a smaller PC has to learn forty F1 lines to find the few that cost the most frames. This adds one line, **QUICK PRESET**, at the top of the F1 menu (under WHAT LIMITS FPS) that sets them in one press: - **LOW-END PC (FASTEST)**: Series S with its scene at 960x540, DLSS Performance, frame generation 2X, ray tracing and water light off, plus the cheaper switches the menu already describes as faster (early depth, skip big copy-backs, texture no wait, and so on). - **LOW DELAY (NO FRAME GEN)**: the same without frame generation, which holds a frame back. - **BALANCED**: Series S at the game's own 720, DLSS Quality, a 60 cap. - **BEST LOOKS (FAST PCS)**: Series X at 1440p, DLSS Quality, ray tracing. Every preset also turns on two switches that are off by default and were measured on an RTX 3060 12 GB at Series X 1440p: `VICTORY_PLACED_FILLS` (median frame 192.6 to 100.8 ms, `card_steps.rs`) and `VICTORY_DUE_INDEX` (median/p95/longest 82.9/125.3/640.7 to 77.8/108.9/268.7 ms, `descriptor/host.rs`). `VICTORY_DUE_INDEX` gets its own menu line, QUICK TEXTURE QUEUE. Behaviour (`crates/victory-gpu/src/host/menu.rs`: `PRESETS`, `preset_lines`, `Menu::apply_preset`): - Changing a line a preset set turns the preset back to CUSTOM; lines it leaves alone (controls, stats panel, shadow lift) keep it. CUSTOM itself changes nothing. - A line live in this run (frame generation, in a run started with it) changes at once; the rest wait for SAVE AND RESTART NOW, as the note says. - `VICTORY_PRESET` is read by nothing but the menu; it is saved without the `VICTORY_MENU_` prefix so the launchers hand it back and the line still shows what was picked. - On main WATER LIGHT is left out by default on 32-lane hosts (#739, `""` = OFF, `"1"` = ON), so every preset keeps it at `""`. Docs: `docs/troubleshooting.md` gets "Low frame rate on a smaller PC" (F2 first, then the presets; and that on a 1920x1080 monitor Series S is the one profile whose picture is 1920x1080, Series X making 2560x1440 that Windows scales down). `README.md` points to it from the F1 paragraph. Tests: `every_preset_sets_values_its_lines_offer` (every value a preset sets is one its line offers, and every name on the line but CUSTOM has settings) and `a_preset_sets_its_lines_and_a_change_by_hand_makes_it_custom`. `the_picture_line_is_the_consoles` now looks from the console line, since the new row pushed SERIES X PICTURE past the box's 20 rows seen from the top. Left out on purpose, after reconciling with current main: - The launcher defaults from the source branch (`VICTORY_SWEEP_SPLIT`, `VICTORY_SHADOW_MAKE_UNLOCKED`, `VICTORY_COMPILE_ADMIT=learned`, `VICTORY_DSTORAGE_BOOST`, `VICTORY_PAGE_BATCH`, `VICTORY_THREAD_BUDGET`): none of these switches exists on main, so setting them in `play.rs` / `play-nvidia.ps1` would do nothing. They belong with the pull requests that bring the switches themselves. `VICTORY_PACE=auto` was measured with the source branch's own pacer (`frame.rs`), not with main's reworked `VICTORY_PACE` in `host.rs`, so that measurement does not carry over and the default is not added. - The pipeline out-of-memory retry and the wait-loop fix (`retry_waits`): main already has both (`refused::failed`'s `driver_oom` path, eb2b947c / 64818e37, and `wait_for_pipeline`'s `!p.retry_waits()`). ## How it was tested - GPU and profile: RTX 3060 12 GB, Ryzen 5 5600X, 32 GB; Series S profile, 960x540 internal, DLSS Performance, frame generation off, ray tracing default. - Before / After: the presets as a whole were **not measured in game**. They are the menu's own descriptions put together (marked `shortcut:` in `menu.rs`); the F2 advisor says what still limits the frame rate after one is picked. The only measured numbers are the two switches above (192.6 to 100.8 ms median; 640.7 to 268.7 ms longest frame, RTX 3060 12 GB, Series X 1440p), from their own doc comments. - For shader changes, the wave sizes tested: no shader changes. - `cargo test` passed for the crates it touches: yes for the menu (`cargo test -p victory-gpu --lib menu`: 30 passed, including the two new preset tests). The full `victory-gpu` lib run had 1132 passed and 3 failed, none in a touched file: `list::thin::tests::bindings_record_no_work` and `shader_cache::tests::every_switch_of_the_translator_is_in_the_key` fail the same way on main without this change, and `watch::ask_holds::wait_open_done_covers_immediate_fast_spin_yield_cleared_and_timeout` is timing-sensitive (it passed on both main and this branch when run again). `cargo build --locked --profile diag -p victory --features diagnostics` builds. `cargo clippy -p victory-gpu --all-targets -- -D warnings` stops on two errors already on main in files this does not touch (`shadow.rs:7197` unused `ranged`, `host.rs:5092` manual `is_multiple_of`). `cargo xtask policy --staged`: 3 files ok. ## Checked for overlap - [x] I searched the open and merged pull requests for "preset", "quick preset", "menu preset", "F1 preset" and "low-end". Related: #3590 (adds VRAM presets among other F1 additions; a different set of lines, no QUICK PRESET), #1164 (DLSS MODEL AUTO, merged; a DLSS preset, not a menu preset), #740 (VICTORY_PLACED_FILLS, merged; this turns it on in presets only). None adds a one-press preset line.
A new line under WHAT LIMITS FPS sets the menu's lines that cost the most
frames in one press: LOW-END PC (Series S at 960x540, DLSS Performance, frame
generation 2X, ray tracing and water light off), LOW DELAY (the same without
frame generation, which holds a frame back), BALANCED (Series S at 720, DLSS
Quality, a 60 cap) and BEST LOOKS (Series X 1440p, DLSS Quality, ray tracing).
Changing a line a preset set shows it as CUSTOM; lines it leaves alone keep it.
A line live in this run (frame generation, started with it) changes at once.

Every preset also turns on two switches that are off by default and measured
on an RTX 3060 12 GB: VICTORY_PLACED_FILLS (median frame 192.6 to 100.8 ms,
card_steps.rs) and VICTORY_DUE_INDEX (longest frame 640.7 to 268.7 ms,
descriptor/host.rs). VICTORY_DUE_INDEX gets a menu line, QUICK TEXTURE QUEUE.

The rest of each preset is the menu's own descriptions put together, not a
measured run of each (a shortcut: in menu.rs). On a 1920x1080 monitor Series S
is the one profile whose picture is 1920x1080; Series X makes 2560x1440, which
Windows scales down (docs/troubleshooting.md, "Low frame rate on a smaller PC").

the_picture_line_is_the_consoles now looks from the console line: the new row
put SERIES X PICTURE past the box's 20 rows seen from the top.

On main WATER LIGHT is left out by default on 32-lane hosts (#739), with ""
for OFF and "1" for ON, so every preset leaves it at "" (off): the dark
blocks underwater are not the better look on an NVIDIA card either. The
tests build their menu with main's blank_menu.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 19:28:52 +00:00
github-bot closed this pull request 2026-12-01 18:43:45 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-12-01 18:42 UTC · original

Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

**@⁠trustno1-coder** on GitHub · 2026-12-01 18:42 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4379#issuecomment-7321372866) Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

Pull request closed

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!4380
No description provided.