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

[regression in 5.14] WebEngine fails to recover after suspend

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.14.0 Alpha
    • Fix Version/s: 5.14.0 RC1
    • Component/s: GUI: OpenGL, WebEngine
    • Labels:
      None
    • Environment:
      KDE Plasma, Linux, X11
      qt5.git 5.14 branch, which points to qtwebengine.git 8daefcfd (from 9 days ago)
    • Platform/s:
      Linux/X11
    • Commits:
      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

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

            Activity

              People

              Assignee:
              qt_webengine_team Qt WebEngine Team
              Reporter:
              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