[PLUGIN] Touch Display

This is what i have… haven’t tried with the others disabled though… !

Dear all,

I’m pretty new to Volumio but I made t wok on my RasPi Zero 2W. Now I bought a 10" screen and would like to use it on the RasPi. Unfortunately, the installation process of the Touch Plugin is fails all the time.
See here the log:

Downloading plugin at https://plugins.volumio.workers.dev/pluginsv2/downloadLatestStable/touch_display/volumio/buster/armhf
END DOWNLOAD: https://plugins.volumio.workers.dev/pluginsv2/downloadLatestStable/touch_display/volumio/buster/armhf
Erstelle Installationspfad
Plugin wird entpackt
Prüfen, ob das Plugin für diese Version von Volumio geeignet ist The plugin can be used with this version of Volumio
Prüfe, ob Plugin bereits existiert
Kopiere Plugin in sein Verzeichnis
Installiere benötigte Komponenten
Re-synchronizing package index files from their sources
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Hit:3 https://deb.nodesource.com/node_14.x buster InRelease
Get:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Get:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [400 kB]
Fetched 13.5 MB in 1min 16s (177 kB/s)
Reading package lists...
Running apt-get -y install failed
Plugin failed to install!
Cleaning up...
Removing dependencies
Deleting /opt/volumiokiosk.sh
Deleting /data/volumiokiosk
Deleting /lib/systemd/system/volumio-kiosk.service
Enabling login prompt
Done
Removing plugin directory /data/plugins/user_interface/touch_display
Es ist ein Fehler während der Plugin-Installation aufgetreten Error
Removing temporary directory /tmp/touch_display-pbvcc310mM

Somewhere I read that these failures are most of the time caused by too less space on the SD card. As I use only a 4GB card, this seems to be probable, too. Nevertheless, there seems to be quite some space left, but probably in the wrong partition. Is this the case? How could I change it? Are there any other reasons?
The “df -h” output is here:

Filesystem      Size  Used Avail Use% Mounted on
udev            190M     0  190M   0% /dev
tmpfs            46M   13M   34M  28% /run
/dev/mmcblk0p2  2.5G  1.1G  1.3G  47% /imgpart
/dev/loop0      479M  479M     0 100% /static
overlay         1.1G  938M   62M  94% /
tmpfs           230M     0  230M   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           230M     0  230M   0% /sys/fs/cgroup
/dev/mmcblk0p3  1.1G  938M   62M  94% /swap
tmpfs            20M   52K   20M   1% /var/log
tmpfs           230M     0  230M   0% /var/spool/cups
tmpfs           230M   40K  230M   1% /tmp
tmpfs           230M     0  230M   0% /var/spool/cups/tmp
/dev/mmcblk0p1   92M   66M   26M  72% /boot
tmpfs            46M     0   46M   0% /run/user/1000

My config is:

OS info

    Version of Volumio: 3.703
    Hostname: volumio
    Kernel: 6.1.77-v7+
    Governor: performance
    Uptime: 1 days, 23 Hrs, 57 Minutes, 28 Seconds


Network info

    Interface: wlan0
    IP Address: 192.168.178.64
    MAC Address: d8:3a:dd:58:9e:2c
    Type: wireless
    Speed: nullMb/s


Audio info

    Hw audio configured: IQaudIO Pi-DigiAMP+
    Mixer type: Software
    Number of channels:
    Supported sample rate: 


Board info

    Manufacturer: Raspberry Pi Foundation
    Model: Raspberry Pi Zero 2 W Rev 1.0 Raspberry Pi / Zero 2 W - 1.0 /
    Version: 902120 / Zero 2 W - 1.0
    Firmware Version: Oct 17 2023 15:42:39 - 30f0c5e4d076da3ab4f341d88e7d505760b93ad7


CPU info

    Brand: BCM2837
    Speed: 1 GHz
    Family: Cortex-A53
    Model: 4
    Number of cores: 4
    Physical cores: 4
    Average load: 30%
    Temperature: 48°C


Memory info

    Memory: 469844 Ko
    Free: 111280 Ko
    Used: 358564 Ko


Software info

    Mpd version: Music Player Daemon 0.23.15 (0.23.15)


Storage info

    INTERNAL storage - Size: 1058Mo
    Used: 938Mo
    Available for storage: 62Mo (6%)

