scripts/play.ps1: add -Console, -LowMemory, and -Nvidia presets (no change to default) #421
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!421
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-421"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Matt1x-T1x on GitHub · 2026-11-27 02:18 UTC · original
Matt1x-T1x:patch-1→main· +12 −1 · 1 files · 2 commits · openProblem
scripts/play.ps1is currently hardwired for the target 7900 XTX / 64 GB RAM / Series X setup:& $victory run $Exe --executewith no-Consoleparameter, so users on 8 GB GPUs or 16–32 GB RAM cannot launch--console series-sthroughplay.ps1without editing the script.-More @{...}for settings already validated in #76 and merged in #77 (VICTORY_TEXTURE_POOL=0,VICTORY_TEXTURE_STAGE_MB=64,VICTORY_WINDOW_BUDGET_MB).VICTORY_RELAY=1andVICTORY_CARD_STEPS=0(from #3 / #13 / #76) to avoid skinned-mesh corruption.Suggested improvement
Add three opt-in switches to
scripts/play.ps1while keeping the default behavior 100% unchanged:-Console <series-x|series-s>: passes--console $Consoletovictory.exewhen specified.-LowMemory: setsVICTORY_TEXTURE_POOL='0',VICTORY_TEXTURE_STAGE_MB='64', andVICTORY_WINDOW_BUDGET_MB='2048'(#77) for 8 GB VRAM / 16–32 GB RAM setups.-Nvidia: setsVICTORY_RELAY='1'andVICTORY_CARD_STEPS='0'(unless-Moreoverrides them).Proposed diff for
scripts/play.ps1:And right before
foreach ($k in $More.Keys):And at the end:
This keeps
scripts\play.ps1 -Exe ...identical to today on the RX 7900 XTX, while letting smaller PCs and NVIDIA testers run with a single command (e.g.scripts\play.ps1 -Exe ... -Console series-s -Safe -LowMemory).@Jesper-Andersson on GitHub · 2026-11-27 02:53 UTC · original
Thanks, a way to pick the console from
play.ps1is missing upstream. I checked the diff againstmain(014d52d). With none of the new switches, the script runs as before.-Console: looks right.victory runtakes--console series-x|series-s(apps/victory/src/main.rs, Series X by default), so leaving it out changes nothing. A small point:ValidateSetalready limits the value, so.ToLowerInvariant()only matters for spellings likeSeries-S. That's harmless.-LowMemory: backed for the texture pool, not yet for the window budget.VICTORY_TEXTURE_POOL=0withVICTORY_TEXTURE_STAGE_MB=64was measured in #76 on an RTX 3070 8 GB. Peak video memory went from 6478-6675 MB to 5576 MB, with the frame rate unchanged. That's worth having on 8 GB cards: on an RTX 2070 SUPER here, the card sits at about 6.5 of 6.9 GB in gameplay (Series S + DLSS).VICTORY_WINDOW_BUDGET_MB=2048(#77) has no measurement in the PR. Could you add one, or a line on where 2048 comes from?-Nvidia: the reason given doesn't hold, as far as I can see.VICTORY_RELAY=1+VICTORY_CARD_STEPS=0avoid skinned-mesh corruption on NVIDIA, citing #3, #13 and #76. But #13 is about Proton/vkd3d-proton on RADV (AMD under Linux). #3 is NVIDIA test and replay results with nothing on skinned meshes. #76 is a crash inside the title's code that happens on any settings.play.ps1turns on for speed. A preset named-Nvidiawould steer every NVIDIA user to slower settings without NVIDIA evidence behind it. On an RTX 2070 SUPER we play with the defaults (RELAY=2,CARD_STEPS=2).-Safe.Suggestion: keep
-Consoleand-LowMemory. Then either drop-Nvidia, or rename it after what #13 shows (e.g.-Proton) and link #13 / #176. Or add an NVIDIA run on Windows that shows the corruption with the defaults and its absence with the preset.Also: #402 and #379 change the same lines of
play.ps1, so whichever lands later will need a rebase.This review was written with AI assistance (Claude Code).
@Matt1x-T1x on GitHub · 2026-11-27 04:45 UTC · original
Thanks for the thorough review, @Jesper-Andersson! That makes complete sense.
Updated the PR accordingly:
-Consoleand-LowMemory(VICTORY_TEXTURE_POOL=0+VICTORY_TEXTURE_STAGE_MB=64, both measured on 8 GB cards in #76).VICTORY_WINDOW_BUDGET_MB=2048from-LowMemorysince it has not been measured in-game yet.-Nvidiaso we don't steer NVIDIA users to slower settings without clear evidence (and #176 already covers those under-Safe).View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.