How to warm pipelines? #433

Open
opened 2026-11-29 08:33:38 +00:00 by github-bot · 4 comments
Owner

@⁠SwearCate on GitHub · 2026-11-29 08:32 UTC · original

Doing everything that quick start says, after compiling shaders, I am launching and waiting for 3D, then:
.\target\diag\victory.exe warm --used
And it returns me:
host view heaps hold 1000000 views; view indices are clamped to the null slot at the end from the first shader on views=1000000 raw_twins=false
0 pipelines known, 0 made before (aa6407cb5a15aa69), 0 bad, 0 skipped by VICTORY_SKIP_PIPELINES. 0 to make, 10 processes
0 made in 0 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

**@⁠SwearCate** on GitHub · 2026-11-29 08:32 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/433) Doing everything that quick start says, after compiling shaders, I am launching and waiting for 3D, then: .\target\diag\victory.exe warm --used And it returns me: host view heaps hold 1000000 views; view indices are clamped to the null slot at the end from the first shader on views=1000000 raw_twins=false 0 pipelines known, 0 made before (aa6407cb5a15aa69), 0 bad, 0 skipped by VICTORY_SKIP_PIPELINES. 0 to make, 10 processes 0 made in 0 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
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 08:33:38 +00:00
Author
Owner

@⁠Kal0s-design on GitHub · 2026-11-29 09:18 UTC · original

warm only knows pipelines that an earlier run recorded, and recording is off unless you set VICTORY_PIPELINE_BOOK=1. The quick start doesn't say so and the hint only shows when the pipelines folder is missing, which it isn't after any run.

So in PowerShell, before launching:

$env:VICTORY_PIPELINE_BOOK = '1'

then play once until it's in 3D and quit normally. After that .\target\diag\victory.exe warm --used should list pipelines to make. Keep the same VICTORY_CACHE_DIR (or none) for both the run and warm.

#434 makes warm print the hint in your case and has play.ps1 -WarmPipelines turn the book on by itself.

**@⁠Kal0s-design** on GitHub · 2026-11-29 09:18 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/433#issuecomment-7253675514) `warm` only knows pipelines that an earlier run recorded, and recording is off unless you set `VICTORY_PIPELINE_BOOK=1`. The quick start doesn't say so and the hint only shows when the pipelines folder is missing, which it isn't after any run. So in PowerShell, before launching: ```powershell $env:VICTORY_PIPELINE_BOOK = '1' ``` then play once until it's in 3D and quit normally. After that `.\target\diag\victory.exe warm --used` should list pipelines to make. Keep the same `VICTORY_CACHE_DIR` (or none) for both the run and `warm`. #434 makes `warm` print the hint in your case and has `play.ps1 -WarmPipelines` turn the book on by itself.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-29 11:35 UTC · original

Thanks for clarifying the workflow. For anyone affected, recording and warming must use the same cache directory. #434 addresses the missing hint and Windows launcher setup; until that lands, the explicit VICTORY_PIPELINE_BOOK setting is the workaround.

**@⁠TaynanGT** on GitHub · 2026-11-29 11:35 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/433#issuecomment-7255215064) Thanks for clarifying the workflow. For anyone affected, recording and warming must use the same cache directory. #434 addresses the missing hint and Windows launcher setup; until that lands, the explicit VICTORY_PIPELINE_BOOK setting is the workaround.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-30 17:00 UTC · original

main has moved to a new line of the code and everything is now named Vice-Tay: vice-tay.exe play, and VICE_TAY_* switches instead of VICTORY_* (details in #468). Could you check whether this still happens on the current main and say so here, with a log if you can?

**@⁠TaynanGT** on GitHub · 2026-11-30 17:00 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/433#issuecomment-7285563605) `main` has moved to a new line of the code and everything is now named Vice-Tay: `vice-tay.exe play`, and `VICE_TAY_*` switches instead of `VICTORY_*` (details in #468). Could you check whether this still happens on the current `main` and say so here, with a log if you can?
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-30 20:16 UTC · original

Your command was right - the book was just empty. warm makes host pipelines from recipes the game wrote down while it ran, so with 0 pipelines known there was nothing to make.

On a current main (names all changed, #468):

  1. Play for a bit. VICE_TAY_PIPELINE_BOOK=1 is on by default, so the game records every pipeline it makes as it goes.
  2. Then .\vice-tay.exe warm --used - that makes the ones earlier runs actually used.

.\vice-tay.exe preload <game folder> does both halves in one go: translates the shaders and warms the pipelines. F1 > PRELOAD SHADERS is the same thing from inside the game - it restarts and does it first, and you can close it and it picks up where it stopped. Worth doing again after a new graphics driver, since the driver's compiled pipelines don't carry over.

One thing from your output worth noting: 0 made before (aa6407cb5a15aa69) is the fingerprint of your translator and driver. Change either and that's a different fingerprint, so warming starts fresh.

**@⁠TaynanGT** on GitHub · 2026-11-30 20:16 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/433#issuecomment-7290666972) Your command was right - the book was just empty. `warm` makes host pipelines from recipes the game wrote down while it ran, so with `0 pipelines known` there was nothing to make. On a current `main` (names all changed, #468): 1. Play for a bit. `VICE_TAY_PIPELINE_BOOK=1` is on by default, so the game records every pipeline it makes as it goes. 2. Then `.\vice-tay.exe warm --used` - that makes the ones earlier runs actually used. `.\vice-tay.exe preload <game folder>` does both halves in one go: translates the shaders and warms the pipelines. **F1 > PRELOAD SHADERS** is the same thing from inside the game - it restarts and does it first, and you can close it and it picks up where it stopped. Worth doing again after a new graphics driver, since the driver's compiled pipelines don't carry over. One thing from your output worth noting: `0 made before (aa6407cb5a15aa69)` is the fingerprint of your translator and driver. Change either and that's a different fingerprint, so warming starts fresh.
This discussion has been locked. Commenting is limited to contributors.
No description provided.