fix(warm): inherit victory-settings.txt and play shader defaults #549
No reviewers
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!549
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-549"
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?
@Glory-star on GitHub · 2026-11-28 00:39 UTC · original
pr/fix-warm-shader-env→main· +34 −0 · 1 files · 1 commits · closed without mergingProblem
victory playautomatically sets shader-affecting defaults such asVICTORY_EARLY_DEPTH=1and loadsvictory-settings.txt(which may setVICTORY_AMBIENT,VICTORY_NAN_SCRUB=1, etc.), all of which are hashed into the shader cache key (shader_cache.rs).victory warmdoes not set those defaults or readvictory-settings.txt, so runningvictory warm --usedwarms all pipelines under a different cache key. On the nextvictory playlaunch, hundreds of pipelines miss the cache and compile live during gameplay ((761 being made)-> single-digit FPS).Fix
warm::run(before spawning worker processes), load unsetVICTORY_*values fromvictory-settings.txt(VICTORY_MENU_FILE/VICTORY_HOME/%LOCALAPPDATA%\victory\victory-settings.txt) and apply theplayshader defaults (VICTORY_EARLY_DEPTH=1,VICTORY_AMBIENT_SPECULAR=1,VICTORY_WATER_LIGHT=1) without overriding any env vars explicitly set by the caller.Verification
victory.exe warm --usednow logsVICTORY_EARLY_DEPTH=1, warms 3,416/3,416 used pipelines under the exactplaycache key, and subsequent gameplay starts with0 being made.github-bot referenced this pull request2026-11-28 00:49:35 +00:00
github-bot referenced this pull request2026-11-29 20:46:26 +00:00
Pull request closed