hwacc build crashes on direct scanout.

Bug #2009739 reported by Bram Stolk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
New
Undecided
Unassigned

Bug Description

This pertains to the HWACC branches of the chromium snap.

When launched full-screen on an Intel iGPU, the hardware overlay use will result in a core dump.

This could be related to direct-scanout and overlay planes?

To reproduce:

$ chromium --start-fullscreen

OS: Ubuntu 22.10

Chromium: 111.0.5563.19-hwacc

GPU: Alderlake iGPU

stolk@workpc:/snap/chromium/current/bin$ snap info chromium
name: chromium
summary: Chromium web browser, open-source version of Chrome
publisher: Canonical✓
store-url: https://snapcraft.io/chromium
contact: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bugs?field.tag=snap
license: unset
description: |
  An open-source browser project that aims to build a safer, faster, and more
  stable way for all Internet users to experience the web.
commands:
  - chromium.chromedriver
  - chromium
snap-id: XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R
tracking: latest/beta/hwacc
refresh-date: yesterday at 08:52 PST
channels:
  latest/stable: 110.0.5481.177 2023-03-06 (2367) 156MB -
  latest/candidate: 111.0.5563.64 2023-03-08 (2381) 155MB -
  latest/beta: 111.0.5563.64 2023-03-07 (2380) 155MB -
  latest/edge: 112.0.5615.12 2023-03-03 (2375) 156MB -
installed: 111.0.5563.19-hwacc (2376) 174MB -
stolk@workpc:/snap/chromium/current/bin$ chromium --start-fullscreen
[73039:73039:0308/101357.917887:WARNING:chrome_main_delegate.cc(618)] This is Chrome version 111.0.5563.19 (not a warning)
[73039:73039:0308/101358.450380:WARNING:wayland_object.cc(152)] Binding to gtk_shell1 version 4 but version 5 is available.
[73039:73039:0308/101358.450401:WARNING:wayland_object.cc(152)] Binding to zwp_pointer_gestures_v1 version 1 but version 3 is available.
[73039:73039:0308/101358.450416:WARNING:wayland_object.cc(152)] Binding to zwp_linux_dmabuf_v1 version 3 but version 4 is available.
Gtk-Message: 10:13:58.455: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[73039:73039:0308/101358.611145:WARNING:account_consistency_mode_manager.cc(70)] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[73039:73039:0308/101358.625559:WARNING:wayland_surface.cc(151)] Server doesn't support zcr_alpha_compositing_v1.
[73039:73039:0308/101358.625573:WARNING:wayland_surface.cc(166)] Server doesn't support overlay_prioritizer.
[73039:73039:0308/101358.625579:WARNING:wayland_surface.cc(180)] Server doesn't support surface_augmenter.
[73039:73039:0308/101358.625583:WARNING:wayland_surface.cc(195)] Server doesn't support wp_content_type_v1
[73039:73039:0308/101358.625586:WARNING:wayland_surface.cc(214)] Server doesn't support zcr_color_management_surface.
[73039:73039:0308/101358.625774:WARNING:cursor_loader.cc(123)] Failed to load a platform cursor of type kNull
[73039:73039:0308/101358.626013:VERBOSE1:wayland_cursor.cc(151)] Failed to hide cursor. No mouse enter serial found.
[73209:73209:0308/101358.654205:ERROR:gpu_init.cc(525)] Passthrough is not supported, GL is egl, ANGLE is
[73209:73209:0308/101358.657517:WARNING:sandbox_linux.cc(393)] InitializeSandbox() called with multiple threads in process gpu-process.
[73039:73039:0308/101358.692393:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
[73039:73039:0308/101358.706280:VERBOSE1:wayland_cursor.cc(151)] Failed to hide cursor. No mouse enter serial found.
[73039:73039:0308/101358.706292:VERBOSE1:wayland_cursor.cc(151)] Failed to hide cursor. No mouse enter serial found.
[73039:73039:0308/101358.706371:VERBOSE1:wayland_cursor.cc(151)] Failed to hide cursor. No mouse enter serial found.
[73039:73039:0308/101358.706375:VERBOSE1:wayland_cursor.cc(151)] Failed to hide cursor. No mouse enter serial found.
[73209:73209:0308/101358.722161:ERROR:gbm_pixmap_wayland.cc(75)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[73209:73209:0308/101358.722276:ERROR:gbm_pixmap_wayland.cc(75)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[73209:73209:0308/101358.722320:ERROR:shared_image_factory.cc(661)] CreateSharedImage: could not create backing.
[73209:73209:0308/101358.722375:ERROR:shared_image_factory.cc(516)] DestroySharedImage: Could not find shared image mailbox
[73209:73209:0308/101358.722458:ERROR:raster_decoder.cc(1117)] RasterDecoderImpl: Context lost during MakeCurrent.
[73209:73209:0308/101358.722500:ERROR:gpu_service_impl.cc(980)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[73039:73039:0308/101358.758383:ERROR:command_buffer_proxy_impl.cc(325)] GPU state invalid after WaitForGetOffsetInRange.
[73039:73039:0308/101358.761718:ERROR:gpu_process_host.cc(952)] GPU process exited unexpectedly: exit_code=8704
[73039:73039:0308/101358.761733:WARNING:gpu_process_host.cc(1302)] The GPU process has crashed 1 time(s)
[73383:73383:0308/101358.808024:ERROR:gpu_init.cc(525)] Passthrough is not supported, GL is egl, ANGLE is
[73383:73383:0308/101358.810625:WARNING:sandbox_linux.cc(393)] InitializeSandbox() called with multiple threads in process gpu-process.
[73039:73039:0308/101358.811373:WARNING:gpu_process_host.cc(975)] Reinitialized the GPU process after a crash. The reported initialization time was 47 ms
[73039:73206:0308/101358.814078:WARNING:backend_impl.cc(1816)] Destroying invalid entry.
[73383:73383:0308/101358.825748:ERROR:gbm_pixmap_wayland.cc(75)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[73383:73383:0308/101358.825811:ERROR:gbm_pixmap_wayland.cc(75)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[73383:73383:0308/101358.825832:ERROR:shared_image_factory.cc(661)] CreateSharedImage: could not create backing.
[73383:73383:0308/101358.825851:ERROR:shared_image_factory.cc(516)] DestroySharedImage: Could not find shared image mailbox
[73383:73383:0308/101358.825886:ERROR:shared_context_state.cc(548)] Failed to make current since context is marked as lost
[73383:73383:0308/101358.825904:ERROR:skia_output_surface_impl_on_gpu.cc(1968)] Failed to make current.
[73383:73383:0308/101358.825964:ERROR:raster_decoder.cc(1117)] RasterDecoderImpl: Context lost during MakeCurrent.
[73383:73383:0308/101358.826014:ERROR:gpu_service_impl.cc(980)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[73039:73039:0308/101358.829787:ERROR:command_buffer_proxy_impl.cc(325)] GPU state invalid after WaitForGetOffsetInRange.
[73039:73039:0308/101358.832093:ERROR:gpu_process_host.cc(952)] GPU process exited unexpectedly: exit_code=8704
[73039:73039:0308/101358.832115:WARNING:gpu_process_host.cc(1302)] The GPU process has crashed 2 time(s)
[73457:73457:0308/101358.873255:ERROR:gpu_init.cc(525)] Passthrough is not supported, GL is egl, ANGLE is
[73457:73457:0308/101358.875634:WARNING:sandbox_linux.cc(393)] InitializeSandbox() called with multiple threads in process gpu-process.
[73039:73039:0308/101358.876342:WARNING:gpu_process_host.cc(975)] Reinitialized the GPU process after a crash. The reported initialization time was 41 ms
[73457:73457:0308/101358.888814:ERROR:gbm_pixmap_wayland.cc(75)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[73457:73457:0308/101358.888888:ERROR:gbm_pixmap_wayland.cc(75)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[73457:73457:0308/101358.888923:ERROR:shared_image_factory.cc(661)] CreateSharedImage: could not create backing.
[73457:73457:0308/101358.888961:ERROR:shared_image_factory.cc(516)] DestroySharedImage: Could not find shared image mailbox
[73457:73457:0308/101358.889023:ERROR:raster_decoder.cc(1117)] RasterDecoderImpl: Context lost during MakeCurrent.
[73457:73457:0308/101358.889067:ERROR:gpu_service_impl.cc(980)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[73039:73039:0308/101358.932378:ERROR:gpu_process_host.cc(952)] GPU process exited unexpectedly: exit_code=8704
[73039:73039:0308/101358.932398:WARNING:gpu_process_host.cc(1302)] The GPU process has crashed 3 time(s)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[73532:73532:0308/101358.960292:WARNING:sandbox_linux.cc(393)] InitializeSandbox() called with multiple threads in process gpu-process.
[73039:73039:0308/101358.961311:WARNING:gpu_process_host.cc(975)] Reinitialized the GPU process after a crash. The reported initialization time was 25 ms
[73039:73206:0308/101358.975078:WARNING:backend_impl.cc(1816)] Destroying invalid entry.
[73039:73206:0308/101358.987924:WARNING:backend_impl.cc(1816)] Destroying invalid entry.
[0308/101359.098030:ERROR:ptracer.cc(567)] ptrace: Input/output error (5)
[0308/101359.098114:ERROR:ptracer.cc(567)] ptrace: Input/output error (5)
[0308/101359.098596:ERROR:ptracer.cc(567)] ptrace: Input/output error (5)
[0308/101359.098678:ERROR:ptracer.cc(567)] ptrace: Input/output error (5)
[0308/101359.098709:ERROR:ptracer.cc(567)] ptrace: Input/output error (5)
[0308/101359.117399:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0308/101359.124084:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[73210:73248:0308/101359.232304:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104)
Segmentation fault (core dumped)

Tags: kivu
Revision history for this message
Bram Stolk (b-stolk) wrote :

Unfortunately, removing the --enable-hardware-overlays flag does not help.

Still crashes when full screen:

Chromium 111.0.5563.19 (Official Build) snap (64-bit)
Revision 378a38865270d286695aeb86f190564911ef7bc2-refs/branch-heads/5563@{#251}
OS Linux
JavaScript V8 11.1.277
User agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Command Line /snap/chromium/x13/usr/lib/chromium-browser/chrome --password-store=basic --ozone-platform=wayland --enable-features=VaapiVideoDecoder,VaapiVideoEncoder,VaapiVideoDecodeLinuxGL --disable-features=UseChromeOSDirectVideoDecoder --use-gl=egl --video-capture-use-external-dma-buffer --disable-features=TFLiteLanguageDetectionEnabled --vmodule=*/video/linux/*=3,*/ui/gl/*=3,*/platform/wayland/*=3 --v0 --enable-logging=stderr --flag-switches-begin --flag-switches-end
Executable Path /snap/chromium/x13/usr/lib/chromium-browser/chrome
Profile Path /home/stolk/snap/chromium/common/chromium/Default

Revision history for this message
Bram Stolk (b-stolk) wrote :

Does not crash when using AMD gpu, instead of Alderlake iGPU.

tags: added: kivu
removed: hwacc
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.