Skip to content

fix: translate shaders then warm only used pipelines on the Vice-Tay base - #575

Draft
LooperSalty wants to merge 2 commits into
mainfrom
fix/launcher-warm-vicetay
Draft

LooperSalty wants to merge 2 commits into
mainfrom
fix/launcher-warm-vicetay

Conversation

@LooperSalty

Copy link
Copy Markdown
Owner

Summary

Since #563, victory warm makes the host pipelines of every pipeline ever created (about 80,000, roughly 6 a second: hours), and the launcher's "Preloading shaders" step and anyxboxx run --warm/--precompile ran it, so a first launch after an update blocked for hours.

  • Launcher: the step becomes "Translating shaders" (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-all keeps the old full warm with a "several hours" warning.
  • Docs: docs/launcher.md, docs/fr/lanceur.md.

Draft: victory shaders froze 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)
  • CI
  • Fix the victory shaders freeze, then a first launch from the launcher end to end

🤖 Generated with Claude Code

…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>

Copy link
Copy Markdown
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 132da615 and c1ba6458 through PortBridge. The source file has the same SHA-256, and two distinct names from victory-fork's synthetic regression hash to slot 0 in 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 victory shaders stall.

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

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants