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

qt.scenegraph.time.renderloop log shows minus value of swap time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Component/s: Quick: SceneGraph
    • Labels:
      None
    • Environment:
      Confirmed attached demo on Windows and Ubuntu
    • Platform/s:
      Linux/Wayland, Linux/Yocto, Windows
    • Commits:
      0e8dfe18767c16f7d84a4ce1a887f6e37a13ed33 (qt/qtdeclarative/dev)

      Description

      when

      QT_LOGGING_RULES=qt.scenegraph.time.renderloop=true
      

      is enabled and

      QSG_RENDER_LOOP=threaded
      

      with multiple window surfaces case,
      sometimes log may give the minus value of swap time like:

      qt.scenegraph.time.renderloop: Frame rendered with 'threaded' renderloop in 0ms, sync=0, render=2, swap=-2 - (on render thread)


      and if

      QSG_RENDER_LOOP=basic
      

      always shows zero swap time.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              jiu shanheng jiu
              Reporter:
              jiu shanheng jiu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes