Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.14.0 Alpha
-
None
-
-
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
- is duplicated by
-
QTBUG-77910 Immediate crash with "Failed to create GL context with glXCreateContextAttribsARB."
- Closed
- relates to
-
QTBUG-78781 REG->5.14.0 Alpha/Windows/Package testing: Simple browser no longer works
- Closed