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

QNX on i.MX8QM - Unthrottled GPU for benchmarking

    XMLWordPrintable

Details

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

    Description

      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.

       

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes