Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-93823

Android QPlatformScreen does not expose the refresh rate: Animations (and timers) too fast on higher refresh rate monitors

    XMLWordPrintable

Details

    • Android
    • c1a93b20ff (qt/qtbase/dev) c1a93b20ff (qt/tqtc-qtbase/dev) f4aa017f79 (qt/qtbase/6.3) b975ac1b23 (qt/qtbase/6.2) b975ac1b23 (qt/tqtc-qtbase/6.2) f4aa017f79 (qt/tqtc-qtbase/6.3) aa06466863 (qt/tqtc-qtbase/5.15)

    Description

      As higher refresh rate monitors are becoming more common, this issue occurs more often. Now even popular mobile devices have screens with higher refresh rates such as:

      • Samsung Galaxy S20 with its 120Hz panel
      • Google Pixel 4 with 90Hz panel

      https://www.smartprix.com/bytes/best-90hz-120hz-refresh-rate-display-phones/

      That means animations run too fast fast (2x and 1.5x) than they should because Qt assumes it is always 60Hz.

      This also affects Timer because it is driven by animation system. Additionally there can be variable refresh rates.

      Basically this forces applications to always use basic renderer. If this animation timing cannot be fixed for threaded renderer, perhaps the next best thing would be to automatically use basic renderer if refresh rate !=60.

      Note that animations and timers also run too slow if used on <60Hz monitors

      Attachments

        1. qtbug93823.zip
          2 kB
          Joni Poikelin

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ivan.solovev Ivan Solovev
              poikelin Joni Poikelin
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: