F1 menu: JOIN PARTS steps through 8 to 1, not only 8 and 1 (OFF) #4500

Closed
github-bot wants to merge 14 commits from github-bot/gh-4499 into main AGit
Owner

@⁠tongelberkay on GitHub · 2026-11-30 21:23 UTC · original
tongelberkay:fix/join-parts-menu-values → main · +957 −849 · 32 files · 14 commits · closed without merging

What it changes

Closes #4432. The F1 menu's JOIN PARTS row (crates/victory-gpu/src/host/menu.rs) offered only 8 and 1 (OFF), though VICTORY_JOIN_PARTS=<n> takes any value, so the values in between could be set only by hand.

  • The row now steps through 8, 7, 6, 5, 4, 3, 2, 1 (OFF). The default stays 8, so nothing changes for anyone who does not touch the row.
  • The third help line, empty before, says what a lower value does: LOWER: TEXTURES COME SOONER. BEST VALUE DEPENDS ON THE CPU.

Why the middle values

A lower value sends more, smaller submissions: textures reach the card sooner, at the cost of more CPU time on the submitting thread. Where the balance lies depends on the machine, likely on the CPU's core count above all (how much spare time the submitting thread has beside THIN's threads and the title's own), so a fixed default cannot suit everyone; the menu now lets each player find theirs.

On two 8 GB cards with 6-core CPUs, 4 is the one we keep:

  • #4432 (RTX 3070 8 GB, Ryzen 5 7500F): at 4 a steady 20 fps (about 60 ms a frame), without the freezes of 8 or the missing textures of 1.
  • Here (RTX 4060 Ti 8 GB, Ryzen 5 5600, 32 GB, PCIe 3.0 x8; Series S 540p, DLSS Performance, frame generation 2x, THIN and ASYNC SUBMIT on, release build of this branch), 3, 4 and 5 were tried against 8:
    • 8 has the best frame rate, but textures come in slowly and go missing.
    • At 4 textures load clearly sooner and stay. It costs some frame rate against 8 (the submitting thread has more to do), which we leave on the table for the textures.
    • 3 and 5 felt worse in play than 4, and textures still went missing now and then, so 4 was kept.
    • The log agrees on the direction (below): in the first 90 s of play, waits for room for a new texture on the card were a third to three quarters fewer at 3 to 5 than at 8.

From the play logs, the first 90 s of each run. "Texture waits" counts the log's "a texture already on the card is brought up to date although the card has no room for new ones": fewer is better. Frame time is the median before frame generation: lower is better.

JOIN PARTS Texture waits Frame time In play
8 (default) 82,000 61.5 ms best frame rate; textures slow, some go missing
5 22,000 71.2 ms worse feel than 4; textures go missing now and then
4 (two runs) 33,500 / 56,500 72.0 / 61.8 ms kept: textures sooner and stay
3 30,000 70.9 ms worse feel than 4; textures go missing now and then

The runs were short (1 to 2 minutes, not the same spot), so the numbers give a direction, not a measurement: the two runs at 4 alone differ by 10 ms and 23,000 waits.

How it was tested

  • cargo test -p victory-gpu --lib host::menu: 28 passed (every_line_fits_and_every_character_has_a_picture covers the new help line).
  • In play (release build): Left and Right step through all eight values, the choice is saved to victory-settings.txt and applies at the next start (the log's switches line shows VICTORY_JOIN_PARTS=3, 4 and 5).

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. None changes the JOIN PARTS row.
**@⁠tongelberkay** on GitHub · 2026-11-30 21:23 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4499) `tongelberkay:fix/join-parts-menu-values` → `main` · +957 −849 · 32 files · 14 commits · closed without merging ## What it changes Closes #4432. The F1 menu's JOIN PARTS row (`crates/victory-gpu/src/host/menu.rs`) offered only `8` and `1 (OFF)`, though `VICTORY_JOIN_PARTS=<n>` takes any value, so the values in between could be set only by hand. - The row now steps through `8, 7, 6, 5, 4, 3, 2, 1 (OFF)`. The default stays 8, so nothing changes for anyone who does not touch the row. - The third help line, empty before, says what a lower value does: `LOWER: TEXTURES COME SOONER. BEST VALUE DEPENDS ON THE CPU.` ## Why the middle values A lower value sends more, smaller submissions: textures reach the card sooner, at the cost of more CPU time on the submitting thread. Where the balance lies depends on the machine, likely on the CPU's core count above all (how much spare time the submitting thread has beside THIN's threads and the title's own), so a fixed default cannot suit everyone; the menu now lets each player find theirs. On two 8 GB cards with 6-core CPUs, 4 is the one we keep: - #4432 (RTX 3070 8 GB, Ryzen 5 7500F): at 4 a steady 20 fps (about 60 ms a frame), without the freezes of 8 or the missing textures of 1. - Here (RTX 4060 Ti 8 GB, Ryzen 5 5600, 32 GB, PCIe 3.0 x8; Series S 540p, DLSS Performance, frame generation 2x, THIN and ASYNC SUBMIT on, release build of this branch), 3, 4 and 5 were tried against 8: - 8 has the best frame rate, but textures come in slowly and go missing. - At 4 textures load clearly sooner and stay. It costs some frame rate against 8 (the submitting thread has more to do), which we leave on the table for the textures. - 3 and 5 felt worse in play than 4, and textures still went missing now and then, so 4 was kept. - The log agrees on the direction (below): in the first 90 s of play, waits for room for a new texture on the card were a third to three quarters fewer at 3 to 5 than at 8. From the play logs, the first 90 s of each run. "Texture waits" counts the log's "a texture already on the card is brought up to date although the card has no room for new ones": fewer is better. Frame time is the median before frame generation: lower is better. | JOIN PARTS | Texture waits | Frame time | In play | |---|---|---|---| | 8 (default) | 82,000 | 61.5 ms | best frame rate; textures slow, some go missing | | 5 | 22,000 | 71.2 ms | worse feel than 4; textures go missing now and then | | **4** (two runs) | 33,500 / 56,500 | 72.0 / 61.8 ms | **kept**: textures sooner and stay | | 3 | 30,000 | 70.9 ms | worse feel than 4; textures go missing now and then | The runs were short (1 to 2 minutes, not the same spot), so the numbers give a direction, not a measurement: the two runs at 4 alone differ by 10 ms and 23,000 waits. ## How it was tested - `cargo test -p victory-gpu --lib host::menu`: 28 passed (`every_line_fits_and_every_character_has_a_picture` covers the new help line). - In play (release build): Left and Right step through all eight values, the choice is saved to `victory-settings.txt` and applies at the next start (the log's switches line shows `VICTORY_JOIN_PARTS=3`, `4` and `5`). ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. None changes the JOIN PARTS row.
The row offered 8 and unset (1, OFF) though any value works
(VICTORY_JOIN_PARTS=<n>), so the middle values could be set only by
hand. The list now has 8, 7, ... 2 and 1 (OFF); 8 stays the default.
The third help line says what a lower value does, and that the best
one depends on the CPU.

Closes #4431.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 21:29:39 +00:00
github-bot closed this pull request 2026-12-01 18:43:22 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-12-01 18:39 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:39 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4499#issuecomment-7321299519) 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!4500
No description provided.