[GUIDE] Official Raspberry Touch Display 2

Good afternoon all.

After successfully setting up and using Volumio on an 8Gb 4B with the original 7" display for a few months, I thought I’d have a go at upgrading the display to the new 7" display…

The screen is working thanks to the advice in the opening post of this thread, I’ve got the touchscreen plugin installed, I’ve rebooted roughly 4,096 times but still the touch element doesn’t work.

My /boot/userconfig.txt reads as follows:-

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

[all]
display_auto_detect=1
dtoverlay=vc4-kms-v3d-pi4,nohdmi

# Match your rotation counter clockwise 0, 90, 180, 270 degree

dtoverlay=vc4-kms-dsi-ili9881-7inch,rotation=270

#### Touch Display rotation setting below: do not alter ####
display_lcd_rotate=3
display_hdmi_rotate=3

Discovered inputs are as follows:-

volumio@volumio:~$ ls -al /dev/input
total 0
drwxr-xr-x  2 root root      60 Jan  1  1970 .
drwxr-xr-x 16 root root    3860 Dec  7 15:45 ..
crw-rw----  1 root input 13, 63 Dec  7 15:45 mice
volumio@volumio:~$ cat /dev/input/event*
cat: '/dev/input/event*': No such file or directory

The above leads me to believe that while the screen is working, it’s not showing up as an input device.

What to do…?

edit to add sysinfo, apologies for missing it off.

OS info
Version of Volumio: 3.779
Hostname: volumio
Kernel: 6.6.56-v7l+
Governor: performance
Uptime: 0 days, 0 Hrs, 6 Minutes, 12 Seconds

Network info
Interface: eth0
IP Address: 
MAC Address: 
Type: wired
Speed: 1000Mb/s

Audio info
Hw audio configured: Headphones
Mixer type: Hardware
Number of channels: 8
Supported sample rate: 22050 44100 48000 88200 96000 176400 192000

Board info
Manufacturer: Raspberry Pi Foundation
Model: Raspberry Pi 4 Model B Rev 1.5 Raspberry Pi / 4B - 1.5 /
Version: d03115 / 4B - 1.5
Firmware Version: Sep 13 2024 15:58:42 version ddfba3e3c234500025b545512b4b214f28e453e9 (clean) (release) (start)

CPU info
Brand: BCM2711
Speed: 1.5 GHz
Family: Cortex-A72
Model: 3
Number of cores: 4
Physical cores: 4
Average load: 12%
Temperature: 42°C

Memory info
Memory: 8033056 Ko
Free: 6898132 Ko
Used: 1134924 Ko

Software info
Mpd version: Music Player Daemon 0.23.15 (0.23.15)

Hey @veew

As usual, the devil lives in the detail.

Your version of Volumio is: 3.779

In the opening post under Volumio Configuration subsection - for what version of Volumio download steps are deprecated?

In simple terms the default dtoverlay does not know what ,rotation=270 is; hence fails to load.

Kind Regards,

1 Like

Ay caramba!

@nerd thank you, as usual, I focused on the minutiae and overlooked the bleeding obvious.

I’ve downloaded and replaced the .dtbo file

image

Double-checked /boot/cmdline.txt

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=serial0,115200 console=tty1 imgpart=UUID=ed280c2b-b4b4-43e6-87d7-b67377eacab2 imgfile=/volumio_current.sqsh bootpart=UUID=FCA2-3F9A datapart=UUID=0367e456-8c2f-458a-8465-47f124ad9fdd uuidconfig=cmdline.txt pcie_aspm=off pci=pcie_bus_safe rootwait bootdelay=7 logo.nologo vt.global_cursor_default=0 net.ifnames=0 snd-bcm2835.enable_compat_alsa= snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 loglevel=0 nodebug use_kmsg=no cfg80211.ieee80211_regdom=GB video=DSI-1:720x1280M@60,rotate=270

and /boot/userconfig.txt

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

[all]
display_auto_detect=1
dtoverlay=vc4-kms-v3d-pi4,nohdmi

# Match your rotation counter clockwise 0, 90, 180, 270 degree

dtoverlay=vc4-kms-dsi-ili9881-7inch,rotation=270

#### Touch Display rotation setting below: do not alter ####
display_lcd_rotate=3
display_hdmi_rotate=3

…and rebooted.

