Creating a bug report/issue
Loaded up an SD card and configured dietpi.txt for automated setup experience & Chromium autostart. The pi booted and did its thing. Chromium launched the URL fine but in 1080P instead of 4K. That was expected since I didn’t mess with resolution settings at all. After adding hdmi_enable_4kp60=1
to config.txt and changing Chrome’s resolution in dietpi.txt, X says display not found. Disabled 4k, changed Chrome res back…still the same.
I have searched the existing open and closed issues
Required Information
- DietPi version |
cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=9 G_DIETPI_VERSION_SUB=3 G_DIETPI_VERSION_RC=0 G_GITBRANCH='master' G_GITOWNER='MichaIng'`
- Distro version |
bookworm 0
- Kernel version |
Linux DietPi 6.6.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux
- Architecture |
arm64
- SBC model |
RPi 5 Model B (aarch64)
- Power supply used |
Official
- SD card used |
Samsung EVO
Steps to reproduce
- Load DietPi on to SD
- Configure automated setup to install chromium, tigervnc, lightDM. Set local. Set password. Configure URL for chromium autostart (launch as dietpi).
- Boot pi and chrome opens URL after initial auto configuration completes
- Close chrome and go to terminal
- Enable 4k in config.txt, change chrome res in dietpi.txt
- Reboot.
Expected behaviour
Chrome displays URL in 4K
Actual behaviour
X says the display is not found.
Extra details
cat /home/dietpi/.local/share/xorg/Xorg.0.log
[ 15.223]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[ 15.223] Current Operating System: Linux DietPi 6.6.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64
[ 15.223] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=2C:CF:67:04:33:00 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 root=PARTUUID=6bca6526-02 rootfstype=ext4 rootwait net.ifnames=0 logo.nologo console=ttyAMA10,115200 console=tty1
[ 15.223] xorg-server 2:21.1.7-3+rpt2+deb12u5 (https://www.debian.org/support)
[ 15.223] Current version of pixman: 0.42.2
[ 15.223] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 15.223] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 15.223] (==) Log file: "/home/dietpi/.local/share/xorg/Xorg.0.log", Time: Mon Apr 22 16:09:42 2024
[ 15.226] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 15.226] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 15.230] (==) No Layout section. Using the first Screen section.
[ 15.230] (==) No screen section available. Using defaults.
[ 15.230] (**) |-->Screen "Default Screen Section" (0)
[ 15.230] (**) | |-->Monitor "<default monitor>"
[ 15.230] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 15.230] (**) Option "BlankTime" "0"
[ 15.230] (==) Automatically adding devices
[ 15.230] (==) Automatically enabling devices
[ 15.230] (==) Automatically adding GPU devices
[ 15.230] (==) Automatically binding GPU devices
[ 15.230] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 15.230] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 15.230] Entry deleted from font path.
[ 15.230] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 15.230] Entry deleted from font path.
[ 15.230] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 15.230] Entry deleted from font path.
[ 15.230] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 15.230] Entry deleted from font path.
[ 15.230] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 15.230] Entry deleted from font path.
[ 15.230] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 15.230] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 15.230] (**) Extension "DPMS" is disabled
[ 15.230] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 15.230] (II) Loader magic: 0x5555fb4f0ef0
[ 15.230] (II) Module ABI versions:
[ 15.230] X.Org ANSI C Emulation: 0.4
[ 15.230] X.Org Video Driver: 25.2
[ 15.230] X.Org XInput driver : 24.4
[ 15.230] X.Org Server Extension : 10.0
[ 15.231] (++) using VT number 1
[ 15.232] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_32
[ 15.233] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 15.233] (II) Platform probe for /sys/devices/platform/axi/1002000000.v3d/drm/card0
[ 15.233] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[ 15.234] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 15.234] (II) Platform probe for /sys/devices/platform/axi/axi:gpu/drm/card1
[ 15.234] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 14 paused 0
[ 15.235] (II) no primary bus or device found
[ 15.235] falling back to /sys/devices/platform/axi/1002000000.v3d/drm/card0
[ 15.235] (II) LoadModule: "glx"
[ 15.236] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 15.242] (II) Module glx: vendor="X.Org Foundation"
[ 15.242] compiled for 1.21.1.7, module version = 1.0.0
[ 15.242] ABI class: X.Org Server Extension, version 10.0
[ 15.242] (==) Matched modesetting as autoconfigured driver 0
[ 15.242] (==) Matched fbdev as autoconfigured driver 1
[ 15.242] (==) Assigned the driver to the xf86ConfigLayout
[ 15.242] (II) LoadModule: "modesetting"
[ 15.242] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 15.249] (II) Module modesetting: vendor="X.Org Foundation"
[ 15.249] compiled for 1.21.1.7, module version = 1.21.1
[ 15.249] Module class: X.Org Video Driver
[ 15.249] ABI class: X.Org Video Driver, version 25.2
[ 15.249] (II) LoadModule: "fbdev"
[ 15.249] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 15.250] (II) Module fbdev: vendor="X.Org Foundation"
[ 15.250] compiled for 1.21.1.3, module version = 0.5.0
[ 15.250] Module class: X.Org Video Driver
[ 15.250] ABI class: X.Org Video Driver, version 25.2
[ 15.250] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 15.250] (II) FBDEV: driver for framebuffer: fbdev
[ 15.250] (WW) Falling back to old probe method for modesetting
[ 15.250] (WW) Falling back to old probe method for fbdev
[ 15.250] (II) Loading sub module "fbdevhw"
[ 15.250] (II) LoadModule: "fbdevhw"
[ 15.250] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 15.251] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 15.251] compiled for 1.21.1.7, module version = 0.0.2
[ 15.251] ABI class: X.Org Video Driver, version 25.2
[ 15.251] (EE) open /dev/fb0: Permission denied
[ 15.251] (WW) Falling back to old probe method for modesetting
[ 15.251] (WW) Falling back to old probe method for fbdev
[ 15.251] (II) Loading sub module "fbdevhw"
[ 15.251] (II) LoadModule: "fbdevhw"
[ 15.251] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 15.251] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 15.251] compiled for 1.21.1.7, module version = 0.0.2
[ 15.251] ABI class: X.Org Video Driver, version 25.2
[ 15.251] (EE) open /dev/fb0: Permission denied
[ 15.251] (II) modeset(G0): using drv /dev/dri/card1
[ 15.252] (EE) No devices detected.
[ 15.252] (EE)
Fatal server error:
[ 15.252] (EE) no screens found(EE)
[ 15.252] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 15.252] (EE) Please also check the log file at "/home/dietpi/.local/share/xorg/Xorg.0.log" for additional information.
[ 15.252] (EE)
[ 15.284] (EE) Server terminated with error (1). Closing log file.
Note: The log is pretty much the same even if I boot as root.