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

QRhi pipeline cache is never written for applications terminated forcibly without running cleanup for Quick/QWindow/QGuiApp

    XMLWordPrintable

Details

    • Integrity, Linux/Yocto, Linux/Other display system, QNX, VxWorks
    • 38279dea5 (dev), e81a2d03d (6.8)

    Description

      Application running with eglfs or vkkhrdisplay QPA does not create pipeline cache file when stopped. Only when running app with window manager (x11, wayland) and terminating it via window manager "X" button from application window will cause pipeline cache file to be created. Documentation does not state that pipeline cache would not be supported with those QPA platforms. So the "automatic" (https://doc.qt.io/qt-6/qquickgraphicsconfiguration.html#the-automatic-pipeline-cache) pipeline cache feature is missing.

      Currently in order get pipeline cache created when application exits/terminates one needs to manually call:

                  window->hide();
                  window->releaseResources();

      And connect to QQuickWindow::sceneGraphAboutToStop signal in which application needs to exit using  QCoreApplication::exit() function.

      Attachments

        For Gerrit Dashboard: QTBUG-126608
        # Subject Branch Project Status CR V

        Activity

          People

            lagocs Laszlo Agocs
            papetaja Pasi Petäjäjärvi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change