Runtime preview: add a performance recipe (about 4 fps in the world on an M5 Pro) #11
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/paveledits--ScarlettMac!11
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-11"
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?
@jgrizon on GitHub · 2026-11-27 08:33 UTC · original
jgrizon:perf/runtime-preview-perf-recipe→main· +9120 −6 · 7 files · 1 commits · merged 2026-11-27 09:05 UTCChanges
Adds a third runtime-preview recipe,
./build.sh --perf. In the Series S intro on a 24 GB M5 Pro it runs the game world at about 4 fps, up from about 1 fps.The patch changes four things:
VICTORY_TEXTURE_DROP_MIPS=0restores full detail.The work builds on halfwave50's VIctory-macOS fork, which is GPL-3.0-or-later. So the recipe pins that fork instead of
pragyaangaur/VIctory-macOS. Rebasing onto the latter would have meant a 71k-line patch. The default and checkpoint recipes are unchanged.Verification
Hardware and software: Apple M5 Pro, 24 GB, macOS 27.3, CrossOver 26.3.0.39832, D3DMetal 3.0. Wine was CrossOver 26.3's Wine 11.0, rebuilt with the two patches in the prepared source's
tools/macos/build-crossover-wine.sh.zsh -n scripts/build.sh && zsh -n scripts/run.sh && sh -n runtime-preview/build.shpassed.LLVM_MINGW_ROOT=… SCARLETTMAC_BUILD_PROFILE=release runtime-preview/build.sh --perf NEW_DIRbuiltvictory.exefrom a fresh directory (exit 0).586 passed; 0 failed; 21 ignored.tools/macos/play-main-mac.shsettings. "World frames" are frames drawn in the first 120 s after the world appears:There were no crashes in the last 13 runs with these settings, including one 10-minute run.
Not verified or still open:
runtime-preview/run.shwas not tried with this recipe. The numbers come from the source's ownplay-main-mac.sh.VICTORY_COPY_FASTandVICTORY_ALIAS_BUFFERSare in the patch but off by default, because both still crash.@copilot-pull-request-reviewer[bot] on GitHub · 2026-11-27 08:33 UTC · original · reviewed
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.