Waveshare DSI LCD displays

please take a look here et the end regarding xrandr.

Advise: If people try to help you in their free time, you might want to avoid writing down your frustration as people might get offended by it.

mkdir /home/volumio/.config/openbox

cat >> /home/volumio/.config/openbox/autostart <<EOL
xrandr --output DSI-1 --rotate left
EOL

Where to enter this? I’m sorry but I do not knowI’m sorry, I’m losing strength for myself - You help me and I can’t achieve my goal

in a shell session:

The last 3 lines, need to be copied and paste as one. If it rotates in the wrong direction you need to replace left with right

Can you please describe what it should look like? So the entire text file needs to be pasted? I do not have the “openbox” subdirectory and therefore the rest of the autostart, etc. How and where to paste the given text ( mkdir /home/volumio/.config/openbox

cat >> /home/volumio/.config/openbox/autostart <<EOL
xrandr --output DSI-1 --rotate left
EOL) ?

open a shell session (SSH)
Copy/paste line 1 => enter
Copy/paste block => enter
sudo reboot

Thank you ALL for your help. Works . Many thanks

hi everyone, I use volume with raspberry 4 and 3… now I have made a new configuration with the pi5+nvme and touch display… the problem is that the display remains black… I added the 2 strings on usergonfig.txt the display is a waveshare 4.3 dsi touch the volume version is 3.635… I state that the display on raspberry 3/4 works without problems…

what strings did you add to userconfig.txt?

/boot/userconfig.txt
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-7inch

To which of the Pi’s DSI ports is the display connected?

What is the hardware revision of the display?

What is the version of the Touch Display plugin?

port 1 on raspberry plugin version 3.7 I don’t know how to look at what firmware version the touch display has… nothing is written there.

Please install Touch Display version 3.3.8.

plugin 3.3.8 not work

Please connect to Volumio via SSH. From there execute

cat /proc/modules | grep rp1

and post the output.

drm_rp1_dsi 20480 1 - Live 0x0000000000000000
drm_dma_helper 20480 2 vc4,drm_rp1_dsi, Live 0x0000000000000000
drm_kms_helper 204800 7 tc358762,vc4,drm_rp1_dsi,drm_dma_helper, Live 0x0000000000000000
drm 581632 13 tc358762,vc4,drm_display_helper,drm_rp1_dsi,drm_dma_helper,drm_kms_helper,v3d,gpu_sched,panel_simple,drm_shmem_helper, Live 0x0000000000000000
rp1_adc 16384 0 - Live 0x0000000000000000

Stop the Touch Display plugin and change the content of “/etc/X11/xorg.conf.d/99-vc4.conf” to

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

Then start the Touch Display plugin.

I did but the display always remains black

Good to know :wink:

Please post the output of

cat /var/log/Xorg.0.log

[quote=“gvolt, post:304, topic:57991”][ 47.167]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[ 47.167] Build Operating System: Linux 5.4.0-109-generic armv8l Raspbian
[ 47.167] Current Operating System: Linux volumio 6.1.69-v8+ #1710 SMP PREEMPT Thu Dec 21 13:21:40 GMT 2023 aarch64
[ 47.167] 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:EE:8B 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=6cf450fb-f5e3-4779-8290-99edb5127de7 imgfile=/volumio_current.sqsh bootpart=UUID=308C-3B61 datapart=UUID=e88fe525-a31b-4b24-b298-c5874c1591fc 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
[ 47.167] Build Date: 04 April 2023 07:50:56AM
[ 47.167] xorg-server 2:1.20.4-1+rpt4+deb10u9 (Debian -- User Support)
[ 47.167] Current version of pixman: 0.36.0
[ 47.167] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 47.167] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 47.168] (==) Log file: “/var/log/Xorg.0.log”, Time: Thu Feb 29 17:00:29 2024
[ 47.169] (==) Using config directory: “/etc/X11/xorg.conf.d”
[ 47.169] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 47.171] (==) No Layout section. Using the first Screen section.
[ 47.171] (==) No screen section available. Using defaults.
[ 47.171] (
) |–>Screen “Default Screen Section” (0)
[ 47.171] (**) | |–>Monitor “”
[ 47.172] (==) No monitor specified for screen “Default Screen Section”.
Using a default monitor configuration.
[ 47.172] (==) Automatically adding devices
[ 47.172] (==) Automatically enabling devices
[ 47.172] (==) Automatically adding GPU devices
[ 47.173] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 47.173] (WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
[ 47.173] Entry deleted from font path.
[ 47.175] (==) 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
[ 47.175] (==) ModulePath set to “/usr/lib/xorg/modules”
[ 47.175] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 47.175] (II) Loader magic: 0x1fdf80
[ 47.175] (II) Module ABI versions:
[ 47.175] X.Org ANSI C Emulation: 0.4
[ 47.175] X.Org Video Driver: 24.0
[ 47.175] X.Org XInput driver : 24.1
[ 47.175] X.Org Server Extension : 10.0
[ 47.176] (–) using VT number 2

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