Issues with RPi5 + Waveshare HDMI display

Hi the solution is already at:

Just tu sumarize:

add to config.txt (or better to userconfig.txt):
dtoverlay=vc4-kms-v3d-pi5

Below will make the Touch Display plugin starts to work:

2.1
Disable Touch Display plugin

2.2
As a root (not sudo, root):

cat >> /etc/X11/xorg.conf.d/99-vc4.conf <<EOL
Section "OutputClass"
    Identifier "vc4"
    MatchDriver "vc4"
    Driver "modesetting"
    Option "PrimaryGPU" "true"
EndSection
EOL

2.3
Reboot

  1. If you like to rotate the screen:
    Either by manual command (it will gone after boot):

xrandr --display :0 --output HDMI-1 --rotate right
(right can be changed to left depending which direction you need)

or to have persistant solution:

mkdir /home/volumio/.config/openbox

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

Hope it works for you as well