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

[REG] 5.15.8 -> 5.15.9 WebEngine crash with software OpenGL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.5.0 Beta1
    • 5.15.9, 5.15.10
    • WebEngine
    • None
    • Windows 7 x64 in VirtualBox
      Windows 11 x64 on real hardware (Dell Precision 7760)
      Visual Studio 2022 / MSVC 19.33.31629.0
    • Windows
    • db4d4d1eda (qt/qtwebengine/dev) bd949de2d3 (qt/qtwebengine/6.3) 135722510f (qt/qtwebengine/6.4) bd949de2d3 (qt/tqtc-qtwebengine/6.3) 135722510f (qt/tqtc-qtwebengine/6.4)

    Description

      In certain environments where only Software OpenGL is usable and ANGLE/Desktop OpenGL is not (e.g. Windows 7 in VirtualBox), or forcing it with the `QT_OPENGL` environment variable, WebEngine crashes during surface creation.

       

      Repro:

      1) Load the widget-based SimpleBrowser example in Creator

      2) Configure the project for Qt 5.15.9

      3) Add QT_OPENGL=software to the run environment

      4) Run

       

      Expected result: the default "www.qt.io" page loads, which is the case for 5.15.8.

      Actual result: the page doesn't load, stays empty, the application log contains OpenGL errors:

      12:20:15: Starting C:/git/Qt/Examples/Qt-5.15.10/webenginewidgets/build-simplebrowser-Desktop_Qt_5_15_9_MSVC2019_64bit-Release/release/simplebrowser.exe...
      
      qt.qpa.backingstore: composeAndFlush: makeCurrent() failed
      [23216:25412:0831/122015.828:ERROR:gl_context_wgl.cc(78)] Could not share GL contexts.
      [23216:25412:0831/122015.835:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
      [23216:25412:0831/122015.835:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
      [23216:25412:0831/122015.835:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
      [23216:25412:0831/122015.843:ERROR:gl_context_wgl.cc(78)] Could not share GL contexts.
      
      <these lines keep repeating forever>

       

      The opengl32sw.dll is the one that ships with Qt 5.15.9 in the msvc2019_x64 package.

      Attachments

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

        Activity

          People

            michal Michal Klocek
            tomikaa87 Tamas Karpati
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change