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

[OS X] Interacting with the GUI causes a drop in FPS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.4.0, 5.4.1, 5.5.0
    • GUI: Painting
    • OSX Yosemite 10.10.1
    • macOS

    Description

      Interaction with GUI in OSX slows FPS. See the attached example.
      It runs on my Mac at 30 fps (no user interaction), but when the user is dragging the slider with mouse, the fps drops to ~15 fps!

      Comparision of Qt versions (QWidget used instead of QGLWidget):

      Qt 4.8.7 (snapshot)

      • no interaction: 58 fps
      • mouse interaction with slider: 58 fps

      Qt 5.4.1

      • 30 fps (this is also strange, why is this two times slower?)
      • 15 fps

      This issue is Mac specific, because on Windows it runs at full speed.

      Attachments

        1. cgimage.trace.zip
          722 kB
          Ulf Hermann
        2. kin2.zip
          26 kB
          Timur Pocheptsov
        3. nongl.tar.gz
          1 kB
          Timur Pocheptsov
        4. OpenglTestReduced.zip
          1 kB
          Morten Sørvig
        5. qimage.trace.zip
          906 kB
          Ulf Hermann
        6. Test.zip
          3 kB
          Martin Dusek
        7. testGL.trace.zip
          697 kB
          Martin Dusek
        8. TestGL.zip
          3 kB
          Martin Dusek
        9. trace.zip
          1.43 MB
          Martin Dusek

        Issue Links

          Activity

            People

              tpochep Timur Pocheptsov
              rivierakid Martin Dusek
              Votes:
              6 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: