DietPi icon indicating copy to clipboard operation
DietPi copied to clipboard

Official touch display broken with v1.1 PCB Pi 2 on bookworm

Open SixFive7 opened this issue 7 months ago • 2 comments

Creating a bug report/issue

  • [x] I have searched the existing open and closed issues

Required Information

Cant boot that version anymore so these fields may not be in the required format

  • DietPi version | New install from 2025-04-24
  • Distro version | DietPi_RPi2-ARMv7-Bookworm.img.xz
  • Kernel version | Unknown
  • SBC model | Raspberry Pi 2 PCB v1.1 (ARMv7)
  • Power supply used | 5V 2.5A
  • SD card used | Samsung EVO 64GB

Additional Information (if applicable)

  • Software title | Not relevant
  • Was the software title installed freshly or updated/migrated? | Everything fresh. Tried twice.
  • Can this issue be replicated on a fresh installation of DietPi? | Yes
  • Bug report ID | Unavailable

Steps to reproduce

  1. Get a Raspberry Pi 2 (PCB v1.1).
  2. Hook up the official Raspberry Pi Touch Display (v1).
  3. Boot.
  4. Observe no display output.
  5. Fiddle with /boot/config.txt until the end of time.
  6. Get only as far as some corrupted vertical lines.
  7. Do exactly the same with DietPi_RPi-ARMv7-Bullseye.img.xz instead of DietPi_RPi2-ARMv7-Bookworm.img.xz.
  8. Observe how on the first boot (without any custom preconfig whatsoever) the display works right away.

Expected behaviour

  • The display should work out of the box on bookworm like it did on bullseye.

Actual behaviour

  • It doesn't. Messing with different overlays does not help. Something far beyond my understanding is broken in the overlay/firmware/driver system.

Extra details

Although it is an old Pi I'm not the first to run into this.

SixFive7 avatar Apr 24 '25 13:04 SixFive7

Can you please try the following:

sudo /boot/dietpi/func/dietpi-set_hardware rpi-opengl vc4-kms-v3d
G_SUDO G_CONFIG_INJECT 'display_auto_detect=' 'display_auto_detect=1' /boot/config.txt
sudo reboot

You should then get output, and you can rotate the screen via dietpi-display. To rotate touch input accordingly, check out: https://www.raspberrypi.com/documentation/accessories/display.html#rotate-touch-input

MichaIng avatar Apr 28 '25 18:04 MichaIng

Thank you for your response. Once I regain access to the device in approximately two weeks, I will attempt to document your suggestion.

SixFive7 avatar Apr 28 '25 19:04 SixFive7

@MichaIng I have the (nearly) same problem, and you commands didn't fix it for me.

But for me, i do get the kernel log until chromium-kiosk starts, then it just blanks the display until shutdown.

I've added this to config.txt to get at least the boot output:

dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-7inch

jangrewe avatar Jun 10 '25 20:06 jangrewe

Then it is a different issue. Did you need to add dtoverlay=vc4-kms-dsi-7inch? Because display_auto_detect=1 is supposed to detect and select the right overlay automatically.

If it turns black on Chromium start, then it is an issue with X11, or the way Chromium is started. Does it work to start any other X11 application?

startx /usr/bin/xterm

And does it work to start Chromium without kiosk mode adjustments?

startx /usr/bin/chromium

Ah, and as of a recent find on another board, does it work when you remove --use-gl=egl from /etc/chromium.d/dietpi?

MichaIng avatar Jun 11 '25 13:06 MichaIng

Did you need to add dtoverlay=vc4-kms-dsi-7inch? Because display_auto_detect=1 is supposed to detect and select the right overlay automatically.

You're right, using display_auto_detect=1 instead of dtoverlay=vc4-kms-dsi-7inch also works - but i do need to add dtoverlay=vc4-kms-v3d nonetheless, otherwise the display doesn't even enable the backlight.

Chrome does start, as i can connect via VNC (RealVNC running, with shared desktop) and see Chrome with the configured URL opened in kiosk mode, it just doesn't show on the display. Removing --use-gl=egl from /etc/chromium.d/dietpi doesn't seem to make any difference.

So after the console output, X does start (and the backlight stays on), Chrome does start, but on the display it's just a black screen...

