Waveshare DSI LCD displays

it’s already written in code (bash), the source is me.

got it today, I confirm there is a problem with the drivers made by Raspberry Pi for this model.

Let’s see if I can help to have it fixed by them, providing some parameters for the timing

Thanks a lot @Darmur! I’ve checked the github issues and it seemes they already fixed this driver issue but it requires a kernel update:

1 Like

good, I’ll take care of patching the driver on kernel 6.1.69

@danidemo please try to enable test mode and update to 3.622

with the patched driver, the 11.9" display works fine.
Also the rotation parameter works fine

dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-waveshare-panel,11_9_inch,rotation=270

I tried on RPi2 and I can use the touch-display plugin

However, when connected to a Pi5, I can see the boot text if the touch-display plugin is disabled. As soon as I enable it, the screen goes blank and the UI is not loaded. The plugin is the version 3.3.8, that already adds the file /etc/X11/xorg.conf.d/99-vc4.conf

@gvolt any clue?

Is it the same without the rotation parameter, i.e.when using just dtoverlay=vc4-kms-dsi-waveshare-panel,11_9_inch?

Please post the content of “/boot/config.txt”, “/boot/volumioconfig.txt” and “/boot/userconfig.txt” and also the output of

cat /var/log/Xorg.0.log

yes, it’s the same with no rotation

[    68.691] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[    68.691] Build Operating System: Linux 5.4.0-109-generic armv8l Raspbian
[    68.691] Current Operating System: Linux volumio-usb 6.1.69-v8+ #1710 SMP PREEMPT Thu Dec 21 13:21:40 GMT 2023 aarch64
[    68.691] 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:7B:C6:00 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=ttyAMA0,115200 console=tty1 imgpart=UUID=09e9eb41-a375-4504-bd95-b9fb31bf869c imgfile=/volumio_current.sqsh bootpart=UUID=1580-EA53 datapart=UUID=5f69cd19-e2eb-4159-a4fb-faef243916c3 bootconfig=cmdline.txt pcie_aspm=off pci=pcie_bus_safe bootdelay=5 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
[    68.691] Build Date: 04 April 2023  07:50:56AM
[    68.691] xorg-server 2:1.20.4-1+rpt4+deb10u9 (https://www.debian.org/support) 
[    68.691] Current version of pixman: 0.36.0
[    68.691]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    68.691] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    68.691] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 15 12:18:09 2024
[    68.744] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    68.744] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    68.792] (==) No Layout section.  Using the first Screen section.
[    68.792] (==) No screen section available. Using defaults.
[    68.792] (**) |-->Screen "Default Screen Section" (0)
[    68.792] (**) |   |-->Monitor "<default monitor>"
[    68.803] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    68.803] (==) Automatically adding devices
[    68.803] (==) Automatically enabling devices
[    68.803] (==) Automatically adding GPU devices
[    68.813] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    68.830] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    68.830]    Entry deleted from font path.
[    68.856] (==) 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
[    68.856] (==) ModulePath set to "/usr/lib/xorg/modules"
[    68.856] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    68.856] (II) Loader magic: 0x1fdf80
[    68.856] (II) Module ABI versions:
[    68.856]    X.Org ANSI C Emulation: 0.4
[    68.856]    X.Org Video Driver: 24.0
[    68.856]    X.Org XInput driver : 24.1
[    68.856]    X.Org Server Extension : 10.0
[    68.857] (--) using VT number 2

[    68.857] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    68.858] (II) xfree86: Adding drm device (/dev/dri/card1)
[    68.858] (II) xfree86: Adding drm device (/dev/dri/card0)
[    68.858] (II) xfree86: Adding drm device (/dev/dri/card2)
[    68.859] (**) OutputClass "vc4" setting /dev/dri/card2 as PrimaryGPU
[    68.859] (II) LoadModule: "glx"
[    68.861] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    68.912] (II) Module glx: vendor="X.Org Foundation"
[    68.912]    compiled for 1.20.4, module version = 1.0.0
[    68.912]    ABI class: X.Org Server Extension, version 10.0
[    68.912] (II) Applying OutputClass "vc4" to /dev/dri/card2
[    68.912]    loading driver: modesetting
[    68.912] (==) Matched modesetting as autoconfigured driver 0
[    68.912] (==) Matched fbdev as autoconfigured driver 1
[    68.912] (==) Assigned the driver to the xf86ConfigLayout
[    68.912] (II) LoadModule: "modesetting"
[    68.921] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    68.929] (II) Module modesetting: vendor="X.Org Foundation"
[    68.929]    compiled for 1.20.4, module version = 1.20.4
[    68.929]    Module class: X.Org Video Driver
[    68.929]    ABI class: X.Org Video Driver, version 24.0
[    68.929] (II) LoadModule: "fbdev"
[    68.929] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    68.935] (II) Module fbdev: vendor="X.Org Foundation"
[    68.935]    compiled for 1.20.3, module version = 0.5.0
[    68.935]    Module class: X.Org Video Driver
[    68.935]    ABI class: X.Org Video Driver, version 24.0
[    68.935] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    68.935] (II) FBDEV: driver for framebuffer: fbdev
[    68.938] (II) modeset(0): using drv /dev/dri/card2
[    68.938] (WW) Falling back to old probe method for fbdev
[    68.938] (II) Loading sub module "fbdevhw"
[    68.938] (II) LoadModule: "fbdevhw"
[    68.938] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    68.948] (II) Module fbdevhw: vendor="X.Org Foundation"
[    68.948]    compiled for 1.20.4, module version = 0.0.2
[    68.948]    ABI class: X.Org Video Driver, version 24.0
[    68.953] (II) modeset(G0): using drv /dev/dri/card1
[    68.953] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    68.953] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    68.953] (II) Applying OutputClass "vc4" options to /dev/dri/card2
[    68.953] (==) modeset(0): RGB weight 888
[    68.953] (==) modeset(0): Default visual is TrueColor
[    68.953] (II) Loading sub module "glamoregl"
[    68.953] (II) LoadModule: "glamoregl"
[    68.953] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    69.031] (II) Module glamoregl: vendor="X.Org Foundation"
[    69.031]    compiled for 1.20.4, module version = 1.0.1
[    69.031]    ABI class: X.Org ANSI C Emulation, version 0.4
[    70.608] (II) modeset(0): Refusing to try glamor on llvmpipe
[    70.609] (EE) modeset(0): glamor initialization failed
[    70.609] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[    70.611] (II) modeset(0): Output HDMI-1 has no monitor section
[    70.613] (II) modeset(0): Output HDMI-2 has no monitor section
[    70.614] (II) modeset(0): EDID for output HDMI-1
[    70.616] (II) modeset(0): EDID for output HDMI-2
[    70.616] (II) modeset(0): Output HDMI-1 disconnected
[    70.616] (II) modeset(0): Output HDMI-2 disconnected
[    70.616] (WW) modeset(0): No outputs definitely connected, trying again...
[    70.616] (II) modeset(0): Output HDMI-1 disconnected
[    70.616] (II) modeset(0): Output HDMI-2 disconnected
[    70.616] (WW) modeset(0): Unable to find connected outputs - setting 1024x768 initial framebuffer
[    70.616] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    70.616] (==) modeset(0): DPI set to (96, 96)
[    70.616] (II) Loading sub module "fb"
[    70.616] (II) LoadModule: "fb"
[    70.616] (II) Loading /usr/lib/xorg/modules/libfb.so
[    72.732] (II) Module fb: vendor="X.Org Foundation"
[    72.732]    compiled for 1.20.4, module version = 1.0.0
[    72.732]    ABI class: X.Org ANSI C Emulation, version 0.4
[    72.732] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[    72.732] (==) modeset(G0): RGB weight 888
[    72.732] (==) modeset(G0): Default visual is TrueColor
[    72.732] (II) Loading sub module "glamoregl"
[    72.732] (II) LoadModule: "glamoregl"
[    72.732] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    72.732] (II) Module glamoregl: vendor="X.Org Foundation"
[    72.732]    compiled for 1.20.4, module version = 1.0.1
[    72.732]    ABI class: X.Org ANSI C Emulation, version 0.4
[    72.745] (II) modeset(G0): Refusing to try glamor on llvmpipe
[    72.745] (EE) modeset(G0): glamor initialization failed
[    72.745] (II) modeset(G0): ShadowFB: preferred NO, enabled NO
[    72.746] (II) modeset(G0): Output DSI-1-2 has no monitor section
[    72.746] (II) modeset(G0): EDID for output DSI-1-2
[    72.746] (II) modeset(G0): Printing probed modes for output DSI-1-2
[    72.746] (II) modeset(G0): Modeline "320x1480"x60.2   50.00  320 380 440 500  1480 1540 1600 1660 (100.0 kHz eP)
[    72.746] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[    72.746] (==) modeset(G0): DPI set to (96, 96)
[    72.746] (II) Loading sub module "fb"
[    72.746] (II) LoadModule: "fb"
[    72.746] (II) Loading /usr/lib/xorg/modules/libfb.so
[    72.746] (II) Module fb: vendor="X.Org Foundation"
[    72.746]    compiled for 1.20.4, module version = 1.0.0
[    72.746]    ABI class: X.Org ANSI C Emulation, version 0.4
[    72.746] (II) UnloadModule: "fbdev"
[    72.746] (II) Unloading fbdev
[    72.746] (II) UnloadSubModule: "fbdevhw"
[    72.746] (II) Unloading fbdevhw
[    80.187] (==) modeset(G0): Backing store enabled
[    80.187] (==) modeset(G0): Silken mouse enabled
[    80.210] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[    80.210] (==) modeset(G0): DPMS enabled
[    80.211] (==) modeset(0): Backing store enabled
[    80.211] (==) modeset(0): Silken mouse enabled
[    80.211] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    80.211] (==) modeset(0): DPMS enabled
[    80.211] (WW) modeset(0): Option "PrimaryGPU" is not used
[    80.211] (II) Initializing extension Generic Event Extension
[    80.212] (II) Initializing extension SHAPE
[    80.212] (II) Initializing extension MIT-SHM
[    80.212] (II) Initializing extension XInputExtension
[    80.220] (II) Initializing extension XTEST
[    80.221] (II) Initializing extension BIG-REQUESTS
[    80.221] (II) Initializing extension SYNC
[    80.221] (II) Initializing extension XKEYBOARD
[    80.222] (II) Initializing extension XC-MISC
[    80.222] (II) Initializing extension SECURITY
[    80.222] (II) Initializing extension XFIXES
[    80.223] (II) Initializing extension RENDER
[    80.223] (II) Initializing extension RANDR
[    80.224] (II) Initializing extension COMPOSITE
[    80.224] (II) Initializing extension DAMAGE
[    80.224] (II) Initializing extension MIT-SCREEN-SAVER
[    80.225] (II) Initializing extension DOUBLE-BUFFER
[    80.225] (II) Initializing extension RECORD
[    80.225] (II) Initializing extension DPMS
[    80.226] (II) Initializing extension Present
[    80.226] (II) Initializing extension DRI3
[    80.226] (II) Initializing extension X-Resource
[    80.226] (II) Initializing extension XVideo
[    80.226] (II) Initializing extension XVideo-MotionCompensation
[    80.226] (II) Initializing extension SELinux
[    80.226] (II) SELinux: Disabled on system
[    80.226] (II) Initializing extension GLX
[    80.227] (II) AIGLX: Screen 0 is not DRI2 capable
[    80.304] (II) IGLX: Loaded and initialized swrast
[    80.304] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    80.304] (II) Initializing extension XFree86-VidModeExtension
[    80.305] (II) Initializing extension XFree86-DGA
[    80.305] (II) Initializing extension XFree86-DRI
[    80.310] (II) Initializing extension DRI2
[    83.413] (II) modeset(G0): Damage tracking initialized
[    83.414] (II) modeset(0): Damage tracking initialized
[    85.692] (II) config/udev: Adding input device pwr_button (/dev/input/event0)
[    85.693] (**) pwr_button: Applying InputClass "libinput keyboard catchall"
[    85.693] (II) LoadModule: "libinput"
[    85.693] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    85.718] (II) Module libinput: vendor="X.Org Foundation"
[    85.718]    compiled for 1.20.3, module version = 0.28.2
[    85.718]    Module class: X.Org XInput Driver
[    85.718]    ABI class: X.Org XInput driver, version 24.1
[    85.718] (II) Using input driver 'libinput' for 'pwr_button'
[    85.718] (**) pwr_button: always reports core events
[    85.718] (**) Option "Device" "/dev/input/event0"
[    85.718] (**) Option "_source" "server/udev"
[    85.744] (II) event0  - pwr_button: is tagged by udev as: Keyboard
[    85.744] (II) event0  - pwr_button: device is a keyboard
[    85.744] (II) event0  - pwr_button: device removed
[    85.764] (**) Option "config_info" "udev:/sys/devices/platform/pwr_button/input/input0/event0"
[    85.764] (II) XINPUT: Adding extended input device "pwr_button" (type: KEYBOARD, id 6)
[    85.764] (**) Option "xkb_model" "pc105"
[    85.764] (**) Option "xkb_layout" "us"
[    85.765] (II) event0  - pwr_button: is tagged by udev as: Keyboard
[    85.765] (II) event0  - pwr_button: device is a keyboard
[    85.766] (II) config/udev: Adding input device vc4-hdmi-0 (/dev/input/event1)
[    85.766] (**) vc4-hdmi-0: Applying InputClass "libinput keyboard catchall"
[    85.766] (II) Using input driver 'libinput' for 'vc4-hdmi-0'
[    85.766] (**) vc4-hdmi-0: always reports core events
[    85.766] (**) Option "Device" "/dev/input/event1"
[    85.766] (**) Option "_source" "server/udev"
[    85.767] (II) event1  - vc4-hdmi-0: is tagged by udev as: Keyboard Pointingstick
[    85.767] (II) event1  - vc4-hdmi-0: device is a pointer
[    85.767] (II) event1  - vc4-hdmi-0: device is a keyboard
[    85.767] (II) event1  - vc4-hdmi-0: device removed
[    85.796] (II) libinput: vc4-hdmi-0: needs a virtual subdevice
[    85.796] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c701400.hdmi/rc/rc0/input1/event1"
[    85.796] (II) XINPUT: Adding extended input device "vc4-hdmi-0" (type: MOUSE, id 7)
[    85.796] (**) Option "AccelerationScheme" "none"
[    85.796] (**) vc4-hdmi-0: (accel) selected scheme none/0
[    85.796] (**) vc4-hdmi-0: (accel) acceleration factor: 2.000
[    85.796] (**) vc4-hdmi-0: (accel) acceleration threshold: 4
[    85.797] (II) event1  - vc4-hdmi-0: is tagged by udev as: Keyboard Pointingstick
[    85.798] (II) event1  - vc4-hdmi-0: device is a pointer
[    85.798] (II) event1  - vc4-hdmi-0: device is a keyboard
[    85.798] (II) config/udev: Adding input device vc4-hdmi-1 (/dev/input/event2)
[    85.798] (**) vc4-hdmi-1: Applying InputClass "libinput keyboard catchall"
[    85.798] (II) Using input driver 'libinput' for 'vc4-hdmi-1'
[    85.798] (**) vc4-hdmi-1: always reports core events
[    85.798] (**) Option "Device" "/dev/input/event2"
[    85.799] (**) Option "_source" "server/udev"
[    85.800] (II) event2  - vc4-hdmi-1: is tagged by udev as: Keyboard Pointingstick
[    85.800] (II) event2  - vc4-hdmi-1: device is a pointer
[    85.800] (II) event2  - vc4-hdmi-1: device is a keyboard
[    85.801] (II) event2  - vc4-hdmi-1: device removed
[    85.816] (II) libinput: vc4-hdmi-1: needs a virtual subdevice
[    85.816] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c706400.hdmi/rc/rc1/input2/event2"
[    85.816] (II) XINPUT: Adding extended input device "vc4-hdmi-1" (type: MOUSE, id 8)
[    85.816] (**) Option "AccelerationScheme" "none"
[    85.816] (**) vc4-hdmi-1: (accel) selected scheme none/0
[    85.816] (**) vc4-hdmi-1: (accel) acceleration factor: 2.000
[    85.816] (**) vc4-hdmi-1: (accel) acceleration threshold: 4
[    85.817] (II) event2  - vc4-hdmi-1: is tagged by udev as: Keyboard Pointingstick
[    85.818] (II) event2  - vc4-hdmi-1: device is a pointer
[    85.818] (II) event2  - vc4-hdmi-1: device is a keyboard
[    85.823] (**) vc4-hdmi-0: Applying InputClass "libinput keyboard catchall"
[    85.823] (II) Using input driver 'libinput' for 'vc4-hdmi-0'
[    85.823] (**) vc4-hdmi-0: always reports core events
[    85.823] (**) Option "Device" "/dev/input/event1"
[    85.823] (**) Option "_source" "_driver/libinput"
[    85.823] (II) libinput: vc4-hdmi-0: is a virtual subdevice
[    85.824] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c701400.hdmi/rc/rc0/input1/event1"
[    85.824] (II) XINPUT: Adding extended input device "vc4-hdmi-0" (type: KEYBOARD, id 9)
[    85.824] (**) Option "xkb_model" "pc105"
[    85.824] (**) Option "xkb_layout" "us"
[    85.824] (**) vc4-hdmi-1: Applying InputClass "libinput keyboard catchall"
[    85.824] (II) Using input driver 'libinput' for 'vc4-hdmi-1'
[    85.824] (**) vc4-hdmi-1: always reports core events
[    85.824] (**) Option "Device" "/dev/input/event2"
[    85.824] (**) Option "_source" "_driver/libinput"
[    85.824] (II) libinput: vc4-hdmi-1: is a virtual subdevice
[    85.824] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c706400.hdmi/rc/rc1/input2/event2"
[    85.824] (II) XINPUT: Adding extended input device "vc4-hdmi-1" (type: KEYBOARD, id 10)
[    85.824] (**) Option "xkb_model" "pc105"
[    85.824] (**) Option "xkb_layout" "us"
[    85.826] (II) event0  - pwr_button: device removed
[    85.844] (II) event1  - vc4-hdmi-0: device removed
[    85.860] (II) event2  - vc4-hdmi-1: device removed
[    85.876] (II) UnloadModule: "libinput"
[    85.876] (II) UnloadModule: "libinput"
[    85.876] (II) UnloadModule: "libinput"
[    85.876] (II) UnloadModule: "libinput"
[    85.877] (II) UnloadModule: "libinput"
[    85.881] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[    85.881] (==) modeset(G0): DPMS enabled
[    85.882] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    85.883] (==) modeset(0): DPMS enabled
[    85.883] (II) Initializing extension Generic Event Extension
[    85.883] (II) Initializing extension SHAPE
[    85.883] (II) Initializing extension MIT-SHM
[    85.883] (II) Initializing extension XInputExtension
[    85.884] (II) Initializing extension XTEST
[    85.884] (II) Initializing extension BIG-REQUESTS
[    85.884] (II) Initializing extension SYNC
[    85.885] (II) Initializing extension XKEYBOARD
[    85.885] (II) Initializing extension XC-MISC
[    85.885] (II) Initializing extension SECURITY
[    85.886] (II) Initializing extension XFIXES
[    85.886] (II) Initializing extension RENDER
[    85.886] (II) Initializing extension RANDR
[    85.887] (II) Initializing extension COMPOSITE
[    85.887] (II) Initializing extension DAMAGE
[    85.887] (II) Initializing extension MIT-SCREEN-SAVER
[    85.888] (II) Initializing extension DOUBLE-BUFFER
[    85.888] (II) Initializing extension RECORD
[    85.888] (II) Initializing extension DPMS
[    85.889] (II) Initializing extension Present
[    85.889] (II) Initializing extension DRI3
[    85.889] (II) Initializing extension X-Resource
[    85.889] (II) Initializing extension XVideo
[    85.889] (II) Initializing extension XVideo-MotionCompensation
[    85.889] (II) Initializing extension SELinux
[    85.889] (II) SELinux: Disabled on system
[    85.889] (II) Initializing extension GLX
[    85.890] (II) AIGLX: Screen 0 is not DRI2 capable
[    85.896] (II) IGLX: Loaded and initialized swrast
[    85.896] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    85.896] (II) Initializing extension XFree86-VidModeExtension
[    85.897] (II) Initializing extension XFree86-DGA
[    85.897] (II) Initializing extension XFree86-DRI
[    85.897] (II) Initializing extension DRI2
[    85.898] (II) modeset(G0): Damage tracking initialized
[    85.898] (II) modeset(0): Damage tracking initialized
[    85.958] (II) config/udev: Adding input device pwr_button (/dev/input/event0)
[    85.958] (**) pwr_button: Applying InputClass "libinput keyboard catchall"
[    85.958] (II) Using input driver 'libinput' for 'pwr_button'
[    85.958] (**) pwr_button: always reports core events
[    85.958] (**) Option "Device" "/dev/input/event0"
[    85.958] (**) Option "_source" "server/udev"
[    85.960] (II) event0  - pwr_button: is tagged by udev as: Keyboard
[    85.960] (II) event0  - pwr_button: device is a keyboard
[    85.960] (II) event0  - pwr_button: device removed
[    85.980] (**) Option "config_info" "udev:/sys/devices/platform/pwr_button/input/input0/event0"
[    85.980] (**) Option "xkb_model" "pc105"
[    85.980] (**) Option "xkb_layout" "us"
[    85.981] (II) event0  - pwr_button: is tagged by udev as: Keyboard
[    85.981] (II) event0  - pwr_button: device is a keyboard
[    85.982] (II) config/udev: Adding input device vc4-hdmi-0 (/dev/input/event1)
[    85.982] (**) vc4-hdmi-0: Applying InputClass "libinput keyboard catchall"
[    85.982] (II) Using input driver 'libinput' for 'vc4-hdmi-0'
[    85.982] (**) vc4-hdmi-0: always reports core events
[    85.982] (**) Option "Device" "/dev/input/event1"
[    85.982] (**) Option "_source" "server/udev"
[    85.983] (II) event1  - vc4-hdmi-0: is tagged by udev as: Keyboard Pointingstick
[    85.983] (II) event1  - vc4-hdmi-0: device is a pointer
[    85.983] (II) event1  - vc4-hdmi-0: device is a keyboard
[    85.984] (II) event1  - vc4-hdmi-0: device removed
[    86.016] (II) libinput: vc4-hdmi-0: needs a virtual subdevice
[    86.016] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c701400.hdmi/rc/rc0/input1/event1"
[    86.016] (**) Option "AccelerationScheme" "none"
[    86.016] (**) vc4-hdmi-0: (accel) selected scheme none/0
[    86.016] (**) vc4-hdmi-0: (accel) acceleration factor: 2.000
[    86.016] (**) vc4-hdmi-0: (accel) acceleration threshold: 4
[    86.017] (II) event1  - vc4-hdmi-0: is tagged by udev as: Keyboard Pointingstick
[    86.018] (II) event1  - vc4-hdmi-0: device is a pointer
[    86.018] (II) event1  - vc4-hdmi-0: device is a keyboard
[    86.019] (II) config/udev: Adding input device vc4-hdmi-1 (/dev/input/event2)
[    86.019] (**) vc4-hdmi-1: Applying InputClass "libinput keyboard catchall"
[    86.019] (II) Using input driver 'libinput' for 'vc4-hdmi-1'
[    86.019] (**) vc4-hdmi-1: always reports core events
[    86.019] (**) Option "Device" "/dev/input/event2"
[    86.019] (**) Option "_source" "server/udev"
[    86.021] (II) event2  - vc4-hdmi-1: is tagged by udev as: Keyboard Pointingstick
[    86.021] (II) event2  - vc4-hdmi-1: device is a pointer
[    86.021] (II) event2  - vc4-hdmi-1: device is a keyboard
[    86.022] (II) event2  - vc4-hdmi-1: device removed
[    86.040] (II) libinput: vc4-hdmi-1: needs a virtual subdevice
[    86.040] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c706400.hdmi/rc/rc1/input2/event2"
[    86.040] (**) Option "AccelerationScheme" "none"
[    86.040] (**) vc4-hdmi-1: (accel) selected scheme none/0
[    86.040] (**) vc4-hdmi-1: (accel) acceleration factor: 2.000
[    86.040] (**) vc4-hdmi-1: (accel) acceleration threshold: 4
[    86.042] (II) event2  - vc4-hdmi-1: is tagged by udev as: Keyboard Pointingstick
[    86.042] (II) event2  - vc4-hdmi-1: device is a pointer
[    86.042] (II) event2  - vc4-hdmi-1: device is a keyboard
[    86.049] (**) vc4-hdmi-0: Applying InputClass "libinput keyboard catchall"
[    86.049] (II) Using input driver 'libinput' for 'vc4-hdmi-0'
[    86.049] (**) vc4-hdmi-0: always reports core events
[    86.049] (**) Option "Device" "/dev/input/event1"
[    86.049] (**) Option "_source" "_driver/libinput"
[    86.049] (II) libinput: vc4-hdmi-0: is a virtual subdevice
[    86.049] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c701400.hdmi/rc/rc0/input1/event1"
[    86.049] (**) Option "xkb_model" "pc105"
[    86.049] (**) Option "xkb_layout" "us"
[    86.049] (**) vc4-hdmi-1: Applying InputClass "libinput keyboard catchall"
[    86.049] (II) Using input driver 'libinput' for 'vc4-hdmi-1'
[    86.049] (**) vc4-hdmi-1: always reports core events
[    86.049] (**) Option "Device" "/dev/input/event2"
[    86.049] (**) Option "_source" "_driver/libinput"
[    86.049] (II) libinput: vc4-hdmi-1: is a virtual subdevice
[    86.049] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c706400.hdmi/rc/rc1/input2/event2"
[    86.049] (**) Option "xkb_model" "pc105"
[    86.049] (**) Option "xkb_layout" "us"
[    86.051] (II) event0  - pwr_button: device removed
[    86.076] (II) event1  - vc4-hdmi-0: device removed
[    86.104] (II) event2  - vc4-hdmi-1: device removed
[    86.124] (II) UnloadModule: "libinput"
[    86.124] (II) UnloadModule: "libinput"
[    86.124] (II) UnloadModule: "libinput"
[    86.124] (II) UnloadModule: "libinput"
[    86.125] (II) UnloadModule: "libinput"
[    86.129] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[    86.129] (==) modeset(G0): DPMS enabled
[    86.131] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    86.131] (==) modeset(0): DPMS enabled
[    86.131] (II) Initializing extension Generic Event Extension
[    86.131] (II) Initializing extension SHAPE
[    86.131] (II) Initializing extension MIT-SHM
[    86.132] (II) Initializing extension XInputExtension
[    86.132] (II) Initializing extension XTEST
[    86.133] (II) Initializing extension BIG-REQUESTS
[    86.133] (II) Initializing extension SYNC
[    86.133] (II) Initializing extension XKEYBOARD
[    86.134] (II) Initializing extension XC-MISC
[    86.134] (II) Initializing extension SECURITY
[    86.134] (II) Initializing extension XFIXES
[    86.135] (II) Initializing extension RENDER
[    86.135] (II) Initializing extension RANDR
[    86.136] (II) Initializing extension COMPOSITE
[    86.136] (II) Initializing extension DAMAGE
[    86.136] (II) Initializing extension MIT-SCREEN-SAVER
[    86.137] (II) Initializing extension DOUBLE-BUFFER
[    86.137] (II) Initializing extension RECORD
[    86.137] (II) Initializing extension DPMS
[    86.138] (II) Initializing extension Present
[    86.138] (II) Initializing extension DRI3
[    86.138] (II) Initializing extension X-Resource
[    86.138] (II) Initializing extension XVideo
[    86.139] (II) Initializing extension XVideo-MotionCompensation
[    86.139] (II) Initializing extension SELinux
[    86.139] (II) SELinux: Disabled on system
[    86.139] (II) Initializing extension GLX
[    86.139] (II) AIGLX: Screen 0 is not DRI2 capable
[    86.145] (II) IGLX: Loaded and initialized swrast
[    86.145] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    86.145] (II) Initializing extension XFree86-VidModeExtension
[    86.145] (II) Initializing extension XFree86-DGA
[    86.145] (II) Initializing extension XFree86-DRI
[    86.145] (II) Initializing extension DRI2
[    86.146] (II) modeset(G0): Damage tracking initialized
[    86.146] (II) modeset(0): Damage tracking initialized
[    86.204] (II) config/udev: Adding input device pwr_button (/dev/input/event0)
[    86.204] (**) pwr_button: Applying InputClass "libinput keyboard catchall"
[    86.204] (II) Using input driver 'libinput' for 'pwr_button'
[    86.204] (**) pwr_button: always reports core events
[    86.204] (**) Option "Device" "/dev/input/event0"
[    86.204] (**) Option "_source" "server/udev"
[    86.206] (II) event0  - pwr_button: is tagged by udev as: Keyboard
[    86.206] (II) event0  - pwr_button: device is a keyboard
[    86.206] (II) event0  - pwr_button: device removed
[    86.232] (**) Option "config_info" "udev:/sys/devices/platform/pwr_button/input/input0/event0"
[    86.232] (**) Option "xkb_model" "pc105"
[    86.232] (**) Option "xkb_layout" "us"
[    86.233] (II) event0  - pwr_button: is tagged by udev as: Keyboard
[    86.233] (II) event0  - pwr_button: device is a keyboard
[    86.233] (II) config/udev: Adding input device vc4-hdmi-0 (/dev/input/event1)
[    86.233] (**) vc4-hdmi-0: Applying InputClass "libinput keyboard catchall"
[    86.233] (II) Using input driver 'libinput' for 'vc4-hdmi-0'
[    86.233] (**) vc4-hdmi-0: always reports core events
[    86.233] (**) Option "Device" "/dev/input/event1"
[    86.233] (**) Option "_source" "server/udev"
[    86.235] (II) event1  - vc4-hdmi-0: is tagged by udev as: Keyboard Pointingstick
[    86.235] (II) event1  - vc4-hdmi-0: device is a pointer
[    86.235] (II) event1  - vc4-hdmi-0: device is a keyboard
[    86.235] (II) event1  - vc4-hdmi-0: device removed
[    86.272] (II) libinput: vc4-hdmi-0: needs a virtual subdevice
[    86.272] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c701400.hdmi/rc/rc0/input1/event1"
[    86.272] (**) Option "AccelerationScheme" "none"
[    86.272] (**) vc4-hdmi-0: (accel) selected scheme none/0
[    86.272] (**) vc4-hdmi-0: (accel) acceleration factor: 2.000
[    86.272] (**) vc4-hdmi-0: (accel) acceleration threshold: 4
[    86.273] (II) event1  - vc4-hdmi-0: is tagged by udev as: Keyboard Pointingstick
[    86.274] (II) event1  - vc4-hdmi-0: device is a pointer
[    86.274] (II) event1  - vc4-hdmi-0: device is a keyboard
[    86.275] (II) config/udev: Adding input device vc4-hdmi-1 (/dev/input/event2)
[    86.275] (**) vc4-hdmi-1: Applying InputClass "libinput keyboard catchall"
[    86.275] (II) Using input driver 'libinput' for 'vc4-hdmi-1'
[    86.275] (**) vc4-hdmi-1: always reports core events
[    86.275] (**) Option "Device" "/dev/input/event2"
[    86.275] (**) Option "_source" "server/udev"
[    86.276] (II) event2  - vc4-hdmi-1: is tagged by udev as: Keyboard Pointingstick
[    86.276] (II) event2  - vc4-hdmi-1: device is a pointer
[    86.276] (II) event2  - vc4-hdmi-1: device is a keyboard
[    86.277] (II) event2  - vc4-hdmi-1: device removed
[    86.296] (II) libinput: vc4-hdmi-1: needs a virtual subdevice
[    86.296] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c706400.hdmi/rc/rc1/input2/event2"
[    86.296] (**) Option "AccelerationScheme" "none"
[    86.296] (**) vc4-hdmi-1: (accel) selected scheme none/0
[    86.296] (**) vc4-hdmi-1: (accel) acceleration factor: 2.000
[    86.296] (**) vc4-hdmi-1: (accel) acceleration threshold: 4
[    86.297] (II) event2  - vc4-hdmi-1: is tagged by udev as: Keyboard Pointingstick
[    86.298] (II) event2  - vc4-hdmi-1: device is a pointer
[    86.298] (II) event2  - vc4-hdmi-1: device is a keyboard
[    86.304] (**) vc4-hdmi-0: Applying InputClass "libinput keyboard catchall"
[    86.304] (II) Using input driver 'libinput' for 'vc4-hdmi-0'
[    86.304] (**) vc4-hdmi-0: always reports core events
[    86.304] (**) Option "Device" "/dev/input/event1"
[    86.304] (**) Option "_source" "_driver/libinput"
[    86.304] (II) libinput: vc4-hdmi-0: is a virtual subdevice
[    86.304] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c701400.hdmi/rc/rc0/input1/event1"
[    86.304] (**) Option "xkb_model" "pc105"
[    86.304] (**) Option "xkb_layout" "us"
[    86.304] (**) vc4-hdmi-1: Applying InputClass "libinput keyboard catchall"
[    86.304] (II) Using input driver 'libinput' for 'vc4-hdmi-1'
[    86.304] (**) vc4-hdmi-1: always reports core events
[    86.304] (**) Option "Device" "/dev/input/event2"
[    86.304] (**) Option "_source" "_driver/libinput"
[    86.304] (II) libinput: vc4-hdmi-1: is a virtual subdevice
[    86.304] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c706400.hdmi/rc/rc1/input2/event2"
[    86.304] (**) Option "xkb_model" "pc105"
[    86.304] (**) Option "xkb_layout" "us"

I confirm that with patched driver it works.
But I have removed the configuration in file /etc/X11/xorg.conf.d/99-vc4.conf to view the plugin touch display output, otherwise I got black screen. (my config is rpi5+ dsi waveshare display 11.9)

I’m still fighting with touchscreen rotation and configuration.

After @danidemo’s finding could you post another xorg log after removing “/etc/X11/xorg.conf.d/99-vc4.conf” and restarting the Touch Display plugin, please?

if I remove the file “/etc/X11/xorg.conf.d/99-vc4.conf” the display works also when I enable the touch-display plugin

here the log

[    44.133] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[    44.133] Build Operating System: Linux 5.4.0-109-generic armv8l Raspbian
[    44.133] Current Operating System: Linux volumio-usb 6.1.69-v8+ #1710 SMP PREEMPT Thu Dec 21 13:21:40 GMT 2023 aarch64
[    44.133] 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:7B:C6:00 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=ttyAMA0,115200 console=tty1 imgpart=UUID=09e9eb41-a375-4504-bd95-b9fb31bf869c imgfile=/volumio_current.sqsh bootpart=UUID=1580-EA53 datapart=UUID=5f69cd19-e2eb-4159-a4fb-faef243916c3 bootconfig=cmdline.txt pcie_aspm=off pci=pcie_bus_safe bootdelay=5 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
[    44.133] Build Date: 04 April 2023  07:50:56AM
[    44.133] xorg-server 2:1.20.4-1+rpt4+deb10u9 (https://www.debian.org/support) 
[    44.133] Current version of pixman: 0.36.0
[    44.133]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    44.133] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    44.133] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 15 14:43:59 2024
[    44.162] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    44.162] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    44.215] (==) No Layout section.  Using the first Screen section.
[    44.215] (==) No screen section available. Using defaults.
[    44.215] (**) |-->Screen "Default Screen Section" (0)
[    44.215] (**) |   |-->Monitor "<default monitor>"
[    44.221] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    44.221] (==) Automatically adding devices
[    44.221] (==) Automatically enabling devices
[    44.221] (==) Automatically adding GPU devices
[    44.221] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    44.236] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    44.236]    Entry deleted from font path.
[    44.262] (==) 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
[    44.262] (==) ModulePath set to "/usr/lib/xorg/modules"
[    44.262] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    44.262] (II) Loader magic: 0x1fdf80
[    44.262] (II) Module ABI versions:
[    44.262]    X.Org ANSI C Emulation: 0.4
[    44.262]    X.Org Video Driver: 24.0
[    44.262]    X.Org XInput driver : 24.1
[    44.262]    X.Org Server Extension : 10.0
[    44.262] (--) using VT number 2

[    44.262] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    44.264] (II) xfree86: Adding drm device (/dev/dri/card1)
[    44.267] (II) xfree86: Adding drm device (/dev/dri/card0)
[    44.267] (II) xfree86: Adding drm device (/dev/dri/card2)
[    44.268] (II) no primary bus or device found
[    44.268]    falling back to /sys/devices/platform/axi/1000120000.pcie/1f00130000.dsi/drm/card1
[    44.268] (II) LoadModule: "glx"
[    44.286] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    44.429] (II) Module glx: vendor="X.Org Foundation"
[    44.429]    compiled for 1.20.4, module version = 1.0.0
[    44.429]    ABI class: X.Org Server Extension, version 10.0
[    44.429] (==) Matched modesetting as autoconfigured driver 0
[    44.429] (==) Matched fbdev as autoconfigured driver 1
[    44.429] (==) Assigned the driver to the xf86ConfigLayout
[    44.429] (II) LoadModule: "modesetting"
[    44.445] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    44.468] (II) Module modesetting: vendor="X.Org Foundation"
[    44.468]    compiled for 1.20.4, module version = 1.20.4
[    44.468]    Module class: X.Org Video Driver
[    44.468]    ABI class: X.Org Video Driver, version 24.0
[    44.468] (II) LoadModule: "fbdev"
[    44.468] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    44.487] (II) Module fbdev: vendor="X.Org Foundation"
[    44.487]    compiled for 1.20.3, module version = 0.5.0
[    44.487]    Module class: X.Org Video Driver
[    44.487]    ABI class: X.Org Video Driver, version 24.0
[    44.487] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    44.487] (II) FBDEV: driver for framebuffer: fbdev
[    44.516] (II) modeset(0): using drv /dev/dri/card1
[    44.516] (WW) Falling back to old probe method for fbdev
[    44.516] (II) Loading sub module "fbdevhw"
[    44.516] (II) LoadModule: "fbdevhw"
[    44.516] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    44.566] (II) Module fbdevhw: vendor="X.Org Foundation"
[    44.566]    compiled for 1.20.4, module version = 0.0.2
[    44.566]    ABI class: X.Org Video Driver, version 24.0
[    44.566] (II) modeset(G0): using drv /dev/dri/card2
[    44.567] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    44.567] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    44.567] (==) modeset(0): RGB weight 888
[    44.567] (==) modeset(0): Default visual is TrueColor
[    44.567] (II) Loading sub module "glamoregl"
[    44.567] (II) LoadModule: "glamoregl"
[    44.567] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    44.658] (II) Module glamoregl: vendor="X.Org Foundation"
[    44.658]    compiled for 1.20.4, module version = 1.0.1
[    44.658]    ABI class: X.Org ANSI C Emulation, version 0.4
[    45.893] (II) modeset(0): Refusing to try glamor on llvmpipe
[    45.894] (EE) modeset(0): glamor initialization failed
[    45.894] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[    45.895] (II) modeset(0): Output DSI-2 has no monitor section
[    45.895] (II) modeset(0): EDID for output DSI-2
[    45.895] (II) modeset(0): Printing probed modes for output DSI-2
[    45.895] (II) modeset(0): Modeline "320x1480"x60.2   50.00  320 380 440 500  1480 1540 1600 1660 (100.0 kHz eP)
[    45.895] (II) modeset(0): Output DSI-2 connected
[    45.895] (II) modeset(0): Using exact sizes for initial modes
[    45.895] (II) modeset(0): Output DSI-2 using initial mode 320x1480 +0+0
[    45.895] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    45.895] (==) modeset(0): DPI set to (96, 96)
[    45.895] (II) Loading sub module "fb"
[    45.895] (II) LoadModule: "fb"
[    45.895] (II) Loading /usr/lib/xorg/modules/libfb.so
[    45.900] (II) Module fb: vendor="X.Org Foundation"
[    45.900]    compiled for 1.20.4, module version = 1.0.0
[    45.900]    ABI class: X.Org ANSI C Emulation, version 0.4
[    45.900] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[    45.900] (==) modeset(G0): RGB weight 888
[    45.900] (==) modeset(G0): Default visual is TrueColor
[    45.900] (II) Loading sub module "glamoregl"
[    45.900] (II) LoadModule: "glamoregl"
[    45.900] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    45.900] (II) Module glamoregl: vendor="X.Org Foundation"
[    45.900]    compiled for 1.20.4, module version = 1.0.1
[    45.900]    ABI class: X.Org ANSI C Emulation, version 0.4
[    46.285] (II) modeset(G0): Refusing to try glamor on llvmpipe
[    46.286] (EE) modeset(G0): glamor initialization failed
[    46.286] (II) modeset(G0): ShadowFB: preferred NO, enabled NO
[    46.292] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[    46.294] (II) modeset(G0): Output HDMI-1-2 has no monitor section
[    46.296] (II) modeset(G0): EDID for output HDMI-1-1
[    46.298] (II) modeset(G0): EDID for output HDMI-1-2
[    46.298] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[    46.298] (==) modeset(G0): DPI set to (96, 96)
[    46.298] (II) Loading sub module "fb"
[    46.298] (II) LoadModule: "fb"
[    46.298] (II) Loading /usr/lib/xorg/modules/libfb.so
[    46.298] (II) Module fb: vendor="X.Org Foundation"
[    46.298]    compiled for 1.20.4, module version = 1.0.0
[    46.298]    ABI class: X.Org ANSI C Emulation, version 0.4
[    46.298] (II) UnloadModule: "fbdev"
[    46.298] (II) Unloading fbdev
[    46.298] (II) UnloadSubModule: "fbdevhw"
[    46.298] (II) Unloading fbdevhw
[    46.318] (==) modeset(G0): Backing store enabled
[    46.318] (==) modeset(G0): Silken mouse enabled
[    46.327] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[    46.327] (==) modeset(G0): DPMS enabled
[    46.327] (==) modeset(0): Backing store enabled
[    46.327] (==) modeset(0): Silken mouse enabled
[    46.342] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    46.342] (==) modeset(0): DPMS enabled
[    46.342] (II) Initializing extension Generic Event Extension
[    46.343] (II) Initializing extension SHAPE
[    46.343] (II) Initializing extension MIT-SHM
[    46.343] (II) Initializing extension XInputExtension
[    46.347] (II) Initializing extension XTEST
[    46.347] (II) Initializing extension BIG-REQUESTS
[    46.348] (II) Initializing extension SYNC
[    46.348] (II) Initializing extension XKEYBOARD
[    46.348] (II) Initializing extension XC-MISC
[    46.349] (II) Initializing extension SECURITY
[    46.349] (II) Initializing extension XFIXES
[    46.349] (II) Initializing extension RENDER
[    46.350] (II) Initializing extension RANDR
[    46.350] (II) Initializing extension COMPOSITE
[    46.351] (II) Initializing extension DAMAGE
[    46.351] (II) Initializing extension MIT-SCREEN-SAVER
[    46.351] (II) Initializing extension DOUBLE-BUFFER
[    46.352] (II) Initializing extension RECORD
[    46.352] (II) Initializing extension DPMS
[    46.352] (II) Initializing extension Present
[    46.353] (II) Initializing extension DRI3
[    46.353] (II) Initializing extension X-Resource
[    46.353] (II) Initializing extension XVideo
[    46.354] (II) Initializing extension XVideo-MotionCompensation
[    46.354] (II) Initializing extension SELinux
[    46.354] (II) SELinux: Disabled on system
[    46.354] (II) Initializing extension GLX
[    46.354] (II) AIGLX: Screen 0 is not DRI2 capable
[    46.406] (II) IGLX: Loaded and initialized swrast
[    46.406] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    46.406] (II) Initializing extension XFree86-VidModeExtension
[    46.406] (II) Initializing extension XFree86-DGA
[    46.406] (II) Initializing extension XFree86-DRI
[    46.409] (II) Initializing extension DRI2
[    46.409] (II) modeset(G0): Damage tracking initialized
[    46.410] (II) modeset(0): Damage tracking initialized
[    46.410] (II) modeset(0): Setting screen physical size to 84 x 391
[    46.528] (II) config/udev: Adding input device 4-0014 Goodix Capacitive TouchScreen (/dev/input/event3)
[    46.528] (**) 4-0014 Goodix Capacitive TouchScreen: Applying InputClass "libinput keyboard catchall"
[    46.528] (**) 4-0014 Goodix Capacitive TouchScreen: Applying InputClass "libinput touchscreen catchall"
[    46.528] (**) 4-0014 Goodix Capacitive TouchScreen: Applying InputClass "Touch rotation"
[    46.528] (II) LoadModule: "libinput"
[    46.528] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    46.549] (II) Module libinput: vendor="X.Org Foundation"
[    46.549]    compiled for 1.20.3, module version = 0.28.2
[    46.549]    Module class: X.Org XInput Driver
[    46.549]    ABI class: X.Org XInput driver, version 24.1
[    46.549] (II) Using input driver 'libinput' for '4-0014 Goodix Capacitive TouchScreen'
[    46.549] (**) 4-0014 Goodix Capacitive TouchScreen: always reports core events
[    46.549] (**) Option "Device" "/dev/input/event3"
[    46.549] (**) Option "_source" "server/udev"
[    46.571] (II) event3  - 4-0014 Goodix Capacitive TouchScreen: is tagged by udev as: Keyboard Touchscreen
[    46.571] (II) event3  - 4-0014 Goodix Capacitive TouchScreen: device is a keyboard
[    46.571] (II) event3  - 4-0014 Goodix Capacitive TouchScreen: device is a touch device
[    46.572] (II) event3  - 4-0014 Goodix Capacitive TouchScreen: device removed
[    46.588] (II) libinput: 4-0014 Goodix Capacitive TouchScreen: needs a virtual subdevice
[    46.588] (**) Option "config_info" "udev:/sys/devices/platform/axi/1000120000.pcie/1f00080000.i2c/i2c-4/4-0014/input/input3/event3"
[    46.588] (II) XINPUT: Adding extended input device "4-0014 Goodix Capacitive TouchScreen" (type: TOUCHSCREEN, id 6)
[    46.588] (**) Option "AccelerationScheme" "none"
[    46.588] (**) 4-0014 Goodix Capacitive TouchScreen: (accel) selected scheme none/0
[    46.588] (**) 4-0014 Goodix Capacitive TouchScreen: (accel) acceleration factor: 2.000
[    46.588] (**) 4-0014 Goodix Capacitive TouchScreen: (accel) acceleration threshold: 4
[    46.590] (II) event3  - 4-0014 Goodix Capacitive TouchScreen: is tagged by udev as: Keyboard Touchscreen
[    46.591] (II) event3  - 4-0014 Goodix Capacitive TouchScreen: device is a keyboard
[    46.591] (II) event3  - 4-0014 Goodix Capacitive TouchScreen: device is a touch device
[    46.592] (II) config/udev: Adding input device 4-0014 Goodix Capacitive TouchScreen (/dev/input/mouse0)
[    46.592] (II) No input driver specified, ignoring this device.
[    46.592] (II) This device may have been added with another device file.
[    46.594] (II) config/udev: Adding input device pwr_button (/dev/input/event0)
[    46.594] (**) pwr_button: Applying InputClass "libinput keyboard catchall"
[    46.594] (II) Using input driver 'libinput' for 'pwr_button'
[    46.594] (**) pwr_button: always reports core events
[    46.594] (**) Option "Device" "/dev/input/event0"
[    46.594] (**) Option "_source" "server/udev"
[    46.595] (II) event0  - pwr_button: is tagged by udev as: Keyboard
[    46.595] (II) event0  - pwr_button: device is a keyboard
[    46.595] (II) event0  - pwr_button: device removed
[    46.632] (**) Option "config_info" "udev:/sys/devices/platform/pwr_button/input/input0/event0"
[    46.632] (II) XINPUT: Adding extended input device "pwr_button" (type: KEYBOARD, id 7)
[    46.632] (**) Option "xkb_model" "pc105"
[    46.632] (**) Option "xkb_layout" "us"
[    46.633] (II) event0  - pwr_button: is tagged by udev as: Keyboard
[    46.633] (II) event0  - pwr_button: device is a keyboard
[    46.634] (II) config/udev: Adding input device vc4-hdmi-0 (/dev/input/event1)
[    46.634] (**) vc4-hdmi-0: Applying InputClass "libinput keyboard catchall"
[    46.634] (II) Using input driver 'libinput' for 'vc4-hdmi-0'
[    46.634] (**) vc4-hdmi-0: always reports core events
[    46.634] (**) Option "Device" "/dev/input/event1"
[    46.634] (**) Option "_source" "server/udev"
[    46.636] (II) event1  - vc4-hdmi-0: is tagged by udev as: Keyboard Pointingstick
[    46.637] (II) event1  - vc4-hdmi-0: device is a pointer
[    46.637] (II) event1  - vc4-hdmi-0: device is a keyboard
[    46.637] (II) event1  - vc4-hdmi-0: device removed
[    46.676] (II) libinput: vc4-hdmi-0: needs a virtual subdevice
[    46.676] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c701400.hdmi/rc/rc0/input1/event1"
[    46.676] (II) XINPUT: Adding extended input device "vc4-hdmi-0" (type: MOUSE, id 8)
[    46.676] (**) Option "AccelerationScheme" "none"
[    46.676] (**) vc4-hdmi-0: (accel) selected scheme none/0
[    46.676] (**) vc4-hdmi-0: (accel) acceleration factor: 2.000
[    46.676] (**) vc4-hdmi-0: (accel) acceleration threshold: 4
[    46.678] (II) event1  - vc4-hdmi-0: is tagged by udev as: Keyboard Pointingstick
[    46.678] (II) event1  - vc4-hdmi-0: device is a pointer
[    46.678] (II) event1  - vc4-hdmi-0: device is a keyboard
[    46.680] (II) config/udev: Adding input device vc4-hdmi-1 (/dev/input/event2)
[    46.680] (**) vc4-hdmi-1: Applying InputClass "libinput keyboard catchall"
[    46.680] (II) Using input driver 'libinput' for 'vc4-hdmi-1'
[    46.680] (**) vc4-hdmi-1: always reports core events
[    46.680] (**) Option "Device" "/dev/input/event2"
[    46.680] (**) Option "_source" "server/udev"
[    46.682] (II) event2  - vc4-hdmi-1: is tagged by udev as: Keyboard Pointingstick
[    46.682] (II) event2  - vc4-hdmi-1: device is a pointer
[    46.682] (II) event2  - vc4-hdmi-1: device is a keyboard
[    46.683] (II) event2  - vc4-hdmi-1: device removed
[    46.708] (II) libinput: vc4-hdmi-1: needs a virtual subdevice
[    46.708] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c706400.hdmi/rc/rc1/input2/event2"
[    46.708] (II) XINPUT: Adding extended input device "vc4-hdmi-1" (type: MOUSE, id 9)
[    46.708] (**) Option "AccelerationScheme" "none"
[    46.708] (**) vc4-hdmi-1: (accel) selected scheme none/0
[    46.708] (**) vc4-hdmi-1: (accel) acceleration factor: 2.000
[    46.708] (**) vc4-hdmi-1: (accel) acceleration threshold: 4
[    46.710] (II) event2  - vc4-hdmi-1: is tagged by udev as: Keyboard Pointingstick
[    46.710] (II) event2  - vc4-hdmi-1: device is a pointer
[    46.710] (II) event2  - vc4-hdmi-1: device is a keyboard
[    46.724] (**) 4-0014 Goodix Capacitive TouchScreen: Applying InputClass "libinput keyboard catchall"
[    46.724] (**) 4-0014 Goodix Capacitive TouchScreen: Applying InputClass "libinput touchscreen catchall"
[    46.724] (**) 4-0014 Goodix Capacitive TouchScreen: Applying InputClass "Touch rotation"
[    46.724] (II) Using input driver 'libinput' for '4-0014 Goodix Capacitive TouchScreen'
[    46.724] (**) 4-0014 Goodix Capacitive TouchScreen: always reports core events
[    46.724] (**) Option "Device" "/dev/input/event3"
[    46.724] (**) Option "_source" "_driver/libinput"
[    46.724] (II) libinput: 4-0014 Goodix Capacitive TouchScreen: is a virtual subdevice
[    46.724] (**) Option "config_info" "udev:/sys/devices/platform/axi/1000120000.pcie/1f00080000.i2c/i2c-4/4-0014/input/input3/event3"
[    46.724] (II) XINPUT: Adding extended input device "4-0014 Goodix Capacitive TouchScreen" (type: KEYBOARD, id 10)
[    46.724] (**) Option "xkb_model" "pc105"
[    46.724] (**) Option "xkb_layout" "us"
[    46.725] (**) vc4-hdmi-0: Applying InputClass "libinput keyboard catchall"
[    46.725] (II) Using input driver 'libinput' for 'vc4-hdmi-0'
[    46.725] (**) vc4-hdmi-0: always reports core events
[    46.725] (**) Option "Device" "/dev/input/event1"
[    46.725] (**) Option "_source" "_driver/libinput"
[    46.725] (II) libinput: vc4-hdmi-0: is a virtual subdevice
[    46.725] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c701400.hdmi/rc/rc0/input1/event1"
[    46.725] (II) XINPUT: Adding extended input device "vc4-hdmi-0" (type: KEYBOARD, id 11)
[    46.725] (**) Option "xkb_model" "pc105"
[    46.725] (**) Option "xkb_layout" "us"
[    46.725] (**) vc4-hdmi-1: Applying InputClass "libinput keyboard catchall"
[    46.725] (II) Using input driver 'libinput' for 'vc4-hdmi-1'
[    46.725] (**) vc4-hdmi-1: always reports core events
[    46.725] (**) Option "Device" "/dev/input/event2"
[    46.725] (**) Option "_source" "_driver/libinput"
[    46.725] (II) libinput: vc4-hdmi-1: is a virtual subdevice
[    46.725] (**) Option "config_info" "udev:/sys/devices/platform/soc/107c706400.hdmi/rc/rc1/input2/event2"
[    46.725] (II) XINPUT: Adding extended input device "vc4-hdmi-1" (type: KEYBOARD, id 12)
[    46.725] (**) Option "xkb_model" "pc105"
[    46.725] (**) Option "xkb_layout" "us"
[    47.783] (II) modeset(0): Disabling kernel dirty updates, not required.
[    47.920] (II) modeset(0): Allocate new frame buffer 1480x320 stride
[    88.810] (II) Axis 0x35 value 1684 is outside expected range [-15, 334]
See https://wayland.freedesktop.org/libinput/doc/1.12.6/absolute_coordinate_ranges.html for details

