krille-chan / fluffychat

The cutest instant messenger in the [matrix]
https://fluffychat.im/
GNU Affero General Public License v3.0
1.1k stars 192 forks source link

App does not switch to higher refresh rates #1200

Closed Theaninova closed 3 months ago

Theaninova commented 3 months ago

Bug Description

Despite having the device set to use 120Hz, even with the "force peak refresh rate" developer option enabled, the app remains at 60Hz.

Steps to Reproduce

On a device with a high refresh rate display:

  1. Enable high refresh rate in the Android system settings
  2. Enable "Show refresh rate" in the developer options
  3. In the system settings it should now say 90/120/144 depending on your screen
  4. Open FluffyChat
  5. Refresh rate remains at 60Hz the whole time

Expected Behavior

The app should be able to render at 120Hz.

App Version

2b630aca4d1a2d67b3796c50cc8ce0067eb9eef8

Additional Platform Information

Device: Nothing Phone (2a) OS: Android 14

Additional Context

Flutter Docs even mention multiple times that 120Hz is supported out of the box. I also tried building the app with --enable-impeller (the new rendering engine in rc), no change. Nothing immediately jumped out to me what could have caused this.

I built the app from source in debug and profiler mode, and used the F-Droid release, all the same.

Theaninova commented 3 months ago

Seems like this is an issue out of the box with any flutter app, I'll take this somewhere else