jangrewe avatar Jun 12 '25 06:06 jangrewe

Did you test the two commands to start xterm and Chromium manually? Can be also executed on an SSH session.

Our script to start Chromium in kiosk mode also enforces resolution and position, which could be wrong for the LCD. Also startx/xinit have a display argument. It could be wrong for some reason.

MichaIng avatar Jun 12 '25 10:06 MichaIng

When running anything with startx, it starts whatever i ran, but the display still stays blanked.

I can launch xterm with DISPLAY=:0 and it starts in the (already running, used by chrome) X server - but as with chrome, i can only see this via VNC.

So everything runs as expected, it's just that the X server doesn't output to the display.

ps fax

[...]
    1 ?        Ss     0:06 /sbin/init
  142 ?        Ss     0:00 /lib/systemd/systemd-journald
  164 ?        Ss     0:00 /lib/systemd/systemd-udevd
  392 ?        Ss     0:00 /usr/sbin/cron -f
  393 ?        Ss     0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
  395 ?        Ss     0:00 /lib/systemd/systemd-logind
  478 ?        Ss     0:00 /sbin/wpa_supplicant -s -B -P /run/wpa_supplicant.wlan0.pid -i wlan0 -D nl80211,wext -c /etc/wpa_supplicant/wpa_supplicant.conf
  483 ?        Ss     0:00 dhclient -4 -v -i -pf /run/dhclient.wlan0.pid -lf /var/lib/dhcp/dhclient.wlan0.leases -I -df /var/lib/dhcp/dhclient6.wlan0.leases wlan0
  545 tty42    Ss+    0:00 /opt/dietpi-dashboard/dietpi-dashboard
  553 ?        Ss     0:00 /usr/bin/vncserver-x11-core -service -Authentication VncAuth
  568 ?        S      0:00  \_ (sd-pam)
 1349 ?        S      0:00  \_ /usr/bin/vncagent service 0
 1396 ?        S      0:00  \_ /usr/bin/vncserverui service 0
 1414 ?        S      0:00      \_ /usr/bin/vncserverui -statusicon 0
  554 tty1     Ss     0:00 /bin/login -f
  581 tty1     S+     0:00  \_ -bash
  597 tty1     S+     0:00      \_ xinit /usr/bin/chromium-browser --kiosk --window-size=800,480 --window-position=0,0 https://grafana.faked.org/d/aqdCsxeWk/coinbase?kiosk
  681 tty2     S<sl+   0:03          \_ /usr/lib/xorg/Xorg :0
 1166 tty1     S<l    0:14          \_ /usr/lib/chromium/chromium --show-component-extension-options --enable-gpu-rasterization --no-default-browser-check --disable-pings --media-router=0 --disable-dev-shm-usage --no-sandbox
 1354 tty1     S      0:01              \_ /usr/lib/chromium/chromium --type=zygote --no-zygote-sandbox --no-sandbox --crashpad-handler-pid=0 --enable-crash-reporter=,built on Debian GNU/Linux 12 (bookworm) --change-stack-gu
 1467 tty1     S<l    0:07              |   \_ /usr/lib/chromium/chromium --type=gpu-process --no-sandbox --disable-dev-shm-usage --enable-gpu-rasterization --enable-low-end-device-mode --ozone-platform=x11 --use-angle=gles
 1355 tty1     S      0:01              \_ /usr/lib/chromium/chromium --type=zygote --no-sandbox --crashpad-handler-pid=0 --enable-crash-reporter=,built on Debian GNU/Linux 12 (bookworm) --change-stack-guard-on-fork=enable
 1415 tty1     Sl     0:00              |   \_ /usr/lib/chromium/chromium --type=utility --utility-sub-type=storage.mojom.StorageService --lang=en-US --service-sandbox-type=utility --no-sandbox --disable-dev-shm-usage --use-
 1442 tty1     S<l    0:42              |   \_ /usr/lib/chromium/chromium --type=renderer --crashpad-handler-pid=0 --enable-crash-reporter=,built on Debian GNU/Linux 12 (bookworm) --change-stack-guard-on-fork=enable --no-san
 1413 tty1     Sl     0:04              \_ /usr/lib/chromium/chromium --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --no-sandbox --disable-dev-shm-usage --use-angle=g
  556 ?        Ss     0:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
  618 ?        Ss     0:00  \_ sshd: root@pts/0
  629 pts/0    Ss     0:00      \_ -bash
 1498 pts/0    R+     0:00          \_ ps fax
  557 ?        Ss     0:01 /lib/systemd/systemd --user
  559 ?        S      0:00  \_ (sd-pam)
 1389 ?        Ss     0:00  \_ /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
  567 ?        S      0:00 /bin/bash /boot/dietpi/dietpi-update 2
 1493 ?        S      0:00  \_ /bin/bash /boot/dietpi/dietpi-update 2
 1494 ?        R      0:06      \_ apt -qq list --upgradeable
 1495 ?        S      0:00      \_ wc -l
 1352 ?        Sl     0:00 /usr/lib/chromium/chrome_crashpad_handler --monitor-self --monitor-self-annotation=ptype=crashpad-handler --database=/root/.config/chromium/Crash Reports --annotation=channel=built on Debian GNU/Li
 1357 ?        S      0:00 /usr/lib/chromium/chrome_crashpad_handler --no-periodic-tasks --monitor-self-annotation=ptype=crashpad-handler --database=/root/.config/chromium/Crash Reports --annotation=channel=built on Debian G
 1459 ?        Ssl    0:00 /usr/libexec/upowerd

