victory run silently skips the ~40 play defaults — applying them doubles FPS (11→24 on RTX 5080) #4960
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#4960
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@sdelectron on GitHub · 2026-12-01 15:30 UTC · original
Summary
victory rundoes not apply the environment-variable defaults inapps/victory/src/play.rs(SETTINGS), whilevictory playdoes. Anyone launching the game withvictory rundirectly (for example from a batch file or scheduled task) silently misses ~40 optimizations, including the memory stack, pass culling, and submission-overlap switches — and gets roughly half the frame rate.Measured impact (RTX 5080, Ryzen 9800X3D, 32 GB RAM, v2026.11.30.03, same open-world area, DLSS Quality, frame gen OFF,
VICTORY_FRAME_INTERVAL_MS=16.667,VICTORY_HOST_WAVE=32)victory run, no play defaultsSETTINGS(andVICTORY_WC_NO_BACK_MIN_KB=1024)Frame time roughly halved and FPS roughly doubled. The improvement held in a heavier scene (7,079 draws) than the baseline's (5,205–6,055 draws).
Attribution note: the "with defaults" run also changed
VICTORY_WC_NO_BACK_MIN_KB65536 → 1024 (the play default) and was the second launch underVICTORY_HOST_WAVE=32, so no single variable can be credited in isolation. But the defaults are the project's own recommended settings, and the magnitude is large.Key defaults missed by direct
victory runFrom
apps/victory/src/play.rsSETTINGS(commite1251c31):VICTORY_SLOT_EVICT=1,VICTORY_ALLOCATOR_TRIM=1,VICTORY_BUDGET_PACK=1VICTORY_LEAVE_OUT=02384a60fda6f2d0,731a39171b568298(skips heat-haze + face-relocation passes)VICTORY_JOIN_PARTS=8,VICTORY_RELAY=2,VICTORY_CARD_STEPS=2,VICTORY_UPLOAD_AHEAD=1,VICTORY_SHOW_AFTER=1,VICTORY_TEXTURE_NO_WAIT=1VICTORY_CARD_ALL=1,VICTORY_UAV_FOLD=1,VICTORY_WAIT_SHARE=1,VICTORY_QUIET_WAITS=1VICTORY_WC_NO_BACK_MIN_KB=1024(play default; a direct batch I used had 65536)SETTINGSentries.Related footgun
victory playclears allVICTORY_*variables except a shortKEPTlist before applyingSETTINGS.VICTORY_FRAME_INTERVAL_MSandVICTORY_HOST_WAVEare not inKEPT, so a user who sets the frame-interval cap lift (or the NVIDIA wave size) and then launches viavictory playhas those settings silently wiped.Suggestion
Either
victory runshould apply the sameSETTINGSdefaults asvictory play(or at least warn when run without them), or the gap should be documented prominently so direct-run users know to copy theSETTINGStable. Separately, addingVICTORY_FRAME_INTERVAL_MSandVICTORY_HOST_WAVEto theKEPTlist would stopvictory playfrom wiping them.Happy to open a PR for either the
KEPTfix or docs if that's the preferred direction.@github-actions[bot] on GitHub · 2026-12-01 15:30 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU you have and which Windows version (10 or 11).
If this issue needs logs and none are posted here within 12 hours, it will be closed. Add them by editing your post or in a comment.
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 15:35 UTC · original
Thanks for the side-by-side report. I checked the v2026.11.30.03 tag and current main. Direct
runskips the setup that appliesplaydefaults. The bundled PowerShell launcher already supplies some of its own defaults before invokingrun --execute, so I’d document the distinction before changing what barerundoes. PowerShell launcher defaultsFor your batch file, you can already use the
playdefaults and keep both explicit overrides by appending--set VICTORY_HOST_WAVE=32 --set VICTORY_FRAME_INTERVAL_MS=16.667to yourplaycommand. In both revisions,playapplies these explicit settings after the saved menu settings. Override order in the releaseIf you take the docs PR, spelling out those two paths and showing the repeatable
--setflag would cover the batch-file case without changing existing scripts.@Jesper-Andersson on GitHub · 2026-12-01 15:36 UTC · original
One thing to watch if
victory runstarts applyingplay.rs'sSETTINGS: the two launchers don't agree on the texture memory switches today, so whichever list wins changes memory use on 8 GB cards.On
mainat5fabb46ea:victory play(apps/victory/src/play.rs,SETTINGS)scripts/play-nvidia.ps1(launchesvictory run)VICTORY_POOL_SMALL0("Off again (2026-11-28): with it on, trees flashed in and out in play")1(comment: 1.52 GB instead of 2.24 on an RTX 5070 Ti; about 10 to 13 fps and ~800 MB less on an RTX 2060, Series S)VICTORY_LEVELS_ON_DEMAND0autoVICTORY_TEXTURE_CATCHUP10VICTORY_TEXTURE_STAGE_MS2432What we measured, posted in #4463 (#4463): RTX 2070 SUPER 8 GB, driver 621.40, ReBAR off, Ryzen 7 5800X, 32 GB, Windows 11, Series S, DLSS Performance, FSR 3 frame generation, GPU clocks unlocked, our fork's diag build. One session each, a memory measurement only (no fps comparison):
POOL_SMALL=1), cold textures of 64 KiB or less took 59-91 MB. In our earlier session withPOOL_SMALL=0, they took 0.9-1.4 GB (median 1.2 GB). Other memory switches also differed between the two sessions, so this is not a one-switch comparison.POOL_SMALL=1(2026-11-28 to 12-01, our fork's builds, other switches varying) shows a device loss. That shows no cause either way. We did not look for the tree flashing thatplay.rsgives as the reason for0.So if the two lists are merged, it may be worth choosing
POOL_SMALLandLEVELS_ON_DEMANDon purpose rather than by which list wins. Not tested: any GPU other than ours, AMD, Series X, frame generation off.Drafted with AI assistance (Claude Code).
@7hostt-bit on GitHub · 2026-12-01 16:18 UTC · original
And what happens if I run exe? Do I have this optimizations?
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 16:24 UTC · original
Yes. On Windows, double-clicking
victory.exeor running it with no arguments startsplay, which applies the launcher defaults. This report is about explicitly runningvictory.exe run …. Theswitches:line at the top of a play log lists the settings actually applied, including saved F1 overrides. Double-click path · Play log header