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

[regression in 5.14] WebEngine fails to recover after suspend

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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)

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes