PRECACHE SHADERS | BROKEN AGAIN | 11.30.2 - is not properly creating a full shader pre-load #4176
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ajmi982 on 2026-11-30T17:04:16Z.
same as yesterday. We get hotfixes (2-3-4-5) and stuff breaks :(
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-30T17:04:28Z.
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)
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ajmi982 on 2026-11-30T17:06:30Z.
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
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Dash-Tale on 2026-11-30T17:07:25Z.
yeah, same here
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by RsZoli on 2026-11-30T17:13:11Z.
same here, the fps is tanked also
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by nidea1 on 2026-11-30T17:37:55Z.
Opened #4231 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.)Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by RsZoli on 2026-11-30T19:18:34Z.
well, i'm using framegen as you can see on my screenshot and still were not every shader preloaded!
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ishan-2025 on 2026-11-30T20:38:57Z.
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.
#4231 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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by TheKingOfDeath on 2026-11-30T22:04:58Z.
Someone explain please thank you for your time
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by TheKingOfDeath on 2026-12-01T00:50:17Z.
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
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by nidea1 on 2026-12-01T03:14:13Z.
Quick update on the preload fixes here: #4231 (
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.