Subject: chromium: chromium: GPU acceleration broken on NXP iMX8M-Plus
Package: chromium
X-Debbugs-Cc: gogimi4...@mcuma.com
Version: 122.0.6261.94-1~deb12u1
Severity: normal

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, ....



-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 5.15.129-6.6.0-devel+git.756e3199ba82 (SMP w/4 CPU
threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to
C.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages chromium depends on:
ii  chromium-common                122.0.6261.94-1~deb12u1
ii  imx-gpu-viv-wayland [libgbm1]  6.4.3.p4.4-1
ii  libasound2                     1.2.8-1+b1
ii  libatk-bridge2.0-0             2.46.0-5
ii  libatk1.0-0                    2.46.0-5
ii  libatomic1                     12.2.0-14
ii  libatspi2.0-0                  2.46.0-5
ii  libc6                          2.36-9+deb12u4
ii  libcairo2                      1.16.0-7
ii  libcups2                       2.4.2-3+deb12u5
ii  libdbus-1-3                    1.14.10-1~deb12u1
ii  libdouble-conversion3          3.2.1-1
ii  libdrm2                        2.4.109-2+toradex2
ii  libevent-2.1-7                 2.1.12-stable-8
ii  libexpat1                      2.5.0-1
ii  libflac12                      1.4.2+ds-2
ii  libfontconfig1                 2.14.1-4
ii  libfreetype6                   2.12.1+dfsg-5
ii  libgcc-s1                      12.2.0-14
ii  libglib2.0-0                   2.74.6-2
ii  libgtk-3-0                     3.24.38-2~deb12u1
ii  libjpeg62-turbo                1:2.1.5-2
ii  libjsoncpp25                   1.9.5-4
ii  liblcms2-2                     2.14-2
ii  libminizip1                    1.1-8+deb12u1
ii  libnspr4                       2:4.35-1
ii  libnss3                        2:3.87.1-1
ii  libopenh264-7                  2.3.1+dfsg-3
ii  libopenjp2-7                   2.5.0-2
ii  libopus0                       1.3.1-3
ii  libpango-1.0-0                 1.50.12+ds-1
ii  libpng16-16                    1.6.39-2
ii  libpulse0                      16.1+dfsg1-2+b1
ii  libsnappy1v5                   1.1.9-3
ii  libstdc++6                     12.2.0-14
ii  libwebp7                       1.2.4-0.2+deb12u1
ii  libwebpdemux2                  1.2.4-0.2+deb12u1
ii  libwebpmux3                    1.2.4-0.2+deb12u1
ii  libwoff1                       1.0.2-2
ii  libx11-6                       2:1.8.4-2+deb12u2
ii  libxcb1                        1.15-1
ii  libxcomposite1                 1:0.4.5-1
ii  libxdamage1                    1:1.1.6-1
ii  libxext6                       2:1.3.4-1+b1
ii  libxfixes3                     1:6.0.0-2
ii  libxkbcommon0                  1.5.0-1
ii  libxml2                        2.9.14+dfsg-1.3~deb12u1
ii  libxnvctrl0                    525.85.05-3~deb12u1
ii  libxrandr2                     2:1.5.2-2+b1
ii  libxslt1.1                     1.1.35-1
ii  zlib1g                         1:1.2.13.dfsg-1

Versions of packages chromium recommends:
ii  chromium-sandbox  122.0.6261.94-1~deb12u1

Versions of packages chromium suggests:
pn  chromium-driver  <none>
pn  chromium-l10n    <none>
pn  chromium-shell   <none>

Versions of packages chromium-common depends on:
ii  libc6         2.36-9+deb12u4
ii  libgcc-s1     12.2.0-14
ii  libjsoncpp25  1.9.5-4
ii  libstdc++6    12.2.0-14
ii  libx11-6      2:1.8.4-2+deb12u2
ii  libxnvctrl0   525.85.05-3~deb12u1
ii  x11-utils     7.7+5
ii  xdg-utils     1.1.3-4.1
ii  zlib1g        1:1.2.13.dfsg-1

Versions of packages chromium-common recommends:
ii  chromium-sandbox       122.0.6261.94-1~deb12u1
pn  fonts-liberation       <none>
pn  libgl1-mesa-dri        <none>
pn  libu2f-udev            <none>
pn  notification-daemon    <none>
pn  system-config-printer  <none>
pn  upower                 <none>

Versions of packages chromium-sandbox depends on:
ii  libc6  2.36-9+deb12u4

-- no debconf information

Reply via email to