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

Low perfomance with SW rendering using QOpenGLWidget showing content on VNCViewer

    XMLWordPrintable

Details

    Description

      Since QGLWidget has become obsolete the user replaced it with QOpenGLWidget in her application. Now she is facing the performance issue using SW rendering. The user is running her application using VNC Viewer. While using QGLWidget the processor time used is more or less in acceptable range. With QOpenGLWidget the processor time used can get higher than 80%.

      The expected behaviour is of course normal processor usage with QOPenGLWidget as it was in QGLWidget (see the glwidget.avi video).

      What actually happens can be seen on qopenglwidget.avi video.

      You can see the difference in performance on videos attached. Note, there is no any visible or invisible elements on the widget. Only Black static screen is displayed.

      This should be reproducible with the application attached.

      Steps to reproduce:
      1. Run the application
      2. Open one of the menu and move mouse pointer to another. Observe, the application is not getting slow.
      3. From file select Create QGLWidget.
      4. Do everything as described in step two. Observe, it still works as it suppose to do
      5. From file select Create QOpenGLWidget.
      6. Do everything as described in step two. Observe the processor usage is getting higher then 80%

      This should be done through the VNC Viewer. Platform: X11 Windows

      Attachments

        1. glwidget.avi.7z
          116 kB
        2. openglwidget_test.tar.gz
          2 kB
        3. qopenglwidget.avi.7z
          156 kB
        4. qtdiag_env_vncviewer_ver.txt
          8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            kileppal Kimmo Leppälä
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes