#1065499 chromium: GPU acceleration broken on NXP iMX8M-Plus

Package:
chromium
Source:
chromium
Description:
web browser
Submitter:
Ernesto Vigano'
Date:
2024-03-05 14:57:04 UTC
Severity:
normal
#1065499#5
Date:
2024-03-05 14:52:01 UTC
From:
To:
Dear Maintainer,

I run chromium from a docker container with the following parameters
root@verdin-imx8mp-14777722:/home/torizon# chromium --test-type
--allow-insecure-localhost --disable-notifications
--check-for-update-interval=315360000 --kiosk
--disable-seccomp-filter-sandbox --use-gl=egl
--enable-features=UseOzonePlatform --ozone-platform=wayland
--no-sandbox https://webglsamples.org/fishtank/fishtank.html

My target is to see fishtank page with GPU acceleration (and so more
or less at 60 FPS, as NXP tech support told me).

I see the following log

[73699:73726:0305/140634.111003:ERROR:bus.cc(407)] Failed to connect
to the bus: Could not parse server address: Unknown address type
(examples of valid types are "tcp" and on UNIX "unix")
[73699:73726:0305/140634.111426:ERROR:bus.cc(407)] Failed to connect
to the bus: Could not parse server address: Unknown address type
(examples of valid types are "tcp" and on UNIX "unix")
[73699:73726:0305/140634.111958:ERROR:bus.cc(407)] Failed to connect
to the bus: Could not parse server address: Unknown address type
(examples of valid types are "tcp" and on UNIX "unix")
[73699:73726:0305/140634.112082:ERROR:bus.cc(407)] Failed to connect
to the bus: Could not parse server address: Unknown address type
(examples of valid types are "tcp" and on UNIX "unix")
[73699:73699:0305/140634.143052:ERROR:policy_logger.cc(157)]
:components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(161)
Cloud management controller initialization aborted as CBCM is not
enabled. Please use the `--enable-chrome-browser-cloud-management`
command line flag to enable it if you are not using the official
Google Chrome build.
EGL: Warning: No default display support on wayland
[73757:73757:0305/140634.183403:ERROR:gl_display.cc(820)]
Initialization of all EGL display types failed.
[73757:73757:0305/140634.185130:ERROR:gl_ozone_egl.cc(26)]
GLDisplayEGL::Initialize failed.
EGL: Warning: No default display support on wayland
[73757:73757:0305/140634.186028:ERROR:gl_display.cc(820)]
Initialization of all EGL display types failed.
[73757:73757:0305/140634.186377:ERROR:gl_ozone_egl.cc(26)]
GLDisplayEGL::Initialize failed.
[73699:73726:0305/140634.191064:ERROR:bus.cc(407)] Failed to connect
to the bus: Could not parse server address: Unknown address type
(examples of valid types are "tcp" and on UNIX "unix")
[73699:73726:0305/140634.191256:ERROR:bus.cc(407)] Failed to connect
to the bus: Could not parse server address: Unknown address type
(examples of valid types are "tcp" and on UNIX "unix")
[73757:73757:0305/140634.198575:ERROR:viz_main_impl.cc(196)] Exiting
GPU process due to errors during initialization
[73699:73725:0305/140634.279714:ERROR:bus.cc(407)] Failed to connect
to the bus: Could not parse server address: Unknown address type
(examples of valid types are "tcp" and on UNIX "unix")
[73699:73723:0305/140634.279878:ERROR:bus.cc(407)] Failed to connect
to the bus: Could not parse server address: Unknown address type
(examples of valid types are "tcp" and on UNIX "unix")
[73699:73699:0305/140634.616027:ERROR:object_proxy.cc(576)] Failed to
call method: org.freedesktop.DBus.NameHasOwner: object_path=
/org/freedesktop/DBus: unknown error type:
[73699:73699:0305/140634.617028:ERROR:object_proxy.cc(576)] Failed to
call method: org.freedesktop.DBus.NameHasOwner: object_path=
/org/freedesktop/DBus: unknown error type:
[73699:73722:0305/140634.617718:ERROR:bus.cc(407)] Failed to connect
to the bus: Could not parse server address: Unknown address type
(examples of valid types are "tcp" and on UNIX "unix")
[73699:73803:0305/140634.665428:ERROR:object_proxy.cc(576)] Failed to
call method: org.freedesktop.DBus.Properties.Get: object_path=
/org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown:
The name org.freedesktop.UPower was not provided by any .service files
[73699:73803:0305/140634.667035:ERROR:object_proxy.cc(576)] Failed to
call method: org.freedesktop.UPower.GetDisplayDevice: object_path=
/org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown:
The name org.freedesktop.UPower was not provided by any .service files
[73699:73803:0305/140634.668695:ERROR:object_proxy.cc(576)] Failed to
call method: org.freedesktop.UPower.EnumerateDevices: object_path=
/org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown:
The name org.freedesktop.UPower was not provided by any .service files
[73699:73699:0305/140634.676476:ERROR:object_proxy.cc(576)] Failed to
call method: org.freedesktop.DBus.NameHasOwner: object_path=
/org/freedesktop/DBus: unknown error type:
[73699:73722:0305/140634.677364:ERROR:bus.cc(407)] Failed to connect
to the bus: Could not parse server address: Unknown address type
(examples of valid types are "tcp" and on UNIX "unix")
EGL: Warning: No default display support on wayland
[73801:73801:0305/140634.684620:ERROR:gl_display.cc(820)]
Initialization of all EGL display types failed.
[73801:73801:0305/140634.685089:ERROR:gl_ozone_egl.cc(26)]
GLDisplayEGL::Initialize failed.
EGL: Warning: No default display support on wayland
[73801:73801:0305/140634.686155:ERROR:gl_display.cc(820)]
Initialization of all EGL display types failed.
[73801:73801:0305/140634.686439:ERROR:gl_ozone_egl.cc(26)]
GLDisplayEGL::Initialize failed.
[73801:73801:0305/140634.694959:ERROR:viz_main_impl.cc(196)] Exiting
GPU process due to errors during initialization
[73699:73699:0305/140634.700070:ERROR:object_proxy.cc(576)] Failed to
call method: org.freedesktop.DBus.NameHasOwner: object_path=
/org/freedesktop/DBus: unknown error type:
[73699:73722:0305/140634.700866:ERROR:bus.cc(407)] Failed to connect
to the bus: Could not parse server address: Unknown address type
(examples of valid types are "tcp" and on UNIX "unix")
[73699:73699:0305/140634.707808:ERROR:object_proxy.cc(576)] Failed to
call method: org.freedesktop.DBus.NameHasOwner: object_path=
/org/freedesktop/DBus: unknown error type:
[73699:73722:0305/140634.708736:ERROR:bus.cc(407)] Failed to connect
to the bus: Could not parse server address: Unknown address type
(examples of valid types are "tcp" and on UNIX "unix")
[73699:73699:0305/140634.726252:ERROR:object_proxy.cc(576)] Failed to
call method: org.freedesktop.DBus.NameHasOwner: object_path=
/org/freedesktop/DBus: unknown error type:

As you can see, there is a message
[73757:73757:0305/140634.198575:ERROR:viz_main_impl.cc(196)] Exiting
GPU process due to errors during initialization

The chromium window show a light-blue background with the following message
It does not appear your computer supports WebGL
Status: Could not create a WebGL context, VENDOR = 0xffff, ....