Thank you very much in advance for your support!

Please reboot and try again, This happens sometimes.
If it still generate the same error:
ssh into the device and run:
sudo apt-get update

Next check if the date is correct, if not run:
/bin/bash -c "sleep 1; /usr/bin/sudo /bin/date -s \"$(/usr/bin/curl -s --head http://google.com | grep ^Date: | sed 's/Date: //g')\""

Try to install the plugin again.

Hi Wheaten,

thanks for the quick reply.

I have already rebooted some times as the plugin sometimes is listed in the installed plugins but when I click on properties there is nothing to display. After that the plugin is not shown in the installed plugins section but in new plugins. Then a new install will fail with the message the plugin already exists. A restarts solves the issue as there seems to be a reset.

I now performed your 2 tasks. APT is updated and time is good.

I have rebooted and tried to install. A few times the install window just vanished and I had the issue with installed not installed plugin. After a few reboots, the installation is cancelled as described in the first post.
Here the log:

Downloading plugin at https://plugins.volumio.workers.dev/pluginsv2/downloadLatestStable/touch_display/volumio/buster/armhf
END DOWNLOAD: https://plugins.volumio.workers.dev/pluginsv2/downloadLatestStable/touch_display/volumio/buster/armhf
Erstelle Installationspfad
Plugin wird entpackt
Prüfen, ob das Plugin für diese Version von Volumio geeignet ist The plugin can be used with this version of Volumio
Prüfe, ob Plugin bereits existiert
Kopiere Plugin in sein Verzeichnis
Installiere benötigte Komponenten
Re-synchronizing package index files from their sources
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 https://deb.nodesource.com/node_14.x buster InRelease
Reading package lists...
Running apt-get -y install failed
Plugin failed to install!
Cleaning up...
Removing dependencies
Deleting /opt/volumiokiosk.sh
Deleting /data/volumiokiosk
Deleting /lib/systemd/system/volumio-kiosk.service
Enabling login prompt
Done
Removing plugin directory /data/plugins/user_interface/touch_display
Removing temporary directory /tmp/touch_display-YntQaO2hd4
Es ist ein Fehler während der Plugin-Installation aufgetreten Error

moved post to correct topic, so it’s visual to our display guru.

This entry is the problem Running apt-get -y install failed

  • Do you have something in you network that blocks communication like pihole?
  • Did you change the password for Volumio?

Please post a full log as mentioned here:

Please connect to Volumio via SSH. Then run

apt-get update

and

apt-get -y install

as root from Volumio’s command line and check if it also fails.

I have a friend who bought this 14" screen from Aliexpress and reported that there is nothing show on the screen once connected to the Volumio on RPi4 but it works fine when connecting to Windows.

Is there any special set up or driver needed for this screen?

RPi4-4GB
Volumio 3.703
Touch Display 3.4.0
PeppyMeter Screensaver 2.2.0

Thank you.

https://www.aliexpress.us/item/3256805358254838.html?spm=a2g0o.detail.pcDetailBottomMoreOtherSeller.8.3887FdufFdufcA&gps-id=pcDetailBottomMoreOtherSeller&scm=1007.40050.354490.0&scm_id=1007.40050.354490.0&scm-url=1007.40050.354490.0&pvid=474592ad-7ea6-4c93-9770-0126137f324c&_t=gps-id%3ApcDetailBottomMoreOtherSeller%2Cscm-url%3A1007.40050.354490.0%2Cpvid%3A474592ad-7ea6-4c93-9770-0126137f324c%2Ctpp_buckets%3A668%232846%238111%231996&isseo=y&pdp_npi=4%40dis!THB!4050.80!3726.60!!!108.08!99.43!%40210133e017119822300521770ec041!12000033480889010!rec!TH!!AB&utparam-url=scene%3ApcDetailBottomMoreOtherSeller|query_from%3A&fbclid=IwZXh0bgNhZW0CMTAAAR1Y5WJAOqABQWAvuEuj5HzTjDDq11o26qXuBGETuev5OHn-UUf3UOIEuEQ_aem_ZmFrZWR1bW15MTZieXRlcw&gatewayAdapt=tha2usa4itemAdapt

Even Volumio’s boot logo and the login prompt are not shown?

You might try adding

hdmi_group=2
hdmi_mode=87
hdmi_cvt=1920 550 60

