Skip to content
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

Force High Refresh Rate on some Android devices #607

Merged
merged 2 commits into from Aug 2, 2023

Conversation

karniv00l
Copy link
Contributor

Using an app in 60FPS on a 120+Hz screen is unbearable

One Plus is a usual suspect here, tested, works good

More info: https://pub.dev/packages/flutter_displaymode

@KRTirtho
Copy link
Owner

KRTirtho commented Aug 2, 2023

I've 120hz display too and I hate myself when I use my own app 🤣
60FPS on a 120hz capable display is a crime. I didn't know we had a plugin for this 😄
Let me quickly check this

@KRTirtho KRTirtho self-requested a review August 2, 2023 04:26
lib/main.dart Outdated Show resolved Hide resolved
@KRTirtho
Copy link
Owner

KRTirtho commented Aug 2, 2023

It's so smooth & buttery. My entire life makes sense now
image

@KRTirtho
Copy link
Owner

KRTirtho commented Aug 2, 2023

Thanks for saving lives here man ❤️ 🚀

@KRTirtho KRTirtho merged commit 6dff099 into KRTirtho:dev Aug 2, 2023
@KRTirtho
Copy link
Owner

KRTirtho commented Aug 2, 2023

It's crazy how almost all apps are locked to 60FPS. Even Spotify is locked to 90FPS (still better than 60) 😄

@karniv00l karniv00l deleted the high-refresh-rate branch August 2, 2023 06:00
@karniv00l
Copy link
Contributor Author

It's crazy how almost all apps are locked to 60FPS. Even Spotify is locked to 90FPS (still better than 60) 😄

How come? I see Spotify is at 120 on One Plus 9
But almost all the Flutter apps I've tried are locked to 60 on Android

@KRTirtho
Copy link
Owner

KRTirtho commented Aug 2, 2023

I don't know why but Spotify is always locked to 90FPS in my device 😅

@KRTirtho
Copy link
Owner

KRTirtho commented Aug 2, 2023

Although it's 120hz & animations are smooth, the gestures and interactions sometimes lag behind the animation. Not sure if it's only on Spotube

meenbeese pushed a commit to meenbeese/spotube that referenced this pull request Sep 20, 2023
* Force High Refresh Rate on some Android devices

* fix: check android platform for high refresh-rate

---------

Co-authored-by: Kingkor Roy Tirtho <krtirtho@gmail.com>
meenbeese pushed a commit to meenbeese/spotube that referenced this pull request Sep 20, 2023
* Force High Refresh Rate on some Android devices

* fix: check android platform for high refresh-rate

---------

Co-authored-by: Kingkor Roy Tirtho <krtirtho@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants