Waveshare 5.5 Amoled & Touch Display plugin

Maybe try commenting “hdmi_timings” in “/boot/userconfig.txt” and adding

hdmi_cvt=1080 1920 60

No liability assumed :wink:

it turned out the hdmi cable I was using was faulty

thank you for your help @gvolt !! :slight_smile:

1 Like

Hi! I have a similar issu: RPi 4 and 5.5 Amoled touch display, but I can’t get the screensaver working. The display always shows the Volumino screen - even if the ‘Monitor is Off’ (after I run the xset -display :0 q comand)…

Any further hints?

Please add “hdmi_blanking=1” to /boot/userconfig.txt

1 Like

Thanks! It works!

hi, what is the best way to rotate the touch on this screen ? Plugin rotates the picture but not the touch. I’m on 3.175 version.

I think touch rotation should work. What rotation do you try to achieve?

After setting the rotation from the plugin’s config page please post the results of

cat /boot/config.txt
cat /boot/userconfig.txt

and

cat /etc/X11/xorg.conf.d/95-touch_display-plugin.conf

hi @gvolt
thank you for a fast reply

90 degrees

cat /boot/config.txt

initramfs volumio.initrd

#GPU_MEM=32

max_usb_current=1

dtparam=audio=on

audio_pwm_mode=2

dtparam=i2c_arm=on

disable_splash=1

hdmi_force_hotplug=1

force_eeprom_read=0

include userconfig.txt

Volumio i2s setting below: do not alter

dtoverlay=allo-digione

Volumio i2s setting below: do not alter

dtoverlay=allo-digione

Touch Display gpu_mem setting below: do not alter

gpu_mem=64volumio@volumiomain:~$

cat /boot/userconfig.txt

max_framebuffer_height=1920

config_hdmi_boost=10

hdmi_group=2

hdmi_mode=87

hdmi_timings=1080 1 26 4 50 1920 1 8 2 6 0 0 0 60 0 135580000 3

Touch Display rotation setting below: do not alter

display_lcd_rotate=1

display_hdmi_rotate=1

cat /etc/X11/xorg.conf.d/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 0 -1 0 1 0 0 1”
MatchIsTouchscreen “on”
MatchDevicePath “/dev/input/event*”
MatchDriver “libinput|evdev”
EndSection

Looks ok so far. Did you install other display related software or plugins?

Please show the results of

ls -al /etc/X11/xorg.conf.d

and

ls -al /usr/share/X11/xorg.conf.d

no I didn’t :slight_smile:

ls -al /etc/X11/xorg.conf.d

total 16

drwxr-xr-x 2 root root 4096 Dec 22 19:21 .

drwxr-xr-x 1 root root 4096 Dec 7 18:04

-rw-r–r-- 1 root root 375 Dec 22 19:21 95-touch_display-plugin.conf

ls -al /usr/share/X11/xorg.conf.d

total 28

drwxr-xr-x 2 root root 4096 Dec 7 18:01 .

drwxr-xr-x 1 root root 4096 Dec 7 18:01

-rw-r–r-- 1 root root 92 Feb 7 2019 10-amdgpu.conf

-rw-r–r-- 1 root root 1350 Apr 19 2021 10-quirks.conf

-rw-r–r-- 1 root root 92 Apr 6 2019 10-radeon.conf

-rw-r–r-- 1 root root 1429 Mar 31 2019 40-libinput.conf

-rw-r–r-- 1 root root 2747 Jun 26 2017 70-wacom.conf

I assume “40-libinput.conf” has not been modified. If you set rotation to 180 deg. is touch rotated properly / wrongly / not at all?

hi,

180 rotates by 180, touch doesn’t work at all, I’ll do a clean install over weekend :slight_smile:

Just to clarify: Do you mean, not at 180 deg. or not at all?

Yes indeed, not at all

Ok, that’s an important clarification. My understanding from post #30 was that touch works but does not rotate accordingly to the display.

Sorry for aksing the obvious, but do you have the display also connected by USB (connector 4 not 3 on this picture) to the Pi?

If so, does an input device show up?

ls -al /dev/input/event*

