preload on v2026.11.30.03 makes 0 of 4105 pipelines: every warm --these worker exits 0 with no output #4704

Closed
opened 2026-12-01 02:36:09 +00:00 by github-bot · 6 comments
Owner

@⁠ReSerendipity on GitHub · 2026-12-01 02:33 UTC · original

What you see

On v2026.11.30.03 (RTX 5070 Ti Laptop 12 GB, Windows 11), preload translates every shader and then builds nothing: every warm --these worker 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.

Pipeline warm-up: only pipelines used by earlier runs (--all warms every known pipeline)
83912 pipelines known, 4105 to warm, named in 0.0 s (4105 have no host pipeline here); 0 made before by what is in them (cf7575e9406fc0b9, on NVIDIA GeForce RTX 5070 Ti Laptop GPU), 0 the same as another, 0 bad; 4105 to make, 8 processes
4105 pipelines were not made (their processes ended early); the next preload tries them again
0 made in 8 s (0 have no host pipeline, 0 ended their process); ms each: median 0.0, p90 0.0, p99 0.0, most 0, sum -0 s
into the pipeline library: 6059 pipelines (loading and slow ones), 8 threads
0 of 6059 in the pipeline library in 0 s

Note 0 ended their process and 0 made at 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

D:\GTA6\...> victory.exe warm --these 0,1,2,3,4,5
exit code: 0
stdout:    0 bytes
stderr:    0 bytes

Same for warm --these 1. The child never prints at <n> (the came == None branch) nor made <n> <ms> <there>, so known::make in warm::make() (apps/victory/src/warm.rs:538) returns without calling its callback at all.

What I tried

  • victory.exe preload "<game dir>." --used --jobs 8 with the game dir as working directory and VICTORY_STREAMLINE_DIR set, the way scripts\play-nvidia.ps1 / the shipped bats do it — same.
  • Same with --jobs 1: 1 process, 0 made, same output.
  • The project's own rebuild-cache-1440p.bat (cd /d, VICTORY_STREAMLINE_DIR set, 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 --used list:

6058 of 6059 in the pipeline library in 1992 s
host pipeline library saved bytes=1148869180 early=4567 made=5418 loaded=640

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:

This update translates shaders differently: the old shader cache (202 MB) was deleted; shaders are made again.
25789 shaders in the cache, 199 do not translate, 22 s
    195  converter shader.dxil v1: GFX10 code at 0x0: a container without a vertex, pixel, compute or mesh program is not supported  (e.g. d82a0a5a22471c77)
      1  converter shader.dxil v1: GFX10 code at 0xae80: a lane mask holding lanes elsewhere read as data is not supported  (e.g. dbdbf36298727135)
      3  converter shader.dxil v1: malformed shader: no DXIL part  (e.g. a04c409174d40b52)

The preload itself was run with no --set options, as the bat does.

Environment

  • GPU: RTX 5070 Ti Laptop 12 GB, driver 32.0.16.2140
  • CPU: i9-13900HX, 24 cores / 32 threads, 31.7 GB RAM, Windows 11 build 26300
  • Release: v2026.11.30.03 (d178c927334740e0b49fdd81f0c12a332c29fe41c938ac5f6dd8412fcfea3711)
  • Play settings (not used by the preload): Series X, 1440p, DLSS Quality, 4x frame generation

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).

**@⁠ReSerendipity** on GitHub · 2026-12-01 02:33 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4703) **What you see** On v2026.11.30.03 (RTX 5070 Ti Laptop 12 GB, Windows 11), `preload` translates every shader and then builds **nothing**: every `warm --these` worker 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. ``` Pipeline warm-up: only pipelines used by earlier runs (--all warms every known pipeline) 83912 pipelines known, 4105 to warm, named in 0.0 s (4105 have no host pipeline here); 0 made before by what is in them (cf7575e9406fc0b9, on NVIDIA GeForce RTX 5070 Ti Laptop GPU), 0 the same as another, 0 bad; 4105 to make, 8 processes 4105 pipelines were not made (their processes ended early); the next preload tries them again 0 made in 8 s (0 have no host pipeline, 0 ended their process); ms each: median 0.0, p90 0.0, p99 0.0, most 0, sum -0 s into the pipeline library: 6059 pipelines (loading and slow ones), 8 threads 0 of 6059 in the pipeline library in 0 s ``` Note `0 ended their process` and `0 made` at 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** ``` D:\GTA6\...> victory.exe warm --these 0,1,2,3,4,5 exit code: 0 stdout: 0 bytes stderr: 0 bytes ``` Same for `warm --these 1`. The child never prints `at <n>` (the `came == None` branch) nor `made <n> <ms> <there>`, so `known::make` in `warm::make()` (`apps/victory/src/warm.rs:538`) returns without calling its callback at all. **What I tried** - `victory.exe preload "<game dir>." --used --jobs 8` with the game dir as working directory and `VICTORY_STREAMLINE_DIR` set, the way `scripts\play-nvidia.ps1` / the shipped bats do it — same. - Same with `--jobs 1`: 1 process, 0 made, same output. - The project's own `rebuild-cache-1440p.bat` (`cd /d`, `VICTORY_STREAMLINE_DIR` set, 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 `--used` list: ``` 6058 of 6059 in the pipeline library in 1992 s host pipeline library saved bytes=1148869180 early=4567 made=5418 loaded=640 ``` 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: ``` This update translates shaders differently: the old shader cache (202 MB) was deleted; shaders are made again. 25789 shaders in the cache, 199 do not translate, 22 s 195 converter shader.dxil v1: GFX10 code at 0x0: a container without a vertex, pixel, compute or mesh program is not supported (e.g. d82a0a5a22471c77) 1 converter shader.dxil v1: GFX10 code at 0xae80: a lane mask holding lanes elsewhere read as data is not supported (e.g. dbdbf36298727135) 3 converter shader.dxil v1: malformed shader: no DXIL part (e.g. a04c409174d40b52) ``` The `preload` itself was run with no `--set` options, as the bat does. **Environment** - GPU: RTX 5070 Ti Laptop 12 GB, driver 32.0.16.2140 - CPU: i9-13900HX, 24 cores / 32 threads, 31.7 GB RAM, Windows 11 build 26300 - Release: v2026.11.30.03 (`d178c927334740e0b49fdd81f0c12a332c29fe41c938ac5f6dd8412fcfea3711`) - Play settings (not used by the preload): Series X, 1440p, DLSS Quality, 4x frame generation 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).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 02:36:09 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-12-01 02:33 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.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %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.

**@⁠github-actions[bot]** on GitHub · 2026-12-01 02:33 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4703#issuecomment-7298741850) 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. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%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.
Author
Owner

@⁠RochDawid on GitHub · 2026-12-01 04:11 UTC · original

A lead from reading the code, not confirmed on a machine:

A warm --these worker can exit with code 0 and print nothing in only three ways, all at the top of known::make (crates/victory-gpu/src/pipeline/known.rs):

  1. known-shaders.bin in the cache's pipelines folder cannot be opened;
  2. known-pipelines.bin cannot be read;
  3. none of the numbers it was given is in 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 same known-pipelines.bin, and your manual run asked for numbers 0 to 5. (1) also explains the parent's named in 0.0 s (4105 have no host pipeline here): known::names reads every pipeline's shaders from the same known-shaders.bin, and when it cannot, it names none of them, at once.

Could you look in the pipelines folder of your cache (the one holding known-pipelines.bin) and say whether known-shaders.bin is there, and the size of both files? If it is missing or empty while known-pipelines.bin is 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 keeps known-*.bin, so it should not be that.

