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

Qt WebEngine crashes when GPU is not available

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 5.13.2, 5.14.1
    • WebEngine
    • None
    • HyperV Windows Server 2012 Guest on Windows 10 Host (for testing, I know it's 'backwards')
    • Windows

    Description

      Trying to load a WebEngine on a system where opengl is not available, such as a Windows Hyper-V machine without GPU passthrough will entirely crash the Application. No logging, no error message, just a crash to desktop.

      Setting software opengl "fixes" the crash, but slows down rendering. From what I understand WebEngine should try hardware acceleration and then failsafe to software on its own. That appears to not be working.

      Removing the WebEngineView QML Component removes the crash as well, but doesn't help for a fix.

       

      If it matters, the QML starts displaying entirely, when the WebEngine starts receiving HTML however, it crashes before any result from the WebEngine can be seen.

       

      ColumnLayout {
          id: columnLayout
          anchors.fill: parent
          WebEngineView {
              id:engineview
              Layout.fillHeight: true
              Layout.fillWidth: true
              url: "conapp://wait"
              webChannel : webChannel
              Component.onCompleted: {
                  HP.register_web(webChannel, engineview);
                  appwindow.title = qsTr("HonorarPlus - Willkommen");
              }
              onContextMenuRequested: {
                  request.accepted = true;
              }
          }
          Item {
              Layout.fillWidth: true
              Layout.preferredHeight: feedbackelement.height
              RowLayout {
                  anchors.fill: parent
                  id: rowLayout
                  Text {
                      id: feedbackelement
                      text: qsTr("")
                      font.pixelSize: 12
                  }
      
              }
          }
      }
      

       

       

      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
              berserker berserker
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes