How to warm pipelines? #433

Open
opened 2026-11-29 08:32:35 +00:00 by SwearCate · 4 comments
SwearCate commented 2026-11-29 08:32:35 +00:00 (Migrated from github.com)
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by SwearCate on 2026-11-29T08:32:35Z.


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

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:6676649358 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/433). Originally posted by [SwearCate](https://github.com/SwearCate) on 2026-11-29T08:32:35Z. --- 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
Kal0s-design commented 2026-11-29 09:18:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T09:18:27Z.


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.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7253675514 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/433#issuecomment-7253675514). Originally posted by [Kal0s-design](https://github.com/Kal0s-design) on 2026-11-29T09:18:27Z. --- `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.
TaynanGT commented 2026-11-29 11:35:26 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:35:26Z.


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.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7255215064 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/433#issuecomment-7255215064). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-29T11:35:26Z. --- 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 commented 2026-11-30 17:00:08 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:00:08Z.


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?

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7285563605 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/433#issuecomment-7285563605). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T17:00:08Z. --- `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 commented 2026-11-30 20:16:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T20:16:37Z.


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.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7290666972 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/433#issuecomment-7290666972). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T20:16:37Z. --- 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.
Sign in to join this conversation.
No labels
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.

Reference
TaynanGT/Vice-Tay#433
No description provided.