I’ve probably missed something else obvious but still have no response from the touchscreen.

Sorry!

Hey @veew,

What is the content of /etc/X11/xorg.conf.d/ folder? Are there any files? If yes - what content these files have?

In any case, I would not only disable, but unistall plugin first, then install the latest version of it back after the reboot.

On the other hand - This thread is a technical one, for specific hardware quirks. I am not sending you away, but there is an official thread for the touch plugin here:

Kind Regards,

1 Like

Thank you again @nerd, plugin removed, rebooted and reinstalled. Same issue.

…/xorg.conf.d/ contains two files:-

95-touch_display-plugin.conf.

# This file is managed by the Touch Display plugin: Do not alter!
# It will be deleted when the Touch Display plugin gets uninstalled.
Section "InputClass"
    Identifier "Touch rotation"
    Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
    MatchIsTouchscreen "on"
    MatchDevicePath "/dev/input/event*"
    MatchDriver "libinput|evdev"
EndSection

Section "Monitor"
        Identifier "DSI-1"
        Option "Rotate" "left"
EndSection

and
99-vc4.conf

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

I’ll move to the plugin thread tomorrow with a clearer head.

Just to put this to bed, I upgraded Volumio to 3.8x, added the config and all is well

Thanks again @nerd :+1:

Hello, not sure if this help, but in my case it did not work immediately after making changes and reboot. I had to power off and power on again. Then it started working perfectly.

Hi,

I’ve a little problem with my Touch display 2
I have RPi 5 4GB
Volumio: 3.785
Official Raspberry Touch Display 2
Amplifier : Denon AVR-X2000 (RPi connected in HDMI)

Plugin is well installed but i can’t get anything on my screen when music is playing: when I activate the screen’s plugin, the music stops and when i desactivate the screen’s plugin, the music plays.
Is there any solution please ? Maybe I need to get a USB to HDMI cable ?

Thanks for you help :slight_smile:

add to /boot/userconfig.txt
display_auto_detect=1

Here is a screenshot of my userconfig.txt :wink:

*I edited my first post.

Yes that opening post did change a lot. :slight_smile:
Please post a log, when you enable the screen and the music stops.

Here is the log : http://logs.volumio.org/volumio/XHqJErW.html

Thanks for your help

@gvolt

Any ideas. From the log:

Jan 13 22:06:17 volumio startx[5087]: failed to load driver: drm-rp1-dsi

Jan 13 22:09:15 volumio systemd[1]: /lib/systemd/system/winbind.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/winbindd.pid → /run/samba/winbindd.pid; please update the unit file accordingly.
Jan 13 22:09:15 volumio systemd[1]: getty@tty1.service: Current command vanished from the unit file, execution of the command list won't be resumed.
Jan 13 22:09:15 volumio startx[5087]: xinit: connection to X server lost

Jan 13 22:09:16 volumio kernel: drm-rp1-dsi 1f00130000.dsi: [drm] rp1dsi: Nominal Byte clock 125000000 DPI clock 83333333 (parent rate 125000000)
Jan 13 22:09:16 volumio startx[5087]: xinit: unexpected signal 15

Jan 13 22:10:38 volumio volumio[1332]: info: touch_display: No Raspberry Pi Foundation touch screen detected.

Hey @facedeharicot,

Perhaps you can dodge this issue by adding to your /boot/userconfig.txt:

max_framebuffers=2
hdmi_force_hotplug:0=1
hdmi_force_hotplug:1=1
hdmi_drive=2

This will not “mirror” the screen, but nudge vc4 / snd_soc_hdmi_codec

Kind Regards,

@nerd Thank you for your answer.

It doesn’t work neither with these settings :confused:

Here is the ling to the log : http://logs.volumio.org/volumio/5sgz3am.html

Could you please check with

display_auto_detect=0

Hi

Total noob problem at hand.

Raspberry 5 4gb + official 7" touch 2 display works and boots just fine with raspberry os. Same sd card flashed with volumio and nothing. Screen stays black, but green light flashes for few minutes. It doesnt seem to matter where I download the image (raspberry imager or the volumio site). I have changed sd cards and they boot with raspberry and nothing happens with flashed volumio. Any ideas?

It is not better :grimacing:

:slightly_frowning_face: Do you have the display connected to DSI0 or DSI1?

Thqnk you for your help!

The display is connected to DSI1.