Launcher: pipelines are made ahead of every start, with the start's switches (victory warm --used) #78
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!78
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/78/head"
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?
@1mosce on GitHub · 2026-11-27 17:08 UTC · original
1mosce:launcher-warm-with-switches→main· +37 −1 · 2 files · 1 commits · closed without mergingWhat
scripts/play-foxhound.ps1now runsvictory warm --usedbefore every start, after it has set the start's switches.-NoWarmleaves it out,-WarmOnlydoes only that and does not start the title.docs/README-foxhound.mdsays what to set whenvictory warmis run by hand.Why
A translation, and so the pipeline the driver keeps, depends on some switches.
VICTORY_EARLY_DEPTH=1, which the launcher sets, is part of the shader cache's key (shader_cache.rs,build). The README's barevictory warmtherefore makes another form of every pipeline than the one a start of the launcher draws with.Measured
RTX 4070 Laptop (8 GiB), Ryzen 9 8945HS, 32 GB, Series S profile, the 3,492 pipelines earlier runs drew with:
victory warm --used(VICTORY_HOST_WAVE=32only)5d2d9f9d446a6054dba8223fadb5f411400 of them made again in fresh processes: median 15.6 ms each where the first pass took 148.2. The slow ones are not served from the driver's cache (p90 1,423 ms against 2,078, p99 5,467 against 5,574).
In play the gain is small so far, and I do not want to oversell it: in the one run after the warm-up the queue of pipelines being made was empty 5.5 minutes after the start, where the run before had 130 left after 6 minutes. The first half minute of the world looked the same.
Notes
VICTORY_DLSS,VICTORY_FRAMEGEN,VICTORY_FRAMEGEN_Xare unset for it and set again): nothing is presented there.main(d12eb1b)cargo clippy --workspace --all-targets -- -D warningsstops atcrates/victory-formats/src/texture.rs:1346(clippy::precedence), and two tests fail on this machine with and without this change:indirect::tests::host_list_budget_starts_empty_at_each_submissionandindirect::tests::warp_batch_charges_every_execution. This change touches a script and a document only.@1mosce on GitHub · 2026-11-27 17:10 UTC · original
Closing this one.
29d8dbflanded while I was preparing it and covers the same ground more completely:victory preloadand the launcher's-Preloadrun with the start's switches, which was the point here, and they also translate every shader and fill the pipeline library.For the record, the measurement that led to it still holds on the commit before: a bare
victory warm --usedtranslated all 3,397 shaders a second time and compiled 3,492 pipelines in a form the launcher does not draw with, becauseVICTORY_EARLY_DEPTH=1is part of the shader cache's key.One thing is left over: the Warming up section of
docs/README-foxhound.mdstill shows the barevictory warm. It may be worth pointing it at-Preload, or naming the switch to set.Pull request closed