**@⁠RochDawid** on GitHub · 2026-12-01 04:11 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4703#issuecomment-7300480792) A lead from reading the code, not confirmed on a machine: A `warm --these` worker can exit with code 0 and print nothing in only three ways, all at the top of `known::make` (`crates/victory-gpu/src/pipeline/known.rs`): 1. `known-shaders.bin` in the cache's `pipelines` folder cannot be opened; 2. `known-pipelines.bin` cannot be read; 3. none of the numbers it was given is in `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 same `known-pipelines.bin`, and your manual run asked for numbers 0 to 5. (1) also explains the parent's `named in 0.0 s (4105 have no host pipeline here)`: `known::names` reads every pipeline's shaders from the same `known-shaders.bin`, and when it cannot, it names none of them, at once. Could you look in the `pipelines` folder of your cache (the one holding `known-pipelines.bin`) and say whether `known-shaders.bin` is there, and the size of both files? If it is missing or empty while `known-pipelines.bin` is 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 keeps `known-*.bin`, so it should not be that.
Author
Owner

@⁠zzy6-a on GitHub · 2026-12-01 04:20 UTC · original

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 onto f5c3d243). RTX 5070 12 GB, Ryzen 7 7800X3D, 32 GB DDR5,
Windows 11 26300, driver 591.86, title v1.0.2.1, Series X, 2560x1440.

74563 pipelines known, 2059 to warm, named in 0.2 s (0 have no host pipeline here); 0 made before by what is in them (f974170cf98d2af8, on NVIDIA GeForce RTX 5070), 190 the same as another, 0 bad; 1869 to make, 10 processes
1869 made in 103 s (0 have no host pipeline, 0 ended their process); ms each: median 214.8, p90 1177.6, p99 3715.6, most 24023, sum 929 s
into the pipeline library: 2495 pipelines (loading and slow ones), 10 threads
2494 of 2495 in the pipeline library in 5 s

0 ended their process together with 1869 made: the workers answer here. In the report both
counters 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) prints at <n> only after it has both
files open, so a worker that prints nothing at all left through one of the two early returns:

