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

Closed
github-bot wants to merge 12 commits from github-bot/gh-3258 into main AGit
Owner

@⁠Armi1014 on GitHub · 2026-11-29 21:06 UTC · original
Armi1014:fix/2658-texture-uploads → main · +816 −838 · 35 files · 12 commits · closed without merging

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.
**@⁠Armi1014** on GitHub · 2026-11-29 21:06 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3258) `Armi1014:fix/2658-texture-uploads` → `main` · +816 −838 · 35 files · 12 commits · closed without merging 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.
Preserve held-level copies by default and let VICTORY_FRAMEGEN_ROOM_RESERVE=0 disable the automatic reserve. Refs #2658.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 21:09:59 +00:00
Author
Owner

@⁠ErRusso on GitHub · 2026-11-29 21:25 UTC · original · reviewed

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.

**@⁠ErRusso** on GitHub · 2026-11-29 21:25 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3258#pullrequestreview-6104874372) · **reviewed** 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.
github-bot closed this pull request 2026-12-01 18:58:57 +00:00

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