Keep tiled mip levels opt-in on 8 GB cards #3258

Open
Armi1014 wants to merge 12 commits from upstream-pr/3258 into main
Armi1014 commented 2026-11-29 21:06:21 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Armi1014 on 2026-11-29T21:06:21Z.


Refs #2658

What it changes

  • Keep the existing held-level texture path as the runtime and launcher default. Tiled levels remain available with VICTORY_LEVELS_ON_DEMAND=1 or explicit auto on supported adapters. Enabling tiling globally disables held-level handling even for ordinary host copies.
  • Make VICTORY_FRAMEGEN_ROOM_RESERVE=0 disable the automatic reserve so the switch can be used for a controlled comparison.
  • Document the opt-in and cover the unset, off, on and automatic choices with a regression test.

How it was tested

Manual A/B on an 8 GB RTX 4060 with Series S, DLSS Balanced and DLSS Frame Generation 2×, using release commit 10c2ea4. The two launch headers differed only in VICTORY_LEVELS_ON_DEMAND.

First approximately two minutes of sustained gameplay A (auto) B (0)
Texture upload throughput 2,895 MB/min 2,386 MB/min
Median dedicated VRAM 7,262 MB 5,656 MB
Median shared GPU memory 7,175 MB 8,286 MB
Median committed memory 22,544 MB 22,633 MB
Median native FPS 13.8 16.2

Across the complete logs, the NVIDIA VRAM budget warning occurred 3,849 times in A and zero times in B. B recorded more uploads, with fewer total bytes per minute. B also involved more varied gameplay and reused more cached pipelines. The closing cutscene in B is outside the table. The FPS and upload-rate figures describe the observed sessions.

The Windows release build and staged asset-policy check passed. The opt-in test and the held-level and Frame Generation reserve checks passed. The workspace suite hit BC7 oracle failures and the broader GPU run was stopped after shader-cache and menu tests reported failures. The diagnostics build was blocked by compilation errors outside this change.

Checked for overlap

  • Searched open PRs for #2658 and the mip-selection code. #2600 changes the same automatic budget threshold and has measurements for a 12 GB card. #3199 has a related 8 GB field report.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5555120239 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3258). Originally posted by [Armi1014](https://github.com/Armi1014) on 2026-11-29T21:06:21Z. --- Refs #2658 ## What it changes - Keep the existing held-level texture path as the runtime and launcher default. Tiled levels remain available with `VICTORY_LEVELS_ON_DEMAND=1` or explicit `auto` on supported adapters. Enabling tiling globally disables held-level handling even for ordinary host copies. - Make `VICTORY_FRAMEGEN_ROOM_RESERVE=0` disable the automatic reserve so the switch can be used for a controlled comparison. - Document the opt-in and cover the unset, off, on and automatic choices with a regression test. ## How it was tested Manual A/B on an 8 GB RTX 4060 with Series S, DLSS Balanced and DLSS Frame Generation 2×, using release commit `10c2ea4`. The two launch headers differed only in `VICTORY_LEVELS_ON_DEMAND`. | First approximately two minutes of sustained gameplay | A (`auto`) | B (`0`) | | --- | ---: | ---: | | Texture upload throughput | 2,895 MB/min | 2,386 MB/min | | Median dedicated VRAM | 7,262 MB | 5,656 MB | | Median shared GPU memory | 7,175 MB | 8,286 MB | | Median committed memory | 22,544 MB | 22,633 MB | | Median native FPS | 13.8 | 16.2 | Across the complete logs, the NVIDIA VRAM budget warning occurred 3,849 times in A and zero times in B. B recorded more uploads, with fewer total bytes per minute. B also involved more varied gameplay and reused more cached pipelines. The closing cutscene in B is outside the table. The FPS and upload-rate figures describe the observed sessions. The Windows release build and staged asset-policy check passed. The opt-in test and the held-level and Frame Generation reserve checks passed. The workspace suite hit BC7 oracle failures and the broader GPU run was stopped after shader-cache and menu tests reported failures. The diagnostics build was blocked by compilation errors outside this change. ## Checked for overlap - [x] Searched open PRs for #2658 and the mip-selection code. #2600 changes the same automatic budget threshold and has measurements for a 12 GB card. #3199 has a related 8 GB field report.
ErRusso commented 2026-11-29 21:25:00 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ErRusso on 2026-11-29T21:25:00Z.

Review: COMMENTED


Reviewed against main (fbe3dc20). Looks good to merge.

  • victory play already sets VICTORY_LEVELS_ON_DEMAND=0 (apps/victory/src/play.rs:92), so for the main launcher nothing changes. The PR brings play-foxhound.ps1 (was auto), Play-VIctory.cmd (was 1) and the unset runtime default into line with it.
  • The direction matches the independent numbers in #3199 (2070 SUPER 8 GB: ~2 GB vs ~19-21 GB uploaded, 6.6 GB vs 7.8-8.4 GB card memory with levels off) and this PR's own A/B.
  • VICTORY_FRAMEGEN_ROOM_RESERVE moving from "is set" to asked_for! is safe: both launchers only ever set it to "1" (play.rs:478,499, play-foxhound.ps1:204,232), and =0 now actually turns it off, as described.
  • requested_for_budget keeps the closure lazy, so video_memory() is only asked for auto. The test covers the cases.

Nit: an unrecognised value (e.g. on) is now silently off, the same as before; fine.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:review:6104874372 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3258#pullrequestreview-6104874372). Originally posted by [ErRusso](https://github.com/ErRusso) on 2026-11-29T21:25:00Z. **Review:** COMMENTED --- Reviewed against main (fbe3dc20). Looks good to merge. - `victory play` already sets `VICTORY_LEVELS_ON_DEMAND=0` (`apps/victory/src/play.rs:92`), so for the main launcher nothing changes. The PR brings `play-foxhound.ps1` (was `auto`), `Play-VIctory.cmd` (was `1`) and the unset runtime default into line with it. - The direction matches the independent numbers in #3199 (2070 SUPER 8 GB: ~2 GB vs ~19-21 GB uploaded, 6.6 GB vs 7.8-8.4 GB card memory with levels off) and this PR's own A/B. - `VICTORY_FRAMEGEN_ROOM_RESERVE` moving from "is set" to `asked_for!` is safe: both launchers only ever set it to `"1"` (`play.rs:478,499`, `play-foxhound.ps1:204,232`), and `=0` now actually turns it off, as described. - `requested_for_budget` keeps the closure lazy, so `video_memory()` is only asked for `auto`. The test covers the cases. Nit: an unrecognised value (e.g. `on`) is now silently off, the same as before; fine.
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/3258:upstream-pr/3258'
git switch 'upstream-pr/3258'

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