let Ok(mut file) = std::fs::File::open(dir.join(SHADERS)) else { return };   // (A)
let wanted: HashSet<usize> = which.iter().copied().collect();
let mut entries = HashMap::new();
if walk_pipelines(dir, |n, bytes| { ... }).is_err() { return }                 // (B)
for n in which {
    let Some(entry) = entries.get(n) else { continue };                        // (C): silent, but `each` was not called either

(A) and (B) use dir, which the worker gets as an argument, so they are safe unless the parent
passed a folder that does not hold the book.

The part that does depend on the worker's own configuration

make in apps/victory/src/warm.rs loads the configuration again, in the child:

fn make(dir: &Path, these: &str) -> Result<()> {
    let cfg = victory_core::Config::load()?;
    victory_hle::known_pipelines::use_translations(cfg.cache_subdir("shaders")?);   // where it reads translations
    ...
    known::make(dir, &these, |n, came| { ... });

and Config::load resolves victory.toml relative 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:

Command::new(exe)
    .args(["warm", "--these", &list.join(",")])
    .stdin(Stdio::null())
    .stdout(Stdio::piped())
    .stderr(Stdio::null())
    .creation_flags(IDLE_PRIORITY_CLASS)
    .spawn()

so it inherits the parent's directory — which is the user's shell directory when preload is
run by hand, not the title's folder and not wherever the launcher had it. If a victory.toml
lies 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, but use_translations points at a shaders
folder that has no translations, parse fails for every entry, and the stage reports
0 made with nothing printed as an error.

What the report's own command line suggests

victory.exe preload "<game dir>." --used --jobs 8

The quoted folder ends in .. On Windows open("<dir>.\known-shaders.bin") works, but the path
does not compare equal to <dir> as a PathBuf, and anything that keys a cache by that string
(including a VICTORY_CACHE_DIR a launcher built by appending the folder) ends up in two
different 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:

victory.exe preload "<game dir>" --jobs 1          # no trailing dot
dir  "%LOCALAPPDATA%\victory\cache\pipelines"      # known-pipelines.bin, known-shaders.bin non-empty?
echo $env:VICTORY_CACHE_DIR
Get-Location

If known-*.bin are there and non-empty, (A) and (B) are out, and the question is only which
shaders folder the child's Config::load picked. Two lines in make would make that
unmissable — printing dir and the use_translations path when warm --these is given
VICTORY_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.

**@⁠zzy6-a** on GitHub · 2026-12-01 04:20 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4703#issuecomment-7300626920) # 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 onto `f5c3d243`). RTX 5070 12 GB, Ryzen 7 7800X3D, 32 GB DDR5, Windows 11 26300, driver 591.86, title v1.0.2.1, Series X, 2560x1440. ``` 74563 pipelines known, 2059 to warm, named in 0.2 s (0 have no host pipeline here); 0 made before by what is in them (f974170cf98d2af8, on NVIDIA GeForce RTX 5070), 190 the same as another, 0 bad; 1869 to make, 10 processes 1869 made in 103 s (0 have no host pipeline, 0 ended their process); ms each: median 214.8, p90 1177.6, p99 3715.6, most 24023, sum 929 s into the pipeline library: 2495 pipelines (loading and slow ones), 10 threads 2494 of 2495 in the pipeline library in 5 s ``` `0 ended their process` **together with** `1869 made`: the workers answer here. In the report both counters 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`) prints `at <n>` only after it has both files open, so a worker that prints nothing at all left through one of the two early returns: ```rust let Ok(mut file) = std::fs::File::open(dir.join(SHADERS)) else { return }; // (A) let wanted: HashSet<usize> = which.iter().copied().collect(); let mut entries = HashMap::new(); if walk_pipelines(dir, |n, bytes| { ... }).is_err() { return } // (B) for n in which { let Some(entry) = entries.get(n) else { continue }; // (C): silent, but `each` was not called either ``` (A) and (B) use `dir`, which the worker gets as an argument, so they are safe unless the parent passed a folder that does not hold the book. ## The part that does depend on the worker's own configuration `make` in `apps/victory/src/warm.rs` loads the configuration **again, in the child**: ```rust fn make(dir: &Path, these: &str) -> Result<()> { let cfg = victory_core::Config::load()?; victory_hle::known_pipelines::use_translations(cfg.cache_subdir("shaders")?); // where it reads translations ... known::make(dir, &these, |n, came| { ... }); ``` and `Config::load` resolves `victory.toml` **relative 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`: ```rust Command::new(exe) .args(["warm", "--these", &list.join(",")]) .stdin(Stdio::null()) .stdout(Stdio::piped()) .stderr(Stdio::null()) .creation_flags(IDLE_PRIORITY_CLASS) .spawn() ``` so it inherits the parent's directory — which is the *user's* shell directory when `preload` is run by hand, not the title's folder and not wherever the launcher had it. If a `victory.toml` lies in one of those directories and not the other, the two processes get different `cache_dir`s: `dir` (the argument) still points at the right book, but `use_translations` points at a `shaders` folder that has no translations, `parse` fails for every entry, and the stage reports `0 made` with nothing printed as an error. ## What the report's own command line suggests ``` victory.exe preload "<game dir>." --used --jobs 8 ``` The quoted folder ends in `.`. On Windows `open("<dir>.\known-shaders.bin")` works, but the path does not compare equal to `<dir>` as a `PathBuf`, and anything that keys a cache by that string (including a `VICTORY_CACHE_DIR` a launcher built by appending the folder) ends up in two different 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: ```powershell victory.exe preload "<game dir>" --jobs 1 # no trailing dot dir "%LOCALAPPDATA%\victory\cache\pipelines" # known-pipelines.bin, known-shaders.bin non-empty? echo $env:VICTORY_CACHE_DIR Get-Location ``` If `known-*.bin` are there and non-empty, (A) and (B) are out, and the question is only which `shaders` folder the child's `Config::load` picked. Two lines in `make` would make that unmissable — printing `dir` and the `use_translations` path when `warm --these` is given `VICTORY_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.
Author
Owner

@⁠Trillazill on GitHub · 2026-12-01 06:42 UTC · original

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 made 2887 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 (a known-shaders.bin the workers can't open on that machine) more than a general break in .03.

**@⁠Trillazill** on GitHub · 2026-12-01 06:42 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4703#issuecomment-7303177500) 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 made `2887 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 (a `known-shaders.bin` the workers can't open on that machine) more than a general break in .03.
Author
Owner

@⁠ReSerendipity on GitHub · 2026-12-01 10:08 UTC · original

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.bin was not in %LOCALAPPDATA%\victory\cache\pipelines. I had moved it out before starting the preload, expecting the update to rebuild it. known-pipelines.bin was 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 open known-shaders.bin, so it returns before it prints at <n>; and the parent's known::names reads the same file, so it names none of them (named in 0.0 s (4105 have no host pipeline here)) and the stage ends 0 made together with 0 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 with VICTORY_STREAMLINE_DIR set, and the title's own rebuild-cache-1440p.bat.

State of the cache folder during the failing run (mtimes, local time UTC+8):

file during the run
known-pipelines.bin present, 50,522,410 B
known-shaders.bin absent, moved to a backup folder 10:14, put back 10:47
shaders\ absent, moved out with it
host-pipelines.bin present, 295,208,432 B

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.bin and shaders\ 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.

**@⁠ReSerendipity** on GitHub · 2026-12-01 10:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4703#issuecomment-7307725749) 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.bin` was **not** in `%LOCALAPPDATA%\victory\cache\pipelines`. I had moved it out before starting the preload, expecting the update to rebuild it. `known-pipelines.bin` was 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 open `known-shaders.bin`, so it returns before it prints `at <n>`; and the parent's `known::names` reads the same file, so it names none of them (`named in 0.0 s (4105 have no host pipeline here)`) and the stage ends `0 made` together with `0 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 with `VICTORY_STREAMLINE_DIR` set, and the title's own `rebuild-cache-1440p.bat`. **State of the cache folder during the failing run** (mtimes, local time UTC+8): | file | during the run | | --- | --- | | known-pipelines.bin | present, 50,522,410 B | | known-shaders.bin | absent, moved to a backup folder 10:14, put back 10:47 | | shaders\ | absent, moved out with it | | host-pipelines.bin | present, 295,208,432 B | 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.bin` and `shaders\` 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.
Author
Owner

@⁠ReSerendipity on GitHub · 2026-12-01 10:14 UTC · original

With known-shaders.bin and shaders\ back in place, the same v2026.11.30.03 binary on the same machine now goes straight through:

83916 pipelines known, 4149 to warm, named in 2.3 s (0 have no host pipeline here); 4066 made before by what is in them (cf7575e9406fc0b9, on NVIDIA GeForce RTX 5070 Ti Laptop GPU), 0 the same as another, 0 bad; 83 to make, 8 processes
83 made in 14 s (0 have no host pipeline, 0 ended their process); ms each: median 31.7, p90 1033.2, p99 2914.0, most 2914, sum 24 s
into the pipeline library: 6101 pipelines (loading and slow ones), 8 threads
host pipeline library saved bytes=899818550 early=4629 made=1997 loaded=4103
6100 of 6101 in the pipeline library in 79 s

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 a warm --these worker returns without printing at <n> would have saved the round trip.

**@⁠ReSerendipity** on GitHub · 2026-12-01 10:14 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4703#issuecomment-7307896756) With `known-shaders.bin` and `shaders\` back in place, the same v2026.11.30.03 binary on the same machine now goes straight through: ``` 83916 pipelines known, 4149 to warm, named in 2.3 s (0 have no host pipeline here); 4066 made before by what is in them (cf7575e9406fc0b9, on NVIDIA GeForce RTX 5070 Ti Laptop GPU), 0 the same as another, 0 bad; 83 to make, 8 processes 83 made in 14 s (0 have no host pipeline, 0 ended their process); ms each: median 31.7, p90 1033.2, p99 2914.0, most 2914, sum 24 s into the pipeline library: 6101 pipelines (loading and slow ones), 8 threads host pipeline library saved bytes=899818550 early=4629 made=1997 loaded=4103 6100 of 6101 in the pipeline library in 79 s ``` 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 a `warm --these` worker returns without printing `at <n>` would have saved the round trip.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA#4704
No description provided.