DietPi icon indicating copy to clipboard operation
DietPi copied to clipboard

DietPi-Software | Chromium: Fails to start on ARMv8

Open almirus opened this issue 3 years ago • 56 comments

Creating a bug report/issue

Required Information

  • DietPi version | 8.1.2
  • Distro version | bullseye
  • Kernel version | Linux DietPi 5.10.69-7-amlogic-gfd159ba07d5c #gfd159ba07d5c SMP PREEMPT Thu Nov 4 14:38:15 CST 2021 aarch64 GNU/Linux
  • SBC model | Radxa Zero (aarch64)
  • Power supply used | 5V 1A
  • SD card used |SanDisk ultra

Additional Information (if applicable)

  • Software title | chromium 98.0.4758.102
  • Bug report ID | 16a389ef-4f5f-4795-ad55-81e728bafdde

Steps to reproduce

  1. autostart chromium (kiosk mode)
  2. or xinit /usr/bin/chromium ---kiosk

Extra details

root@DietPi:~# xinit /usr/bin/chromium ---kiosk


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux DietPi 5.10.69-7-amlogic-gfd159ba07d5c #gfd159ba07d5c SMP PREEMPT Thu Nov 4 14:38:15 CST 2021 aarch64
Kernel command line: initrd=initrd.img-5.10.69-7-amlogic-gfd159ba07d5c root=UUID=30422831-c223-492f-959c-0fc18139c228 rootwait rw rootfstype=ext4 console=tty1 console=ttyAML0,115200 panic=10 consoleblank=0 loglevel=7   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
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: Sun Feb 20 18:40:30 2022
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[2380:2410:0220/184033.652183: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")
[2380:2410:0220/184033.652751: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
[2380:2410:0220/184033.702222: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")
[2380:2410:0220/184033.702466: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")
[2380:2410:0220/184033.842968: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")
[2380:2410:0220/184033.843115: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
[2380:2380:0220/184034.039483:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2380:2380:0220/184034.122230:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
[2380:2444:0220/184034.123897:ERROR:object_proxy.cc(623)] 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
[2380:2444:0220/184034.124941:ERROR:object_proxy.cc(623)] 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
[2380:2444:0220/184034.126014:ERROR:object_proxy.cc(623)] 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
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2380:2380:0220/184034.167681:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2380:2380:0220/184034.198424:ERROR:system_web_app_manager.cc(320)] Exceeded SWA install retry attempts.  Skipping installation, will retry on next OS update or when locale changes.
[2380:2380:0220/184034.200305: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
[2380:2380:0220/184034.225990:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2380:2380:0220/184034.240862:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
[2380:2380:0220/184034.240968:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
[2418:2436:0220/184034.338564:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -3
[2418:2436:0220/184034.339536: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.


almirus avatar Feb 20 '22 18:02 almirus

Many thanks for your report. It seems to be a general bug in Chromium affecting many or all ARMv8 systems:

  • https://github.com/MichaIng/DietPi/issues/5278#issuecomment-1040592980
  • https://dietpi.com/phpbb/viewtopic.php?t=9957

MichaIng avatar Feb 20 '22 18:02 MichaIng

Please let me know if there is anything you want me to test on an Odroid C4.

MDAR avatar Feb 21 '22 10:02 MDAR

I found a workaround:

apt install chromium/bullseye chromium-common/bullseye

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
rm -Rf /{root,home/*}/.{cache,config}/chromium

I'll report this to the Debian bug tracker.

MichaIng avatar Feb 25 '22 19:02 MichaIng

This works for you as well guys? I'm not sure what to do about it. I reported it to Debian: https://bugs.debian.org/1006457 But I'm not sure whether we should really pin an old Chromium version on those systems via dietpi-software which obviously has security vulnerabilities solved with the one shipped by the security repo. As a personal workaround this is fine, but knowingly shipping vulnerable software in "stable" DietPi is not so awesome 🤔.

I think I'll wait with the decision until the final release, probably we get some helpful response on the Debian bug report until then.

MichaIng avatar Feb 26 '22 18:02 MichaIng

This works for you as well guys?

I'm away for a few weeks working on a client's site, as soon as I get back I'll fire up a machine and let you know.

As a personal workaround this is fine, but knowingly shipping vulnerable software in "stable" DietPi is not so awesome 🤔.

I think I'll wait with the decision until the final release, probably we get some helpful response on the Debian bug report until then.

I agree completely

MDAR avatar Feb 26 '22 21:02 MDAR

in my case, the chromium is opened, but not load the --homepage, but, if i press ctrl t (new tab) then load the page:

test: dietpi version: 8.1.2 Chromium 98.0.4758.106 Built on Debian , running on Debian 11

xinit /usr/bin/chromium-browser --autoplay-policy=no-user-gesture-required --no-sandbox --homepage https://www.google.com --app --start-fullscreen --check-for-update-interval=604800 --window-size=, --app-window-size=, --window-position=0,0 --noerrdialogs --disable-infobars --kiosk

OUTPUT:

X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux DietPi 5.10.92-v8+ #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 aarch64
Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=854 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000  root=PARTUUID=9bcc366d-02 rootfstype=ext4 rootwait fsck.repair=yes net.ifnames=0 logo.nologo quiet console=ttyS0,115200 console=tty1
Build Date: 04 January 2022  10:24:42AM
xorg-server 2:1.20.11-1+rpt1+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: Fri Mar  4 21:07:26 2022
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/etc/chromium.d/README: line 1: Any: command not found
dpkg-query: no packages found matching bluealsa
[3623:3678:0304/210729.478320:ERROR:bus.cc(397)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3623:3678:0304/210729.480972:ERROR:bus.cc(397)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3623:3678:0304/210729.544250:ERROR:bus.cc(397)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3623:3678:0304/210729.546522:ERROR:bus.cc(397)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
libEGL warning: DRI2: failed to authenticate
[3623:3678:0304/210729.790953:ERROR:bus.cc(397)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3623:3678:0304/210729.792626:ERROR:bus.cc(397)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3623:3725:0304/210730.017362:ERROR:object_proxy.cc(623)] 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
[3623:3725:0304/210730.019597:ERROR:object_proxy.cc(623)] 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
[3623:3725:0304/210730.021784:ERROR:object_proxy.cc(623)] 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
[3686:3686:0304/210730.257685:ERROR:gpu_init.cc(454)] Passthrough is not supported, GL is egl, ANGLE is
[3686:3686:0304/210730.318619:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
[3745:3745:0304/210730.388484:ERROR:egl_util.cc(74)] Failed to load GLES library: /usr/lib/chromium-browser/libGLESv2.so: /usr/lib/chromium-browser/libGLESv2.so: cannot open shared object file: No such file or directory
[3745:3745:0304/210730.404488:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
[3757:3757:0304/210730.466733:ERROR:gpu_init.cc(454)] Passthrough is not supported, GL is disabled, ANGLE is
[3623:3661:0304/210735.098604:ERROR:chrome_browser_main_extra_parts_metrics.cc(227)] START: ReportBluetoothAvailability(). If you don't see the END: message, this is crbug.com/1216328.
[3623:3661:0304/210735.101069:ERROR:chrome_browser_main_extra_parts_metrics.cc(230)] END: ReportBluetoothAvailability()

orlandozeta avatar Mar 05 '22 00:03 orlandozeta

@orlandozeta You are using an RPi, with chromium-browser from RPi repo instead of chromium from Debian repo? This is known to not be affected, only the Chromium build from the Debian APT repository is.

MichaIng avatar Mar 06 '22 00:03 MichaIng

what could be the problem then?

with Chromium 95.0.4638.78 Built on Debian , running on Debian 11 It works well, 32 rpi running ok, 2 with updated chromium to 98, not

orlandozeta avatar Mar 06 '22 21:03 orlandozeta

I have no idea, which is why I reported it to Debian.

MichaIng avatar Mar 06 '22 22:03 MichaIng

Hello everyone

I've just updated an Odroid C4 to DietPi 8.2.2 and the full screen Chromium kiosk in Xinit is working again.

Thanks to everyone that did all the hard work in the background.

FYI

I did play around with Firefox in the same situation, but it never quite did what Chromium did so easily.

MDAR avatar Mar 11 '22 16:03 MDAR

Strange, since there was not change regarding this, no Chromium package upgrade since this issue appeared the first time. I'll test on Odroid N2 as well, probably others here can test as well. If it is really resolved, then it was probably something with the X server or a dependency of Chromium which fixed it. I'll carefully watch all APT package upgrades on Odroid N2 as well 😄.

MichaIng avatar Mar 11 '22 18:03 MichaIng

no Chromium package upgrade

Curious, the machine in question here updated from DietPi 7 to 8.2.2 and I'm sure I saw a Chromium package update at some point.

But I can confirm that I did nothing else, other than update to 8.2.2

Good luck with the N2.

Do you have a C4 machine? Would you like one?

MDAR avatar Mar 11 '22 19:03 MDAR

Curious, the machine in question here updated from DietPi 7 to 8.2.2 and I'm sure I saw a Chromium package update at some point.

Okay, DietPi v7 is old, so of course there were many Chromium package updates since then. I hope before reporting here you tried first to upgrade to the latest Chromium package 😉. I tested it with the (still) latest package on Odroid N2 and faced the same issue there, two weeks ago.

MichaIng avatar Mar 11 '22 19:03 MichaIng

hope before reporting here

Yeah, fear not.

I reported it after I had updated the machine to 8.1 (I think, whatever it was a few weeks ago)

Today's machine was a "working / known to be good" image, that I just ran the dietpi-update script on.

MDAR avatar Mar 11 '22 20:03 MDAR

Okay, another package upgrade (not the chromium one) solved it most likely then.

MichaIng avatar Mar 11 '22 20:03 MichaIng

today, after a sudo apt upgrade, the chromium-browser is working again

orlandozeta avatar Mar 28 '22 03:03 orlandozeta

root@DietPi:~# sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  base-files bind9-dnsutils bind9-host bind9-libs dirmngr dnsutils gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv libflac8 libpam-systemd libssl1.1 libsystemd0 libtiff5 libudev1 libxml2 libzzip-0-13 openssl
  systemd systemd-sysv systemd-timesyncd sysvinit-utils tzdata udev xterm
32 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 21.2 MB of archives.
After this operation, 58.4 kB of additional disk space will be used.
Do you want to continue? [Y/n]

orlandozeta avatar Mar 28 '22 03:03 orlandozeta

tried on another device, not lucky, maybe in the first device, i install something did fix the bug

orlandozeta avatar Mar 28 '22 11:03 orlandozeta

The device where it is working is a Raspberry Pi? This issue is not affecting the Raspberry Pi's chromium-browser package, only Debian's chromium package.

MichaIng avatar Mar 29 '22 22:03 MichaIng

both devices are rpi3 with dietpi 8.2.2, today i compareted the apt list --installed of two devices, the unique diff are a python-dev installed (on the device with working chromium)

orlandozeta avatar Mar 29 '22 22:03 orlandozeta

Then your issue is not related to this one, I guess you do not see the error messages reported above either, do you? Does this better fit your symptoms: #5342 You need to enable KMS on RPi to have it showing websites. See the first three commands provided here: https://github.com/MichaIng/DietPi/issues/5342#issuecomment-1061789323

MichaIng avatar Mar 29 '22 23:03 MichaIng

On my Odroid N2 it doesn't work yet either.

MichaIng avatar Apr 01 '22 13:04 MichaIng

On my Odroid N2 it doesn't work yet either.

That's disappointing. Is there anything I can try that might help you?

(I'm tempted to try a N2, but can't justify it right now)

MDAR avatar Apr 01 '22 15:04 MDAR

Is there anything I can try that might help you?

Many thanks for the offer, but I have really no idea how to further debug, and it is the very same issue on all boards, so I can do every debug step quickly by myself. I updated the Debian bug report, sadly I missed a reply, and sadly the suggested Chromium flags didn't help either, but at least there is some activity on the bug report.

Nasty that now where the new Chromium version got merged into the main Debian repo as well (previously it was shipped only by the security repo), the simply workaround above doesn't work anymore, but now one needs to downgrade Chromium by manually downloading and installing the older packages.

MichaIng avatar Apr 02 '22 11:04 MichaIng

Hi

I'm sure this isn't news to you, but I thought I'd share the Xorg.log file from an Odoird C4 with DietPi V8.5

[   175.730] 
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[   175.730] Build Operating System: linux Debian
[   175.730] Current Operating System: Linux openHAB-C4 5.10.110-meson64 #22.05.1 SMP PREEMPT Sat May 28 07:50:27 UTC 2022 aarch64
[   175.730] Kernel command line: root=UUID=28046172-8741-4334-96cd-b24d158eec46 rootfstype=ext4 rootwait console=tty1 loglevel=4 consoleblank=0 coherent_pool=2M ubootpart=2c2a3e4f-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u net.ifnames=0 
[   175.731] Build Date: 16 December 2021  05:08:23PM
[   175.731] xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support) 
[   175.731] Current version of pixman: 0.40.0
[   175.731] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   175.731] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   175.732] (==) Log file: "/home/dietpi/.local/share/xorg/Xorg.0.log", Time: Tue May 31 10:32:46 2022
[   175.737] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   175.737] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   175.738] (==) No Layout section.  Using the first Screen section.
[   175.738] (==) No screen section available. Using defaults.
[   175.738] (**) |-->Screen "Default Screen Section" (0)
[   175.738] (**) |   |-->Monitor "<default monitor>"
[   175.739] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   175.739] (**) Option "BlankTime" "0"
[   175.739] (==) Automatically adding devices
[   175.739] (==) Automatically enabling devices
[   175.739] (==) Automatically adding GPU devices
[   175.741] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   175.747] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   175.747] 	Entry deleted from font path.
[   175.747] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   175.747] 	Entry deleted from font path.
[   175.747] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   175.747] 	Entry deleted from font path.
[   175.747] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[   175.747] 	Entry deleted from font path.
[   175.747] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   175.747] 	Entry deleted from font path.
[   175.747] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   175.747] 	Entry deleted from font path.
[   175.747] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	built-ins
[   175.747] (==) ModulePath set to "/usr/lib/xorg/modules"
[   175.747] (**) Extension "DPMS" is disabled
[   175.747] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   175.747] (II) Loader magic: 0xaaaab6791e28
[   175.747] (II) Module ABI versions:
[   175.747] 	X.Org ANSI C Emulation: 0.4
[   175.747] 	X.Org Video Driver: 24.1
[   175.747] 	X.Org XInput driver : 24.1
[   175.747] 	X.Org Server Extension : 10.0
[   175.753] (EE) systemd-logind: failed to get session: Unit dbus-org.freedesktop.login1.service is masked.
[   175.755] (II) xfree86: Adding drm device (/dev/dri/card0)
[   175.756] (II) xfree86: Adding drm device (/dev/dri/card1)
[   175.756] (II) no primary bus or device found
[   175.756] (II) LoadModule: "glx"
[   175.757] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   175.779] (II) Module glx: vendor="X.Org Foundation"
[   175.779] 	compiled for 1.20.11, module version = 1.0.0
[   175.779] 	ABI class: X.Org Server Extension, version 10.0
[   175.779] (==) Matched modesetting as autoconfigured driver 0
[   175.779] (==) Matched fbdev as autoconfigured driver 1
[   175.779] (==) Assigned the driver to the xf86ConfigLayout
[   175.779] (II) LoadModule: "modesetting"
[   175.780] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   175.783] (II) Module modesetting: vendor="X.Org Foundation"
[   175.783] 	compiled for 1.20.11, module version = 1.20.11
[   175.783] 	Module class: X.Org Video Driver
[   175.783] 	ABI class: X.Org Video Driver, version 24.1
[   175.783] (II) LoadModule: "fbdev"
[   175.784] (WW) Warning, couldn't open module fbdev
[   175.784] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   175.784] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   175.784] (EE) 
Fatal server error:
[   175.784] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
[   175.787] (EE) 
[   175.789] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   175.797] (EE) Please also check the log file at "/home/dietpi/.local/share/xorg/Xorg.0.log" for additional information.
[   175.799] (EE) 
[   175.802] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[   175.802] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[   175.802] (EE) Server terminated with error (1). Closing log file.

MDAR avatar May 31 '22 09:05 MDAR

What was the user used to start Chromium?

parse_vt_settings: Cannot open /dev/tty0 (Permission denied)

Joulinar avatar May 31 '22 10:05 Joulinar

What was the user used to start Chromium?

parse_vt_settings: Cannot open /dev/tty0 (Permission denied)

On this occasion, it was set as dietpi

I'll try root and see what happens


No, that didn't help.

This is the output

X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux openHAB-C4 5.10.110-meson64 #22.05.1 SMP PREEMPT                                                                                                                                                              Sat May 28 07:50:27 UTC 2022 aarch64
Kernel command line: root=UUID=28046172-8741-4334-96cd-b24d158eec46 rootfstype=e                                                                                                                                                             xt4 rootwait console=tty1 loglevel=4 consoleblank=0 coherent_pool=2M ubootpart=2                                                                                                                                                             c2a3e4f-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u                                                                                                                                                              net.ifnames=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 May 31 11:18:52 2022
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[3452:3481:0531/111857.293676:ERROR:bus.cc(398)] Failed to connect to the bus: C                                                                                                                                                             ould not parse server address: Unknown address type (examples of valid types are                                                                                                                                                              "tcp" and on UNIX "unix")
[3452:3481:0531/111857.294091:ERROR:bus.cc(398)] Failed to connect to the bus: C                                                                                                                                                             ould 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
[3452:3481:0531/111857.403519:ERROR:bus.cc(398)] Failed to connect to the bus: C                                                                                                                                                             ould not parse server address: Unknown address type (examples of valid types are                                                                                                                                                              "tcp" and on UNIX "unix")
[3452:3481:0531/111857.403700:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[3452:3481:0531/111857.583433:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[3452:3481:0531/111857.583619:ERROR:bus.cc(398)] 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
[3452:3452:0531/111857.721091:ERROR:gpu_process_host.cc(973)] GPU process exited                                                                                                                                                              unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[3452:3515:0531/111857.812972:ERROR:object_proxy.cc(623)] 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
[3452:3515:0531/111857.814252:ERROR:object_proxy.cc(623)] 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
[3452:3515:0531/111857.815299:ERROR:object_proxy.cc(623)] 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
[3452:3452:0531/111857.815608:ERROR:gpu_process_host.cc(973)] GPU process exited                                                                                                                                                              unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[3452:3452:0531/111857.834240:ERROR:gpu_process_host.cc(973)] GPU process exited                                                                                                                                                              unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[3452:3452:0531/111857.851765:ERROR:gpu_process_host.cc(973)] GPU process exited                                                                                                                                                              unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[3452:3452:0531/111857.875086:ERROR:gpu_process_host.cc(973)] GPU process exited                                                                                                                                                              unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[3452:3452:0531/111857.908647:ERROR:gpu_process_host.cc(973)] GPU process exited                                                                                                                                                              unexpectedly: exit_code=6
[3452:3452:0531/111857.908810:FATAL:gpu_data_manager_impl_private.cc(450)] GPU process isn't usable. Goodbye.
[3490:3506:0531/111858.001611:ERROR:ssl_client_socket_impl.cc(999)] handshake failed; returned -1, SSL error code 1, net_error -3
[3490:3506:0531/111858.005392:ERROR:ssl_client_socket_impl.cc(999)] 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.

MDAR avatar May 31 '22 10:05 MDAR

Hi

Just an update.

I've installed a fresh / vanilla DietPi V8.6.1 onto a new eMMC card for an Odroid C4 today and tried the whole AutoStart with Chromium thing. (yes, I installed Chromium)

When the machine rebooted, I got the whole "Stack Smashing Detected" warning again.

Is there any value in sharing any of the logs with you to hunt down this issue?

Cheers, Stuart

MDAR avatar Jul 05 '22 15:07 MDAR

Sadly not. Bug has been reported to Debian bug tracker with other users verifying it, I guess the logs would just repeat what has been posted already: https://bugs.debian.org/1006457

MichaIng avatar Jul 05 '22 16:07 MichaIng

can we get old and working version of chromium somewhere, then manually install it?

0x9394 avatar Jul 06 '22 05:07 0x9394

well we install Chromium via apt package manger from official Debian repository. DietPi themselves is not providing a version.

Joulinar avatar Jul 06 '22 08:07 Joulinar

You can get older debian packages directly from the repository at http://ftp.debian.org/debian/pool/main/c/chromium/. Maybe someone will find this helpful.

ohdearaugustin avatar Jul 06 '22 22:07 ohdearaugustin

be careful, These are not different versions you can install as they are dedicated to a Debian version. Have a look to the ending where you see deb9 (Stretch), deb10 (Buster) and deb11 (Bullseye). These are the same versions you will get via apt install https://packages.debian.org/search?suite=all&searchon=names&keywords=chromium

Joulinar avatar Jul 07 '22 07:07 Joulinar

install old version in radxa zero did not work. what I did:

  • remove chromium with dietpi-software, and verify no chromium package remained.
  • dpkg -i chromium_89.0.4389.114-1_deb10u1_arm64.deb failed.
  • then run apt install --fix-missing & apt --fix-broken install
  • reboot, kiosk screen not work.
  • finds out chromium package version is 103 not 89. (did not run dietpi-update or apt update/upgrade in above tests)

0x9394 avatar Jul 08 '22 04:07 0x9394

Install the package like this:

apt install --allow-downgrades ./chromium_89.0.4389.114-1_deb10u1_arm64.deb

If that fails, show the full error log.

MichaIng avatar Jul 08 '22 06:07 MichaIng

This is the buster version. Does it gonna work on Bullseye?

Joulinar avatar Jul 08 '22 06:07 Joulinar

Probably not, maybe a missing (old) library is the reason for the install failure. There is a much newer version which worked: https://github.com/MichaIng/DietPi/issues/5300#issuecomment-1060045619 But not sure whether it's still available on repo. In Debian snapshots at least one should be able to find it.

MichaIng avatar Jul 08 '22 06:07 MichaIng

Install the package like this:

apt install --allow-downgrades ./chromium_89.0.4389.114-1_deb10u1_arm64.deb

If that fails, show the full error log.

ken@tv1:~$ sudo apt install --allow-downgrades ./chromium_89.0.4389.114-1_deb10u1_arm64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'chromium' instead of './chromium_89.0.4389.114-1_deb10u1_arm64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 chromium : Depends: libevent-2.1-6 (>= 2.1.8-stable) but it is not installable
            Depends: libicu63 (>= 63.1-1~) but it is not installable
            Depends: libjsoncpp1 (>= 1.7.4) but it is not installable
            Depends: libre2-5 (>= 20160901) but it is not installable
            Depends: libvpx5 (>= 1.6.0) but it is not installable
            Depends: chromium-common (= 89.0.4389.114-1~deb10u1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

0x9394 avatar Jul 08 '22 09:07 0x9394

just installed chromium-browser_95.0.4638.78-rpt6_arm64.deb from here https://archive.raspberrypi.org/debian/pool/main/c/chromium-browser/

ken@tv1:~$ sudo dpkg --list | grep chrom
rc  chromium-browser                95.0.4638.78-rpt6              arm64        Chromium web browser, open-source version of Chrome

image

0x9394 avatar Jul 08 '22 10:07 0x9394

Because you uninstalled Chromium via dietpi-software 😉. Does it start with startx /usr/bin/chromium-browser? If so, install it again via dietpi-software, then downgrade and apt-mark hold chromium-browser to prevent it from being upgraded.

MichaIng avatar Jul 08 '22 13:07 MichaIng

tried v92 & 95, both failed. copied chromium-autostart.sh to /var/lib/dietpi/dietpi-software/installed/ image

ken@tv1:/var/log$ cat Xorg.0.log 
[     7.554] 
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[     7.554] Build Operating System: linux Debian
[     7.554] Current Operating System: Linux tv1 5.10.123-meson64 #22.05.3 SMP PREEMPT Wed Jun 22 07:23:04 UTC 2022 aarch64
[     7.554] Kernel command line: root=UUID=dffc3253-1d83-4c04-9cf7-65ede07d866f rootfstype=ext4 rootwait console=tty1 loglevel=4 consoleblank=0 coherent_pool=2M ubootpart=4d4ec9c8-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u net.ifnames=0
[     7.554] Build Date: 16 December 2021  05:08:23PM
[     7.555] xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support) 
[     7.555] Current version of pixman: 0.40.0
[     7.555] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     7.555] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     7.555] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 11 14:51:22 2022
[     7.562] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     7.562] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     7.563] (==) No Layout section.  Using the first Screen section.
[     7.563] (==) No screen section available. Using defaults.
[     7.563] (**) |-->Screen "Default Screen Section" (0)
[     7.563] (**) |   |-->Monitor ""
[     7.564] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     7.564] (**) Option "BlankTime" "0"
[     7.564] (==) Automatically adding devices
[     7.565] (==) Automatically enabling devices
[     7.565] (==) Automatically adding GPU devices
[     7.567] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     7.577] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[     7.577] 	Entry deleted from font path.
[     7.577] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[     7.577] 	Entry deleted from font path.
[     7.577] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[     7.577] 	Entry deleted from font path.
[     7.577] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[     7.577] 	Entry deleted from font path.
[     7.577] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[     7.577] 	Entry deleted from font path.
[     7.577] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[     7.577] 	Entry deleted from font path.
[     7.577] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	built-ins
[     7.577] (==) ModulePath set to "/usr/lib/xorg/modules"
[     7.577] (**) Extension "DPMS" is disabled
[     7.577] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     7.577] (II) Loader magic: 0xaaaab5af1e28
[     7.577] (II) Module ABI versions:
[     7.577] 	X.Org ANSI C Emulation: 0.4
[     7.577] 	X.Org Video Driver: 24.1
[     7.577] 	X.Org XInput driver : 24.1
[     7.577] 	X.Org Server Extension : 10.0
[     7.579] (--) using VT number 2

[     7.579] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     7.580] (II) xfree86: Adding drm device (/dev/dri/card0)
[     7.588] (II) xfree86: Adding drm device (/dev/dri/card1)
[     7.593] (II) no primary bus or device found
[     7.593] 	falling back to /sys/devices/platform/soc/ff900000.vpu/drm/card0
[     7.593] (II) LoadModule: "glx"
[     7.595] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     7.621] (II) Module glx: vendor="X.Org Foundation"
[     7.621] 	compiled for 1.20.11, module version = 1.0.0
[     7.621] 	ABI class: X.Org Server Extension, version 10.0
[     7.621] (==) Matched modesetting as autoconfigured driver 0
[     7.621] (==) Matched fbdev as autoconfigured driver 1
[     7.621] (==) Assigned the driver to the xf86ConfigLayout
[     7.621] (II) LoadModule: "modesetting"
[     7.621] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     7.624] (II) Module modesetting: vendor="X.Org Foundation"
[     7.624] 	compiled for 1.20.11, module version = 1.20.11
[     7.624] 	Module class: X.Org Video Driver
[     7.624] 	ABI class: X.Org Video Driver, version 24.1
[     7.624] (II) LoadModule: "fbdev"
[     7.624] (WW) Warning, couldn't open module fbdev
[     7.624] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     7.625] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     7.737] (II) modeset(0): using drv /dev/dri/card0
[     7.741] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[     7.741] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[     7.741] (==) modeset(0): RGB weight 888
[     7.741] (==) modeset(0): Default visual is TrueColor
[     7.741] (II) Loading sub module "glamoregl"
[     7.742] (II) LoadModule: "glamoregl"
[     7.742] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[     7.772] (II) Module glamoregl: vendor="X.Org Foundation"
[     7.772] 	compiled for 1.20.11, module version = 1.0.1
[     7.772] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     8.911] (II) modeset(0): glamor X acceleration enabled on Mali G31 (Panfrost)
[     8.911] (II) modeset(0): glamor initialized
[     9.032] (II) modeset(0): Output HDMI-1 has no monitor section
[     9.155] (II) modeset(0): EDID for output HDMI-1
[     9.155] (II) modeset(0): Manufacturer: DEL  Model: a197  Serial#: 810177612
[     9.155] (II) modeset(0): Year: 2020  Week: 38
[     9.155] (II) modeset(0): EDID Version: 1.3
[     9.155] (II) modeset(0): Digital Display Input
[     9.155] (II) modeset(0): Max Image Size [cm]: horiz.: 60  vert.: 34
[     9.155] (II) modeset(0): Gamma: 2.20
[     9.155] (II) modeset(0): DPMS capabilities: StandBy Suspend Off
[     9.155] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[     9.155] (II) modeset(0): First detailed timing is preferred mode
[     9.155] (II) modeset(0): redX: 0.657 redY: 0.329   greenX: 0.305 greenY: 0.645
[     9.155] (II) modeset(0): blueX: 0.150 blueY: 0.060   whiteX: 0.313 whiteY: 0.329
[     9.155] (II) modeset(0): Supported established timings:
[     9.155] (II) modeset(0): 720x400@70Hz
[     9.155] (II) modeset(0): 640x480@60Hz
[     9.155] (II) modeset(0): 640x480@75Hz
[     9.155] (II) modeset(0): 800x600@60Hz
[     9.155] (II) modeset(0): 800x600@75Hz
[     9.155] (II) modeset(0): 1024x768@60Hz
[     9.155] (II) modeset(0): 1024x768@75Hz
[     9.155] (II) modeset(0): 1280x1024@75Hz
[     9.155] (II) modeset(0): Manufacturer's mask: 0
[     9.155] (II) modeset(0): Supported standard timings:
[     9.155] (II) modeset(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[     9.155] (II) modeset(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[     9.155] (II) modeset(0): #2: hsize: 1600  vsize 900  refresh: 60  vid: 49321
[     9.155] (II) modeset(0): #3: hsize: 1600  vsize 1200  refresh: 60  vid: 16553
[     9.155] (II) modeset(0): #4: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
[     9.155] (II) modeset(0): #5: hsize: 2048  vsize 1280  refresh: 60  vid: 225
[     9.155] (II) modeset(0): Supported detailed timing:
[     9.155] (II) modeset(0): clock: 594.0 MHz   Image Size:  597 x 336 mm
[     9.155] (II) modeset(0): h_active: 3840  h_sync: 4016  h_sync_end 4104 h_blank_end 4400 h_border: 0
[     9.155] (II) modeset(0): v_active: 2160  v_sync: 2168  v_sync_end 2178 v_blanking: 2250 v_border: 0
[     9.155] (II) modeset(0): Serial No: 8Y6B513
[     9.155] (II) modeset(0): Monitor name: DELL S2721QS
[     9.155] (II) modeset(0): Ranges: V min: 40 V max: 60 Hz, H min: 130 H max: 137 kHz, PixClock max 605 MHz
[     9.155] (II) modeset(0): Supported detailed timing:
[     9.155] (II) modeset(0): clock: 241.5 MHz   Image Size:  597 x 336 mm
[     9.155] (II) modeset(0): h_active: 2560  h_sync: 2608  h_sync_end 2640 h_blank_end 2720 h_border: 0
[     9.155] (II) modeset(0): v_active: 1440  v_sync: 1443  v_sync_end 1448 v_blanking: 1481 v_border: 0
[     9.155] (II) modeset(0): Number of EDID sections to follow: 1
[     9.155] (II) modeset(0): EDID (in hex):
[     9.155] (II) modeset(0): 	00ffffffffffff0010ac97a14c544a30
[     9.155] (II) modeset(0): 	261e0103803c2278ea5095a8544ea526
[     9.155] (II) modeset(0): 	0f5054a54b00714f8180a9c0a940d1c0
[     9.155] (II) modeset(0): 	e1000101010108e80030f2705a80b058
[     9.155] (II) modeset(0): 	8a0055502100001e000000ff00385936
[     9.155] (II) modeset(0): 	423531330a2020202020000000fc0044
[     9.155] (II) modeset(0): 	454c4c20533237323151530a000000fd
[     9.155] (II) modeset(0): 	00283c82893c000a20202020202001b0
[     9.155] (II) modeset(0): 	020350f1546101020304050607101112
[     9.155] (II) modeset(0): 	1415161f20215d5e5f23090707830100
[     9.155] (II) modeset(0): 	006d030c002000384420006003020167
[     9.155] (II) modeset(0): 	d85dc401788001e40f010000e305c000
[     9.155] (II) modeset(0): 	e60605015a5a00681a00000101283ce6
[     9.155] (II) modeset(0): 	565e00a0a0a029503020350055502100
[     9.155] (II) modeset(0): 	001a0000000000000000000000000000
[     9.155] (II) modeset(0): 	000000000000000000000000000000c5
[     9.155] (--) modeset(0): HDMI max TMDS frequency 340000KHz
[     9.155] (II) modeset(0): Printing probed modes for output HDMI-1
[     9.155] (II) modeset(0): Modeline "3840x2160"x60.0  594.00  3840 4016 4104 4400  2160 2168 2178 2250 +hsync +vsync (135.0 kHz eP)
[     9.155] (II) modeset(0): Modeline "3840x2160"x59.9  593.41  3840 4016 4104 4400  2160 2168 2178 2250 +hsync +vsync (134.9 kHz e)
[     9.155] (II) modeset(0): Modeline "3840x2160"x30.0  297.00  3840 4016 4104 4400  2160 2168 2178 2250 +hsync +vsync (67.5 kHz e)
[     9.155] (II) modeset(0): Modeline "3840x2160"x25.0  297.00  3840 4896 4984 5280  2160 2168 2178 2250 +hsync +vsync (56.2 kHz e)
[     9.155] (II) modeset(0): Modeline "3840x2160"x24.0  297.00  3840 5116 5204 5500  2160 2168 2178 2250 +hsync +vsync (54.0 kHz e)
[     9.155] (II) modeset(0): Modeline "3840x2160"x30.0  296.70  3840 4016 4104 4400  2160 2168 2178 2250 +hsync +vsync (67.4 kHz e)
[     9.155] (II) modeset(0): Modeline "3840x2160"x24.0  296.70  3840 5116 5204 5500  2160 2168 2178 2250 +hsync +vsync (53.9 kHz e)
[     9.155] (II) modeset(0): Modeline "2560x1440"x60.0  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync (88.8 kHz e)
[     9.156] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 -hsync -vsync (67.5 kHz e)
[     9.156] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[     9.156] (II) modeset(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[     9.156] (II) modeset(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[     9.156] (II) modeset(0): Modeline "1920x1080i"x60.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[     9.156] (II) modeset(0): Modeline "1920x1080i"x50.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[     9.156] (II) modeset(0): Modeline "1920x1080"x25.0   74.25  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (28.1 kHz e)
[     9.156] (II) modeset(0): Modeline "1920x1080"x24.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[     9.156] (II) modeset(0): Modeline "1920x1080i"x59.9   74.18  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.7 kHz e)
[     9.156] (II) modeset(0): Modeline "1920x1080"x24.0   74.18  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[     9.156] (II) modeset(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[     9.156] (II) modeset(0): Modeline "1600x900"x60.0  108.00  1600 1624 1704 1800  900 901 904 1000 +hsync +vsync (60.0 kHz e)
[     9.156] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[     9.156] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[     9.156] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[     9.156] (II) modeset(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[     9.156] (II) modeset(0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[     9.156] (II) modeset(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[     9.156] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[     9.156] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[     9.156] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[     9.156] (II) modeset(0): Modeline "720x576"x50.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[     9.156] (II) modeset(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[     9.156] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[     9.156] (II) modeset(0): Output HDMI-1 connected
[     9.156] (II) modeset(0): Using exact sizes for initial modes
[     9.156] (II) modeset(0): Output HDMI-1 using initial mode 3840x2160 +0+0
[     9.156] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[     9.156] (==) modeset(0): DPI set to (96, 96)
[     9.156] (II) Loading sub module "fb"
[     9.156] (II) LoadModule: "fb"
[     9.156] (II) Loading /usr/lib/xorg/modules/libfb.so
[     9.160] (II) Module fb: vendor="X.Org Foundation"
[     9.160] 	compiled for 1.20.11, module version = 1.0.0
[     9.160] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     9.412] (==) modeset(0): Backing store enabled
[     9.412] (==) modeset(0): Silken mouse enabled
[     9.421] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[     9.421] (==) modeset(0): DPMS enabled
[     9.423] (II) modeset(0): [DRI2] Setup complete
[     9.423] (II) modeset(0): [DRI2]   DRI driver: meson
[     9.423] (II) modeset(0): [DRI2]   VDPAU driver: meson
[     9.423] (II) Initializing extension Generic Event Extension
[     9.423] (II) Initializing extension SHAPE
[     9.423] (II) Initializing extension MIT-SHM
[     9.424] (II) Initializing extension XInputExtension
[     9.426] (II) Initializing extension XTEST
[     9.426] (II) Initializing extension BIG-REQUESTS
[     9.427] (II) Initializing extension SYNC
[     9.427] (II) Initializing extension XKEYBOARD
[     9.428] (II) Initializing extension XC-MISC
[     9.428] (II) Initializing extension SECURITY
[     9.429] (II) Initializing extension XFIXES
[     9.429] (II) Initializing extension RENDER
[     9.430] (II) Initializing extension RANDR
[     9.431] (II) Initializing extension COMPOSITE
[     9.431] (II) Initializing extension DAMAGE
[     9.431] (II) Initializing extension MIT-SCREEN-SAVER
[     9.432] (II) Initializing extension DOUBLE-BUFFER
[     9.432] (II) Initializing extension RECORD
[     9.433] (II) Initializing extension Present
[     9.433] (II) Initializing extension DRI3
[     9.434] (II) Initializing extension X-Resource
[     9.434] (II) Initializing extension XVideo
[     9.435] (II) Initializing extension XVideo-MotionCompensation
[     9.435] (II) Initializing extension SELinux
[     9.435] (II) SELinux: Disabled on system
[     9.435] (II) Initializing extension GLX
[     9.709] (II) AIGLX: Loaded and initialized meson
[     9.709] (II) GLX: Initialized DRI2 GL provider for screen 0
[     9.709] (II) Initializing extension XFree86-VidModeExtension
[     9.710] (II) Initializing extension XFree86-DGA
[     9.710] (II) Initializing extension XFree86-DRI
[     9.711] (II) Initializing extension DRI2
[     9.722] (II) modeset(0): Damage tracking initialized
[     9.722] (II) modeset(0): Setting screen physical size to 1016 x 571
[    10.418] (II) Server terminated successfully (0). Closing log file.

0x9394 avatar Jul 11 '22 06:07 0x9394

FYI

I've tried to follow the above but without success. I can't find a previous version that will install on DietPi V8.6.1 on an Odroid C4

The best I get is blank screen of an X session, a small white box with a large black cross (mouse cursor), quickly followed by the closing error message.

[82287:82287:0711/100846.508963:ERROR:process_singleton_posix.cc(353)] The profile appears to be in use by another Chromium process (2357) on another computer (DietPi). Chromium has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chromium.
[82287:82287:0711/100846.609992:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
[82287:82287:0711/100846.683772:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
[82287:82287:0711/100846.697494:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
[82287:82287:0711/100846.710154:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
[82287:82287:0711/100846.721242:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
[82287:82287:0711/100846.734612:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=6
[82287:82287:0711/100846.734697:FATAL:gpu_data_manager_impl_private.cc(451)] GPU process isn't usable.
connection to X-server lostunexpectedly: exit_code=6(72098:7209)

One observation, I can't find a .conf file for Xorg in /etc/X11/xorg.conf.d

(Only file in that directory is 98-dietpi-disable_dpms.conf )

[  3975.317]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[  3975.328] Build Operating System: linux Debian
[  3975.332] Current Operating System: Linux TestopenHABC4 5.10.123-meson64 #22.05.3 SMP PREEMPT Wed Jun 22 07:23:04 UTC 2022 aarch64
[  3975.332] Kernel command line: root=UUID=28046172-8741-4334-96cd-b24d158eec46 rootfstype=ext4 rootwait console=tty1 loglevel=4 consoleblank=0 coherent_pool=2M ubootpart=2c2a3e4f-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u net.ifnames=0
[  3975.343] Build Date: 16 December 2021  05:08:23PM
[  3975.347] xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support)
[  3975.351] Current version of pixman: 0.40.0
[  3975.358]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  3975.358] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3975.373] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 11 09:58:16 2022
[  3975.377] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  3975.380] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3975.381] (==) No Layout section.  Using the first Screen section.
[  3975.381] (==) No screen section available. Using defaults.
[  3975.381] (**) |-->Screen "Default Screen Section" (0)
[  3975.381] (**) |   |-->Monitor "<default monitor>"
[  3975.381] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  3975.381] (**) Option "BlankTime" "0"
[  3975.381] (==) Automatically adding devices
[  3975.381] (==) Automatically enabling devices
[  3975.381] (==) Automatically adding GPU devices
[  3975.381] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  3975.382] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  3975.382]    Entry deleted from font path.
[  3975.382] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  3975.382]    Entry deleted from font path.
[  3975.382] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  3975.382]    Entry deleted from font path.
[  3975.382] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[  3975.382]    Entry deleted from font path.
[  3975.382] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  3975.382]    Entry deleted from font path.
[  3975.382] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  3975.382]    Entry deleted from font path.
[  3975.382] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        built-ins
[  3975.382] (==) ModulePath set to "/usr/lib/xorg/modules"
[  3975.382] (**) Extension "DPMS" is disabled
[  3975.382] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  3975.382] (II) Loader magic: 0xaaaac03d1e28
[  3975.382] (II) Module ABI versions:
[  3975.382]    X.Org ANSI C Emulation: 0.4
[  3975.382]    X.Org Video Driver: 24.1
[  3975.382]    X.Org XInput driver : 24.1
[  3975.382]    X.Org Server Extension : 10.0
[  3975.384] (++) using VT number 1

[  3975.389] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_34
[  3975.391] (II) xfree86: Adding drm device (/dev/dri/card0)
[  3975.393] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[  3975.394] (II) xfree86: Adding drm device (/dev/dri/card1)
[  3975.397] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 12 paused 0
[  3975.397] (II) no primary bus or device found
[  3975.397]    falling back to /sys/devices/platform/soc/ff900000.vpu/drm/card0
[  3975.397] (II) LoadModule: "glx"
[  3975.398] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  3975.401] (II) Module glx: vendor="X.Org Foundation"
[  3975.401]    compiled for 1.20.11, module version = 1.0.0
[  3975.401]    ABI class: X.Org Server Extension, version 10.0
[  3975.401] (==) Matched modesetting as autoconfigured driver 0
[  3975.401] (==) Matched fbdev as autoconfigured driver 1
[  3975.401] (==) Assigned the driver to the xf86ConfigLayout
[  3975.401] (II) LoadModule: "modesetting"
[  3975.402] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  3975.402] (II) Module modesetting: vendor="X.Org Foundation"
[  3975.402]    compiled for 1.20.11, module version = 1.20.11
[  3975.402]    Module class: X.Org Video Driver
[  3975.402]    ABI class: X.Org Video Driver, version 24.1
[  3975.402] (II) LoadModule: "fbdev"
[  3975.403] (WW) Warning, couldn't open module fbdev
[  3975.403] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  3975.403] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  3975.403] (II) modeset(0): using drv /dev/dri/card0
[  3975.403] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[  3975.403] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  3975.403] (==) modeset(0): RGB weight 888
[  3975.403] (==) modeset(0): Default visual is TrueColor
[  3975.403] (II) Loading sub module "glamoregl"
[  3975.403] (II) LoadModule: "glamoregl"
[  3975.404] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  3975.418] (II) Module glamoregl: vendor="X.Org Foundation"
[  3975.418]    compiled for 1.20.11, module version = 1.0.1
[  3975.418]    ABI class: X.Org ANSI C Emulation, version 0.4
[  3975.878] (II) modeset(0): glamor X acceleration enabled on Mali G31 (Panfrost)
[  3975.878] (II) modeset(0): glamor initialized
[  3975.986] (II) modeset(0): Output HDMI-1 has no monitor section
[  3976.095] (II) modeset(0): EDID for output HDMI-1
[  3976.095] (II) modeset(0): Manufacturer: HKC  Model: 0  Serial#: 0
[  3976.095] (II) modeset(0): Year: 2017  Week: 1
[  3976.095] (II) modeset(0): EDID Version: 1.3
[  3976.095] (II) modeset(0): Digital Display Input
[  3976.095] (II) modeset(0): Max Image Size [cm]: horiz.: 64  vert.: 36
[  3976.095] (II) modeset(0): Gamma: 1.00
[  3976.095] (II) modeset(0): No DPMS capabilities specified
[  3976.095] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[  3976.095] (II) modeset(0): First detailed timing is preferred mode
[  3976.095] (II) modeset(0): redX: 0.636 redY: 0.349   greenX: 0.290 greenY: 0.589
[  3976.095] (II) modeset(0): blueX: 0.143 blueY: 0.080   whiteX: 0.313 whiteY: 0.329
[  3976.095] (II) modeset(0): Supported established timings:
[  3976.095] (II) modeset(0): 720x400@70Hz
[  3976.095] (II) modeset(0): 640x480@60Hz
[  3976.095] (II) modeset(0): 800x600@56Hz
[  3976.095] (II) modeset(0): 800x600@60Hz
[  3976.095] (II) modeset(0): 1024x768@60Hz
[  3976.095] (II) modeset(0): Manufacturer's mask: 0
[  3976.095] (II) modeset(0): Supported standard timings:
[  3976.095] (II) modeset(0): #0: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[  3976.095] (II) modeset(0): Supported detailed timing:
[  3976.095] (II) modeset(0): clock: 85.8 MHz   Image Size:  575 x 323 mm
[  3976.095] (II) modeset(0): h_active: 1366  h_sync: 1436  h_sync_end 1579 h_blank_end 1792 h_border: 0
[  3976.095] (II) modeset(0): v_active: 768  v_sync: 771  v_sync_end 774 v_blanking: 798 v_border: 0
[  3976.095] (II) modeset(0): Ranges: V min: 23 V max: 71 Hz, H min: 15 H max: 71 kHz, PixClock max 155 MHz
[  3976.095] (II) modeset(0): Ranges: V min: 50 V max: 76 Hz, H min: 30 H max: 80 kHz, PixClock max 165 MHz
[  3976.095] (II) modeset(0): Monitor name: DSGi TV
[  3976.095] (II) modeset(0): Supported detailed timing:
[  3976.095] (II) modeset(0): clock: 74.2 MHz   Image Size:  708 x 398 mm
[  3976.095] (II) modeset(0): h_active: 1280  h_sync: 1720  h_sync_end 1760 h_blank_end 1980 h_border: 0
[  3976.096] (II) modeset(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[  3976.096] (II) modeset(0): Supported detailed timing:
[  3976.096] (II) modeset(0): clock: 74.2 MHz   Image Size:  708 x 398 mm
[  3976.096] (II) modeset(0): h_active: 1920  h_sync: 2448  h_sync_end 2492 h_blank_end 2640 h_border: 0
[  3976.096] (II) modeset(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[  3976.096] (II) modeset(0): Supported detailed timing:
[  3976.096] (II) modeset(0): clock: 27.0 MHz   Image Size:  531 x 398 mm
[  3976.096] (II) modeset(0): h_active: 720  h_sync: 736  h_sync_end 798 h_blank_end 858 h_border: 0
[  3976.096] (II) modeset(0): v_active: 480  v_sync: 489  v_sync_end 495 v_blanking: 525 v_border: 0
[  3976.096] (II) modeset(0): Supported detailed timing:
[  3976.096] (II) modeset(0): clock: 27.0 MHz   Image Size:  531 x 398 mm
[  3976.096] (II) modeset(0): h_active: 720  h_sync: 732  h_sync_end 796 h_blank_end 864 h_border: 0
[  3976.096] (II) modeset(0): v_active: 576  v_sync: 581  v_sync_end 586 v_blanking: 625 v_border: 0
[  3976.096] (II) modeset(0): Number of EDID sections to follow: 1
[  3976.096] (II) modeset(0): EDID (in hex):
[  3976.096] (II) modeset(0):   00ffffffffffff002163000000000000
[  3976.096] (II) modeset(0):   011b0103804024000ad7a5a2594a9624
[  3976.096] (II) modeset(0):   145054a3080081c00101010101010101
[  3976.096] (II) modeset(0):   0101010101017f2156aa51001e30468f
[  3976.096] (II) modeset(0):   33003f432100001e000000fd0017470f
[  3976.096] (II) modeset(0):   470f000a202020202020000000fd0032
[  3976.096] (II) modeset(0):   4c1e5010000a202020202020000000fc
[  3976.096] (II) modeset(0):   00445347692054560a2020202020013a
[  3976.096] (II) modeset(0):   02032a715010050403070206011f1413
[  3976.096] (II) modeset(0):   12161115202909070315073c57070183
[  3976.096] (II) modeset(0):   01000066030c00100000011d00bc52d0
[  3976.096] (II) modeset(0):   1e20b8285540c48e2100001e011d80d0
[  3976.096] (II) modeset(0):   721c1620102c2580c48e2100009e8c0a
[  3976.096] (II) modeset(0):   d08a20e02d10103e9600138e21000018
[  3976.096] (II) modeset(0):   8c0ad090204031200c405500138e2100
[  3976.096] (II) modeset(0):   001800000000000000000000000000c3
[  3976.096] (II) modeset(0): Printing probed modes for output HDMI-1
[  3976.096] (II) modeset(0): Modeline "1366x768"x60.0   85.75  1366 1436 1579 1792  768 771 774 798 +hsync +vsync (47.9 kHz eP)
[  3976.096] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[  3976.096] (II) modeset(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[  3976.096] (II) modeset(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[  3976.097] (II) modeset(0): Modeline "1920x1080i"x60.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[  3976.097] (II) modeset(0): Modeline "1920x1080i"x50.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[  3976.097] (II) modeset(0): Modeline "1920x1080"x24.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[  3976.097] (II) modeset(0): Modeline "1920x1080i"x59.9   74.18  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.7 kHz e)
[  3976.097] (II) modeset(0): Modeline "1920x1080"x24.0   74.18  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[  3976.097] (II) modeset(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[  3976.097] (II) modeset(0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[  3976.097] (II) modeset(0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[  3976.097] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[  3976.097] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[  3976.097] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[  3976.097] (II) modeset(0): Modeline "720x576"x50.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[  3976.097] (II) modeset(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[  3976.097] (II) modeset(0): Output HDMI-1 connected
[  3976.097] (II) modeset(0): Using exact sizes for initial modes
[  3976.097] (II) modeset(0): Output HDMI-1 using initial mode 1366x768 +0+0
[  3976.097] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[  3976.097] (==) modeset(0): DPI set to (96, 96)
[  3976.097] (II) Loading sub module "fb"
[  3976.097] (II) LoadModule: "fb"
[  3976.097] (II) Loading /usr/lib/xorg/modules/libfb.so
[  3976.098] (II) Module fb: vendor="X.Org Foundation"
[  3976.098]    compiled for 1.20.11, module version = 1.0.0
[  3976.098]    ABI class: X.Org ANSI C Emulation, version 0.4
[  3976.259] (==) modeset(0): Backing store enabled
[  3976.259] (==) modeset(0): Silken mouse enabled
[  3976.260] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[  3976.260] (==) modeset(0): DPMS enabled
[  3976.261] (II) modeset(0): [DRI2] Setup complete
[  3976.261] (II) modeset(0): [DRI2]   DRI driver: meson
[  3976.261] (II) modeset(0): [DRI2]   VDPAU driver: meson
[  3976.261] (II) Initializing extension Generic Event Extension
[  3976.261] (II) Initializing extension SHAPE
[  3976.261] (II) Initializing extension MIT-SHM
[  3976.262] (II) Initializing extension XInputExtension
[  3976.262] (II) Initializing extension XTEST
[  3976.263] (II) Initializing extension BIG-REQUESTS
[  3976.263] (II) Initializing extension SYNC
[  3976.263] (II) Initializing extension XKEYBOARD
[  3976.264] (II) Initializing extension XC-MISC
[  3976.264] (II) Initializing extension SECURITY
[  3976.264] (II) Initializing extension XFIXES
[  3976.265] (II) Initializing extension RENDER
[  3976.265] (II) Initializing extension RANDR
[  3976.266] (II) Initializing extension COMPOSITE
[  3976.266] (II) Initializing extension DAMAGE
[  3976.266] (II) Initializing extension MIT-SCREEN-SAVER
[  3976.267] (II) Initializing extension DOUBLE-BUFFER
[  3976.267] (II) Initializing extension RECORD
[  3976.267] (II) Initializing extension Present
[  3976.268] (II) Initializing extension DRI3
[  3976.268] (II) Initializing extension X-Resource
[  3976.268] (II) Initializing extension XVideo
[  3976.269] (II) Initializing extension XVideo-MotionCompensation
[  3976.269] (II) Initializing extension SELinux
[  3976.269] (II) SELinux: Disabled on system
[  3976.269] (II) Initializing extension GLX
[  3976.505] (II) AIGLX: Loaded and initialized meson
[  3976.505] (II) GLX: Initialized DRI2 GL provider for screen 0
[  3976.505] (II) Initializing extension XFree86-VidModeExtension
[  3976.505] (II) Initializing extension XFree86-DGA
[  3976.506] (II) Initializing extension XFree86-DRI
[  3976.506] (II) Initializing extension DRI2
[  3976.509] (II) modeset(0): Damage tracking initialized
[  3976.509] (II) modeset(0): Setting screen physical size to 361 x 203
[  3976.610] (II) config/udev: Adding input device meson-ir (/dev/input/event4)
[  3976.610] (**) meson-ir: Applying InputClass "libinput keyboard catchall"
[  3976.610] (II) LoadModule: "libinput"
[  3976.610] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  3976.615] (II) Module libinput: vendor="X.Org Foundation"
[  3976.615]    compiled for 1.20.8, module version = 0.30.0
[  3976.615]    Module class: X.Org XInput Driver
[  3976.615]    ABI class: X.Org XInput driver, version 24.1
[  3976.615] (II) Using input driver 'libinput' for 'meson-ir'
[  3976.618] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 28 paused 0
[  3976.618] (**) meson-ir: always reports core events
[  3976.618] (**) Option "Device" "/dev/input/event4"
[  3976.618] (**) Option "_source" "server/udev"
[  3976.626] (II) event4  - meson-ir: is tagged by udev as: Keyboard Pointingstick
[  3976.627] (II) event4  - meson-ir: device is a pointer
[  3976.627] (II) event4  - meson-ir: device is a keyboard
[  3976.627] (II) event4  - meson-ir: device removed
[  3976.628] (II) libinput: meson-ir: needs a virtual subdevice
[  3976.628] (**) Option "config_info" "udev:/sys/devices/platform/soc/ff800000.bus/ff808000.ir/rc/rc0/input4/event4"
[  3976.628] (II) XINPUT: Adding extended input device "meson-ir" (type: MOUSE, id 6)
[  3976.629] (**) Option "AccelerationScheme" "none"
[  3976.629] (**) meson-ir: (accel) selected scheme none/0
[  3976.629] (**) meson-ir: (accel) acceleration factor: 2.000
[  3976.629] (**) meson-ir: (accel) acceleration threshold: 4
[  3976.633] (II) event4  - meson-ir: is tagged by udev as: Keyboard Pointingstick
[  3976.633] (II) event4  - meson-ir: device is a pointer
[  3976.633] (II) event4  - meson-ir: device is a keyboard
[  3976.638] (II) config/udev: Adding input device HID 04f3:0110 (/dev/input/event0)
[  3976.638] (**) HID 04f3:0110: Applying InputClass "libinput keyboard catchall"
[  3976.638] (II) Using input driver 'libinput' for 'HID 04f3:0110'
[  3976.641] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 31 paused 0
[  3976.641] (**) HID 04f3:0110: always reports core events
[  3976.641] (**) Option "Device" "/dev/input/event0"
[  3976.641] (**) Option "_source" "server/udev"
[  3976.649] (II) event0  - HID 04f3:0110: is tagged by udev as: Keyboard
[  3976.649] (II) event0  - HID 04f3:0110: device is a keyboard
[  3976.650] (II) event0  - HID 04f3:0110: device removed
[  3976.650] (**) Option "config_info" "udev:/sys/devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.2.auto/usb1/1-1/1-1.4/1-1.4:1.0/0003:04F3:0110.0001/input/input0/event0"
[  3976.650] (II) XINPUT: Adding extended input device "HID 04f3:0110" (type: KEYBOARD, id 7)
[  3976.650] (**) Option "xkb_model" "pc105"
[  3976.650] (**) Option "xkb_layout" "gb"
[  3976.697] (II) event0  - HID 04f3:0110: is tagged by udev as: Keyboard
[  3976.697] (II) event0  - HID 04f3:0110: device is a keyboard
[  3976.701] (II) config/udev: Adding input device HID 04f3:0110 Mouse (/dev/input/event1)
[  3976.701] (**) HID 04f3:0110 Mouse: Applying InputClass "libinput pointer catchall"
[  3976.701] (II) Using input driver 'libinput' for 'HID 04f3:0110 Mouse'
[  3976.704] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 32 paused 0
[  3976.704] (**) HID 04f3:0110 Mouse: always reports core events
[  3976.704] (**) Option "Device" "/dev/input/event1"
[  3976.704] (**) Option "_source" "server/udev"
[  3976.711] (II) event1  - HID 04f3:0110 Mouse: is tagged by udev as: Mouse
[  3976.711] (II) event1  - HID 04f3:0110 Mouse: device is a pointer
[  3976.712] (II) event1  - HID 04f3:0110 Mouse: device removed
[  3976.712] (**) Option "config_info" "udev:/sys/devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.2.auto/usb1/1-1/1-1.4/1-1.4:1.1/0003:04F3:0110.0002/input/input1/event1"
[  3976.712] (II) XINPUT: Adding extended input device "HID 04f3:0110 Mouse" (type: MOUSE, id 8)
[  3976.713] (**) Option "AccelerationScheme" "none"
[  3976.713] (**) HID 04f3:0110 Mouse: (accel) selected scheme none/0
[  3976.713] (**) HID 04f3:0110 Mouse: (accel) acceleration factor: 2.000
[  3976.713] (**) HID 04f3:0110 Mouse: (accel) acceleration threshold: 4
[  3976.718] (II) event1  - HID 04f3:0110 Mouse: is tagged by udev as: Mouse
[  3976.719] (II) event1  - HID 04f3:0110 Mouse: device is a pointer
[  3976.722] (II) config/udev: Adding input device HID 04f3:0110 Mouse (/dev/input/mouse0)
[  3976.722] (II) No input driver specified, ignoring this device.
[  3976.722] (II) This device may have been added with another device file.
[  3976.726] (II) config/udev: Adding input device HID 04f3:0110 Consumer Control (/dev/input/event2)
[  3976.726] (**) HID 04f3:0110 Consumer Control: Applying InputClass "libinput keyboard catchall"
[  3976.726] (II) Using input driver 'libinput' for 'HID 04f3:0110 Consumer Control'
[  3976.728] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 33 paused 0
[  3976.728] (**) HID 04f3:0110 Consumer Control: always reports core events
[  3976.728] (**) Option "Device" "/dev/input/event2"
[  3976.729] (**) Option "_source" "server/udev"
[  3976.735] (II) event2  - HID 04f3:0110 Consumer Control: is tagged by udev as: Keyboard
[  3976.735] (II) event2  - HID 04f3:0110 Consumer Control: device is a keyboard
[  3976.736] (II) event2  - HID 04f3:0110 Consumer Control: device removed
[  3976.736] (II) libinput: HID 04f3:0110 Consumer Control: needs a virtual subdevice
[  3976.736] (**) Option "config_info" "udev:/sys/devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.2.auto/usb1/1-1/1-1.4/1-1.4:1.1/0003:04F3:0110.0002/input/input2/event2"
[  3976.736] (II) XINPUT: Adding extended input device "HID 04f3:0110 Consumer Control" (type: MOUSE, id 9)
[  3976.737] (**) Option "AccelerationScheme" "none"
[  3976.737] (**) HID 04f3:0110 Consumer Control: (accel) selected scheme none/0
[  3976.737] (**) HID 04f3:0110 Consumer Control: (accel) acceleration factor: 2.000
[  3976.737] (**) HID 04f3:0110 Consumer Control: (accel) acceleration threshold: 4
[  3976.743] (II) event2  - HID 04f3:0110 Consumer Control: is tagged by udev as: Keyboard
[  3976.743] (II) event2  - HID 04f3:0110 Consumer Control: device is a keyboard
[  3976.747] (II) config/udev: Adding input device HID 04f3:0110 System Control (/dev/input/event3)
[  3976.747] (**) HID 04f3:0110 System Control: Applying InputClass "libinput keyboard catchall"
[  3976.747] (II) Using input driver 'libinput' for 'HID 04f3:0110 System Control'
[  3976.749] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 34 paused 0
[  3976.750] (**) HID 04f3:0110 System Control: always reports core events
[  3976.750] (**) Option "Device" "/dev/input/event3"
[  3976.750] (**) Option "_source" "server/udev"
[  3976.756] (II) event3  - HID 04f3:0110 System Control: is tagged by udev as: Keyboard
[  3976.757] (II) event3  - HID 04f3:0110 System Control: device is a keyboard
[  3976.757] (II) event3  - HID 04f3:0110 System Control: device removed
[  3976.757] (**) Option "config_info" "udev:/sys/devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.2.auto/usb1/1-1/1-1.4/1-1.4:1.1/0003:04F3:0110.0002/input/input3/event3"
[  3976.757] (II) XINPUT: Adding extended input device "HID 04f3:0110 System Control" (type: KEYBOARD, id 10)
[  3976.757] (**) Option "xkb_model" "pc105"
[  3976.757] (**) Option "xkb_layout" "gb"
[  3976.764] (II) event3  - HID 04f3:0110 System Control: is tagged by udev as: Keyboard
[  3976.764] (II) event3  - HID 04f3:0110 System Control: device is a keyboard
[  3976.786] (**) meson-ir: Applying InputClass "libinput keyboard catchall"
[  3976.787] (II) Using input driver 'libinput' for 'meson-ir'
[  3976.787] (II) systemd-logind: returning pre-existing fd for /dev/input/event4 13:68
[  3976.787] (**) meson-ir: always reports core events
[  3976.787] (**) Option "Device" "/dev/input/event4"
[  3976.787] (**) Option "_source" "_driver/libinput"
[  3976.787] (II) libinput: meson-ir: is a virtual subdevice
[  3976.787] (**) Option "config_info" "udev:/sys/devices/platform/soc/ff800000.bus/ff808000.ir/rc/rc0/input4/event4"
[  3976.787] (II) XINPUT: Adding extended input device "meson-ir" (type: KEYBOARD, id 11)
[  3976.787] (**) Option "xkb_model" "pc105"
[  3976.787] (**) Option "xkb_layout" "gb"
[  3976.787] (**) HID 04f3:0110 Consumer Control: Applying InputClass "libinput keyboard catchall"
[  3976.788] (II) Using input driver 'libinput' for 'HID 04f3:0110 Consumer Control'
[  3976.788] (II) systemd-logind: returning pre-existing fd for /dev/input/event2 13:66
[  3976.788] (**) HID 04f3:0110 Consumer Control: always reports core events
[  3976.788] (**) Option "Device" "/dev/input/event2"
[  3976.788] (**) Option "_source" "_driver/libinput"
[  3976.788] (II) libinput: HID 04f3:0110 Consumer Control: is a virtual subdevice
[  3976.788] (**) Option "config_info" "udev:/sys/devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.2.auto/usb1/1-1/1-1.4/1-1.4:1.1/0003:04F3:0110.0002/input/input2/event2"
[  3976.788] (II) XINPUT: Adding extended input device "HID 04f3:0110 Consumer Control" (type: KEYBOARD, id 12)
[  3976.788] (**) Option "xkb_model" "pc105"
[  3976.788] (**) Option "xkb_layout" "gb"
[  3978.659] (II) modeset(0): Disabling kernel dirty updates, not required.
[  3978.883] (**) Option "fd" "28"
[  3978.883] (**) Option "fd" "31"
[  3978.883] (II) event0  - HID 04f3:0110: device removed
[  3978.884] (**) Option "fd" "32"
[  3978.884] (II) event1  - HID 04f3:0110 Mouse: device removed
[  3978.884] (**) Option "fd" "33"
[  3978.885] (**) Option "fd" "34"
[  3978.885] (II) event3  - HID 04f3:0110 System Control: device removed
[  3978.885] (**) Option "fd" "28"
[  3978.885] (II) event4  - meson-ir: device removed
[  3978.886] (**) Option "fd" "33"
[  3978.887] (II) event2  - HID 04f3:0110 Consumer Control: device removed
[  3978.890] (II) UnloadModule: "libinput"
[  3978.891] (II) systemd-logind: not releasing fd for 13:66, still in use
[  3978.891] (II) UnloadModule: "libinput"
[  3978.891] (II) systemd-logind: not releasing fd for 13:68, still in use
[  3978.891] (II) UnloadModule: "libinput"
[  3978.891] (II) systemd-logind: releasing fd for 13:67
[  3978.924] (II) UnloadModule: "libinput"
[  3978.924] (II) systemd-logind: releasing fd for 13:66
[  3978.952] (II) UnloadModule: "libinput"
[  3978.952] (II) systemd-logind: releasing fd for 13:65
[  3978.996] (II) UnloadModule: "libinput"
[  3978.996] (II) systemd-logind: releasing fd for 13:64
[  3979.014] (II) UnloadModule: "libinput"
[  3979.014] (II) systemd-logind: releasing fd for 13:68
[  3979.086] (II) Server terminated successfully (0). Closing log file.

MDAR avatar Jul 11 '22 09:07 MDAR

Here's a thing

after posting that message above, I happened to catch the first line

[82287:82287:0711/100846.508963:ERROR:process_singleton_posix.cc(353)] The profile appears to be in use by another Chromium process (2357) on another computer (DietPi). Chromium has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chromium.

So I cleared the profile with this command

rm -rf ~/.config/chromium/Singleton*

(I'm assuming it is removing the SingletonCookie file )

While it didn't fix much, I now see a much bigger white box with the mouse in, moments before the X session closes.

And the last line of the error on screen reads

Closing log file.d; returned -1, SSL error code 1, net_error -3xinit: connection o S server lost

second attempt of running (without any other changes)

I see this as the last line

Closing log file.: exit_code=6(90152:90152:0711/101643.078104:FATAL:gpu_data_manager_impl_private

MDAR avatar Jul 11 '22 09:07 MDAR

Did you verify that there is no other Chromium process running already? Of course it should then show up on screen, but it's possible it runs on a different TTY. The first error like "fd already in use" indicates that something is using the framebuffer already (while it should use DRM/KMS actually), but I might interpret it wrongly.

MichaIng avatar Jul 11 '22 15:07 MichaIng

Did you verify that there is no other Chromium process running already? Of course it should then show up on screen, but it's possible it runs on a different TTY. The first error like "fd already in use" indicates that something is using the framebuffer already (while it should use DRM/KMS actually), but I might interpret it wrongly.

Well spotted, I hadn't seen that message.

From a fresh boot, I'm only trying to run Chromium, so I'd like to think nothing has got there before us.

However, anything is possible.

Does it mean the X Session it's meant to be running within?

MDAR avatar Jul 12 '22 10:07 MDAR

I was thinking whether the dietpi-autostart option is probably on, but on the other hand that would be on TTY1 and should be visible on screen 🤔. Any X session should however show up in htop.

MichaIng avatar Jul 12 '22 11:07 MichaIng

test with raspberry pi 4 today (dietpi 8.1 upgrade to 8.6.1 also) . it is a working kiosk with chromium v98, after upgrade to chromium v101. kiosk mode still works. if upstream will not fix the issue, mind consider use raspberry repo for chromium installation? @MichaIng

0x9394 avatar Jul 21 '22 05:07 0x9394

On RPi this was never an issue. On any other hardware, the RPi chromium-browser package cannot be used.

MichaIng avatar Jul 21 '22 05:07 MichaIng

I was thinking whether the dietpi-autostart option is probably on, but on the other hand that would be on TTY1 and should be visible on screen 🤔. Any X session should however show up in htop.

I'm going to start again with a blank eMMC card on this Odroid C4 and see what happens.

(I'm sure I haven't done anything, but happy to start over)

MDAR avatar Jul 21 '22 06:07 MDAR

I'm not sure what to do with the following information.

Your guidance would be most welcome.


A brand new eMMC with nothing but a fresh DietPI image on a C4, trying to get Chromium working, just fails with the same stack smashing issue.

However.

I have got Vivaldi working full screen, it just complains that it doesn't have HTML5 H.264 support loaded.


I downloaded Debian Vivaldi from here https://vivaldi.com/download/

and installed with it this apt install ./vivaldi-stable_5.3.2679.70-1_arm64.deb

then I edited the Chromium autostart file (because I wanted a template to work from)

so that it looks like this

#!/bin/dash
# Autostart script for kiosk mode, based on @AYapejian: https://github.com/MichaIng/DietPi/issues/1737#issue-318697621

# Resolution to use for kiosk mode, should ideally match current system resolution
RES_X=$(sed -n '/^[[:blank:]]*SOFTWARE_CHROMIUM_RES_X=/{s/^[^=]*=//p;q}' /boot/dietpi.txt)
RES_Y=$(sed -n '/^[[:blank:]]*SOFTWARE_CHROMIUM_RES_Y=/{s/^[^=]*=//p;q}' /boot/dietpi.txt)

# Command line switches: https://peter.sh/experiments/chromium-command-line-switches/
# - Review and add custom flags in: /etc/chromium.d
CHROMIUM_OPTS="--kiosk --window-size=${RES_X:-1280},${RES_Y:-720} --window-position=0,0 --no-sandbox"

# If you want tablet mode, uncomment the next line.
#CHROMIUM_OPTS+=' --force-tablet-mode --tablet-ui'

# Home page
URL=$(sed -n '/^[[:blank:]]*SOFTWARE_CHROMIUM_AUTOSTART_URL=/{s/^[^=]*=//p;q}' /boot/dietpi.txt)


CHROMIUM_OPTS=$CHROMIUM_OPTS" --url="$URL


# RPi or Debian Chromium package
# FP_CHROMIUM=$(command -v chromium-browser)

 FP_CHROMIUM=$(command -v vivaldi)

[ "$FP_CHROMIUM" ] || FP_CHROMIUM=$(command -v chromium)

# Use "startx" as non-root user to get required permissions via systemd-logind
STARTX='xinit'
[ "$USER" = 'root' ] || STARTX='startx'


echo trying $FP_CHROMIUM with these options
echo  $CHROMIUM_OPTS


 exec "$STARTX" "$FP_CHROMIUM" $CHROMIUM_OPTS
# xinit  "$FP_CHROMIUM" $CHROMIUM_OPTS "${URL:-https://dietpi.com/}"

exit 0



I get Vivaldi at full screen (after editing dietpi.txt and setting the X and Y res correctly

root@DietPi:/var/lib/dietpi/dietpi-software/installed# sh chromium-autostart.sh
trying /usr/bin/vivaldi with these options
--kiosk --window-size=1920,1080 --window-position=0,0 --no-sandbox --url=https://dietpi.com/


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux DietPi 5.10.123-meson64 #22.05.3 SMP PREEMPT Wed Jun 22 07:23:04 UTC 2022 aarch64
Kernel command line: root=UUID=28046172-8741-4334-96cd-b24d158eec46 rootfstype=ext4 rootwait console=tty1 loglevel=4 consoleblank=0 coherent_pool=2M ubootpart=2c2a3e4f-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u net.ifnames=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: Wed Jul 27 18:33:51 2022
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
'Proprietary media' support is not installed. Attempting to fix this for the next restart.
[6427:6456:0727/183354.530277:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[6427:6456:0727/183354.531176:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[6427:6456:0727/183354.588127:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[6427:6456:0727/183354.588255:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[6427:6427:0727/183354.718163:ERROR:image_generic.cc(77)] Unable to decode PNG for 1.
[6427:6517:0727/183354.821591:ERROR:object_proxy.cc(623)] 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
[6427:6517:0727/183354.823188:ERROR:object_proxy.cc(623)] 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
[6427:6517:0727/183354.824720:ERROR:object_proxy.cc(623)] 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
[6427:6427:0727/183356.121245:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=11
[6427:6427:0727/183357.508576:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=11
[6427:6427:0727/183358.845877:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=11
[6493:6506:0727/183400.379673:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[6427:6427:0727/183401.874966:ERROR:CONSOLE(1)] "syncDetachedTabInformation: The message port closed before a response was received.", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/bundle.js (1)
[6427:6427:0727/183401.876212:ERROR:CONSOLE(1)] "syncDetachedTabInformation: The message port closed before a response was received.", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/bundle.js (1)
[6427:6427:0727/183401.877261:ERROR:CONSOLE(1)] "syncDetachedTabInformation: The message port closed before a response was received.", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/bundle.js (1)

Anything you can do to help clean this up (if it needs it) or resolve the H.264 playback would be amazing. 😄

I'm just glad that I've got some kind of full screen browser again, I'll try it with the rest of my setup tomorrow.

Thanks to everyone in advance.

@kt1024 @almirus

Does this help you in any way?

@MichaIng @Joulinar

Using Peter's reference to command line switches, I'll play around tomorrow and see if I can get a pure kiosk working

MDAR avatar Jul 27 '22 17:07 MDAR

Good morning

Well this didn't take long at all.

I just dropped Vivaldi onto my development machine Installed it

Swapped any reference to Chromium to Vivaldi and it works for everything other than the video playback. (Which isn't used by many, but I do need to get it working for when they do ask for it)

Only Vivaldi forum post I could find with a comment from someone at the company - https://gist.github.com/ruario/bec42d156d30affef655

The command line that is being used to start Vivaldi is this

sudo xinit /usr/bin/vivaldi ---kiosk --test-type --window-size=1920,1080 --no-sandbox --start-fullscreen --start-maximized --window-position=0,0 --no-user-gesture-required --app=http://127.0.0.1:1880/content/index.html -- -nocursor

Note the --no-sandbox when running as root and that I have hidden the cursor in Xinit

Which isn't an issue in the closed environment that I'm working in, but I guess it is a big issue for those that pull content from the web.

I would be delighted to hear about other people's results.

One small detail that does confuse me.... I think Vivaldi is based on Chromium..... so why is this working?

MDAR avatar Jul 28 '22 07:07 MDAR

@MDAR does it have chromium-codecs-ffmpeg-extra package installed?

I may try this later sometime, coz I've made a rpi4 as kiosk.

0x9394 avatar Jul 29 '22 09:07 0x9394

@MDAR does it have chromium-codecs-ffmpeg-extra package installed?

I may try this later sometime, coz I've made a rpi4 as kiosk.

@kt1024 Hi

By the looks of it, that package isn't available

root@LiveStream-C4:~# apt install chromium-codecs-ffmpeg-extr* --fix-missing
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package chromium-codecs-ffmpeg-extr*
E: Couldn't find any package by glob 'chromium-codecs-ffmpeg-extr*'

However, the good people at Vivaldi suggest that the application should "download what it needs" on first boot.

I'm waiting for a reply on their forum (as per link above)

If you don't need video playback, Vivaldi certainly doing everything else I need it to, in full unattended kiosk mode, with WebSocket remote control.

MDAR avatar Jul 29 '22 10:07 MDAR

my bad, should be 2 packages, chromium-codecs-ffmpeg and chromium-codecs-ffmpeg-extra

0x9394 avatar Jul 29 '22 10:07 0x9394

These are RPi-only packages from the RPi repository, responsible only for video decoding, not for startup, and on RPi the issue does not exist.

MichaIng avatar Jul 29 '22 10:07 MichaIng

@ruario posted a comment on the Vivaldi issue, that gets me H.264 playback in Vivaldi

https://gist.github.com/ruario/bec42d156d30affef655#gistcomment-4251813


I know why H.264 is failing for you and hope to get out a fix soon. In the mean time I can give you a work around.

If it is armhf

wget -O- https://launchpadlibrarian.net/614082413/chromium-codecs-ffmpeg-extra_103.0.5060.134-0ubuntu0.18.04.1_armhf.deb | tail -c+1157 | tar xOJ ./usr/lib/chromium-browser/libffmpeg.so > libffmpeg.so.5.3
sudo install -m755 libffmpeg.so.5.3 /opt/vivaldi/libffmpeg.so.5.3

If it is arm64

wget -O- https://launchpadlibrarian.net/614041844/chromium-codecs-ffmpeg-extra_103.0.5060.134-0ubuntu0.18.04.1_arm64.deb | tail -c+1157 | tar xOJ ./usr/lib/chromium-browser/libffmpeg.so > libffmpeg.so.5.3
sudo install -m755 libffmpeg.so.5.3 /opt/vivaldi/libffmpeg.so.5.3

It certainly enables h.264 playback, with user interaction, so for me that is >70% the way to a solution.

I need to send F11 to the browser twice (even if it is full screen / kiosk) before the videos will autoplay.

After that, everything works perfectly, I can use WebSockets to set the video file and start and stop playback. So only the AutoPlay without any user interaction to resolve

MDAR avatar Aug 02 '22 14:08 MDAR