How to warm pipelines? #433
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 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
Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T09:18:27Z.
warmonly knows pipelines that an earlier run recorded, and recording is off unless you setVICTORY_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:
then play once until it's in 3D and quit normally. After that
.\target\diag\victory.exe warm --usedshould list pipelines to make. Keep the sameVICTORY_CACHE_DIR(or none) for both the run andwarm.#434 makes
warmprint the hint in your case and hasplay.ps1 -WarmPipelinesturn the book on by itself.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.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:00:08Z.
mainhas moved to a new line of the code and everything is now named Vice-Tay:vice-tay.exe play, andVICE_TAY_*switches instead ofVICTORY_*(details in #468). Could you check whether this still happens on the currentmainand say so here, with a log if you can?Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T20:16:37Z.
Your command was right - the book was just empty.
warmmakes host pipelines from recipes the game wrote down while it ran, so with0 pipelines knownthere was nothing to make.On a current
main(names all changed, #468):VICE_TAY_PIPELINE_BOOK=1is on by default, so the game records every pipeline it makes as it goes..\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.