preload on v2026.11.30.03 makes 0 of 4105 pipelines: every warm --these worker exits 0 with no output #4703
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 ReSerendipity on 2026-12-01T02:33:07Z.
What you see
On v2026.11.30.03 (RTX 5070 Ti Laptop 12 GB, Windows 11),
preloadtranslates every shader and then builds nothing: everywarm --theseworker it starts exits with code 0 without printing a single line, so the pass makes 0 of 4,105 pipelines and gives up after round 1.Note
0 ended their processand0 madeat the same time: no worker answered for anything, and none was counted as a crash. The whole pipeline stage takes 8 s.The worker does nothing at all
Same for
warm --these 1. The child never printsat <n>(thecame == Nonebranch) normade <n> <ms> <there>, soknown::makeinwarm::make()(apps/victory/src/warm.rs:538) returns without calling its callback at all.What I tried
victory.exe preload "<game dir>." --used --jobs 8with the game dir as working directory andVICTORY_STREAMLINE_DIRset, the wayscripts\play-nvidia.ps1/ the shipped bats do it — same.--jobs 1: 1 process, 0 made, same output.rebuild-cache-1440p.bat(cd /d,VICTORY_STREAMLINE_DIRset, real console window) — same.Start-Process -WorkingDirectory <game dir>— same.It is not the machine
Forty minutes earlier, v2026.11.30.01 on the same PC built 6,058 host pipelines from the same
--usedlist:and that library (1,095.6 MB in
cache\pipelines\adapters\hardware-10de-2f18-604e1d05-a1\host-pipelines.bin) loads fine in .01.What .03 did before that stage
It correctly noticed the translator change and deleted the old shaders, then translated the new set:
The
preloaditself was run with no--setoptions, as the bat does.Environment
d178c927334740e0b49fdd81f0c12a332c29fe41c938ac5f6dd8412fcfea3711)I have not played .03 yet; I went back to .01 so the 6,058-pipeline library stays usable. Happy to run test builds — this PC can reproduce it in about a minute (the shader pass is 22 s, the pipeline stage fails in 8 s).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-12-01T02:33:19Z.
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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by RochDawid on 2026-12-01T04:11:58Z.
A lead from reading the code, not confirmed on a machine:
A
warm --theseworker can exit with code 0 and print nothing in only three ways, all at the top ofknown::make(crates/victory-gpu/src/pipeline/known.rs):known-shaders.binin the cache'spipelinesfolder cannot be opened;known-pipelines.bincannot be read;known-pipelines.bin.Otherwise it prints
at <n>before it tries anything. (2) and (3) do not fit your output: the preload read 83,912 pipelines from that sameknown-pipelines.bin, and your manual run asked for numbers 0 to 5. (1) also explains the parent'snamed in 0.0 s (4105 have no host pipeline here):known::namesreads every pipeline's shaders from the sameknown-shaders.bin, and when it cannot, it names none of them, at once.Could you look in the
pipelinesfolder of your cache (the one holdingknown-pipelines.bin) and say whetherknown-shaders.binis there, and the size of both files? If it is missing or empty whileknown-pipelines.binis intact, the book kept its list of pipelines but lost the shaders they are made from, and the next question is what removed it. The stale-cache cleanup that v2026.11.30.03 runs at the start keepsknown-*.bin, so it should not be that.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by zzy6-a on 2026-12-01T04:20:02Z.
Same build works here (v2026.11.30.03): the pipeline stage made 1869 of 1869
Not a "cannot reproduce, works for me" — one concrete difference and a cheap way to settle it.
What this machine gets, same build
v2026.11.30.03(merge of PR 4634 ontof5c3d243). RTX 5070 12 GB, Ryzen 7 7800X3D, 32 GB DDR5,Windows 11 26300, driver 591.86, title v1.0.2.1, Series X, 2560x1440.
0 ended their processtogether with1869 made: the workers answer here. In the report bothcounters are 0, which is the signature of a worker returning before it prints anything.
Where a worker returns silently
known::make(crates/victory-gpu/src/pipeline/known.rs) printsat <n>only after it has bothfiles open, so a worker that prints nothing at all left through one of the two early returns:
(A) and (B) use
dir, which the worker gets as an argument, so they are safe unless the parentpassed a folder that does not hold the book.
The part that does depend on the worker's own configuration
makeinapps/victory/src/warm.rsloads the configuration again, in the child:and
Config::loadresolvesvictory.tomlrelative to the process's current directory(
Self::load_from(Path::new("victory.toml"), ...),crates/victory-core/src/config.rs).The worker is spawned without a
current_dir:so it inherits the parent's directory — which is the user's shell directory when
preloadisrun by hand, not the title's folder and not wherever the launcher had it. If a
victory.tomllies in one of those directories and not the other, the two processes get different
cache_dirs:dir(the argument) still points at the right book, butuse_translationspoints at ashadersfolder that has no translations,
parsefails for every entry, and the stage reports0 madewith nothing printed as an error.What the report's own command line suggests
The quoted folder ends in
.. On Windowsopen("<dir>.\known-shaders.bin")works, but the pathdoes not compare equal to
<dir>as aPathBuf, and anything that keys a cache by that string(including a
VICTORY_CACHE_DIRa launcher built by appending the folder) ends up in twodifferent places. Trying the same command without the trailing dot is the first thing worth
ruling out.
What would settle it, without a rebuild
From the machine that fails, in the same console and directory as the failing run:
If
known-*.binare there and non-empty, (A) and (B) are out, and the question is only whichshadersfolder the child'sConfig::loadpicked. Two lines inmakewould make thatunmissable — printing
dirand theuse_translationspath whenwarm --theseis givenVICTORY_WARM_SAY=1, or always on stderr when a run makes 0 of the number it was given.Limits of this report
One machine that works, so I cannot say which of the above it is on yours. I am not claiming a
bug in
known::make; the pipeline stage demonstrably makes 1869 of 1869 here on the same build,so "the build cannot make pipelines" is not it.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Trillazill on 2026-12-01T06:42:19Z.
Another data point where it works: the first start of main
5fabb46e(diagnostics build, RTX 4080, Windows 11) ran the preload after a translator change. It translated the shaders again and then made2887 of 2887 in the pipeline library in 4 s, then started the game normally (Shaders preloaded in 3.7 min). That fits the lead above (aknown-shaders.binthe workers can't open on that machine) more than a general break in .03.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ReSerendipity on 2026-12-01T10:08:17Z.
Correction from the reporter: this is my machine, not the build. Please do not spend time on it as a bug.
What was wrong here: at the time of that run
known-shaders.binwas not in%LOCALAPPDATA%\victory\cache\pipelines. I had moved it out before starting the preload, expecting the update to rebuild it.known-pipelines.binwas there, and it is the same file the preload read its 83,912 pipelines from.That is case (1) in @RochDawid's read of
known::make: the worker cannot openknown-shaders.bin, so it returns before it printsat <n>; and the parent'sknown::namesreads the same file, so it names none of them (named in 0.0 s (4105 have no host pipeline here)) and the stage ends0 madetogether with0 ended their process, the two-zero signature @zzy6-a described. It also explains why all four ways I ran it agreed: plain,--jobs 1, game folder as the working directory withVICTORY_STREAMLINE_DIRset, and the title's ownrebuild-cache-1440p.bat.State of the cache folder during the failing run (mtimes, local time UTC+8):
So the trailing
.in the folder argument was not it either; nothing about the path or the configuration differed between the parent and the workers.What I am doing now:
known-shaders.binandshaders\are back, and I am re-running the same v2026.11.30.03 binary on the same machine (RTX 5070 Ti Laptop 12 GB, Windows 11, driver 621.40, title v1.0.2.1 Series X). It is translating the title's shaders again rather than returning at once (21,000 so far). I will post whether the pipeline stage then names and makes the 4,105, and close this issue myself if it does.Sorry for the noise, and thanks to @RochDawid and @zzy6-a for the pointer that found it.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ReSerendipity on 2026-12-01T10:14:59Z.
With
known-shaders.binandshaders\back in place, the same v2026.11.30.03 binary on the same machine now goes straight through:The whole preload, shaders included, took 3.5 minutes. 4,103 of the 6,101 were loaded from the library the previous build had already filled, so the two builds share it.
Closing this as invalid on my side. @RochDawid's first case was the whole of it, and the
dir.join(SHADERS)early return turned a missing file into four identical silent runs. If it is worth anything upstream: printing that path once when awarm --theseworker returns without printingat <n>would have saved the round trip.