Allow above-60Hz frame rates on iPhone (ProMotion) - #11
Closed
yorgunkral31 wants to merge 1 commit into
Closed
yorgunkral31 wants to merge 1 commit into
yorgunkral31 wants to merge 1 commit into
Conversation
iOS clamps third-party Metal apps to 60 Hz on iPhones unless CADisableMinimumFrameDurationOnPhone is declared, so the in-game FPS setting could never exceed 60 on ProMotion displays. Pairs with the plume-side CADisplayLink frame rate range request; together they run the game above 60 FPS on an iPhone 16 Pro.
This branch was successfully deployed
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.
Small companion to Markos-Th09/plume#1: iPhones clamp third-party Metal apps to 60 Hz unless
CADisableMinimumFrameDurationOnPhoneis declared, so the in-game FPS setting silently tops out at 60 on ProMotion displays. With this key plus the plume-sideCADisplayLinkrange request, the game runs above 60 FPS on my iPhone 16 Pro (and interruptions no longer drop the cap to 2/3 refresh). Feel free to take both in whatever shape you like — and thanks again for the port! 🙏