cat /var/log/Xorg.0.log

[    42.731]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[    42.732] Current Operating System: Linux dashbox 6.12.25+rpt-rpi-v7 #1 SMP Raspbian 1:6.12.25-1+rpt1 (2025-04-30) armv7l
[    42.732] Kernel command line: coherent_pool=1M snd_bcm2835.enable_headphones=0 cgroup_disable=memory snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  root=PARTUUID=975a61f5-02 rootfstype=ext4 rootwait net.ifnames=0 console=tty1 video=DSI-1:800x480,rotate=180
[    42.744] xorg-server 2:21.1.7-3+rpt3+deb12u9 (https://www.debian.org/support)
[    42.747] Current version of pixman: 0.44.0
[    42.753]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    42.753] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    42.767] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 12 10:49:50 2025
[    42.787] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    42.791] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    42.796] (==) No Layout section.  Using the first Screen section.
[    42.796] (==) No screen section available. Using defaults.
[    42.796] (**) |-->Screen "Default Screen Section" (0)
[    42.796] (**) |   |-->Monitor "<default monitor>"
[    42.804] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    42.804] (**) Option "BlankTime" "0"
[    42.804] (==) Automatically adding devices
[    42.804] (==) Automatically enabling devices
[    42.804] (==) Automatically adding GPU devices
[    42.804] (==) Automatically binding GPU devices
[    42.816] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    42.830] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    42.830]    Entry deleted from font path.
[    42.830] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    42.830]    Entry deleted from font path.
[    42.830] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    42.830]    Entry deleted from font path.
[    42.840] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    42.840]    Entry deleted from font path.
[    42.840] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    42.840]    Entry deleted from font path.
[    42.840] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[    42.840] (==) ModulePath set to "/usr/lib/xorg/modules"
[    42.840] (**) Extension "DPMS" is disabled
[    42.840] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    42.840] (II) Loader magic: 0x215080
[    42.841] (II) Module ABI versions:
[    42.841]    X.Org ANSI C Emulation: 0.4
[    42.841]    X.Org Video Driver: 25.2
[    42.841]    X.Org XInput driver : 24.4
[    42.841]    X.Org Server Extension : 10.0
[    42.847] (--) using VT number 2

