Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Observed FPS is lower than the one provided by the monitor

Observed FPS is lower than the one provided by the monitor

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 2 Posters 248 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tz-lom
    wrote on last edited by
    #1

    I have a screen running at 390 Hz (according to the screen settings).
    However, if I count FPS with QQuickWindow::beforeRendering hook I have only 180 FPS.
    The most peculiar thing is that I can have more frames if I start dragging the window, however as soon as I stop this FPS drops down to 180.
    This is not mater of insufficient CPU or GPU power.

    How can I get more FPS in QML?

    sierdzioS 1 Reply Last reply
    0
    • T tz-lom

      I have a screen running at 390 Hz (according to the screen settings).
      However, if I count FPS with QQuickWindow::beforeRendering hook I have only 180 FPS.
      The most peculiar thing is that I can have more frames if I start dragging the window, however as soon as I stop this FPS drops down to 180.
      This is not mater of insufficient CPU or GPU power.

      How can I get more FPS in QML?

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @tz-lom said in Observed FPS is lower than the one provided by the monitor:

      How can I get more FPS in QML?

      QML is hardcoded to run at 60 fps and there are no APIs available to change that.

      (Z(:^

      T 1 Reply Last reply
      0
      • sierdzioS sierdzio

        @tz-lom said in Observed FPS is lower than the one provided by the monitor:

        How can I get more FPS in QML?

        QML is hardcoded to run at 60 fps and there are no APIs available to change that.

        T Offline
        T Offline
        tz-lom
        wrote on last edited by
        #3

        @sierdzio thanks for the answer, however that is not what I measured, till 180 Hz QML actually follow the system FPS, but after - start to deviate. I tested with Qt6 with dx11 RHI.
        How that clipping is performed? I actually don't need 390 individual frames, but I need very predictable timing for those frames, like trigger them at certain moment of time.

        1 Reply Last reply
        1
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Hm, maybe it got improved in the meantime, good to know! In the past it was locked to 60 Hz.

          How that clipping is performed? I actually don't need 390 individual frames, but I need very predictable timing for those frames, like trigger them at certain moment of time.

          This is something too deep within the QML engine / SceneGraph for me to know, sorry :-( Consider asking on Qt Interest mailing list: https://lists.qt-project.org

          (Z(:^

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved