fix(scripts): make the NVIDIA BAR window cap opt-in #8

Manually merged
github merged 1 commit from github-bot/gh-8 into main 2026-11-26 17:58:06 +00:00 AGit
Owner

@⁠jeremygold02 on GitHub · 2026-11-26 17:41 UTC · original
jeremygold02:codex/low-memory-launcher → main · +14 −15 · 2 files · 1 commits · merged 2026-11-26 17:57 UTC

Follow-up to PR #6

PR #6 showed that a 3072 MiB cap for title memory windows in CPU-mapped VRAM helped the tested 16 GB system with an RTX 3060. It added that value to the shared NVIDIA launcher defaults, so every launch through play-nvidia.ps1 now opts in regardless of system RAM or VRAM headroom.

Change

Expose the cap as -WindowsBarMB <MiB>. Omitting the parameter leaves the runtime setting unset, which uses its existing default of zero. Users can opt into the setting from PR #6 with -WindowsBarMB 3072, pick another cap, or pass 0 explicitly. The existing -More override takes precedence. The patch changes the launcher and its documentation. The runtime's GPU-upload support and budget checks still apply.

.\scripts\play-nvidia.ps1 -Exe 'C:\path\to\title.exe' -WindowsBarMB 3072

Verification

Ran the actual Windows PowerShell launcher against a stub executable that reports its environment and arguments. Verified the unset default even with an inherited environment value, custom caps including 3072 MiB, explicit zero, Series S and Series X wrappers, the release selector, the existing -More path and its precedence, and rejection of negative caps. git diff --check passed. These checks cover launcher behavior. Gameplay performance was outside this validation.

**@⁠jeremygold02** on GitHub · 2026-11-26 17:41 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/8) `jeremygold02:codex/low-memory-launcher` → `main` · +14 −15 · 2 files · 1 commits · merged 2026-11-26 17:57 UTC ## Follow-up to PR #6 PR #6 showed that a 3072 MiB cap for title memory windows in CPU-mapped VRAM helped the tested 16 GB system with an RTX 3060. It added that value to the shared NVIDIA launcher defaults, so every launch through `play-nvidia.ps1` now opts in regardless of system RAM or VRAM headroom. ## Change Expose the cap as `-WindowsBarMB <MiB>`. Omitting the parameter leaves the runtime setting unset, which uses its existing default of zero. Users can opt into the setting from PR #6 with `-WindowsBarMB 3072`, pick another cap, or pass `0` explicitly. The existing `-More` override takes precedence. The patch changes the launcher and its documentation. The runtime's GPU-upload support and budget checks still apply. ```powershell .\scripts\play-nvidia.ps1 -Exe 'C:\path\to\title.exe' -WindowsBarMB 3072 ``` ## Verification Ran the actual Windows PowerShell launcher against a stub executable that reports its environment and arguments. Verified the unset default even with an inherited environment value, custom caps including 3072 MiB, explicit zero, Series S and Series X wrappers, the release selector, the existing `-More` path and its precedence, and rejection of negative caps. `git diff --check` passed. These checks cover launcher behavior. Gameplay performance was outside this validation.
Expose the cap in MiB as a launcher parameter and keep the existing More override. Restore the runtime default for launches that omit the cap.

Refs: #6
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 17:42:04 +00:00
github manually merged commit 3ffa47f534 into main 2026-11-26 17:58:06 +00:00
Author
Owner

@⁠BillyBuilds on GitHub · 2026-11-26 21:24 UTC · original

A 32 GB RAM / RTX 5070 12 GB data point: 7.7-8.8 fps in the world (README says 20-22 on a 5070)

Your README's 20-22 fps on an RTX 5070 is a Ryzen 7 9800X3D with 64 GB of RAM. On a Core Ultra 7 270K with 32 GB the fork runs at 7.7 to 8.8 fps in the world, so the gap is CPU plus RAM, not the card.

Measured (26 November):

  • Your latest tree (85a529b, all eight of the day's PRs), Series S profile, 540p render scale, own upscaler, -NoSmoothMotion, -WindowsBarMB 3072 (your BAR cap, on manually since this machine has 32 GB, above your 24 GB auto threshold).
  • Morning run: died at the RAM wall like other forks (1.5 GB free, 22.9 GB private commit, 255 ms frames at the end).
  • Evening run after the low-memory PRs: clean 8-minute session, closed by hand, no crash, 7.7-8.8 fps throughout, boost to High priority on the P-cores applied externally. Not run long enough to say whether the BAR cap holds past the wall — closed by choice, not by crash.
  • Full-resolution Neptune-based builds run 5-16 fps on the same machine, so at ~8 fps the 540p world is the softer picture without the speed to pay for it — on this class of machine the fork's trade does not land yet.

What would help this machine: your low-memory direction is right (the RAM pressure is visibly lower); if the 20 fps on a 5070 could be reached without the 9800X3D and 64 GB behind it, this fork would be the pick for 32 GB machines.

AI use: Claude (Cline) collected the logs and drafted this comment; I ran the sessions and checked the numbers.

**@⁠BillyBuilds** on GitHub · 2026-11-26 21:24 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/8#issuecomment-7203688838) ## A 32 GB RAM / RTX 5070 12 GB data point: 7.7-8.8 fps in the world (README says 20-22 on a 5070) Your README's 20-22 fps on an RTX 5070 is a Ryzen 7 9800X3D with 64 GB of RAM. On a Core Ultra 7 270K with **32 GB** the fork runs at **7.7 to 8.8 fps** in the world, so the gap is CPU plus RAM, not the card. **Measured (26 November):** - Your latest tree (85a529b, all eight of the day's PRs), Series S profile, 540p render scale, own upscaler, `-NoSmoothMotion`, `-WindowsBarMB 3072` (your BAR cap, on manually since this machine has 32 GB, above your 24 GB auto threshold). - Morning run: died at the RAM wall like other forks (1.5 GB free, 22.9 GB private commit, 255 ms frames at the end). - Evening run after the low-memory PRs: **clean 8-minute session, closed by hand, no crash**, 7.7-8.8 fps throughout, boost to High priority on the P-cores applied externally. Not run long enough to say whether the BAR cap holds past the wall — closed by choice, not by crash. - Full-resolution Neptune-based builds run 5-16 fps on the same machine, so at ~8 fps the 540p world is the softer picture without the speed to pay for it — on this class of machine the fork's trade does not land yet. **What would help this machine:** your low-memory direction is right (the RAM pressure is visibly lower); if the 20 fps on a 5070 could be reached without the 9800X3D and 64 GB behind it, this fork would be the pick for 32 GB machines. **AI use:** Claude (Cline) collected the logs and drafted this comment; I ran the sessions and checked the numbers.
This discussion has been locked. Commenting is limited to contributors.
No description provided.