Repository navigation
fix: translate shaders then warm only used pipelines on the Vice-Tay base - #575
Draft
LooperSalty wants to merge 2 commits into
Draft
LooperSalty wants to merge 2 commits into
LooperSalty wants to merge 2 commits into
Conversation
…base On the Vice-Tay base, `victory warm` no longer translates shaders: it makes the host pipelines of every pipeline ever created (about 80,000, roughly 6 a second, several hours). The launcher's preloading step and `anyxboxx run --warm/--precompile` ran exactly that, blocking the player for hours on the first launch of each new version. Both now run `victory shaders --if-needed [--jobs N] <game folder>` (about 30 minutes once per translator version, then seconds), then `victory warm --used [--jobs N]` (only the pipelines earlier runs drew with). The launcher labels are "Translating shaders" and "Preparing the pipelines you used"; the marker is written after the last step, so both are skipped while nothing changed. `anyxboxx run --warm-all` keeps the old complete warm with a several-hours warning. Docs (EN/FR) updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 28, 2026
Contributor
|
The vendored pipeline-library code in your exact #575 head still makes unrelated pipeline names share one of 64 load locks. I checked both This gives a separate test for the warm-used path once translation completes. Hold one name's load and check whether the other name can enter before releasing it. Two loads of the identical name should still serialize. victory-fork #1442 has a candidate fix and driver-side timing. The source comparison does not explain the earlier |
The Python run tests still expected the single full `victory warm`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Since #563,
victory warmmakes the host pipelines of every pipeline ever created (about 80,000, roughly 6 a second: hours), and the launcher's "Preloading shaders" step andanyxboxx run --warm/--precompileran it, so a first launch after an update blocked for hours.victory shaders --if-needed <game folder>, about 30 minutes once per translator version) then "Preparing the pipelines you used" (victory warm --used). The warm marker still skips both when nothing changed.anyxboxx run --warm/--precompile: the same two steps;--warm-allkeeps the old full warm with a "several hours" warning.docs/launcher.md,docs/fr/lanceur.md.Draft:
victory shadersfroze twice tonight on the full game (after 45,000 then 25,000 shaders: no progress, no CPU, no error). Until that is fixed (being investigated), this step could hang instead of taking hours.Test plan
cargo test --release -p anyxboxx-launcher(234 passed) and-p anyxboxx(31 passed)victory shadersfreeze, then a first launch from the launcher end to end🤖 Generated with Claude Code