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

[REG] Windows - Memory leak and performance penalty with QGraphicsview + OpenGL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.7.0, 6.7.2, 6.8.0, 6.8.1
    • None

    Description

      I am currently investigating a problem in a program and I hope that I can provide more information soon (I plan to try to reproduce on another machine and bisect and/or check if I can make a reproduce example). The problem involves more than Qt, but something has changed in Qt which introduced this problem.

      When running with Qt 6.6.3 everything works
      When running same code with Qt 6.7.0+ there is a huge memory leak and the program becomes slow. We see this is in a bigger project, but the problematic parts are suspected to be QGraphicsview/QOpenGLWidget or some openGL layers below.

      This appears only to happen on Windows and only when the application is run in high performance mode. It has also only been observed on nVidia graphics cards.

      I have attached a qtdiag file from a machine where the problem has been seen.

      Attachments

        1. issue_draft_code.cpp
          2 kB
        2. opengl_qtbug.zip
          4 kB
        3. qtdiag_nvidia.txt
          15 kB
        4. qtdiag.txt
          17 kB
        5. reproduced.png
          reproduced.png
          268 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tmartsum Thorbjørn Lund Martsum
            tmartsum Thorbjørn Lund Martsum
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes