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

[Reg: 5.5->5.6] Top level OpenGL widgets consumes too much CPU and GPU power

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.6.0 Beta, 5.6.0 RC
    • None
    • Linux/X11
      i7 3770k OC 4.1GHz (Performance CPU governor)
      GF GTX 960, nVidia proprietary 352.63 (Prefer Maximum Performance)
    • 465e93aa95d99f799300867b07f81bdd5162c9f1, 0bc4288689882e731fc1811c4de11fbc6d0c28ff

    Description

      https://codereview.qt-project.org/#/c/139775/ provides performance regression for TLW OpenGL widgets.
      https://codereview.qt-project.org/#/c/145172/ provides another performance regression for OpenGL widgets.

      I present performance tests done with attached software (TLW QOpenGLWidget, 1920x1034, 60FPS, look into Environment section):

      The same performance issues are on native OpenGL widgets which works since https://codereview.qt-project.org/#/c/139775/. I added some comments to this patch why it is so slow - unnecessary calls to some heavy-cost functions.

      The test software can also run parented QOpenGLWidget to QWidget and the it works properly if it is not a native widget.

      Please notice that test software displays only simple triangle at 60FPS on quite fast PC!

      Attachments

        1. OpenGLWidgetPerformance.tar.gz
          0.9 kB
          Błażej Szczygieł
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            zaps166 Błażej Szczygieł
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes