Skip to content

game/ocarina: frame rate and memory on a base M4 Mac mini at full resolution - #2783

Closed
Ayymeric wants to merge 1 commit into
seedds:mainfrom
Ayymeric:oot-base-m4-note
Closed

Ayymeric wants to merge 1 commit into
seedds:mainfrom
Ayymeric:oot-base-m4-note

Conversation

@Ayymeric

Copy link
Copy Markdown
Contributor

Requested by Aymeric · project thread

What and why

Ocarina of Time's note had frame rates only for faster Macs (M4 Pro, M5 Pro, M6). This adds what a base M4 Mac mini (10-core GPU, 16 GB) gets at full resolution, in the Frame rate and Memory sections:

Docs only.

Checked

Docs

  • The finding is in its game note
  • No game files, keys or data extracted from a game in the change or the attachments

🤖 Generated with Claude Code

…ll resolution

Kokiri Forest and Hyrule Field about 30 fps with drops, the Deku Tree a steady 30,
Hyrule Castle Town 13-15 fps with GPU p50 35-46 ms and a 12.3-13.5 GB footprint on
16 GB; per-switch GPU times on kokiri-deck (PRs seedds#2308, seedds#2573, MetalFX upscaler,
encode thread).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added docs Documentation game: 0400486024DEC000 A game labels Nov 15, 2026
@gnavarro24

gnavarro24 commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Another data point for the same hardware, from a ~117-minute play session (Kokiri Forest → Hyrule Field → Castle Town). (Edited: my first pass only sampled a handful of points in the log and happened to catch the good ones — the full session tells a different, still useful story.)

Settings: DM_OPMODE=1 (docked), DM_UPSCALER=metalfx, DM_PRESENT_UPSCALE=metalfx, DM_GFX_SCALE=1 (0.8 tier), DM_GUEST_FILE=1, DM_FPS_HOLD=on, DM_FPS_TARGET=60, in-game dynamic resolution off. Device: Mac mini M4, 10-core GPU, 16 GB, macOS.

  • Across all 898 300-frame timing windows: 402 held at p50 16.6-16.8 ms (60 fps), 493 held at p50 33.3 ms (a clean 30 fps, DM_FPS_HOLD locking to the half-rate rather than an uneven stutter). So roughly 55% of the session at 30 fps, 45% at 60 — not the steady 60 I first reported. headroom to the system memory limit was none in all 386 [nvn-mtl] memory samples, same as the note's own finding.
  • phys_footprint ([mem] guest file lines) ranged about 7.5-9.4 GB with DM_GUEST_FILE active (guest heap moved to a sparse disk-backed file), under the 12.3-13.5 GB with swapping this note reports — needs >10 GB free disk or it silently falls back to anonymous memory with one easy-to-miss [RED] line (guest memory: anonymous (DM_GUEST_FILE: ... under 10.0)).
  • 17 frames over the session spiked to 1-2.6 s. All 17 line up with a [longframe] entry reporting new-pipeline compilation at a matching cost (new pipelines N ... M ms in all, M close to the frame's own time) — first-time shader pipeline builds blocking the submit thread, not memory or dynamic resolution. Should recede as pso_archive (11 GB locally) catches up with areas visited for the first time.

So this GPU does get real 60 fps stretches with these settings, but Castle Town and similar heavier areas still drop to a clean 30 roughly half the time — better than the 13-15 fps this note measured, but not a flat 60. Sharing the corrected numbers since the first version of this comment overstated it.

@gnavarro24

Copy link
Copy Markdown
Contributor

Hi! This branch is based on a main from before commit c70c242 ("ci: repair host and tool test failures on main"). Most of the failing checks here (Host unit tests, Tool tests, clang-tidy, Build check) come from that older base, not from this change.

To pick up the fix, merge the current main into this branch and push:

git fetch origin
git merge origin/main
git push

If the merge has conflicts, ask here if you want help with them.

seedds added a commit that referenced this pull request Nov 22, 2026
Keep the earlier Mario Kart World 1.8.0 Mac run and rendering checks
beside the newer validation. Record Ocarina of Time's full-resolution
base M4 Mac mini results and the separate lower-scale follow-up.

Refs #2064, #2783

Co-authored-by: Felipe Parra <9319430+fparrav@users.noreply.github.com>
Co-authored-by: Ayymeric <51020273+Ayymeric@users.noreply.github.com>
Co-authored-by: gnavarro24 <54283633+gnavarro24@users.noreply.github.com>
@seedds

seedds commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Thanks, @Ayymeric, for the full-resolution measurements, and @gnavarro24 for the follow-up. The Ocarina of Time note now records the two Mac mini runs separately with their render and memory settings. It is on main in 692c8047, and the documentation tests passed.

@seedds seedds closed this Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation game: 0400486024DEC000 A game

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants