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

WebEngine ANGLE error: Failed to make current since context is marked as lost

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0
    • WebEngine
    • None
    • Linux/Wayland, Linux/X11

    Description

      As I understand, WebEngine in Qt 6.8.0 brings ANGLE back to Linux platform, but when I try WebEngine with ANGLE, the app show this error and WebEngineView doesn't show anything:

      QTWEBENGINE_CHROMIUM_FLAGS="--use-gl=angle" ./appMiniBrowser 

      Output:

      qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
      qt.webenginecontext:
       Chromium GL Backend: angle
       Chromium ANGLE Backend: default
       Chromium Vulkan Backend: disabled QSG RHI Backend: OpenGL
       QSG RHI Backend Supported: yes
       GPU Vendor: Intel Using GLX: yes
       Using EGL: no
       Using Shared GL: yes
       Using Software Dynamic GL: no
       Surface Type: OpenGL
       Surface Profile: CompatibilityProfile
       Surface Version: 4.6 Init Parameters:
        *  application-name appMiniBrowser
        *  browser-subprocess-path /opt/displace/qt6.8-release/libexec/QtWebEngineProcess
        *  disable-blink-features WebOTP
        *  disable-features InstalledApp,EyeDropper,BackgroundFetch,WebOTP,WebPayments,WebUSB
        *  disable-setuid-sandbox
        *  disable-speech-api
        *  enable-features NetworkServiceInProcess2,TracingServiceInProcess
        *  in-process-gpu
        *  use-gl angle[101322:101350:1008/143220.067861:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.067884:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.070061:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.070068:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.070743:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.070750:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101364:101364:1008/143220.071010:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      [101322:101350:1008/143220.072228:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.072235:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.084333:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.084347:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101322:1008/143220.084506:ERROR:command_buffer_proxy_impl.cc(323)] GPU state invalid after WaitForGetOffsetInRange.
      [101322:101350:1008/143220.084563:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.084568:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.101316:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.101335:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.103343:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.103350:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.118188:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.118204:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101322:1008/143220.118444:ERROR:command_buffer_proxy_impl.cc(323)] GPU state invalid after WaitForGetOffsetInRange.
      [101322:101350:1008/143220.118485:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.118491:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.134515:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.134534:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101322:1008/143220.134796:ERROR:command_buffer_proxy_impl.cc(323)] GPU state invalid after WaitForGetOffsetInRange.
      [101322:101350:1008/143220.134843:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.134851:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.151307:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.151324:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.153579:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.153590:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.167771:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.167787:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.169766:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.169777:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.184546:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.184566:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.186458:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.186469:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.201213:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.201230:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.203268:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.203279:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.217642:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.217657:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.217879:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.217884:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101322:1008/143220.218012:ERROR:command_buffer_proxy_impl.cc(323)] GPU state invalid after WaitForGetOffsetInRange.
      [101322:101350:1008/143220.234757:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.234772:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.235003:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.235009:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101322:1008/143220.235029:ERROR:command_buffer_proxy_impl.cc(323)] GPU state invalid after WaitForGetOffsetInRange.
      [101322:101350:1008/143220.251138:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.251156:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.252962:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.252971:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.267775:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.267790:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101322:1008/143220.268006:ERROR:command_buffer_proxy_impl.cc(323)] GPU state invalid after WaitForGetOffsetInRange.
      [101322:101350:1008/143220.268022:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.268029:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.284410:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.284424:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.286248:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.286257:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.301405:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.301439:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.301693:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.301699:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101322:1008/143220.301769:ERROR:command_buffer_proxy_impl.cc(323)] GPU state invalid after WaitForGetOffsetInRange.
      [101322:101350:1008/143220.317770:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.317786:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.319941:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.319951:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.334713:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.334733:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.334993:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.334998:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101322:1008/143220.335175:ERROR:command_buffer_proxy_impl.cc(323)] GPU state invalid after WaitForGetOffsetInRange.
      [101322:101350:1008/143220.351019:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.351033:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.353036:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.353049:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.367704:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.367719:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.369569:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.369578:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.384541:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.384561:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.386618:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.386627:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.401287:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.401301:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.403062:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.403070:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.417680:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.417694:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.419540:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.419549:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.434453:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.434466:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.436266:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.436276:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current.
      [101322:101350:1008/143220.451312:ERROR:shared_image_factory.cc(973)] Could not find SharedImageBackingFactory with params: usage: Gles2FramebufferHint|DisplayRead|DisplayWrite|Scanout, format: BGRA_8888, share_between_threads: 0, gmb_type: empty, debug_label: QWE_SharedImageBuffer
      [101322:101350:1008/143220.451327:ERROR:native_skia_output_device.cpp(239)] CreateSharedImage failed.
      [101322:101350:1008/143220.451594:ERROR:shared_context_state.cc(648)] Failed to make current since context is marked as lost
      [101322:101350:1008/143220.451599:ERROR:skia_output_surface_impl_on_gpu.cc(2294)] Failed to make current. 

      Attachments

        1. Main.qml
          0.8 kB
        2. main.cpp
          0.5 kB
        3. CMakeLists.txt
          1 kB

        Issue Links

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

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              crziter Binh Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change