Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. OpenGL rendering very slow on ATI
Forum Update on Monday, May 27th 2025

OpenGL rendering very slow on ATI

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 3 Posters 1.3k 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.
  • Roy44R Offline
    Roy44R Offline
    Roy44
    wrote on last edited by
    #1

    Hi, I develop an graphic application, I use a opengl engine (modified for rendering on QOpenGLWidget).
    The cursor is rendered in opengl via engine commands.
    The problem is:
    the cursor rendering is incredibly slow on ATI card (no problem on Nvidia card even older).

    Does QOpenglWidget need a specific parameter for ATI ?

    raven-worxR 1 Reply Last reply
    0
    • Roy44R Roy44

      Hi, I develop an graphic application, I use a opengl engine (modified for rendering on QOpenGLWidget).
      The cursor is rendered in opengl via engine commands.
      The problem is:
      the cursor rendering is incredibly slow on ATI card (no problem on Nvidia card even older).

      Does QOpenglWidget need a specific parameter for ATI ?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Roy44 said in OpenGL rendering very slow on ATI:

      Does QOpenglWidget need a specific parameter for ATI ?

      No OpenGL is a standardized interface to the graphics card.
      Maybe a ATI graphics driver update remedies the issue already?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • Roy44R Offline
        Roy44R Offline
        Roy44
        wrote on last edited by
        #3

        @raven-worx said in OpenGL rendering very slow on ATI:

        No OpenGL is a standardized interface to the graphics card.
        Maybe a ATI graphics driver update remedies the issue already?

        The driver is up to date.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          In that case, you might want to try a downgrade. You might be hitting a bug with that version of the driver.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • Roy44R Offline
            Roy44R Offline
            Roy44
            wrote on last edited by
            #5

            After some tests, I remark a big latency between le mouse movement and the rendering.
            I did this test:
            I use QOpenGLWidget.
            I call paintGL in mousemoveevent function
            I let the window cursor displayed and in paintGL function, I draw a circle (using only QPainter) centered on cursor position,
            the cirle is late compared to window cursor.

            With an cursor drawn with opengl, the latency is bigger and huge with ATI card.
            I think now my problem is my mouse event management:
            Doing a render for each mouse move event seems to be the cause of my problem, but if I don't call paintGL in mousemoveEvent, the screen is not refreshed.

            Does exist a better way for refreshing screen on mouse event ?
            thanks.

            (SORRY FOR MY HORRIBLE ENGLISH)

            raven-worxR 1 Reply Last reply
            0
            • Roy44R Roy44

              After some tests, I remark a big latency between le mouse movement and the rendering.
              I did this test:
              I use QOpenGLWidget.
              I call paintGL in mousemoveevent function
              I let the window cursor displayed and in paintGL function, I draw a circle (using only QPainter) centered on cursor position,
              the cirle is late compared to window cursor.

              With an cursor drawn with opengl, the latency is bigger and huge with ATI card.
              I think now my problem is my mouse event management:
              Doing a render for each mouse move event seems to be the cause of my problem, but if I don't call paintGL in mousemoveEvent, the screen is not refreshed.

              Does exist a better way for refreshing screen on mouse event ?
              thanks.

              (SORRY FOR MY HORRIBLE ENGLISH)

              raven-worxR Offline
              raven-worxR Offline
              raven-worx
              Moderators
              wrote on last edited by
              #6

              @Roy44 said in OpenGL rendering very slow on ATI:

              Does exist a better way for refreshing screen on mouse event ?

              normally this is done by reducing the paint calls and areas to a minimum.
              Do you really repaint the whole screen?!

              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
              If you have a question please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              0
              • Roy44R Offline
                Roy44R Offline
                Roy44
                wrote on last edited by
                #7

                unfortunally, I have to refresh the whole screen because my application is a drawing application like Autocad.
                If I draw a circle the radius need to follow the mouse.

                1 Reply Last reply
                0
                • Roy44R Offline
                  Roy44R Offline
                  Roy44
                  wrote on last edited by
                  #8

                  In debug output I have the message:
                  qt.qpa.gl: Invalid value set for QT_OPENGL: "Desktop"
                  maybe it's linked to my problem ?

                  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