[PLUGIN] Touch Display

Yeah he’s not a reader :rofl:

that was all at the very beginning

I have installed NO (!) drivers

in the meantime I have reinstalled the system

Everything as always, DOES NOT WORK

This error message ALWAYS comes up
grafik

… and in the reinstalled system did you try to install the Waveshare drivers?

Also please post the result of

/etc/X11/xorg.conf.d/99-vc4.conf

BTW: Did you try without the overlay’s rotation parameter?

volumio@volumio:~$ /etc/X11/xorg.conf.d/99-vc4.conf
-bash: /etc/X11/xorg.conf.d/99-vc4.conf: Permission denied

YES

Sorry, command has to be

cat /etc/X11/xorg.conf.d/99-vc4.conf

BTW: No need for yelling, IMHO.

@Franky_Byte ,

If you didn’t install drivers, why did you post the 3rd image a couple of post ago?
As this clearly shows you tried to run the installer and it fails.
This leaves your Volumio installation in a unknown state.

That was days ago when I was testing all kinds of things

In the meantime it is a NEW image WITHOUT drivers, just like I wrote it !

ONLY THIS

This is how I did it

  1. installed Volumio and “simply” configured it
  • System restart
  1. installed and activated the Touch Display 3.37 plugin from the store
  • System restart
  1. changed the userconfig.txt :
    dtoverlay=vc4-kms-v3d
    dtoverlay=vc4-kms-dsi-waveshare-panel,7_9_inch,rotation=90
  • System restart
  1. peppy_screensaver_beta_1.3.9 installed and activated
sudo bash -c 'cat << EOF >  /etc/X11/xorg.conf.d/99-vc4.conf
Section "OutputClass"
    Identifier "vc4"
    MatchDriver "vc4"
    Driver "modesetting"
    Option "PrimaryGPU" "true"
EndSection
EOF'

  • System restart
  • Do a factory reset.
  • Configure Volumio just the bare minimum
  • Reboot
  • add to /boot/userconfig.txt (as you didn’t answer this)
    If you have a 7 inch screen:
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-waveshare-panel,7inch

if you have a 7.9 Inch

dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-waveshare-panel,7_9_inch
  • reboot
  • install the touch plugin and nothing else!!
  • reboot
  • After reboot post the log.

Please do exactly as instructed, nothing more or less.

I just did that,

In the meantime I have changed the Pi3, now it is a Pi3B+, before it was a Pi3B
but display still does not work
It is a ,7_9 Display !

Log ist to long

volumio@volumio:~$ cat /boot/config.txt
### DO NOT EDIT THIS FILE ###
### APPLY CUSTOM PARAMETERS TO userconfig.txt ###
initramfs volumio.initrd

include volumioconfig.txt
include userconfig.txt
volumio@volumio:~$ cat /boot/userconfig.txt
# Add your custom config.txt options to this file, which will be preserved durin     g updates

dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-waveshare-panel,7_9_inch


#### Touch Display rotation setting below: do not alter ####
display_lcd_rotate=2
volumio@volumio:~$

It is a ,7_9 Display !



Its weird.
@gvolt

Seems kiosk started without issues:

Feb 01 13:41:06 volumio sudo[1017]:  volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl start volumio-kiosk.service
Feb 01 13:41:06 volumio sudo[1017]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 01 13:41:06 volumio volumio[830]: Error adding Membership: Error: addMembership EINVAL
Feb 01 13:41:06 volumio volumio[830]: info: Shairport-Sync Started
Feb 01 13:41:06 volumio volumio[830]: info: Shairport-Sync Started
Feb 01 13:41:06 volumio systemd[1]: Started Volumio Kiosk.
Feb 01 13:41:06 volumio sudo[1017]: pam_unix(sudo:session): session closed for user root
Feb 01 13:41:06 volumio volumio[830]: info: CoreCommandRouter::volumioGetState
Feb 01 13:41:06 volumio volumio[830]: info: CorePlayQueue::getTrack 0
Feb 01 13:41:06 volumio volumio[830]: info: touch_display: systemctl start volumio-kiosk.service succeeded

And here something happens:

Feb 01 13:41:06 volumio startx[1019]: Current version of pixman: 0.36.0
Feb 01 13:41:06 volumio startx[1019]:         Before reporting problems, check http://wiki.x.org
Feb 01 13:41:06 volumio startx[1019]:         to make sure that you have the latest version.
Feb 01 13:41:06 volumio startx[1019]: Markers: (--) probed, (**) from config file, (==) default setting,
Feb 01 13:41:06 volumio startx[1019]:         (++) from command line, (!!) notice, (II) informational,
Feb 01 13:41:06 volumio startx[1019]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Feb 01 13:41:06 volumio startx[1019]: (==) Log file: "/home/volumio/.local/share/xorg/Xorg.0.log", Time: Thu Feb  1 13:41:06 2024
Feb 01 13:41:06 volumio startx[1019]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Feb 01 13:41:06 volumio startx[1019]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Feb 01 13:41:06 volumio volumio[830]: info: touch_display: Using Xserver unix domain socket /tmp/.X11-unix/X0
Feb 01 13:41:06 volumio startx[1019]: (EE)
Feb 01 13:41:06 volumio startx[1019]: Fatal server error:
Feb 01 13:41:06 volumio startx[1019]: (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
Feb 01 13:41:06 volumio startx[1019]: (EE)
Feb 01 13:41:06 volumio startx[1019]: Please consult the The X.Org Foundation support
Feb 01 13:41:06 volumio startx[1019]:          at http://wiki.x.org
Feb 01 13:41:06 volumio startx[1019]:  for help.
Feb 01 13:41:06 volumio startx[1019]: (EE) Please also check the log file at "/home/volumio/.local/share/xorg/Xorg.0.log" for additional information.
Feb 01 13:41:06 volumio startx[1019]: (EE)
Feb 01 13:41:06 volumio startx[1019]: (EE) Server terminated with error (1). Closing log file.
Feb 01 13:41:06 volumio volumio[830]: info: touch_display: Using Xserver unix domain socket /tmp/.X11-unix/X0

@Franky_Byte
Can you post the output of:
cat /home/volumio/.local/share/xorg/Xorg.0.log

@Franky_Byte
and the output of

ls -al /dev/tty*
1 Like
Welcome to Volumio for Raspberry Pi (6.1.69-v7+ armv7l)
volumio@volumio:~$ cat /home/volumio/.local/share/xorg/Xorg.0.log
[    38.925]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[    38.926] Build Operating System: Linux 5.4.0-109-generic armv8l Raspbian
[    38.926] Current Operating System: Linux volumio 6.1.69-v7+ #1710 SMP Thu Dec 21 13:14:13 GMT 2023 armv7l
[    38.926] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  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=ttyS0,115200 console=tty1 imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh rootwait bootdelay=5 elevator=noop 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
[    38.926] Build Date: 04 April 2023  07:50:56AM
[    38.926] xorg-server 2:1.20.4-1+rpt4+deb10u9 (https://www.debian.org/support)
[    38.926] Current version of pixman: 0.36.0
[    38.926]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    38.926] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    38.926] (==) Log file: "/home/volumio/.local/share/xorg/Xorg.0.log", Time: Thu Feb  1 15:44:54 2024
[    38.934] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    38.934] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    38.938] (==) No Layout section.  Using the first Screen section.
[    38.938] (==) No screen section available. Using defaults.
[    38.938] (**) |-->Screen "Default Screen Section" (0)
[    38.938] (**) |   |-->Monitor "<default monitor>"
[    38.944] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    38.945] (==) Automatically adding devices
[    38.945] (==) Automatically enabling devices
[    38.945] (==) Automatically adding GPU devices
[    38.951] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    38.964] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    38.964]    Entry deleted from font path.
[    38.965] (==) 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
[    38.965] (==) ModulePath set to "/usr/lib/xorg/modules"
[    38.965] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    38.965] (II) Loader magic: 0x1fdf80
[    38.965] (II) Module ABI versions:
[    38.965]    X.Org ANSI C Emulation: 0.4
[    38.965]    X.Org Video Driver: 24.0
[    38.965]    X.Org XInput driver : 24.1
[    38.966]    X.Org Server Extension : 10.0
[    39.039] (EE) systemd-logind: failed to get session: PID 1092 does not belong to any known session
[    39.042] (II) xfree86: Adding drm device (/dev/dri/card0)
[    39.045] (**) OutputClass "vc4" setting /dev/dri/card0 as PrimaryGPU
[    39.045] (II) LoadModule: "glx"
[    39.049] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    39.095] (II) Module glx: vendor="X.Org Foundation"
[    39.095]    compiled for 1.20.4, module version = 1.0.0
[    39.095]    ABI class: X.Org Server Extension, version 10.0
[    39.095] (II) Applying OutputClass "vc4" to /dev/dri/card0
[    39.095]    loading driver: modesetting
[    39.095] (==) Matched modesetting as autoconfigured driver 0
[    39.095] (==) Matched fbdev as autoconfigured driver 1
[    39.095] (==) Assigned the driver to the xf86ConfigLayout
[    39.095] (II) LoadModule: "modesetting"
[    39.096] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    39.100] (II) Module modesetting: vendor="X.Org Foundation"
[    39.100]    compiled for 1.20.4, module version = 1.20.4
[    39.101]    Module class: X.Org Video Driver
[    39.101]    ABI class: X.Org Video Driver, version 24.0
[    39.101] (II) LoadModule: "fbdev"
[    39.101] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    39.103] (II) Module fbdev: vendor="X.Org Foundation"
[    39.103]    compiled for 1.20.3, module version = 0.5.0
[    39.103]    Module class: X.Org Video Driver
[    39.103]    ABI class: X.Org Video Driver, version 24.0
[    39.103] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    39.103] (II) FBDEV: driver for framebuffer: fbdev
[    39.103] (EE)
Fatal server error:
[    39.103] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
[    39.103] (EE)
[    39.103] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    39.103] (EE) Please also check the log file at "/home/volumio/.local/share/xorg/Xorg.0.log" for additional information.
[    39.103] (EE)
[    39.105] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[    39.105] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[    39.105] (EE) Server terminated with error (1). Closing log file.
volumio@volumio:~$

1 Like

volumio@volumio:~$ ls -al /dev/tty*
crw-rw-rw- 1 root tty  5,  0 Feb  1 15:44 /dev/tty
crw--w---- 1 root tty  4,  0 Feb  1 15:44 /dev/tty0
crw--w---- 1 root tty  4,  1 Feb  1 15:44 /dev/tty1
crw--w---- 1 root tty  4, 10 Feb  1 15:44 /dev/tty10
crw--w---- 1 root tty  4, 11 Feb  1 15:44 /dev/tty11
crw--w---- 1 root tty  4, 12 Feb  1 15:44 /dev/tty12
crw--w---- 1 root tty  4, 13 Feb  1 15:44 /dev/tty13
crw--w---- 1 root tty  4, 14 Feb  1 15:44 /dev/tty14
crw--w---- 1 root tty  4, 15 Feb  1 15:44 /dev/tty15
crw--w---- 1 root tty  4, 16 Feb  1 15:44 /dev/tty16
crw--w---- 1 root tty  4, 17 Feb  1 15:44 /dev/tty17
crw--w---- 1 root tty  4, 18 Feb  1 15:44 /dev/tty18
crw--w---- 1 root tty  4, 19 Feb  1 15:44 /dev/tty19
crw--w---- 1 root tty  4,  2 Feb  1 15:44 /dev/tty2
crw--w---- 1 root tty  4, 20 Feb  1 15:44 /dev/tty20
crw--w---- 1 root tty  4, 21 Feb  1 15:44 /dev/tty21
crw--w---- 1 root tty  4, 22 Feb  1 15:44 /dev/tty22
crw--w---- 1 root tty  4, 23 Feb  1 15:44 /dev/tty23
crw--w---- 1 root tty  4, 24 Feb  1 15:44 /dev/tty24
crw--w---- 1 root tty  4, 25 Feb  1 15:44 /dev/tty25
crw--w---- 1 root tty  4, 26 Feb  1 15:44 /dev/tty26
crw--w---- 1 root tty  4, 27 Feb  1 15:44 /dev/tty27
crw--w---- 1 root tty  4, 28 Feb  1 15:44 /dev/tty28
crw--w---- 1 root tty  4, 29 Feb  1 15:44 /dev/tty29
crw--w---- 1 root tty  4,  3 Feb  1 15:44 /dev/tty3
crw--w---- 1 root tty  4, 30 Feb  1 15:44 /dev/tty30
crw--w---- 1 root tty  4, 31 Feb  1 15:44 /dev/tty31
crw--w---- 1 root tty  4, 32 Feb  1 15:44 /dev/tty32
crw--w---- 1 root tty  4, 33 Feb  1 15:44 /dev/tty33
crw--w---- 1 root tty  4, 34 Feb  1 15:44 /dev/tty34
crw--w---- 1 root tty  4, 35 Feb  1 15:44 /dev/tty35
crw--w---- 1 root tty  4, 36 Feb  1 15:44 /dev/tty36
crw--w---- 1 root tty  4, 37 Feb  1 15:44 /dev/tty37
crw--w---- 1 root tty  4, 38 Feb  1 15:44 /dev/tty38
crw--w---- 1 root tty  4, 39 Feb  1 15:44 /dev/tty39
crw--w---- 1 root tty  4,  4 Feb  1 15:44 /dev/tty4
crw--w---- 1 root tty  4, 40 Feb  1 15:44 /dev/tty40
crw--w---- 1 root tty  4, 41 Feb  1 15:44 /dev/tty41
crw--w---- 1 root tty  4, 42 Feb  1 15:44 /dev/tty42
crw--w---- 1 root tty  4, 43 Feb  1 15:44 /dev/tty43
crw--w---- 1 root tty  4, 44 Feb  1 15:44 /dev/tty44
crw--w---- 1 root tty  4, 45 Feb  1 15:44 /dev/tty45
crw--w---- 1 root tty  4, 46 Feb  1 15:44 /dev/tty46
crw--w---- 1 root tty  4, 47 Feb  1 15:44 /dev/tty47
crw--w---- 1 root tty  4, 48 Feb  1 15:44 /dev/tty48
crw--w---- 1 root tty  4, 49 Feb  1 15:44 /dev/tty49
crw--w---- 1 root tty  4,  5 Feb  1 15:44 /dev/tty5
crw--w---- 1 root tty  4, 50 Feb  1 15:44 /dev/tty50
crw--w---- 1 root tty  4, 51 Feb  1 15:44 /dev/tty51
crw--w---- 1 root tty  4, 52 Feb  1 15:44 /dev/tty52
crw--w---- 1 root tty  4, 53 Feb  1 15:44 /dev/tty53
crw--w---- 1 root tty  4, 54 Feb  1 15:44 /dev/tty54
crw--w---- 1 root tty  4, 55 Feb  1 15:44 /dev/tty55
crw--w---- 1 root tty  4, 56 Feb  1 15:44 /dev/tty56
crw--w---- 1 root tty  4, 57 Feb  1 15:44 /dev/tty57
crw--w---- 1 root tty  4, 58 Feb  1 15:44 /dev/tty58
crw--w---- 1 root tty  4, 59 Feb  1 15:44 /dev/tty59
crw--w---- 1 root tty  4,  6 Feb  1 15:44 /dev/tty6
crw--w---- 1 root tty  4, 60 Feb  1 15:44 /dev/tty60
crw--w---- 1 root tty  4, 61 Feb  1 15:44 /dev/tty61
crw--w---- 1 root tty  4, 62 Feb  1 15:44 /dev/tty62
crw--w---- 1 root tty  4, 63 Feb  1 15:44 /dev/tty63
crw--w---- 1 root tty  4,  7 Feb  1 15:44 /dev/tty7
crw--w---- 1 root tty  4,  8 Feb  1 15:44 /dev/tty8
crw--w---- 1 root tty  4,  9 Feb  1 15:44 /dev/tty9
crw------- 1 root root 5,  3 Feb  1 15:44 /dev/ttyprintk
volumio@volumio:~$