to “/boot/userconfig.txt”. The first two values of “hdmi_cvt” may need to be swapped.

Hi gvolt,

He tried on both value but still doesn’t work. See video clip attached.

Andy

1 Like

Here’s another video showing that when he plugged the HDMI cable from RPi4 to the 14" screen, there’s nothing but blue screen (no signal). When he switched the connection from RPi4 to another HDMI monitor, it works. Then he hooked up a pc to the 14" screen, it also works. Compatibility issue?

hdmi_group=2
hdmi_mode=87
hdmi_cvt 1920 515 60 3 0 0 0
hdmi_drive=2
disable_overscan=1

Hi Andy, I got a 1920x515 monitor from this seller. My settings in userconfig.txt as above. Maybe change 515 to 550 and it will work?

1 Like

Please check if replacing the current display related entries in “/boot/userconfig.txt” with

dtoverlay=vc4-kms-v3d

helps.

Will let you guys know. Thank you so much! :slight_smile:

I am having trouble getting the screensaver in touch display to work at all.
I’m running Volumio on a rpi4 and using a Waveshare 11.9" HDMI touch screen rotated 270 degrees. All functions perfectly except the screensaver. The screensaver is connected to the rpi4 via HDMI and power is supplied via usb on the RPI4 to the touch micro usb input. This bad behaviour remains when I add power from USB also to the power input micro USM

Here is my userconfig.txt

Add your custom config.txt options to this file, which will be preserved during update###

max_framebuffer_height=1480
hdmi_group=2
hdmi_mode=87
hdmi_timings=320 0 80 16 32 1480 0 16 4 12 0 0 0 60 0 42000000 3

here is config.txt

Add your custom config.txt options to this file, which will be preserved during update###

max_framebuffer_height=1480
hdmi_group=2
hdmi_mode=87
hdmi_timings=320 0 80 16 32 1480 0 16 4 12 0 0 0 60 0 42000000 3

Touch Display rotation setting below: do not alter

display_lcd_rotate=3
display_hdmi_rotate=3

I’m hoping that you can help me out as my plan is to have this streamer powered 24/7 and I dont want to burn in nor wear out the gorgeous 11.9" display.

What are your “Screensaver Settings” on the Touch Display plugin’s config page?

Have you installed any other software apart from the change to “/boot/userconfig.txt” and if so, which software?

Please post the results of

xset -q -d :0

when the screen is on and also after the screensaver timeout has been expired and the screensaver should be active.

As for other software, I recently performed a factory reset as I thought there might be some remnants of Now Playing plugin that was interfering alas, not. I have a factory reset with Roon Bridge and Volroon installed.

this is while playing:
volumio@volumio-mediaroom:~$ xset -q -d :0
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
XKB indicators:
00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 660 repeat rate: 25
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/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
DPMS (Energy Star):
Standby: 0 Suspend: 0 Off: 30
DPMS is Enabled
Monitor is Off

This is 35 secs after stopping play

volumio@volumio-mediaroom:~$ xset -q -d :0
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
XKB indicators:
00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 660 repeat rate: 25
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/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
DPMS (Energy Star):
Standby: 0 Suspend: 0 Off: 30
DPMS is Enabled
Monitor is Off

Screen remained on throughout

Please run

xset -d :0 dpms force on

and post the result of

xset -q -d :0

again. Then execute

xset -d :0 dpms force off

and check if the screen is turned off.

here you go:

$ xset -d :0 dpms force on
volumio@volumio-mediaroom:~$ xset -q -d :0
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
XKB indicators:
00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 660 repeat rate: 25
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/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
DPMS (Energy Star):
Standby: 0 Suspend: 0 Off: 30
DPMS is Enabled
Monitor is On

xset -d :0 dpms force off

did NOT result in the screen turning off!!

Thanks for your help here, hugely appreciated!!

Please check if substituting the current display related entries in “/boot/userconfig.txt” with

dtoverlay=vc4-kms-v3d

changes the behaviour of the display.

Before I do that.
Could you pls give me some instructions on how to comment that in and out… and also how to do that with ssh rather than editing the sd card on my pc.
Lastly, it’s evident that there is two way communication between the screen and the rpi as the touch functions work… does the screen saver communication take place over same usb or over the HDMI…perhaps a cable swap??Thank you in advance.