Repository navigation
Conversation
v0lumehi
marked this pull request as draft
October 25, 2026 20:05
v0lumehi
marked this pull request as ready for review
October 25, 2026 20:05
…step holds 30 fps, and goes back to the cap after 30 s at fair or better (DM_THERMAL_CAP=0 turns it off; the Mac reports no thermal state). At serious iOS caps the GPU clock to about a third: Breath of the Wild's vistas (about 3,000 G-buffer draws) took 17-26 ms a frame and dropped frames in most 300-frame windows; a steady 30 also lets the device cool. Tests: t_nvn 152, t_fstep 51, t_present_snap 13, iOS compile check
… movie or thermal state serious; it said prerendered movie for both), and docs/reference/frame-rate.md has its entry (A thermally serious iPhone holds 30 fps), linked from Breath of the Wild's note; the symptom index is regenerated
Contributor
Author
|
Replaced by #220 (same branch), opened anew so the automatic review runs on it. |
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.
A steady 30 fps instead of dropped frames when the device is hot
When an iPhone reaches thermal state serious, iOS lowers the GPU clock to about a third. On the iPhone 17 Pro Max, the median of the frame's tiny passes goes from 6 µs to 22 µs. Breath of the Wild's vistas have about 3,000 G-buffer draws, and at that clock they take 17–26 ms of GPU time per frame. At a 60 fps target, most 300-frame windows then dropped frames, and the phone kept heating.
With this PR, the host's frame step holds 30 fps while the device is serious or critical (
NSProcessInfo.thermalState≥ 2):thermal state 2: the frame step holds 30 fps until …and… back to the frame rate cap; the frame step's line names the reason (frame step cap 60 → 30 fps … (thermal state serious)).DM_THERMAL_CAP=0turns it off.A steady 30 is also the cheaper state, so the device has a chance to cool down.
Measured (iPhone 17 Pro Max, iOS 27.0.1, BotW docked)
Not observed yet: the way back to 60. In these runs the device didn't return to fair for 30 s.
Checked
dmhostfor three profiles, the iOS compile check and the tool tests all pass.t_nvn(152 checks),t_fstep(51) andt_present_snap(13) pass.docs/reference/frame-rate.md(A thermally serious iPhone holds 30 fps), the symptom index, and the game's note.