Performance recipe: M5 Max measurements and the black-opening finding #14
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!14
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-14"
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?
@NotAOwner on GitHub · 2026-11-27 11:19 UTC · original
NotAOwner:docs/m5-max-perf-recipe→main· +15 −0 · 1 files · 1 commits · merged 2026-11-27 12:32 UTCThis adds a measured section for a 128 GB M5 Max to the November 27 performance recipe in
runtime-preview/BUILD.md.Results (release builds of the recipe; 7-minute runs; warm caches; median of the 5-second frame reports with at least 1,000 draws a frame):
play-main-mac.sh--console series-s(the recipe)VICTORY_AMBIENT=1.0--console series-x--console series-x,VICTORY_OUTPUT=1920x1080VICTORY_AMBIENT=1.0(a fixed indirect-light floor in place ofestimate) lit faces and rooms that otherwise showed as silhouettes indoors and in backlit shots. It did not cost frames.The black opening scene. On every launch the opening scene is black. A diagnostics run with
VICTORY_PIPELINE_LOGshows that pipeline creation is not the cause:So the drops come from another path in
draw.rs, for example held-back BVH builder dispatches or a failedbind. The per-reason drop report (take_drops) printed nothing in this run, so I could not narrow it further.Setup: macOS 27.2.1 (26B131), CrossOver Wine 26.3.0 built with the recipe's two Wine patches (identical to
ntdll-skip-host-mappings.patchandwineserver-view-tree.patch), D3DMetal 4.0b3 from CrossOver Preview, LLVM-MinGW 20261117, Rust 1.98.1. The pinned source was prepared with./build.sh --perf --prepare. Every run was offline, with the account picker confirmed by scripted Enter presses.🤖 Generated with Claude Code
@NotAOwner on GitHub · 2026-11-27 13:36 UTC · original
Follow-up on the black opening scene, after narrowing it down on the same M5 Max:
2f2985f),./build.sh --perf --prepare, the recipe's own Wine built withtools/macos/build-crossover-wine.sh, D3DMetal 4.0b3, a new prefix, andplay-main-mac.sh … --console series-s. The opening is still black.VICTORY_PATCH_MASKED=all VICTORY_FAULT_TRACKING=1is also black.VICTORY_HALVES_LOCAL=1/VICTORY_HALVES_SHARED_LDS=1hold the BVH builder back for the whole run ("BVH builder held back: its 64-lane programs would run as 32-lane halves on their own"). Its dispatches then drop silently: no reason reaches the per-reason drop report, because the pipelines exist. With both set to 0 the log saysBVH builder runs … made=53 refused=0, and the opening's drops fall from 1,100–1,800 to about 100 a frame. The scene stays black, so this is a separate issue.8616bd6is an ancestor ofpragyaangaur/VIctory-macOSmain. Upstream7772921, 1,304 commits later, renders the opening car scene with the same Wine, D3DMetal, settings and game files. So moving the recipe's pin forward should fix it. I did not bisect the exact commit.🤖 Generated with Claude Code