New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seeing 60 FPS while app is running on 144Hz #8
Comments
Did you try setting |
Yes. I set |
However, while debugging, I wasn't able to pinpoint the problem. |
I just disconnected my external 144Hz display and used the Build-In ProMotion (variable refresh rate up to 120 Hz) display. While I cant force the display to run at 120 hz constantly, I was able to force 60 and 48 Hz. In both cases, the counter just showed stable 60 Hz. It might be that Flutter does not detect that my system is 120/144 Hz capable and just defaults to 60 Hz. The profiler might be able to detect the system's capability, but i'm assuming that frame rate is just calculated based on frame time and then capped to the max capable framerate of the system. Any thoughts/experience with this? |
Actually, I think this is not a problem of this package. I see 144 Hz in Chrome, but only 60 on the MacOS desktop app. Therefore, I think the issue is related to flutter/flutter#49757. |
Thanks! Ya this lib just counts milliseconds between ticks, it is not much smarter than that and knows nothing about device capabilities. |
I'm running a MacOS app on a 144Hz screen in Profile Mode. While my profiler shows 144 FPS average, I only see 60 FPS within
StatsFl
.Once the framerate drops to below 60 (due to heavy and unoptimised animations), i'm seeing values similar to the ones provided by the profiler.
The text was updated successfully, but these errors were encountered: