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

    • Integrity, Linux/Yocto, Linux/Other display system, QNX, VxWorks
    • 38279dea5 (dev), e81a2d03d (6.8), a589ef5cf (dev), cdb2b134b (6.10), e39fa57f6 (6.9), 71cbb63f8 (tqtc/lts-6.8)

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes