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

Merged
jeremygold02 merged 1 commit from upstream-pr/8 into main 2026-11-26 17:57:11 +00:00
jeremygold02 commented 2026-11-26 17:41:13 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by jeremygold02 on 2026-11-26T17:41:13Z.


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5514696389 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/8). Originally posted by [jeremygold02](https://github.com/jeremygold02) on 2026-11-26T17:41:13Z. --- ## 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.
BillyBuilds commented 2026-11-26 21:24:01 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by BillyBuilds on 2026-11-26T21:24:01Z.


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7203688838 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/8#issuecomment-7203688838). Originally posted by [BillyBuilds](https://github.com/BillyBuilds) on 2026-11-26T21:24:01Z. --- ## 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.
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!8
No description provided.