Error running chromium rockpi4

Hi all,

Yesterday I installed the latest version of DietPi on a RockPi 4B v1.72, when I try to open chromium I get these logs and the program exits:

*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[12888:12888:0121/200247.671197:ERROR:gpu_process_host.cc(968)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[12888:12888:0121/200247.974078:ERROR:gpu_process_host.cc(968)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[12888:12888:0121/200248.042507:ERROR:gpu_process_host.cc(968)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[12888:12888:0121/200248.857067:ERROR:gpu_process_host.cc(968)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[12888:12888:0121/200249.013510:ERROR:gpu_process_host.cc(968)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[12888:12888:0121/200249.053732:ERROR:gpu_process_host.cc(968)] GPU process exited unexpectedly: exit_code=6
[12888:12888:0121/200249.053850:FATAL:gpu_data_manager_impl_private.cc(407)] GPU process isn't usable. Goodbye.
[12930:12942:0121/200249.156373:ERROR:ssl_client_socket_impl.cc(996)] handshake failed; returned -1, SSL error code 1, net_error -3
Trace/breakpoint trap

Maybe the GPU acceleration support for RK3399 that was announced here is not working properly?
I tried to run chromium with --disable-gpu but it doesn’t have any effect.
Any tips would me much appreciated, thank you in advance!

MichaIng
can you have a look pls.

The dedicated RK3399 GPU acceleration has btw superseded already as with Bullseye and Linux 5.10 (Armbian kernel) the open Mesa GPU drivers support this SoC quite well.

How you do start Chromium, and with which user?
Do you have a desktop installed?
If so does the desktop start fine?
And does Chromium start from within the desktop session?

Hi MichaIng, I’ve tried to run it from the Desktop menu and from the terminal, I’ve tried across 3 different desktops, Mate, XFCE and LXDE (all 3 desktops start fine, only problem right now is chromium) and i tried with users dietpi and root. In every scenario I get the same error.
I also already tried to purge chromium and reinstall it, no luck.

Not sure if it’s relevant, but Firefox starts just fine, but youtube video playback is quite poor. When I run Kodi i can play 1080p@60 but not 4k@30.

Can you run the following from console (without a desktop session up) and paste the output?

xinit "$(which chromium)"

and try to remove the EGL flag:

sed -i 's/ --use-gl=egl//' /etc/chromium.d/custom_flags /root/.chromium-browser.init
xinit "$(which chromium)"

FYI, I came across exact same issues on Odroid C4 board with the latest 8.1 built.
The followings are logs after bashing suggested command:

dietpi@DietPi:~$ sudo sed -i 's/ --use-gl=egl//' /etc/chromium.d/custom_flags /root/.chromium-browser.init
dietpi@DietPi:~$ sudo xinit "$(which chromium)"


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux DietPi 4.9.241-arm64 #1 SMP PREEMPT Thu Feb 25 17:57:15 CET 2021 aarch64
Kernel command line: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro console=ttyS0,115200n8  no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=custombuilt cvbsmode=576cvbs max_freq_a55= maxcpus=4 voutmode=hdmi modeline=1920,1080,148500,67500,60,1920,2008,2052,2200,1080,1084,1089,1125,1,1,1 disablehpd=false cvbscable= overscan=100  monitor_onoff=false logo=osd0,loaded  sdrmode=auto enable_wol=0
Build Date: 16 December 2021  05:08:23PM
xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support)
Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb  8 11:47:02 2022
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
[4626:4670:0208/114704.873543:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[4626:4670:0208/114704.874021:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[4626:4670:0208/114704.920431:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[4626:4670:0208/114704.920561:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[4626:4670:0208/114705.044455:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[4626:4670:0208/114705.044583:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
*** stack smashing detected ***: terminated
[4626:4626:0208/114705.176951:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[4626:4626:0208/114705.226929:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[4626:4626:0208/114705.262612:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[4626:4626:0208/114705.295047:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[4626:4626:0208/114705.325757:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[4626:4626:0208/114705.346537:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
[4626:4626:0208/114705.346646:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
[4677:4693:0208/114705.438112:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -3
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

It seems to be a buffer overflow in C code, also when it is tried to access an array entry outside of the defined array length:

Also found on RPi, at least with the Debian Chromium sources, not the RPi “chromium-browser” package in those cases:

Looks like a bug in Chromium itself, but affecting a wider range of versions, since Chromium 90 is shipped with Bullseye and in one case it was reported with Chromium 97 from Bookworm.

Just to rule it out, does it change something when moving the config files out of the way:

mv /etc/chromium.d/custom_flags{,.bak}
mv /root/.chromium-browser.init{,.bak}
xinit "$(which chromium)"

For the bus errors, not sure whether this may help:

apt install dbus

and in case

apt install libpam-systemd
systemctl unmask systemd-logind
systemctl start systemd-logind

MichaIng, I appreciate your help.

Just to rule it out, does it change something when moving the config files out of the way: = No, it does not change
For the bus errors, not sure whether this may help: = Same errors reported

Is there any way to obtain the older image just to get this feature working?

No, we do not provider Buster images. Mid- to long-term this causes much more issues than what it may solve. Better to debug, report upstream or fix things forwards, at least for a small team like us.

Can you also show:

cat /var/log/Xorg.0.log

There is sufficient free RAM available, isn’t it?

Here a related bug report on Debian’s bug tracker: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004368
An x86_64 machine. Interestingly, while the same “Stack smashing detected” messages appear during several actions, Chromium itself starts. So probably it is not even directly related. The X server log may provide more details.

I’ll play a bit with a VM now, lets see whether I get the same errors.

The memory is 152M out of 3.63G.

Here’s Xorg.0.log

[ 81527.060]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[ 81527.060] Build Operating System: linux Debian
[ 81527.060] Current Operating System: Linux DietPi 4.9.241-arm64 #1 SMP PREEMPT Thu Feb 25 17:57:15 CET 2021 aarch64
[ 81527.060] Kernel command line: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro console=ttyS0,115200n8  no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=custombuilt cvbsmode=576cvbs max_freq_a55= maxcpus=4 voutmode=hdmi modeline=1920,1080,148500,67500,60,1920,2008,2052,2200,1080,1084,1089,1125,1,1,1 disablehpd=false cvbscable= overscan=100  monitor_onoff=false logo=osd0,loaded  sdrmode=auto enable_wol=0
[ 81527.060] Build Date: 16 December 2021  05:08:23PM
[ 81527.060] xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support)
[ 81527.060] Current version of pixman: 0.40.0
[ 81527.060]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[ 81527.060] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 81527.061] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 10 08:46:03 2022
[ 81527.061] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 81527.061] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 81527.062] (==) No Layout section.  Using the first Screen section.
[ 81527.062] (==) No screen section available. Using defaults.
[ 81527.062] (**) |-->Screen "Default Screen Section" (0)
[ 81527.062] (**) |   |-->Monitor "<default monitor>"
[ 81527.063] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[ 81527.063] (**) Option "BlankTime" "0"
[ 81527.063] (==) Automatically adding devices
[ 81527.063] (==) Automatically enabling devices
[ 81527.063] (==) Automatically adding GPU devices
[ 81527.063] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 81527.063] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 81527.063]    Entry deleted from font path.
[ 81527.063] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 81527.063]    Entry deleted from font path.
[ 81527.063] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 81527.063]    Entry deleted from font path.
[ 81527.063] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 81527.063]    Entry deleted from font path.
[ 81527.064] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 81527.064]    Entry deleted from font path.
[ 81527.064] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 81527.064]    Entry deleted from font path.
[ 81527.064] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        built-ins
[ 81527.064] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 81527.064] (**) Extension "DPMS" is disabled
[ 81527.064] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 81527.064] (II) Loader magic: 0x555975ae28
[ 81527.064] (II) Module ABI versions:
[ 81527.064]    X.Org ANSI C Emulation: 0.4
[ 81527.064]    X.Org Video Driver: 24.1
[ 81527.064]    X.Org XInput driver : 24.1
[ 81527.064]    X.Org Server Extension : 10.0
[ 81527.066] (--) using VT number 2

[ 81527.066] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 81527.067] (II) no primary bus or device found
[ 81527.067] (II) LoadModule: "glx"
[ 81527.067] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 81527.071] (II) Module glx: vendor="X.Org Foundation"
[ 81527.071]    compiled for 1.20.11, module version = 1.0.0
[ 81527.071]    ABI class: X.Org Server Extension, version 10.0
[ 81527.071] (==) Matched modesetting as autoconfigured driver 0
[ 81527.071] (==) Matched fbdev as autoconfigured driver 1
[ 81527.072] (==) Assigned the driver to the xf86ConfigLayout
[ 81527.072] (II) LoadModule: "modesetting"
[ 81527.072] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 81527.072] (II) Module modesetting: vendor="X.Org Foundation"
[ 81527.072]    compiled for 1.20.11, module version = 1.20.11
[ 81527.072]    Module class: X.Org Video Driver
[ 81527.073]    ABI class: X.Org Video Driver, version 24.1
[ 81527.073] (II) LoadModule: "fbdev"
[ 81527.073] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 81527.073] (II) Module fbdev: vendor="X.Org Foundation"
[ 81527.073]    compiled for 1.20.0, module version = 0.5.0
[ 81527.073]    Module class: X.Org Video Driver
[ 81527.073]    ABI class: X.Org Video Driver, version 24.0
[ 81527.073] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 81527.073] (II) FBDEV: driver for framebuffer: fbdev
[ 81527.100] (WW) Falling back to old probe method for modesetting
[ 81527.100] (EE) open /dev/dri/card0: No such file or directory
[ 81527.100] (WW) Falling back to old probe method for fbdev
[ 81527.100] (II) Loading sub module "fbdevhw"
[ 81527.100] (II) LoadModule: "fbdevhw"
[ 81527.101] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 81527.101] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 81527.101]    compiled for 1.20.11, module version = 0.0.2
[ 81527.101]    ABI class: X.Org Video Driver, version 24.1
[ 81527.101] (II) FBDEV(0): using default device
[ 81527.101] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 81527.101] (II) FBDEV(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[ 81527.101] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[ 81527.102] (==) FBDEV(0): RGB weight 888
[ 81527.102] (==) FBDEV(0): Default visual is TrueColor
[ 81527.102] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 81527.102] (II) FBDEV(0): hardware: OSD FB (video memory: 77312kB)
[ 81527.102] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[ 81527.102] (II) FBDEV(0): checking modes against framebuffer device...
[ 81527.102] (II) FBDEV(0): checking modes against monitor...
[ 81527.102] (II) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)
[ 81527.102] (**) FBDEV(0):  Built-in mode "current"
[ 81527.102] (==) FBDEV(0): DPI set to (96, 96)
[ 81527.102] (II) Loading sub module "fb"
[ 81527.102] (II) LoadModule: "fb"
[ 81527.102] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 81527.102] (II) Module fb: vendor="X.Org Foundation"
[ 81527.102]    compiled for 1.20.11, module version = 1.0.0
[ 81527.102]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 81527.102] (**) FBDEV(0): using shadow framebuffer
[ 81527.102] (II) Loading sub module "shadow"
[ 81527.102] (II) LoadModule: "shadow"
[ 81527.103] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 81527.103] (II) Module shadow: vendor="X.Org Foundation"
[ 81527.103]    compiled for 1.20.11, module version = 1.1.0
[ 81527.103]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 81527.103] (II) UnloadModule: "modesetting"
[ 81527.103] (II) Unloading modesetting
[ 81527.154] (==) FBDEV(0): Backing store enabled
[ 81527.154] (==) FBDEV(0): DPMS enabled
[ 81527.154] (II) Initializing extension Generic Event Extension
[ 81527.155] (II) Initializing extension SHAPE
[ 81527.155] (II) Initializing extension MIT-SHM
[ 81527.155] (II) Initializing extension XInputExtension
[ 81527.156] (II) Initializing extension XTEST
[ 81527.156] (II) Initializing extension BIG-REQUESTS
[ 81527.157] (II) Initializing extension SYNC
[ 81527.157] (II) Initializing extension XKEYBOARD
[ 81527.157] (II) Initializing extension XC-MISC
[ 81527.158] (II) Initializing extension SECURITY
[ 81527.158] (II) Initializing extension XFIXES
[ 81527.158] (II) Initializing extension RENDER
[ 81527.159] (II) Initializing extension RANDR
[ 81527.160] (II) Initializing extension COMPOSITE
[ 81527.160] (II) Initializing extension DAMAGE
[ 81527.160] (II) Initializing extension MIT-SCREEN-SAVER
[ 81527.161] (II) Initializing extension DOUBLE-BUFFER
[ 81527.161] (II) Initializing extension RECORD
[ 81527.161] (II) Initializing extension Present
[ 81527.162] (II) Initializing extension DRI3
[ 81527.162] (II) Initializing extension X-Resource
[ 81527.162] (II) Initializing extension XVideo
[ 81527.162] (II) Initializing extension XVideo-MotionCompensation
[ 81527.162] (II) Initializing extension SELinux
[ 81527.163] (II) SELinux: Disabled on system
[ 81527.163] (II) Initializing extension GLX
[ 81527.163] (II) AIGLX: Screen 0 is not DRI2 capable
[ 81527.266] (II) IGLX: Loaded and initialized swrast
[ 81527.266] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 81527.266] (II) Initializing extension XFree86-VidModeExtension
[ 81527.266] (II) Initializing extension XFree86-DGA
[ 81527.266] (II) Initializing extension XFree86-DRI
[ 81527.266] (II) Initializing extension DRI2
[ 81527.370] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event1)
[ 81527.370] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[ 81527.370] (II) LoadModule: "libinput"
[ 81527.370] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 81527.374] (II) Module libinput: vendor="X.Org Foundation"
[ 81527.374]    compiled for 1.20.8, module version = 0.30.0
[ 81527.374]    Module class: X.Org XInput Driver
[ 81527.374]    ABI class: X.Org XInput driver, version 24.1
[ 81527.375] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[ 81527.375] (**) Logitech USB Receiver: always reports core events
[ 81527.375] (**) Option "Device" "/dev/input/event1"
[ 81527.375] (**) Option "_source" "server/udev"
[ 81527.382] (II) event1  - Logitech USB Receiver: is tagged by udev as: Keyboard
[ 81527.382] (II) event1  - Logitech USB Receiver: device is a keyboard
[ 81527.383] (II) event1  - Logitech USB Receiver: device removed
[ 81527.412] (**) Option "config_info" "udev:/sys/devices/platform/ff500000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C534.0001/input/input1/event1"
[ 81527.412] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 6)
[ 81527.412] (**) Option "xkb_model" "pc105"
[ 81527.412] (**) Option "xkb_layout" "us"
[ 81527.412] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[ 81527.473] (II) event1  - Logitech USB Receiver: is tagged by udev as: Keyboard
[ 81527.473] (II) event1  - Logitech USB Receiver: device is a keyboard
[ 81527.476] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event2)
[ 81527.476] (**) Logitech USB Receiver: Applying InputClass "libinput pointer catchall"
[ 81527.476] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[ 81527.476] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[ 81527.476] (**) Logitech USB Receiver: always reports core events
[ 81527.476] (**) Option "Device" "/dev/input/event2"
[ 81527.476] (**) Option "_source" "server/udev"
[ 81527.480] (II) event2  - Logitech USB Receiver: is tagged by udev as: Keyboard Mouse
[ 81527.481] (II) event2  - Logitech USB Receiver: device is a pointer
[ 81527.481] (II) event2  - Logitech USB Receiver: device is a keyboard
[ 81527.481] (II) event2  - Logitech USB Receiver: device removed
[ 81527.504] (II) libinput: Logitech USB Receiver: needs a virtual subdevice
[ 81527.504] (**) Option "config_info" "udev:/sys/devices/platform/ff500000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.1/0003:046D:C534.0002/input/input2/event2"
[ 81527.504] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: MOUSE, id 7)
[ 81527.504] (**) Option "AccelerationScheme" "none"
[ 81527.504] (**) Logitech USB Receiver: (accel) selected scheme none/0
[ 81527.504] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[ 81527.504] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[ 81527.509] (II) event2  - Logitech USB Receiver: is tagged by udev as: Keyboard Mouse
[ 81527.509] (II) event2  - Logitech USB Receiver: device is a pointer
[ 81527.509] (II) event2  - Logitech USB Receiver: device is a keyboard
[ 81527.511] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse0)
[ 81527.511] (II) No input driver specified, ignoring this device.
[ 81527.511] (II) This device may have been added with another device file.
[ 81527.513] (II) config/udev: Adding input device cec_input (/dev/input/event0)
[ 81527.513] (**) cec_input: Applying InputClass "libinput keyboard catchall"
[ 81527.513] (II) Using input driver 'libinput' for 'cec_input'
[ 81527.513] (**) cec_input: always reports core events
[ 81527.513] (**) Option "Device" "/dev/input/event0"
[ 81527.513] (**) Option "_source" "server/udev"
[ 81527.515] (II) event0  - cec_input: is tagged by udev as: Keyboard
[ 81527.515] (II) event0  - cec_input: device is a keyboard
[ 81527.515] (II) event0  - cec_input: device removed
[ 81527.532] (**) Option "config_info" "udev:/sys/devices/virtual/input/input0/event0"
[ 81527.532] (II) XINPUT: Adding extended input device "cec_input" (type: KEYBOARD, id 8)
[ 81527.532] (**) Option "xkb_model" "pc105"
[ 81527.532] (**) Option "xkb_layout" "us"
[ 81527.532] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[ 81527.534] (II) event0  - cec_input: is tagged by udev as: Keyboard
[ 81527.534] (II) event0  - cec_input: device is a keyboard
[ 81527.554] (**) Logitech USB Receiver: Applying InputClass "libinput pointer catchall"
[ 81527.554] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[ 81527.554] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[ 81527.554] (**) Logitech USB Receiver: always reports core events
[ 81527.554] (**) Option "Device" "/dev/input/event2"
[ 81527.554] (**) Option "_source" "_driver/libinput"
[ 81527.554] (II) libinput: Logitech USB Receiver: is a virtual subdevice
[ 81527.554] (**) Option "config_info" "udev:/sys/devices/platform/ff500000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.1/0003:046D:C534.0002/input/input2/event2"
[ 81527.554] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 9)
[ 81527.554] (**) Option "xkb_model" "pc105"
[ 81527.554] (**) Option "xkb_layout" "us"
[ 81527.554] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[ 81529.577] (II) event1  - Logitech USB Receiver: device removed
[ 81529.604] (II) event0  - cec_input: device removed
[ 81529.636] (II) event2  - Logitech USB Receiver: device removed
[ 81529.654] (II) UnloadModule: "libinput"
[ 81529.654] (II) UnloadModule: "libinput"
[ 81529.654] (II) UnloadModule: "libinput"
[ 81529.656] (II) UnloadModule: "libinput"
[ 81529.744] (II) Server terminated successfully (0). Closing log file.

Looks like a client (Chromium) issue, and not one with the X server. We just have another case with Odroid C4 which looks similar at first sight, i.e. other X clients run fine, only Chromium fails. I’ll try it on Odroid N2.

Yet another case with Radxa Zero, narrows down to be Debian’s Chromium on ARMv8 systems: https://github.com/MichaIng/DietPi/issues/5300

I found a workaround:

apt install chromium/bullseye chromium-common/bullseye
rm -Rf /{root,home/*}/.{cache,config}/chromium

This will downgrade Chromium from v98 (from Debian security repo) to v90 (from regular Debian repo). That one starts up without issues.

Any next “apt upgrade” incl. “dietpi-update” will upgrade it again. To lock it:

apt-mark hold chromium chromium-common

I’ll report this to the Debian bug tracker.

This was verified to fix the issue on Odriod N2+.
Once again, I very appreciate your support. Kudo.

Great, thanks for the feedback. I’m not sure how to deal with it, I’m not keen to actively ship an outdated Chromium version with security vulnerabilities. I reported this to Debian already, but so far no answer: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006457

The workaround has successfully got Chromium working in Kiosk mode on Odroid C2. Thanks a lot…

Unfortunately this method doesn’t work anymore :frowning:
Is there any other way to downgrade to v90 ?

means the latest version chromium 99.0.4844 is still having the issue for you?

Yes, the branch got updated to v99 and is no longer working. I got it running again by adding buster sources to apt source list and specifying buster instead of bullseye to install chromium, and manually installing a dependency pixbuf

Could you describe step by step how you did it? Tried installing chromium from ‘buster’ but had dependency issues and continuing would uninstall the lxqt package.

root@DietPi:/home/odroid# apt install chromium/buster
Czytanie list pakietów… Gotowe
Budowanie drzewa zależności… Gotowe
Odczyt informacji o stanie… Gotowe
Wybrano wersję “89.0.4389.114-1~deb10u1” (Debian:10.12/oldstable [arm64]) pakiet u “chromium”
Wybrano wersję “7:4.1.8-0+deb10u1” (Debian:10.12/oldstable [arm64]) pakietu “lib avformat58”, z powodu “chromium”
Wybrano wersję “7:4.1.8-0+deb10u1” (Debian:10.12/oldstable [arm64]) pakietu “lib avcodec58”, z powodu “libavformat58”
Wybrano wersję “7:4.1.8-0+deb10u1” (Debian:10.12/oldstable [arm64]) pakietu “lib avutil56”, z powodu “libavcodec58”
Wybrano wersję “7:4.1.8-0+deb10u1” (Debian:10.12/oldstable [arm64]) pakietu “lib swresample3”, z powodu “libavcodec58”
Wybrano wersję “1:1.1.0-1” (Debian:10.12/oldstable [arm64]) pakietu “libbluray2” , z powodu “libavformat58”
Wybrano wersję “0.4.3-1+deb10u1” (Debian:10.12/oldstable [arm64]) pakietu “libop enmpt0”, z powodu “libavformat58”
Wybrano wersję “89.0.4389.114-1~deb10u1” (Debian:10.12/oldstable [arm64]) pakiet u “chromium-common”, z powodu “chromium”
Następujące pakiety zostały zainstalowane automatycznie i nie są już więcej wyma gane:
desktop-base desktop-file-utils file fonts-quicksand gcc-8-base:armhf
kwayland-data libcodec2-0.9 libdav1d4 libdbusmenu-qt5-2 libfile-basedir-perl
libfile-desktopentry-perl libfile-mimeinfo-perl libfm-extra4 libfm-qt8
libglib2.0-bin libglib2.0-data libipc-system-simple-perl libjack-jackd2-0
libjsoncpp24 libkf5idletime5 libkf5screen-bin libkf5screen7 libkf5solid5
libkf5solid5-data libkf5waylandclient5 libkf5windowsystem-data
libkf5windowsystem5 libltdl7 liblxqt-globalkeys-ui0 liblxqt-globalkeys0
liblxqt0 libmagic-mgc libmagic1 libmenu-cache-bin libmenu-cache3
libmuparser2v5 liborc-0.4-0 libpam-systemd libpolkit-agent-1-0
libpolkit-gobject-1-0 libpolkit-qt5-1-1 libpulse-mainloop-glib0 libpulsedsp
libqt5xdg3 libqt5xdgiconloader3 libqt5xml5 libre2-9 librsvg2-common
libspeexdsp1 libstartup-notification0 libstatgrab10 libsysstat-qt5-0 libtdb1
libwebrtc-audio-processing1 libwnck-3-0 libwnck-3-common libx264-160
libx265-192 libxcb-res0 libxfce4ui-2-0 libxfce4ui-common libxfce4util-common
libxfce4util7 libxfconf-0-3 libxpresent1 libxres1 lximage-qt lxmenu-data
lxqt-about lxqt-admin lxqt-branding-debian lxqt-config lxqt-core
lxqt-globalkeys lxqt-notificationd lxqt-openssh-askpass lxqt-panel
lxqt-policykit lxqt-powermanagement lxqt-qtplugin lxqt-runner lxqt-session
lxqt-sudo lxqt-system-theme lxqt-theme-debian ocl-icd-libopencl1 pcmanfm-qt
pulseaudio-utils qlipper qps qttranslations5-l10n sddm-theme-debian-elarun
xfconf xfwm4 xsettingsd
Aby je usunąć należy użyć “sudo apt autoremove”.
The following additional packages will be installed:
chromium-common libavcodec58 libavformat58 libavutil56 libbluray2
libchromaprint1 libcodec2-0.8.1 libevent-2.1-6 libgme0 libicu63 libjsoncpp1
libmpg123-0 libopenmpt0 libre2-5 libssh-gcrypt-4 libswresample3
libvorbisfile3 libvpx5 libx264-155 libx265-165
Sugerowane pakiety:
chromium-l10n chromium-shell chromium-driver libbluray-bdj
Polecane pakiety:
chromium-sandbox libu2f-udev fonts-liberation libaacs0
Następujące pakiety zostaną USUNIĘTE:

libasound2-plugins libavresample4 lxqt pavucontrol-qt pulseaudio
Zostaną zainstalowane następujące NOWE pakiety:
chromium libavformat58 libbluray2 libchromaprint1 libcodec2-0.8.1
libevent-2.1-6 libgme0 libicu63 libjsoncpp1 libmpg123-0 libopenmpt0 libre2-5
libssh-gcrypt-4 libvorbisfile3 libvpx5 libx264-155 libx265-165
Zostaną zainstalowane STARE wersje następujących pakietów:
chromium-common libavcodec58 libavutil56 libswresample3
0 aktualizowanych, 17 nowo instalowanych, 4 cofniętych wersji, 5 usuwanych i 0 n ieaktualizowanych.
Konieczne pobranie 67,7 MB archiwów.
Po tej operacji zostanie dodatkowo użyte 214 MB miejsca na dysku.
Kontynuować? [T/n]