Please post the result of

apt list --installed | grep xserver-xorg-legacy



Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Welcome to Volumio for Raspberry Pi (6.1.69-v7+ armv7l)
volumio@volumio:~$ apt list --installed | grep xserver-xorg-legacy

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

xserver-xorg-legacy/oldoldstable,now 2:1.20.4-1+rpt4+deb10u9 armhf [installed,au                                                            tomatic]
volumio@volumio:~$

grafik

Please post the output of

ls -al /usr/lib/xorg

and

cat /etc/X11/Xwrapper.config


Welcome to Volumio for Raspberry Pi (6.1.69-v7+ armv7l)
volumio@volumio:~$ ls -al /usr/lib/xorg
total 1977
drwxr-xr-x 3 root root    1024 Feb  2 16:50 .
drwxr-xr-x 1 root root    1024 Feb  2 16:52 ..
-rwxr-xr-x 1 root root 1982048 Apr  4  2023 Xorg
-rwsr-sr-x 1 root root    9808 Apr  4  2023 Xorg.wrap
drwxr-xr-x 5 root root    1024 Feb  2 16:50 modules
-rw-r--r-- 1 root root   25699 Apr  4  2023 protocol.txt
volumio@volumio:~$

and


volumio@volumio:~$ cat /etc/X11/Xwrapper.config
# Xwrapper.config (Debian X Window System server wrapper configuration file)
#
# This file was generated by the post-installation script of the
# xserver-xorg-legacy package using values from the debconf database.
#
# See the Xwrapper.config(5) manual page for more information.
#
# This file is automatically updated on upgrades of the xserver-xorg-legacy
# package *only* if it has not been modified since the last upgrade of that
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command as root:
#   dpkg-reconfigure xserver-xorg-legacy
allowed_users=anybody
volumio@volumio:~$

Please run

sudo bash -c 'echo "needs_root_rights=yes" >> /etc/X11/Xwrapper.config'

then stop and start the Touch Display plugin.