[    42.847] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    42.856] (II) xfree86: Adding drm device (/dev/dri/card0)
[    42.856] (II) Platform probe for /sys/devices/platform/soc/soc:gpu/drm/card0
[    42.861] (II) no primary bus or device found
[    42.861]    falling back to /sys/devices/platform/soc/soc:gpu/drm/card0
[    42.861] (II) LoadModule: "glx"
[    42.868] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    42.993] (II) Module glx: vendor="X.Org Foundation"
[    42.993]    compiled for 1.21.1.7, module version = 1.0.0
[    42.993]    ABI class: X.Org Server Extension, version 10.0
[    42.993] (==) Matched modesetting as autoconfigured driver 0
[    42.994] (==) Matched fbdev as autoconfigured driver 1
[    42.994] (==) Assigned the driver to the xf86ConfigLayout
[    42.994] (II) LoadModule: "modesetting"
[    43.002] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    46.738] (II) Module modesetting: vendor="X.Org Foundation"
[    46.738]    compiled for 1.21.1.7, module version = 1.21.1
[    46.738]    Module class: X.Org Video Driver
[    46.738]    ABI class: X.Org Video Driver, version 25.2
[    46.738] (II) LoadModule: "fbdev"
[    46.739] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    46.742] (II) Module fbdev: vendor="X.Org Foundation"
[    46.742]    compiled for 1.21.1.3, module version = 0.5.0
[    46.742]    Module class: X.Org Video Driver
[    46.742]    ABI class: X.Org Video Driver, version 25.2
[    46.743] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    46.743] (II) FBDEV: driver for framebuffer: fbdev
[    46.772] (II) modeset(0): using drv /dev/dri/card0
[    46.772] (WW) Falling back to old probe method for fbdev
[    46.772] (II) Loading sub module "fbdevhw"
[    46.772] (II) LoadModule: "fbdevhw"
[    46.773] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    46.776] (II) Module fbdevhw: vendor="X.Org Foundation"
[    46.776]    compiled for 1.21.1.7, module version = 0.0.2
[    46.776]    ABI class: X.Org Video Driver, version 25.2
[    46.777] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    46.780] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    46.780] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    46.780] (==) modeset(0): RGB weight 888
[    46.780] (==) modeset(0): Default visual is TrueColor
[    46.780] (II) Loading sub module "glamoregl"
[    46.780] (II) LoadModule: "glamoregl"
[    46.781] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    46.880] (II) Module glamoregl: vendor="X.Org Foundation"
[    46.880]    compiled for 1.21.1.7, module version = 1.0.1
[    46.880]    ABI class: X.Org ANSI C Emulation, version 0.4
[    47.292] (II) modeset(0): glamor X acceleration enabled on VC4 V3D 2.1
[    47.292] (II) modeset(0): glamor initialized
[    47.292] (==) modeset(0): VariableRefresh: disabled
[    47.292] (==) modeset(0): AsyncFlipSecondaries: disabled
[    47.293] (II) modeset(0): Output HDMI-1 has no monitor section
[    47.294] (II) modeset(0): Output DSI-1 has no monitor section
[    47.325] (II) modeset(0): EDID for output HDMI-1
[    47.326] (II) modeset(0): EDID for output DSI-1
[    47.326] (II) modeset(0): Printing probed modes for output DSI-1
[    47.326] (II) modeset(0): Modeline "800x480"x60.0   30.00  800 931 933 978  480 487 489 511 -hsync -vsync (30.7 kHz eP)
[    47.327] (II) modeset(0): Output HDMI-1 disconnected
[    47.327] (II) modeset(0): Output DSI-1 connected
[    47.327] (II) modeset(0): Using exact sizes for initial modes
[    47.327] (II) modeset(0): Output DSI-1 using initial mode 800x480 +0+0
[    47.327] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    47.327] (==) modeset(0): DPI set to (96, 96)
[    47.327] (II) Loading sub module "fb"
[    47.327] (II) LoadModule: "fb"
[    47.327] (II) Module "fb" already built-in
[    47.327] (II) UnloadModule: "fbdev"
[    47.327] (II) Unloading fbdev
[    47.328] (II) UnloadSubModule: "fbdevhw"
[    47.328] (II) Unloading fbdevhw
[    48.076] (==) modeset(0): Backing store enabled
[    48.077] (==) modeset(0): Silken mouse enabled
[    48.104] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    48.106] (==) modeset(0): DPMS enabled
[    48.106] (II) modeset(0): [DRI2] Setup complete
[    48.106] (II) modeset(0): [DRI2]   DRI driver: vc4
[    48.106] (II) modeset(0): [DRI2]   VDPAU driver: vc4
[    48.106] (II) Initializing extension Generic Event Extension
[    48.109] (II) Initializing extension SHAPE
[    48.111] (II) Initializing extension MIT-SHM
[    48.114] (II) Initializing extension XInputExtension
[    48.121] (II) Initializing extension XTEST
[    48.123] (II) Initializing extension BIG-REQUESTS
[    48.126] (II) Initializing extension SYNC
[    48.129] (II) Initializing extension XKEYBOARD
[    48.132] (II) Initializing extension XC-MISC
[    48.134] (II) Initializing extension SECURITY
[    48.136] (II) Initializing extension XFIXES
[    48.139] (II) Initializing extension RENDER
[    48.141] (II) Initializing extension RANDR
[    48.147] (II) Initializing extension COMPOSITE
[    48.150] (II) Initializing extension DAMAGE
[    48.153] (II) Initializing extension MIT-SCREEN-SAVER
[    48.156] (II) Initializing extension DOUBLE-BUFFER
[    48.158] (II) Initializing extension RECORD
[    48.162] (II) Initializing extension Present
[    48.166] (II) Initializing extension DRI3
[    48.169] (II) Initializing extension X-Resource
[    48.172] (II) Initializing extension XVideo
[    48.174] (II) Initializing extension XVideo-MotionCompensation
[    48.174] (II) Initializing extension SELinux
[    48.174] (II) SELinux: Disabled on system
[    48.174] (II) Initializing extension GLX
[    48.284] (II) AIGLX: Loaded and initialized vc4
[    48.284] (II) GLX: Initialized DRI2 GL provider for screen 0
[    48.284] (II) Initializing extension XFree86-VidModeExtension
[    48.286] (II) Initializing extension XFree86-DGA
[    48.289] (II) Initializing extension XFree86-DRI
[    48.289] (II) Initializing extension DRI2
[    48.296] (II) modeset(0): Damage tracking initialized
[    48.296] (II) modeset(0): Setting screen physical size to 211 x 127
[    48.950] (II) config/udev: Adding input device 10-0038 generic ft5x06 (79) (/dev/input/event2)
[    48.951] (**) 10-0038 generic ft5x06 (79): Applying InputClass "libinput touchscreen catchall"
[    48.951] (II) LoadModule: "libinput"
[    48.952] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    48.993] (II) Module libinput: vendor="X.Org Foundation"
[    48.993]    compiled for 1.21.1.3, module version = 1.2.1
[    48.993]    Module class: X.Org XInput Driver
[    48.993]    ABI class: X.Org XInput driver, version 24.4
[    48.993] (II) Using input driver 'libinput' for '10-0038 generic ft5x06 (79)'
[    48.994] (**) 10-0038 generic ft5x06 (79): always reports core events
[    48.994] (**) Option "Device" "/dev/input/event2"
[    49.072] (II) event2  - 10-0038 generic ft5x06 (79): is tagged by udev as: Touchscreen
[    49.078] (II) event2  - 10-0038 generic ft5x06 (79): device is a touch device
[    49.081] (II) event2  - 10-0038 generic ft5x06 (79): device removed
[    49.210] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f205000.i2c/i2c-11/i2c-10/10-0038/input/input2/event2"
[    49.210] (II) XINPUT: Adding extended input device "10-0038 generic ft5x06 (79)" (type: TOUCHSCREEN, id 6)
[    49.212] (**) Option "AccelerationScheme" "none"
[    49.212] (**) 10-0038 generic ft5x06 (79): (accel) selected scheme none/0
[    49.212] (**) 10-0038 generic ft5x06 (79): (accel) acceleration factor: 2.000
[    49.212] (**) 10-0038 generic ft5x06 (79): (accel) acceleration threshold: 4
[    49.223] (II) event2  - 10-0038 generic ft5x06 (79): is tagged by udev as: Touchscreen
[    49.229] (II) event2  - 10-0038 generic ft5x06 (79): device is a touch device
[    49.236] (II) config/udev: Adding input device 10-0038 generic ft5x06 (79) (/dev/input/mouse0)
[    49.236] (II) No input driver specified, ignoring this device.
[    49.236] (II) This device may have been added with another device file.
[    49.243] (II) config/udev: Adding input device vc4-hdmi (/dev/input/event0)
[    49.243] (**) vc4-hdmi: Applying InputClass "libinput keyboard catchall"
[    49.243] (II) Using input driver 'libinput' for 'vc4-hdmi'
[    49.243] (**) vc4-hdmi: always reports core events
[    49.243] (**) Option "Device" "/dev/input/event0"
[    49.254] (II) event0  - vc4-hdmi: is tagged by udev as: Keyboard Pointingstick
[    49.256] (II) event0  - vc4-hdmi: device is a pointer
[    49.256] (II) event0  - vc4-hdmi: device is a keyboard
[    49.258] (II) event0  - vc4-hdmi: device removed
[    49.311] (II) libinput: vc4-hdmi: needs a virtual subdevice
[    49.311] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f902000.hdmi/rc/rc0/input0/event0"
[    49.311] (II) XINPUT: Adding extended input device "vc4-hdmi" (type: MOUSE, id 7)
[    49.313] (**) Option "AccelerationScheme" "none"
[    49.313] (**) vc4-hdmi: (accel) selected scheme none/0
[    49.313] (**) vc4-hdmi: (accel) acceleration factor: 2.000
[    49.313] (**) vc4-hdmi: (accel) acceleration threshold: 4
[    49.322] (II) event0  - vc4-hdmi: is tagged by udev as: Keyboard Pointingstick
[    49.324] (II) event0  - vc4-hdmi: device is a pointer
[    49.324] (II) event0  - vc4-hdmi: device is a keyboard
[    49.330] (II) config/udev: Adding input device vc4-hdmi HDMI Jack (/dev/input/event1)
[    49.331] (II) No input driver specified, ignoring this device.
[    49.331] (II) This device may have been added with another device file.
[    49.371] (**) vc4-hdmi: Applying InputClass "libinput keyboard catchall"
[    49.372] (II) Using input driver 'libinput' for 'vc4-hdmi'
[    49.372] (**) vc4-hdmi: always reports core events
[    49.372] (**) Option "Device" "/dev/input/event0"
[    49.372] (II) libinput: vc4-hdmi: is a virtual subdevice
[    49.373] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f902000.hdmi/rc/rc0/input0/event0"
[    49.373] (II) XINPUT: Adding extended input device "vc4-hdmi" (type: KEYBOARD, id 8)
[    49.373] (**) Option "xkb_model" "pc105"
[    49.373] (**) Option "xkb_layout" "de"
[    62.815] (II) modeset(0): Disabling kernel dirty updates, not required.

