iPhone ProMotion 120hz is not smooth #1275
greenimpala
started this conversation in
General
Replies: 2 comments 2 replies
-
This looks quite interesting. Could you share a code small code snippet for
us to test?
…On Thu, Jan 12, 2023 at 2:26 PM Stephen Bradshaw ***@***.***> wrote:
We have noticed that on iPhone 120hz models, animations driven by
useLoop() or canvas continuous mode are janky.
Below is the *same code* running on a real *iPhone 14 Pro* (left) and an *iPhone
XS Max* (right).
I wouldn't nescessarily expect 120fps but I would expect a smooth 60fps.
Could there be a bug in these bindings? Android >60hz phones run smooth and
do not exhibit this issue.
https://user-images.githubusercontent.com/1367878/212078516-f62c665b-d15d-4680-8035-a30c566183dc.mov
—
Reply to this email directly, view it on GitHub
<#1275>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKXVW7QPJPALVYIWFXBDLWSABAFANCNFSM6AAAAAATZICXQI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks for the detailed reproduction! I tried running this with the following key (to enable 120Mhz) in my Info.plist file:
I also tried to force the redraw link in RN Skia to render with full throttle by changing the setup code for the CADisplayLink on iOS in the file DisplayLink.mm#13:
I could not see any misbehaving or janky animations in the example below when run on my iPhone 14 Pro Max. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have noticed that on iPhone 120hz models, animations driven by
useLoop()
or canvas continuous mode are janky.Below is the same code running on a real iPhone 14 Pro (left) and an iPhone XS Max (right).
I wouldn't nescessarily expect 120fps but I would expect a smooth 60fps. Could there be a bug in these bindings? Android >60hz phones run smooth and do not exhibit this issue.
jank.mov
Beta Was this translation helpful? Give feedback.
All reactions