yes indeed, USB cable connected to correct port on the screen. I tried with multiple USB cables making sure that they have all the pins (not just the charging ones)

ls -al /dev/input/event* returned:

ls: cannot access ‘/dev/input/event*’: No such file or directory

Then the touch device has not been detected :face_with_monocle:

Maybe post the result of

cat /var/log/Xorg.0.log

or if you are starting from scratch anyway, wait to see if that will “solve” the issue.

I haven’t yet :slight_smile:

cat /var/log/Xorg.0.log
[ 57.082]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[ 57.083] Build Operating System: Linux 5.10.17-v8+ aarch64 Raspbian
[ 57.083] Current Operating System: Linux volumiomain 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l
[ 57.083] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:DB:12:ED 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=0 snd_bcm2835.enable_hdmi=1 loglevel=0
[ 57.084] Build Date: 19 April 2021 03:23:36PM
[ 57.084] xorg-server 2:1.20.4-1+rpt3+deb10u3 (Debian -- Support)
[ 57.084] Current version of pixman: 0.36.0
[ 57.084] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 57.084] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 57.085] (==) Log file: “/var/log/Xorg.0.log”, Time: Wed Dec 22 19:54:02 2021
[ 57.095] (==) Using config directory: “/etc/X11/xorg.conf.d”
[ 57.095] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 57.106] (==) No Layout section. Using the first Screen section.
[ 57.107] (==) No screen section available. Using defaults.
[ 57.107] (
) |–>Screen “Default Screen Section” (0)
[ 57.107] (**) | |–>Monitor “”
[ 57.111] (==) No monitor specified for screen “Default Screen Section”.
Using a default monitor configuration.
[ 57.111] (==) Automatically adding devices
[ 57.111] (==) Automatically enabling devices
[ 57.111] (==) Automatically adding GPU devices
[ 57.117] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 57.120] (WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
[ 57.120] Entry deleted from font path.
[ 57.123] (==) 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
[ 57.123] (==) ModulePath set to “/usr/lib/xorg/modules”
[ 57.123] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 57.123] (II) Loader magic: 0x1fdf80
[ 57.123] (II) Module ABI versions:
[ 57.123] X.Org ANSI C Emulation: 0.4
[ 57.123] X.Org Video Driver: 24.0
[ 57.123] X.Org XInput driver : 24.1
[ 57.123] X.Org Server Extension : 10.0
[ 57.127] (–) using VT number 2