jangrewe avatar Jun 12 '25 10:06 jangrewe

Enforcing display 1 does not change something does it?

startx /usr/bin/chromium -- :1

Based on the output, while it finds the HDMI connector, it seems to use the DSI display, also with the intended KMS driver and module. It also detects the touch input. It selects HDMI audio, but that does not matter for video output.

Not sure at this point. Please try to remove or comment some legacy, possibly conflicting /boot/config.txt entries: start_x, framebuffer_width/framebuffer_height, lcd_rotate Also assure to have 64 MiB GPU memory at least. But it should be 76 MiB already (board default) after Chromium installation.

Does it work OOTB with Raspberry Pi OS? I somehow cannot find their desktop repository at GitHub anymore, but can check the image for X11 configs which might make a differnce.

MichaIng avatar Jun 12 '25 12:06 MichaIng

Unfortunately, none of that made any difference... i was using bullseye before and only updated because my SD card got corrupted (unrelated to regular usage), so i'll go back to bullseye now, to check if that works "again".

Edit: When using an old image (DietPi_RPi-ARMv7-Bullseye.img.xz from 2024-12-23), it "just works"...

jangrewe avatar Jun 30 '25 15:06 jangrewe

If it is the same with Raspberry Pi OS Bookworm, maybe the RPi community can help at their forum. Though when using the image with preinstalled RPi desktop, it uses Wayland, not X11.

Reading through a thread about why an X11 config is needed on RPi: https://forums.raspberrypi.com/viewtopic.php?t=358853#p2181567 If you still have a Bookworm SD card or time to test, could you check which driver is used by the DSI display:

l /sys/class/drm/*/device/driver

MichaIng avatar Jun 30 '25 19:06 MichaIng