for rotating the display, I’ve added this to /home/volumio/.config/openbox/autostart

xrandr --output DSI-2 --rotate left

@Darmur

With “99-vc4.conf” again in place please post the output of

ls /dev/dri/by-path

here it is

volumio@volumio-usb:~$ ls /dev/dri/by-path
platform-1002000000.v3d-card  platform-1002000000.v3d-render  platform-1f00130000.dsi-card  platform-axi:gpu-card

Please try changing Identifier and MatchDriver in “99-vc4.conf” like this:

Section "OutputClass"
    Identifier "rp1"
    MatchDriver "rp1-vec|rp1-dsi|rp1-dpi"
    Driver "modesetting"
    Option "PrimaryGPU" "true"
EndSection

it works!

So I think this combined version of “99-vc4.conf” should work, too:

Section "OutputClass"
    Identifier "vc4"
    MatchDriver "vc4"
    Driver "modesetting"
    Option "PrimaryGPU" "true"
EndSection

Section "OutputClass"
    Identifier "rp1"
    MatchDriver "rp1-vec|rp1-dsi|rp1-dpi"
    Driver "modesetting"
    Option "PrimaryGPU" "true"
EndSection

Could you do another test, please?

sure!

unfortunately it doesn’t work, blank screen again

volumio@volumio-nvme:~$ cat /etc/X11/xorg.conf.d/99-vc4.conf 
Section "OutputClass"
    Identifier "vc4"
    MatchDriver "vc4"
    Driver "modesetting"
    Option "PrimaryGPU" "true"
EndSection

Section "OutputClass"
    Identifier "rp1"
    MatchDriver "rp1-vec|rp1-dsi|rp1-dpi"
    Driver "modesetting"
    Option "PrimaryGPU" "true"
EndSection
volumio@volumio-nvme:~$

Too bad…

Could you try if changing the order of the two OutputClass sections helps?

I would also be interested in the output of

cat /proc/modules

even inverting the order, it doesn’t work… blank screen after reboot

volumio@volumio-nvme:~$ cat /etc/X11/xorg.conf.d/99-vc4.conf 
Section "OutputClass"
    Identifier "rp1"
    MatchDriver "rp1-vec|rp1-dsi|rp1-dpi"
    Driver "modesetting"
    Option "PrimaryGPU" "true"
EndSection

Section "OutputClass"
    Identifier "vc4"
    MatchDriver "vc4"
    Driver "modesetting"
    Option "PrimaryGPU" "true"
EndSection
volumio@volumio-nvme:~$

removing the section with identifier vc4, the display works again (after reboot of course)

here the output you requested (obtained with two sections on 99-vc4.conf, in the order reported above)

volumio@volumio-nvme:~$ cat /proc/modules
nft_chain_nat 16384 4 - Live 0x0000000000000000
bnep 24576 2 - Live 0x0000000000000000
xt_REDIRECT 16384 1 - Live 0x0000000000000000
nf_nat 49152 2 nft_chain_nat,xt_REDIRECT, Live 0x0000000000000000
nf_conntrack 147456 2 xt_REDIRECT,nf_nat, Live 0x0000000000000000
nf_defrag_ipv6 20480 1 nf_conntrack, Live 0x0000000000000000
nf_defrag_ipv4 16384 1 nf_conntrack, Live 0x0000000000000000
xt_tcpudp 16384 1 - Live 0x0000000000000000
nft_compat 20480 2 - Live 0x0000000000000000
nf_tables 249856 5 nft_chain_nat,nft_compat, Live 0x0000000000000000
nfnetlink 20480 2 nft_compat,nf_tables, Live 0x0000000000000000
8021q 32768 0 - Live 0x0000000000000000
garp 16384 1 8021q, Live 0x0000000000000000
stp 16384 1 garp, Live 0x0000000000000000
llc 16384 2 garp,stp, Live 0x0000000000000000
joydev 28672 0 - Live 0x0000000000000000
brcmfmac 327680 0 - Live 0x0000000000000000
panel_waveshare_dsi 16384 0 - Live 0x0000000000000000
spidev 20480 0 - Live 0x0000000000000000
goodix_ts 28672 0 - Live 0x0000000000000000
brcmutil 24576 1 brcmfmac, Live 0x0000000000000000
cfg80211 929792 1 brcmfmac, Live 0x0000000000000000
hci_uart 53248 0 - Live 0x0000000000000000
btbcm 24576 1 hci_uart, Live 0x0000000000000000
bluetooth 565248 24 bnep,hci_uart,btbcm, Live 0x0000000000000000
aes_ce_blk 32768 1 - Live 0x0000000000000000
aes_ce_cipher 16384 1 aes_ce_blk, Live 0x0000000000000000
ghash_ce 20480 0 - Live 0x0000000000000000
gf128mul 16384 1 ghash_ce, Live 0x0000000000000000
ecdh_generic 16384 2 bluetooth, Live 0x0000000000000000
sha2_ce 16384 0 - Live 0x0000000000000000
ecc 36864 1 ecdh_generic, Live 0x0000000000000000
sha256_arm64 24576 1 sha2_ce, Live 0x0000000000000000
rfkill 32768 6 cfg80211,bluetooth, Live 0x0000000000000000
snd_soc_rpi_simple_soundcard 20480 1 - Live 0x0000000000000000
sha1_ce 16384 0 - Live 0x0000000000000000
libaes 16384 4 bluetooth,aes_ce_blk,aes_ce_cipher,ghash_ce, Live 0x0000000000000000
vc4 372736 7 - Live 0x0000000000000000
raspberrypi_hwmon 16384 0 - Live 0x0000000000000000
v3d 90112 0 - Live 0x0000000000000000
rpivid_hevc 53248 0 - Live 0x0000000000000000 (C)
snd_soc_hdmi_codec 20480 2 - Live 0x0000000000000000
pisp_be 32768 0 - Live 0x0000000000000000
drm_display_helper 16384 1 vc4, Live 0x0000000000000000
v4l2_mem2mem 45056 1 rpivid_hevc, Live 0x0000000000000000
gpu_sched 49152 1 v3d, Live 0x0000000000000000
videobuf2_dma_contig 20480 2 rpivid_hevc,pisp_be, Live 0x0000000000000000
cec 53248 1 vc4, Live 0x0000000000000000
designware_i2s 24576 2 - Live 0x0000000000000000
drm_rp1_dsi 20480 1 - Live 0x0000000000000000
snd_soc_pcm1794a 16384 1 - Live 0x0000000000000000
drm_shmem_helper 24576 1 v3d, Live 0x0000000000000000
drm_dma_helper 20480 2 vc4,drm_rp1_dsi, Live 0x0000000000000000
drm_kms_helper 204800 6 vc4,drm_rp1_dsi,drm_dma_helper, Live 0x0000000000000000
snd_soc_core 274432 5 snd_soc_rpi_simple_soundcard,vc4,snd_soc_hdmi_codec,designware_i2s,snd_soc_pcm1794a, Live 0x0000000000000000
videobuf2_memops 16384 1 videobuf2_dma_contig, Live 0x0000000000000000
videobuf2_v4l2 32768 3 rpivid_hevc,pisp_be,v4l2_mem2mem, Live 0x0000000000000000
videobuf2_common 69632 6 rpivid_hevc,pisp_be,v4l2_mem2mem,videobuf2_dma_contig,videobuf2_memops,videobuf2_v4l2, Live 0x0000000000000000
i2c_brcmstb 16384 0 - Live 0x0000000000000000
spi_bcm2835 20480 0 - Live 0x0000000000000000
snd_compress 20480 1 snd_soc_core, Live 0x0000000000000000
snd_pcm_dmaengine 20480 1 snd_soc_core, Live 0x0000000000000000
videodev 274432 5 rpivid_hevc,pisp_be,v4l2_mem2mem,videobuf2_v4l2,videobuf2_common, Live 0x0000000000000000
snd_seq 73728 0 - Live 0x0000000000000000
drm 581632 12 panel_waveshare_dsi,vc4,v3d,drm_display_helper,gpu_sched,drm_rp1_dsi,drm_shmem_helper,drm_dma_helper,drm_kms_helper, Live 0x0000000000000000
snd_pcm 139264 6 snd_soc_rpi_simple_soundcard,snd_soc_hdmi_codec,designware_i2s,snd_soc_core,snd_compress,snd_pcm_dmaengine, Live 0x0000000000000000
snd_seq_device 16384 1 snd_seq, Live 0x0000000000000000
mc 61440 6 rpivid_hevc,pisp_be,v4l2_mem2mem,videobuf2_v4l2,videobuf2_common,videodev, Live 0x0000000000000000
pwm_fan 20480 0 - Live 0x0000000000000000
snd_timer 36864 2 snd_seq,snd_pcm, Live 0x0000000000000000
drm_panel_orientation_quirks 28672 1 drm, Live 0x0000000000000000
fb_sys_fops 16384 1 drm_kms_helper, Live 0x0000000000000000
syscopyarea 16384 1 drm_kms_helper, Live 0x0000000000000000
sysfillrect 16384 1 drm_kms_helper, Live 0x0000000000000000
gpio_keys 20480 0 - Live 0x0000000000000000
sysimgblt 16384 1 drm_kms_helper, Live 0x0000000000000000
snd 106496 13 snd_soc_hdmi_codec,snd_soc_core,snd_compress,snd_seq,snd_pcm,snd_seq_device,snd_timer, Live 0x0000000000000000
backlight 24576 2 panel_waveshare_dsi,drm, Live 0x0000000000000000
raspberrypi_gpiomem 16384 0 - Live 0x0000000000000000
i2c_designware_platform 16384 0 - Live 0x0000000000000000
i2c_designware_core 24576 1 i2c_designware_platform, Live 0x0000000000000000
rp1_adc 16384 0 - Live 0x0000000000000000
uio_pdrv_genirq 16384 0 - Live 0x0000000000000000
uio 24576 1 uio_pdrv_genirq, Live 0x0000000000000000
nvmem_rmem 16384 0 - Live 0x0000000000000000
i2c_dev 20480 0 - Live 0x0000000000000000
ip_tables 32768 0 - Live 0x0000000000000000
x_tables 53248 4 xt_REDIRECT,xt_tcpudp,nft_compat,ip_tables, Live 0x0000000000000000
ipv6 557056 88 [permanent], Live 0x0000000000000000
fuse 135168 1 - Live 0x0000000000000000
squashfs 49152 1 - Live 0x0000000000000000
overlay 126976 1 - Live 0x0000000000000000