PRECACHE SHADERS | BROKEN AGAIN | 11.30.2 - is not properly creating a full shader pre-load #4177
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#4177
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?
@ajmi982 on GitHub · 2026-11-30 17:04 UTC · original
same as yesterday. We get hotfixes (2-3-4-5) and stuff breaks :(
@github-actions[bot] on GitHub · 2026-11-30 17:04 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, Windows version (10 or 11)
@ajmi982 on GitHub · 2026-11-30 17:06 UTC · original
victory-nvidia-play-20261130-170535-25552.log
I made sure the entire CACHE folder was empty. Fresh download of 11.30.2 and the damn thing instantly starts - it does NOT preload shaders at all
@Dash-Tale on GitHub · 2026-11-30 17:07 UTC · original
yeah, same here
@RsZoli on GitHub · 2026-11-30 17:13 UTC · original · edited 2026-11-30 17:14 UTC
same here, the fps is tanked also
@nidea1 on GitHub · 2026-11-30 17:37 UTC · original
Opened #4232 to fix the
5baad7e3cache-cleanup regressions introduced in v2026.11.30.02:clear_stale_shaderswas deleting all ofcache/pipelines/(including the title's translator-independentknown-pipelines.bin,known-shaders.bin,early-pipelines.txt,slow-pipelines.txt, andstatic-samplers.txt) right beforepreloadran — leavingpreloadwith0 pipelines known— and standalonevictory preloaddid not stamptranslator.txt, causing the nextvictory playto wipe the freshly preloaded cache.(Separately, automatic preload on first start of a new
victory.exeonly triggers whenVICTORY_FRAMEGEN=1is active; when FSR 3 / FSR 4 or Frame Generation Off is chosen, preload must be started via F1 ->PRELOAD SHADERSorvictory.exe play --preload, see #3941.)@RsZoli on GitHub · 2026-11-30 19:18 UTC · original
well, i'm using framegen as you can see on my screenshot and still were not every shader preloaded!
@ishan-2025 on GitHub · 2026-11-30 20:38 UTC · original
Measured data point on
e1251c31(v2026.11.30.03, diagnostics build from source). It shows what a cache that never got a full preload costs, and a case thatpreload_neededdoes not cover.Setup: RTX 5080 16 GB, Ryzen 9 5950X, 64 GB RAM. Series X, 2560x1440, DLSS Quality, no frame generation. Same save and same scripted run each time, warm shaders.
What happened: I started from an empty cache, so there was no
known-pipelines.binyet. The preload before the first run (victory preload, the same as the first-start one) translated the shaders and reported0 pipelines known. The first run then wrote the pipeline book and made the pipelines it met in the world. So at the next start,needs_pipelines()was false: the book is there, buthost-pipelines.binis not empty. No full preload ran, and draws kept waiting for pipelines met for the first time (a pass over the screen was waited for, underVICTORY_PIPELINE_WAIT_ALL).Pipeline waits per run (whole log; frame times from the per-second
frame times:lines, 250 s on):victory preload --allSo a player who starts on an empty cache (a new install, or the cache folder emptied by hand as in the first comment here) gets the first-start preload with no book, which makes nothing. After that, the check never fires again, because the first session's own pipelines make
host-pipelines.binnon-empty. Until they run PRELOAD SHADERS from the F1 menu, they keep these stalls in every new area.A possible check, not tested: preload when the book names many more pipelines than the library holds. Another: preload once after the first run that wrote the book.
#4232 keeps the book across translator updates, which covers players who update. This case is only about a cache that starts empty.
AI-assisted (Claude Code); all numbers are read from my own logs.
@TheKingOfDeath on GitHub · 2026-11-30 22:04 UTC · original
Someone explain please thank you for your time
@TheKingOfDeath on GitHub · 2026-12-01 00:50 UTC · original
Update: after running
victory.exe preloadon the game folder, the lag is gone and I can now play about 28 minutes. Then the game crashes: the GPU stops responding (device lost, 0x887A0006).Setup: RTX 5060 Ti 16 GB, Ryzen 7 5700X, 32 GB RAM, NVIDIA driver 621.40, DLSS quality, frame generation x2.
Log excerpt attached (the 28 min session). I'll test the next release and report back. Thanks!
log-crash-victory.txt
@nidea1 on GitHub · 2026-12-01 03:14 UTC · original
Quick update on the preload fixes here: #4232 (
a6b31f16e5) and47f453b363(running first-start preload without requiring frame generation) are now merged onmain(post-v2026.11.30.03).We also have 3 open,
MERGEABLEfollow-up PRs targeting the remaining cases noted above:host-pipelines.binbuilt during run 1 causedneeds_pipelines()to skip preloading the newly recorded pipeline book on run 2).warmpipeline library worker threads (victory-pipelines-*) so preload workers do not drop pipelines under soft physical-RAM throttle (aligning with @RsZoli's report).VICTORY_KEEP_OLD_SHADERS=1from the environment acrossplay'spreparestep.