[ 57.127] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 57.128] (II) no primary bus or device found
[ 57.128] (II) LoadModule: “glx”
[ 57.137] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 57.199] (II) Module glx: vendor=“X.Org Foundation”
[ 57.199] compiled for 1.20.4, module version = 1.0.0
[ 57.199] ABI class: X.Org Server Extension, version 10.0
[ 57.199] (==) Matched modesetting as autoconfigured driver 0
[ 57.200] (==) Matched fbdev as autoconfigured driver 1
[ 57.200] (==) Assigned the driver to the xf86ConfigLayout
[ 57.200] (II) LoadModule: “modesetting”
[ 57.201] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 57.206] (II) Module modesetting: vendor=“X.Org Foundation”
[ 57.207] compiled for 1.20.4, module version = 1.20.4
[ 57.207] Module class: X.Org Video Driver
[ 57.207] ABI class: X.Org Video Driver, version 24.0
[ 57.207] (II) LoadModule: “fbdev”
[ 57.207] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 57.211] (II) Module fbdev: vendor=“X.Org Foundation”
[ 57.211] compiled for 1.20.3, module version = 0.5.0
[ 57.211] Module class: X.Org Video Driver
[ 57.211] ABI class: X.Org Video Driver, version 24.0
[ 57.211] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 57.211] (II) FBDEV: driver for framebuffer: fbdev
[ 57.238] (WW) Falling back to old probe method for modesetting
[ 57.238] (EE) open /dev/dri/card0: No such file or directory
[ 57.238] (WW) Falling back to old probe method for fbdev
[ 57.238] (II) Loading sub module “fbdevhw”
[ 57.238] (II) LoadModule: “fbdevhw”
[ 57.239] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 57.240] (II) Module fbdevhw: vendor=“X.Org Foundation”
[ 57.240] compiled for 1.20.4, module version = 0.0.2
[ 57.240] ABI class: X.Org Video Driver, version 24.0
[ 57.241] (II) FBDEV(0): using default device
[ 57.241] (II) FBDEV(0): Creating default Display subsection in Screen section
“Default Screen Section” for depth/fbbpp 24/32
[ 57.241] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[ 57.241] (==) FBDEV(0): RGB weight 888
[ 57.241] (==) FBDEV(0): Default visual is TrueColor
[ 57.241] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 57.241] (II) FBDEV(0): hardware: BCM2708 FB (video memory: 8100kB)
[ 57.241] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[ 57.241] (II) FBDEV(0): checking modes against framebuffer device…
[ 57.241] (II) FBDEV(0): checking modes against monitor…
[ 57.241] (II) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)
[ 57.241] () FBDEV(0): Built-in mode “current”
[ 57.241] (==) FBDEV(0): DPI set to (96, 96)
[ 57.241] (II) Loading sub module “fb”
[ 57.241] (II) LoadModule: “fb”
[ 57.241] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 57.247] (II) Module fb: vendor=“X.Org Foundation”
[ 57.248] compiled for 1.20.4, module version = 1.0.0
[ 57.248] ABI class: X.Org ANSI C Emulation, version 0.4
[ 57.248] (
) FBDEV(0): using shadow framebuffer
[ 57.248] (II) Loading sub module “shadow”
[ 57.248] (II) LoadModule: “shadow”
[ 57.248] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 57.253] (II) Module shadow: vendor=“X.Org Foundation”
[ 57.253] compiled for 1.20.4, module version = 1.1.0
[ 57.253] ABI class: X.Org ANSI C Emulation, version 0.4
[ 57.253] (II) UnloadModule: “modesetting”
[ 57.253] (II) Unloading modesetting
[ 57.276] (==) FBDEV(0): Backing store enabled
[ 57.281] (==) FBDEV(0): DPMS enabled
[ 57.282] (II) Initializing extension Generic Event Extension
[ 57.283] (II) Initializing extension SHAPE
[ 57.284] (II) Initializing extension MIT-SHM
[ 57.284] (II) Initializing extension XInputExtension
[ 57.288] (II) Initializing extension XTEST
[ 57.289] (II) Initializing extension BIG-REQUESTS
[ 57.289] (II) Initializing extension SYNC
[ 57.290] (II) Initializing extension XKEYBOARD
[ 57.291] (II) Initializing extension XC-MISC
[ 57.291] (II) Initializing extension SECURITY
[ 57.292] (II) Initializing extension XFIXES
[ 57.292] (II) Initializing extension RENDER
[ 57.293] (II) Initializing extension RANDR
[ 57.294] (II) Initializing extension COMPOSITE
[ 57.295] (II) Initializing extension DAMAGE
[ 57.296] (II) Initializing extension MIT-SCREEN-SAVER
[ 57.297] (II) Initializing extension DOUBLE-BUFFER
[ 57.297] (II) Initializing extension RECORD
[ 57.298] (II) Initializing extension DPMS
[ 57.298] (II) Initializing extension Present
[ 57.299] (II) Initializing extension DRI3
[ 57.299] (II) Initializing extension X-Resource
[ 57.299] (II) Initializing extension XVideo
[ 57.300] (II) Initializing extension XVideo-MotionCompensation
[ 57.300] (II) Initializing extension SELinux
[ 57.300] (II) SELinux: Disabled on system
[ 57.300] (II) Initializing extension GLX
[ 57.301] (II) AIGLX: Screen 0 is not DRI2 capable
[ 58.293] (II) IGLX: Loaded and initialized swrast
[ 58.293] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 58.293] (II) Initializing extension XFree86-VidModeExtension
[ 58.294] (II) Initializing extension XFree86-DGA
[ 58.295] (II) Initializing extension XFree86-DRI
[ 58.297] (II) Initializing extension DRI2

Module “libinput” does not get loaded, which is why touch does not work. Maybe try uninstalling the Touch Display plugin, enable “Plugins Test Mode” on the “dev” page and install version 3.3.2 of the plugin.