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

[regression in 5.14] WebEngine fails to recover after suspend

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.14.0 RC1
    • 5.14.0 Alpha
    • GUI: OpenGL, WebEngine
    • None
    • KDE Plasma, Linux, X11
      qt5.git 5.14 branch, which points to qtwebengine.git 8daefcfd (from 9 days ago)
    • Linux/X11
    • 025710fa77f80c0940705bc4ad405872b5aeecfe (qt/qtwebengine/5.15)

      After I suspend and resume (on a Linux laptop with NVIDIA proprietary drivers), any application using QtWebEngine Widgets fails to paint anything.

      This happened initially with kmail but I can reproduce it with the simplebrowser example.

      The debug output says:

      WARNING: QQuickWidgetPrivate::render|?libQt5QuickWidgets.so.5?|QQuickWidget::timerEvent QQuickWidget: Cannot render due to failing makeCurrent()
      WARNING: QPlatformBackingStore::composeAndFlush|?libQt5XcbQpa.so.5?|QWidgetRepaintManager::flush composeAndFlush: makeCurrent() failed

      (and that last line repeats many times).

      If I switch to another virtual desktop and come back, both errors happen again.

      The only workaround is to restart the app completely.

      This used to work with Qt 5.13, I don't think I changed my nvidia driver since. Can't really check though, recompiling webengine is no picnic.

      This does not happen with a simple QtQuick example.

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

            qt_webengine_team Qt WebEngine Team
            dfaure_kdab David Faure
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes