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

QNX on i.MX8QM - Unthrottled GPU for benchmarking

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • 5.12.4
    • GUI: OpenGL
    • None
    • QNX

      I’ve been using the following pattern in order to unthrottle the GPU for raw performance measurements:

       

       

      QSurfaceFormat format = QSurfaceFormat::defaultFormat();
      
      format.setSwapInterval(0);
      
      QSurfaceFormat::setDefaultFormat(format);
      

       

       

      However, it is not working with QNX 7.0.4 on the i.MX8QM. It seems that this is due to the code at:

      https://code.woboq.org/qt5/qtbase/src/plugins/platforms/qnx/qqnxwindow.cpp.html#760

      which hard codes SCREEN_PROPERTY_SWAP_INTERVAL to 1. It would be nice to have this addressed for benchmarking.

       

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

            jmcdonnell James McDonnell
            patrickshelly Patrick Shelly (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes