Launcher: the Series S profile keeps 1,536 MB for render targets, not 3,072 #1911

Open
erquier wants to merge 1 commit from upstream-pr/1911 into main
erquier commented 2026-11-29 02:21:36 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by erquier on 2026-11-29T02:21:36Z.


Problem

The layer keeps VICTORY_CARD_ROOM_FOR_TARGETS_MB (3,072 by default) of the
card's budget for render targets that are not made yet, and gives it back to
textures once the targets have taken half of it. The Series S profile draws a
much smaller scene (720p and under), and its render targets held 0.8 to 1.45 GB
in our runs: they never reached half of 3,072 MB, so the room was never given
back and new textures waited for room for the whole session. Measured on an
RTX 5070 12 GB / Ryzen 5800X / 32 GB RAM (2026-11-28): 1.6 to 2.2 GB of the
card's budget were kept for targets and left unused while textures were held
back.

What changes

victory play sets VICTORY_CARD_ROOM_FOR_TARGETS_MB=1536 when the console
is the Series S (the menu's VICTORY_MENU_CONSOLE=series-s, or --series-s).
It is set before the menu's saved values and before --set, so
--set VICTORY_CARD_ROOM_FOR_TARGETS_MB=<n> still overrides it. The Series X
profile is untouched.

Switch and default

VICTORY_CARD_ROOM_FOR_TARGETS_MB, already there. New default for the Series S
launcher profile only: 1536 (was the layer's 3072). Nothing changes outside
the launcher, and nothing for the Series X profile.

How it was tested

  • cargo test --release -p victory --bin victory play:: (12 passed). The
    existing tests what_the_menu_saved_goes_over_the_options (Series S: 1536)
    and a_plain_start_is_the_launchers (Series X: unset) now assert it.
  • The effect (targets' room given back, textures no longer waiting for it) was
    seen in our runs on the fork; this branch itself was built and unit tested
    only.

Risks

A Series S session whose targets do grow past 1,536 MB (4K output, DLAA with
ray tracing, many extra targets) starts with less room kept for them: the
layer already weighs the targets it has made against the line, but a burst of
new targets could meet a fuller card. Anyone can set the old value with
--set.

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5546772512 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1911). Originally posted by [erquier](https://github.com/erquier) on 2026-11-29T02:21:36Z. --- ### Problem The layer keeps `VICTORY_CARD_ROOM_FOR_TARGETS_MB` (3,072 by default) of the card's budget for render targets that are not made yet, and gives it back to textures once the targets have taken half of it. The Series S profile draws a much smaller scene (720p and under), and its render targets held 0.8 to 1.45 GB in our runs: they never reached half of 3,072 MB, so the room was never given back and new textures waited for room for the whole session. Measured on an RTX 5070 12 GB / Ryzen 5800X / 32 GB RAM (2026-11-28): 1.6 to 2.2 GB of the card's budget were kept for targets and left unused while textures were held back. ### What changes `victory play` sets `VICTORY_CARD_ROOM_FOR_TARGETS_MB=1536` when the console is the Series S (the menu's `VICTORY_MENU_CONSOLE=series-s`, or `--series-s`). It is set before the menu's saved values and before `--set`, so `--set VICTORY_CARD_ROOM_FOR_TARGETS_MB=<n>` still overrides it. The Series X profile is untouched. ### Switch and default `VICTORY_CARD_ROOM_FOR_TARGETS_MB`, already there. New default for the Series S launcher profile only: 1536 (was the layer's 3072). Nothing changes outside the launcher, and nothing for the Series X profile. ### How it was tested - `cargo test --release -p victory --bin victory play::` (12 passed). The existing tests `what_the_menu_saved_goes_over_the_options` (Series S: 1536) and `a_plain_start_is_the_launchers` (Series X: unset) now assert it. - The effect (targets' room given back, textures no longer waiting for it) was seen in our runs on the fork; this branch itself was built and unit tested only. ### Risks A Series S session whose targets do grow past 1,536 MB (4K output, DLAA with ray tracing, many extra targets) starts with less room kept for them: the layer already weighs the targets it has made against the line, but a burst of new targets could meet a fuller card. Anyone can set the old value with `--set`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
nick0451 commented 2026-11-29 03:54:18 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by nick0451 on 2026-11-29T03:54:18Z.


Ran it on an RTX 3090 24 GB, Series S, main 568c5e5, 2 rounds on a balcony save: no crash, the same picture, 25.0 fps against main's 25.7 (inside the noise). As expected, a 24 GB card doesn't show the effect: textures are never held back for room here. Someone on 8-12 GB is needed for the gain. It does no harm on a big card.

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7250330080 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1911#issuecomment-7250330080). Originally posted by [nick0451](https://github.com/nick0451) on 2026-11-29T03:54:18Z. --- Ran it on an RTX 3090 24 GB, Series S, main `568c5e5`, 2 rounds on a balcony save: no crash, the same picture, 25.0 fps against main's 25.7 (inside the noise). As expected, a 24 GB card doesn't show the effect: textures are never held back for room here. Someone on 8-12 GB is needed for the gain. It does no harm on a big card. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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/1911:upstream-pr/1911'
git switch 'upstream-pr/1911'

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