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

Viz-composition + Intel + Robust extension fails to render

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      bc34784d053ebf9b0d167e9398052fcc80d8af87 (qt/qtbase/5.13) c7b3c5a082d9099e7995006f033c3017bfa7f19c (qt/qtbase/5.12)

      Description

      With recent Intel integrated GPU drivers, and the lastest QtWebEngine with Viz composition, QtWebEngine applications will fail to launch with the following log:

      [1278:1297:0907/171151.463731:ERROR:gl_context_glx.cc(182)] Failed to create GL context with glXCreateContextAttribsARB.
      [1278:1297:0907/171151.463773:ERROR:gpu_channel_manager.cc(395)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
      [1278:1297:0907/171151.463777:ERROR:shared_image_stub.cc(297)] SharedImageStub: unable to create context
      [1278:1297:0907/171151.463789:ERROR:gpu_channel.cc(423)] GpuChannel: Failed to create SharedImageStub
      Xlib: sequence lost (0x10356 > 0x359) in reply type 0x0!
      Xlib: sequence lost (0x10383 > 0x385) in reply type 0x0!
      [1278:1297:0907/171151.936360:ERROR:gl_context_glx.cc(182)] Failed to create GL context with glXCreateContextAttribsARB.
      [1278:1297:0907/171151.936409:ERROR:gpu_channel_manager.cc(395)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
      [1278:1297:0907/171151.936414:ERROR:shared_image_stub.cc(297)] SharedImageStub: unable to create context
      [1278:1297:0907/171151.936433:ERROR:gpu_channel.cc(423)] GpuChannel: Failed to create SharedImageStub
      [1278:1297:0907/171152.028957:ERROR:gl_context_glx.cc(182)] Failed to create GL context with glXCreateContextAttribsARB.
      [1278:1297:0907/171152.029029:ERROR:gpu_channel_manager.cc(395)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
      [1278:1297:0907/171152.029034:ERROR:shared_image_stub.cc(297)] SharedImageStub: unable to create context
      [1278:1297:0907/171152.029062:ERROR:gpu_channel.cc(423)] GpuChannel: Failed to create SharedImageStub
      [1278:1297:0907/171152.043884:ERROR:gl_context_glx.cc(182)] Failed to create GL context with glXCreateContextAttribsARB.
      [1278:1297:0907/171152.043902:ERROR:gpu_channel_manager.cc(395)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
      [1278:1297:0907/171152.043905:ERROR:shared_image_stub.cc(297)] SharedImageStub: unable to create context
      [1278:1297:0907/171152.043913:ERROR:gpu_channel.cc(423)] GpuChannel: Failed to create SharedImageStub
       

      This issue can be worked around by editing src/core/api/qtwebenginecoreglobal.cpp and commiting out the line requesting ResetNotification.

      Since this is a feature that has to match between parent and child contexts, we are probably missing somewhere passing on the feature, or there is an issue with the Intel implementation.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              juri.valdmann Jüri Valdmann
              Reporter:
              allan.jensen Allan Sandfeld Jensen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes