RP5 & WaveShare 4.3 inch DSI LCD didn’t work

volumio@rpi5:~$ dmesg | grep -iE 'dsi|drm|fb0|mipi|rp1|vc4'
[    0.354478] gpio-461 (RP1 RUN pin): hogged as output/high
[    0.953766] rp1 0001:01:00.0: bar0 len 0x4000, start 0x1f00410000, end 0x1f00413fff, flags, 0x40200
[    0.953771] rp1 0001:01:00.0: bar1 len 0x400000, start 0x1f00000000, end 0x1f003fffff, flags, 0x40200
[    0.953780] rp1 0001:01:00.0: enabling device (0000 -> 0002)
[    0.954725] rp1 0001:01:00.0: chip_id 0x20001927
[    1.098526] platform 1f00130000.dsi: Fixed dependency cycle(s) with /axi/pcie@120000/rp1/dsi@128000/bridge@0/ports/port@0/endpoint
[    1.102731] platform 1f00130000.dsi: bcm2712_iommu_probe_device: MMU 1000005280.iommu
[    1.102735] platform 1f00130000.dsi: bcm2712_iommu_device_group: MMU 1000005280.iommu
[    1.102741] platform 1f00130000.dsi: Adding to iommu group 2
[    1.102749] platform 1f00130000.dsi: bcm2712_iommu_attach_dev: MMU 1000005280.iommu
[    1.503330] drm-rp1-dsi 1f00130000.dsi: bcm2712_iommu_of_xlate: MMU 1000005280.iommu
[    1.503597] mipi-dsi 1f00130000.dsi.0: Fixed dependency cycle(s) with /panel_disp@1/port/endpoint
[    1.645817] [drm] Initialized v3d 1.0.0 20180419 for 1002000000.v3d on minor 1
[   11.741313] mipi-dsi 1f00130000.dsi.0: deferred probe pending
[   13.406992] vc4-drm axi:gpu: bcm2712_iommu_of_xlate: MMU 1000005200.iommu
[   13.510984] vc4-drm axi:gpu: bound 107c580000.hvs (ops vc4_hvs_ops [vc4])
[   13.552919] rc rc0: vc4-hdmi-0 as /devices/platform/soc/107c701400.hdmi/rc/rc0
[   13.552977] input: vc4-hdmi-0 as /devices/platform/soc/107c701400.hdmi/rc/rc0/input1
[   13.557765] vc4-drm axi:gpu: bound 107c701400.hdmi (ops vc4_hdmi_ops [vc4])
[   13.598952] rc rc1: vc4-hdmi-1 as /devices/platform/soc/107c706400.hdmi/rc/rc1
[   13.599014] input: vc4-hdmi-1 as /devices/platform/soc/107c706400.hdmi/rc/rc1/input2
[   13.609338] vc4-drm axi:gpu: bound 107c706400.hdmi (ops vc4_hdmi_ops [vc4])
[   13.609543] vc4-drm axi:gpu: bound 107c500000.mop (ops vc4_txp_ops [vc4])
[   13.609665] vc4-drm axi:gpu: bound 107c501000.moplet (ops vc4_txp_ops [vc4])
[   13.609791] vc4-drm axi:gpu: bound 107c410000.pixelvalve (ops vc4_crtc_ops [vc4])
[   13.609940] vc4-drm axi:gpu: bound 107c411000.pixelvalve (ops vc4_crtc_ops [vc4])
[   13.610921] [drm] Initialized vc4 0.0.0 20140616 for axi:gpu on minor 2
[   13.620702] vc4-drm axi:gpu: [drm] Cannot find any crtc or sizes
[   13.625042] vc4-drm axi:gpu: [drm] Cannot find any crtc or sizes
[   13.629297] vc4-drm axi:gpu: [drm] Cannot find any crtc or sizes

image

This is quite interesting.

Screen is on DSI-1
image

The same part from dmesg | grep -iE ‘dsi|drm|fb0|mipi|rp1|vc4’

[ 0.782685] platform 1f00130000.dsi: Adding to iommu group 2
[ 0.782692] platform 1f00130000.dsi: bcm2712_iommu_attach_dev: MMU 1000005280.iommu
[ 1.198384] [drm] Initialized v3d 1.0.0 20180419 for 1002000000.v3d on minor 0
[ 1.229794] drm-rp1-dsi 1f00130000.dsi: bcm2712_iommu_of_xlate: MMU 1000005280.iommu
[ 1.243696] mipi-dsi 1f00130000.dsi.0: Fixed dependency cycle(s) with /panel_disp@1/port/endpoint
[ 11.485550] mipi-dsi 1f00130000.dsi.0: deferred probe pending
[ 12.947269] vc4-drm axi:gpu: bcm2712_iommu_of_xlate: MMU 1000005200.iommu
[ 12.950925] drm-rp1-dsi 1f00130000.dsi: rp1dsi_host_attach: Attach DSI device name=tc358762 channel=0 lanes=1 format=0 flags=0x815 hs_rate=0 lp_rate=0
[ 12.951698] vc4-drm axi:gpu: bound 107c580000.hvs (ops vc4_hvs_ops [vc4])
[ 12.956675] [drm] Initialized drm-rp1-dsi 1.0.0 0 for 1f00130000.dsi on minor 1

For some reason the DSI port is not attached in your setup. For me there is a clear event emitted:

drm-rp1-dsi 1f00130000.dsi: rp1dsi_host_attach: Attach DSI device name=tc358762 channel=0 lanes=1 format=0 flags=0x815 hs_rate=0 lp_rate=0

@nerd,

I added to /boot/firmware/config.txt, under [all]
kernel=kernel8.img
LCD works fine, just like before the changes in config.txt
Touch also works fine.

If I run the same setup booting rPi OS, the same setup comes alive. So the connection is OK.

@nerd,

I compared it with my files. I have exactly the same entries in the files.

/boot/userconfig.txt is also the same after I manually added dtoverlay=vc4-kms-dsi-7inch.

LCD and touch don’t work for me.

Something worth trying:

Edit /boot/config.txt and add after line initramfs volumio.initrd:

# Automatically load overlays for detected DSI displays
display_auto_detect=1

After the change, the beginning of the /boot/config.txt will look like

### DO NOT EDIT THIS FILE ###
### APPLY CUSTOM PARAMETERS TO userconfig.txt ###
initramfs volumio.initrd
display_auto_detect=1
gpu_mem=128
gpu_mem_256=32
gpu_mem_512=32

Kind Regards,

Nope, still black, no prompt no GUI.

Can you post PCB revision from the command:

awk '/^Revision/ {sub("^1000", "", $3); print $3}' /proc/cpuinfo

Kind Regards,

volumio@rpi5:~$ awk '/^Revision/ {sub("^1000", "", $3); print $3}' /proc/cpuinfo
c04170

I checked it too, it didn’t help me.

@Piteros

Put the output of the script in this topic.

/boot$ awk ‘/^Revision/ {sub(“^1000”, “”, $3); print $3}’ /proc/cpuinfo
c04170

@nerd

Strange thing I see is when I run cat /var/log/Xorg.0.log

[    64.349] (II) modeset(0): Output DSI-2 using monitor section DSI-2
[    64.349] (**) modeset(0): Option "Rotate" "normal"
[    64.349] (II) modeset(0): EDID for output DSI-2
[    64.349] (II) modeset(0): Printing probed modes for output DSI-2
[    64.349] (II) modeset(0): Modeline "800x480"x60.0   27.78  800 859 861 907  480 487 489 510 -hsync -vsync (30.6 kHz eP)
[    64.349] (II) modeset(0): Output DSI-2 connected
[    64.349] (II) modeset(0): Using exact sizes for initial modes
[    64.349] (II) modeset(0): Output DSI-2 using initial mode 800x480 +0+0
[    64.349] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    64.349] (==) modeset(0): DPI set to (96, 96)

Full output:

volumio@rpi5:~$ cat /var/log/Xorg.0.log
[    63.851]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[    63.851] Build Operating System: Linux 5.4.0-109-generic armv8l Raspbian
[    63.851] Current Operating System: Linux rpi5 6.1.69-v8+ #1710 SMP PREEMPT Thu Dec 21 13:21:40 GMT 2023 aarch64
[    63.851] 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=D8:3A:DD:BD:67:B4 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  splash plymouth.ignore-serial-consoles dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0xF dwc_otg.nak_holdoff=1 quiet console=ttyAMA10,115200 console=tty1 imgpart=UUID=0c3a77ec-ae84-4f1b-8028-c61cc251ffe5 imgfile=/volumio_current.sqsh bootpart=UUID=41CA-9A8B datapart=UUID=0324d53a-d066-482b-b659-eb98af2b49e7 uuidconfig=cmdline.txt pcie_aspm=off pci=pcie_bus_safe rootwait bootdelay=7 logo.nologo vt.global_cursor_default=0 net.ifnames=0 snd-bcm2835.enable_compat_alsa= snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 loglevel=0 nodebug use_kmsg=no
[    63.851] Build Date: 04 April 2023  07:50:56AM
[    63.851] xorg-server 2:1.20.4-1+rpt4+deb10u9 (https://www.debian.org/support)
[    63.851] Current version of pixman: 0.36.0
[    63.851]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    63.851] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    63.851] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep  8 20:05:50 2024
[    63.853] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    63.853] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    63.855] (==) No Layout section.  Using the first Screen section.
[    63.855] (==) No screen section available. Using defaults.
[    63.855] (**) |-->Screen "Default Screen Section" (0)
[    63.855] (**) |   |-->Monitor "<default monitor>"
[    63.857] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    63.857] (==) Automatically adding devices
[    63.857] (==) Automatically enabling devices
[    63.857] (==) Automatically adding GPU devices
[    63.859] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    63.862] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    63.862]    Entry deleted from font path.
[    63.866] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
[    63.866] (==) ModulePath set to "/usr/lib/xorg/modules"
[    63.866] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    63.866] (II) Loader magic: 0x1fdf80
[    63.866] (II) Module ABI versions:
[    63.866]    X.Org ANSI C Emulation: 0.4
[    63.866]    X.Org Video Driver: 24.0
[    63.866]    X.Org XInput driver : 24.1
[    63.866]    X.Org Server Extension : 10.0
[    63.866] (--) using VT number 2

[    63.866] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    63.868] (II) xfree86: Adding drm device (/dev/dri/card0)
[    63.868] (II) xfree86: Adding drm device (/dev/dri/card1)
[    63.868] (II) xfree86: Adding drm device (/dev/dri/card2)
[    63.869] (II) no primary bus or device found
[    63.869]    falling back to /sys/devices/platform/axi/1000120000.pcie/1f00130000.dsi/drm/card0
[    63.869] (II) LoadModule: "glx"
[    63.869] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    63.881] (II) Module glx: vendor="X.Org Foundation"
[    63.881]    compiled for 1.20.4, module version = 1.0.0
[    63.881]    ABI class: X.Org Server Extension, version 10.0
[    63.881] (==) Matched modesetting as autoconfigured driver 0
[    63.881] (==) Matched fbdev as autoconfigured driver 1
[    63.881] (==) Assigned the driver to the xf86ConfigLayout
[    63.881] (II) LoadModule: "modesetting"
[    63.882] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    63.883] (II) Module modesetting: vendor="X.Org Foundation"
[    63.883]    compiled for 1.20.4, module version = 1.20.4
[    63.883]    Module class: X.Org Video Driver
[    63.883]    ABI class: X.Org Video Driver, version 24.0
[    63.883] (II) LoadModule: "fbdev"
[    63.884] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    63.884] (II) Module fbdev: vendor="X.Org Foundation"
[    63.884]    compiled for 1.20.3, module version = 0.5.0
[    63.884]    Module class: X.Org Video Driver
[    63.884]    ABI class: X.Org Video Driver, version 24.0
[    63.884] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    63.884] (II) FBDEV: driver for framebuffer: fbdev
[    63.903] (II) modeset(0): using drv /dev/dri/card0
[    63.903] (WW) Falling back to old probe method for fbdev
[    63.903] (II) Loading sub module "fbdevhw"
[    63.903] (II) LoadModule: "fbdevhw"
[    63.904] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    63.907] (II) Module fbdevhw: vendor="X.Org Foundation"
[    63.907]    compiled for 1.20.4, module version = 0.0.2
[    63.907]    ABI class: X.Org Video Driver, version 24.0
[    63.907] (II) modeset(G0): using drv /dev/dri/card2
[    63.907] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    63.907] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    63.907] (==) modeset(0): RGB weight 888
[    63.907] (==) modeset(0): Default visual is TrueColor
[    63.907] (II) Loading sub module "glamoregl"
[    63.907] (II) LoadModule: "glamoregl"
[    63.907] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    63.924] (II) Module glamoregl: vendor="X.Org Foundation"
[    63.924]    compiled for 1.20.4, module version = 1.0.1
[    63.924]    ABI class: X.Org ANSI C Emulation, version 0.4
[    64.348] (II) modeset(0): Refusing to try glamor on llvmpipe
[    64.349] (EE) modeset(0): glamor initialization failed
[    64.349] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[    64.349] (II) modeset(0): Output DSI-2 using monitor section DSI-2
[    64.349] (**) modeset(0): Option "Rotate" "normal"
[    64.349] (II) modeset(0): EDID for output DSI-2
[    64.349] (II) modeset(0): Printing probed modes for output DSI-2
[    64.349] (II) modeset(0): Modeline "800x480"x60.0   27.78  800 859 861 907  480 487 489 510 -hsync -vsync (30.6 kHz eP)
[    64.349] (II) modeset(0): Output DSI-2 connected
[    64.349] (II) modeset(0): Using exact sizes for initial modes
[    64.349] (II) modeset(0): Output DSI-2 using initial mode 800x480 +0+0
[    64.349] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    64.349] (==) modeset(0): DPI set to (96, 96)
[    64.349] (II) Loading sub module "fb"
[    64.349] (II) LoadModule: "fb"
[    64.349] (II) Loading /usr/lib/xorg/modules/libfb.so
[    64.351] (II) Module fb: vendor="X.Org Foundation"
[    64.351]    compiled for 1.20.4, module version = 1.0.0
[    64.351]    ABI class: X.Org ANSI C Emulation, version 0.4
[    64.351] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[    64.351] (==) modeset(G0): RGB weight 888
[    64.351] (==) modeset(G0): Default visual is TrueColor
[    64.351] (II) Loading sub module "glamoregl"
[    64.352] (II) LoadModule: "glamoregl"
[    64.352] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    64.352] (II) Module glamoregl: vendor="X.Org Foundation"
[    64.352]    compiled for 1.20.4, module version = 1.0.1
[    64.352]    ABI class: X.Org ANSI C Emulation, version 0.4
[    64.706] (II) modeset(G0): Refusing to try glamor on llvmpipe
[    64.707] (EE) modeset(G0): glamor initialization failed
[    64.707] (II) modeset(G0): ShadowFB: preferred NO, enabled NO
[    64.710] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[    64.712] (II) modeset(G0): Output HDMI-1-2 has no monitor section
[    64.715] (II) modeset(G0): EDID for output HDMI-1-1
[    64.717] (II) modeset(G0): EDID for output HDMI-1-2
[    64.717] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[    64.717] (==) modeset(G0): DPI set to (96, 96)
[    64.717] (II) Loading sub module "fb"
[    64.717] (II) LoadModule: "fb"
[    64.717] (II) Loading /usr/lib/xorg/modules/libfb.so
[    64.717] (II) Module fb: vendor="X.Org Foundation"
[    64.717]    compiled for 1.20.4, module version = 1.0.0
[    64.717]    ABI class: X.Org ANSI C Emulation, version 0.4
[    64.717] (II) UnloadModule: "fbdev"
[    64.717] (II) Unloading fbdev
[    64.717] (II) UnloadSubModule: "fbdevhw"
[    64.717] (II) Unloading fbdevhw
[    64.725] (==) modeset(G0): Backing store enabled
[    64.725] (==) modeset(G0): Silken mouse enabled
[    64.728] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[    64.728] (==) modeset(G0): DPMS enabled
[    64.729] (==) modeset(0): Backing store enabled
[    64.729] (==) modeset(0): Silken mouse enabled
[    64.736] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    64.736] (==) modeset(0): DPMS enabled
[    64.736] (II) Initializing extension Generic Event Extension
[    64.737] (II) Initializing extension SHAPE
[    64.737] (II) Initializing extension MIT-SHM
[    64.737] (II) Initializing extension XInputExtension
[    64.741] (II) Initializing extension XTEST
[    64.741] (II) Initializing extension BIG-REQUESTS
[    64.741] (II) Initializing extension SYNC
[    64.742] (II) Initializing extension XKEYBOARD
[    64.742] (II) Initializing extension XC-MISC
[    64.743] (II) Initializing extension SECURITY
[    64.743] (II) Initializing extension XFIXES
[    64.743] (II) Initializing extension RENDER
[    64.744] (II) Initializing extension RANDR
[    64.744] (II) Initializing extension COMPOSITE
[    64.745] (II) Initializing extension DAMAGE
[    64.745] (II) Initializing extension MIT-SCREEN-SAVER
[    64.745] (II) Initializing extension DOUBLE-BUFFER
[    64.746] (II) Initializing extension RECORD
[    64.746] (II) Initializing extension DPMS
[    64.746] (II) Initializing extension Present
[    64.747] (II) Initializing extension DRI3
[    64.747] (II) Initializing extension X-Resource
[    64.747] (II) Initializing extension XVideo
[    64.747] (II) Initializing extension XVideo-MotionCompensation
[    64.747] (II) Initializing extension SELinux
[    64.747] (II) SELinux: Disabled on system
[    64.747] (II) Initializing extension GLX
[    64.748] (II) AIGLX: Screen 0 is not DRI2 capable
[    64.799] (II) IGLX: Loaded and initialized swrast
[    64.799] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    64.799] (II) Initializing extension XFree86-VidModeExtension
[    64.799] (II) Initializing extension XFree86-DGA
[    64.799] (II) Initializing extension XFree86-DRI
[    64.802] (II) Initializing extension DRI2
[    64.803] (II) modeset(G0): Damage tracking initialized
[    64.803] (II) modeset(0): Damage tracking initialized
[    64.803] (II) modeset(0): Setting screen physical size to 211 x 127
[    64.886] (II) config/udev: Adding input device pwr_button (/dev/input/event0)
[    64.886] (**) pwr_button: Applying InputClass "libinput keyboard catchall"
[    64.886] (II) LoadModule: "libinput"
[    64.887] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    64.900] (II) Module libinput: vendor="X.Org Foundation"
[    64.900]    compiled for 1.20.3, module version = 0.28.2
[    64.900]    Module class: X.Org XInput Driver
[    64.900]    ABI class: X.Org XInput driver, version 24.1
[    64.900] (II) Using input driver 'libinput' for 'pwr_button'
[    64.900] (**) pwr_button: always reports core events
[    64.900] (**) Option "Device" "/dev/input/event0"
[    64.900] (**) Option "_source" "server/udev"
[    64.912] (II) event0  - pwr_button: is tagged by udev as: Keyboard
[    64.912] (II) event0  - pwr_button: device is a keyboard
[    64.912] (II) event0  - pwr_button: device removed
[    64.932] (**) Option "config_info" "udev:/sys/devices/platform/pwr_button/input/input0/event0"
[    64.932] (II) XINPUT: Adding extended input device "pwr_button" (type: KEYBOARD, id 6)
[    64.932] (**) Option "xkb_model" "pc105"
[    64.932] (**) Option "xkb_layout" "us"
[    64.933] (II) event0  - pwr_button: is tagged by udev as: Keyboard
[    64.933] (II) event0  - pwr_button: device is a keyboard
[    64.934] (II) config/udev: Adding input device vc4-hdmi-0 (/dev/input/event1)
[    64.934] (**) vc4-hdmi-0: Applying InputClass "libinput keyboard catchall"
[    64.934] (II) Using input driver 'libinput' for 'vc4-hdmi-0'
[    64.934] (**) vc4-hdmi-0: always reports core events
[    64.934] (**) Option "Device" "/dev/input/event1"
[    64.934] (**) Option "_source" "server/udev"
[    64.935] (II) event1  - vc4-hdmi-0: is tagged by udev as: Keyboard Pointingstick
[    64.935] (II) event1  - vc4-hdmi-0: device is a pointer
[    64.935] (II) event1  - vc4-hdmi-0: device is a keyboard
[    64.936] (II) event1  - vc4-hdmi-0: device removed
[    64.964] (II) libinput: vc4-hdmi-0: needs a virtual subdevice
[    64.964] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c701400.hdmi/rc/rc0/input1/event1"
[    64.964] (II) XINPUT: Adding extended input device "vc4-hdmi-0" (type: MOUSE, id 7)
[    64.964] (**) Option "AccelerationScheme" "none"
[    64.964] (**) vc4-hdmi-0: (accel) selected scheme none/0
[    64.964] (**) vc4-hdmi-0: (accel) acceleration factor: 2.000
[    64.964] (**) vc4-hdmi-0: (accel) acceleration threshold: 4
[    64.965] (II) event1  - vc4-hdmi-0: is tagged by udev as: Keyboard Pointingstick
[    64.966] (II) event1  - vc4-hdmi-0: device is a pointer
[    64.966] (II) event1  - vc4-hdmi-0: device is a keyboard
[    64.967] (II) config/udev: Adding input device vc4-hdmi-1 (/dev/input/event2)
[    64.967] (**) vc4-hdmi-1: Applying InputClass "libinput keyboard catchall"
[    64.967] (II) Using input driver 'libinput' for 'vc4-hdmi-1'
[    64.967] (**) vc4-hdmi-1: always reports core events
[    64.967] (**) Option "Device" "/dev/input/event2"
[    64.967] (**) Option "_source" "server/udev"
[    64.968] (II) event2  - vc4-hdmi-1: is tagged by udev as: Keyboard Pointingstick
[    64.969] (II) event2  - vc4-hdmi-1: device is a pointer
[    64.969] (II) event2  - vc4-hdmi-1: device is a keyboard
[    64.969] (II) event2  - vc4-hdmi-1: device removed
[    64.988] (II) libinput: vc4-hdmi-1: needs a virtual subdevice
[    64.988] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c706400.hdmi/rc/rc1/input2/event2"
[    64.988] (II) XINPUT: Adding extended input device "vc4-hdmi-1" (type: MOUSE, id 8)
[    64.988] (**) Option "AccelerationScheme" "none"
[    64.988] (**) vc4-hdmi-1: (accel) selected scheme none/0
[    64.988] (**) vc4-hdmi-1: (accel) acceleration factor: 2.000
[    64.988] (**) vc4-hdmi-1: (accel) acceleration threshold: 4
[    64.989] (II) event2  - vc4-hdmi-1: is tagged by udev as: Keyboard Pointingstick
[    64.990] (II) event2  - vc4-hdmi-1: device is a pointer
[    64.990] (II) event2  - vc4-hdmi-1: device is a keyboard
[    65.003] (**) vc4-hdmi-0: Applying InputClass "libinput keyboard catchall"
[    65.003] (II) Using input driver 'libinput' for 'vc4-hdmi-0'
[    65.003] (**) vc4-hdmi-0: always reports core events
[    65.003] (**) Option "Device" "/dev/input/event1"
[    65.003] (**) Option "_source" "_driver/libinput"
[    65.003] (II) libinput: vc4-hdmi-0: is a virtual subdevice
[    65.003] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c701400.hdmi/rc/rc0/input1/event1"
[    65.003] (II) XINPUT: Adding extended input device "vc4-hdmi-0" (type: KEYBOARD, id 9)
[    65.003] (**) Option "xkb_model" "pc105"
[    65.003] (**) Option "xkb_layout" "us"
[    65.003] (**) vc4-hdmi-1: Applying InputClass "libinput keyboard catchall"
[    65.003] (II) Using input driver 'libinput' for 'vc4-hdmi-1'
[    65.003] (**) vc4-hdmi-1: always reports core events
[    65.003] (**) Option "Device" "/dev/input/event2"
[    65.003] (**) Option "_source" "_driver/libinput"
[    65.003] (II) libinput: vc4-hdmi-1: is a virtual subdevice
[    65.004] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c706400.hdmi/rc/rc1/input2/event2"
[    65.004] (II) XINPUT: Adding extended input device "vc4-hdmi-1" (type: KEYBOARD, id 10)
[    65.004] (**) Option "xkb_model" "pc105"
[    65.004] (**) Option "xkb_layout" "us"
[    67.856] (II) modeset(0): Disabling kernel dirty updates, not required.
volumio@rpi5:~$ xrandr --display :0 --query
Screen 0: minimum 320 x 200, current 800 x 480, maximum 4096 x 4096
DSI-2 connected primary 800x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   800x480       60.05*+
/boot$ cat /var/log/Xorg.0.log
[    39.056] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[    39.056] Build Operating System: Linux 5.4.0-109-generic armv8l Raspbian
[    39.056] Current Operating System: Linux volumio-5 6.1.69-v8+ #1710 SMP PREEMPT Thu Dec 21 13:21:40 GMT 2023 aarch64
[    39.056] 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=D8:3A:DD:ED:78:D8 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  splash plymouth.ignore-serial-consoles dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0xF dwc_otg.nak_holdoff=1 quiet console=ttyAMA10,115200 console=tty1 imgpart=UUID=0c3a77ec-ae84-4f1b-8028-c61cc251ffe5 imgfile=/volumio_current.sqsh bootpart=UUID=41CA-9A8B datapart=UUID=0324d53a-d066-482b-b659-eb98af2b49e7 uuidconfig=cmdline.txt pcie_aspm=off pci=pcie_bus_safe rootwait bootdelay=7 logo.nologo vt.global_cursor_default=0 net.ifnames=0 snd-bcm2835.enable_compat_alsa= snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 loglevel=0 nodebug use_kmsg=no
[    39.056] Build Date: 04 April 2023  07:50:56AM
[    39.056] xorg-server 2:1.20.4-1+rpt4+deb10u9 (https://www.debian.org/support) 
[    39.056] Current version of pixman: 0.36.0
[    39.056] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    39.056] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    39.056] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep  8 19:57:36 2024
[    39.058] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    39.058] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    39.060] (==) No Layout section.  Using the first Screen section.
[    39.060] (==) No screen section available. Using defaults.
[    39.060] (**) |-->Screen "Default Screen Section" (0)
[    39.060] (**) |   |-->Monitor "<default monitor>"
[    39.062] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    39.062] (==) Automatically adding devices
[    39.062] (==) Automatically enabling devices
[    39.062] (==) Automatically adding GPU devices
[    39.063] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    39.066] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    39.066] 	Entry deleted from font path.
[    39.071] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[    39.071] (==) ModulePath set to "/usr/lib/xorg/modules"
[    39.071] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    39.071] (II) Loader magic: 0x1fdf80
[    39.071] (II) Module ABI versions:
[    39.071] 	X.Org ANSI C Emulation: 0.4
[    39.071] 	X.Org Video Driver: 24.0
[    39.071] 	X.Org XInput driver : 24.1
[    39.071] 	X.Org Server Extension : 10.0
[    39.072] (--) using VT number 2

[    39.072] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    39.073] (II) xfree86: Adding drm device (/dev/dri/card0)
[    39.073] (II) xfree86: Adding drm device (/dev/dri/card2)
[    39.073] (II) no primary bus or device found
[    39.073] 	falling back to /sys/devices/platform/axi/1002000000.v3d/drm/card0
[    39.073] (II) LoadModule: "glx"
[    39.074] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    39.086] (II) Module glx: vendor="X.Org Foundation"
[    39.086] 	compiled for 1.20.4, module version = 1.0.0
[    39.086] 	ABI class: X.Org Server Extension, version 10.0
[    39.086] (==) Matched modesetting as autoconfigured driver 0
[    39.086] (==) Matched fbdev as autoconfigured driver 1
[    39.086] (==) Assigned the driver to the xf86ConfigLayout
[    39.086] (II) LoadModule: "modesetting"
[    39.087] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    39.089] (II) Module modesetting: vendor="X.Org Foundation"
[    39.089] 	compiled for 1.20.4, module version = 1.20.4
[    39.089] 	Module class: X.Org Video Driver
[    39.089] 	ABI class: X.Org Video Driver, version 24.0
[    39.089] (II) LoadModule: "fbdev"
[    39.089] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    39.090] (II) Module fbdev: vendor="X.Org Foundation"
[    39.090] 	compiled for 1.20.3, module version = 0.5.0
[    39.090] 	Module class: X.Org Video Driver
[    39.090] 	ABI class: X.Org Video Driver, version 24.0
[    39.090] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    39.090] (II) FBDEV: driver for framebuffer: fbdev
[    39.090] (WW) Falling back to old probe method for modesetting
[    39.090] (WW) Falling back to old probe method for fbdev
[    39.090] (II) Loading sub module "fbdevhw"
[    39.090] (II) LoadModule: "fbdevhw"
[    39.090] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    39.091] (II) Module fbdevhw: vendor="X.Org Foundation"
[    39.091] 	compiled for 1.20.4, module version = 0.0.2
[    39.091] 	ABI class: X.Org Video Driver, version 24.0
[    39.091] (EE) open /dev/fb0: No such file or directory
[    39.091] (WW) Falling back to old probe method for modesetting
[    39.091] (WW) Falling back to old probe method for fbdev
[    39.091] (II) Loading sub module "fbdevhw"
[    39.091] (II) LoadModule: "fbdevhw"
[    39.091] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    39.091] (II) Module fbdevhw: vendor="X.Org Foundation"
[    39.091] 	compiled for 1.20.4, module version = 0.0.2
[    39.091] 	ABI class: X.Org Video Driver, version 24.0
[    39.091] (EE) open /dev/fb0: No such file or directory
[    39.091] (II) modeset(G0): using drv /dev/dri/card2
[    39.091] (EE) No devices detected.
[    39.091] (EE) 
Fatal server error:
[    39.091] (EE) no screens found(EE) 
[    39.091] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    39.091] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    39.091] (EE) 
[    39.091] (EE) Server terminated with error (1). Closing log file.

Hey @Wheaten,

This is getting really odd. X11 loads DSI... Modeline "800x480"x60.0 just to unload a moment later.
There is an explanation for such magic, we need to find it yet.

Kind Regards,

Hey @Piteros,

In your case the X11 is not finding any vc4 drm to even try to enable [ 39.073] (II) no primary bus or device found.

Will take time to figure this out.

Kind Regards,

Yeah looking at your track record, you’ll prob solve it. But it’s weird indeed.