3.5 inch GPIO display - Black Screen

Dr. Google is your best friend…
Section “InputClass”
Identifier “SwapXY”
Option “TransformationMatrix” “0 1 0 -1 0 1 0 0 1”
MatchIsTouchscreen “on”
EndSection

Ok, that ("0 1 0 -1 0 1 0 0 1”) would be the transformation matrix for a touch rotation by 90 deg. If that works for you, you can delete the file “99-swapxy.conf” and simply set the rotation value on the config page of the plugin to 90 deg.

New user, wasn’t allowed to send a replay in 20 hours :laughing:

For now I leave it like this :wink:

Thanks for your support!!! Hope others can use it…

Hi @gvolt

I’m trying to get 3.5 inch GPIO display to work with RPi4 with Volumio 3 but no success. Appreciate some pointers and guidance. I do apologise in advance if it’s not appropriate to reply via this thread.

My display is this
b0c6e95c914fae33dafae6661f391fb9f43a5c5f_2_666x500

I have followed a few forum thread
https://community.volumio.org/t/volumio-with-3-5-tft-touch-screen-gpio-rpi-3b/11265/183
https://community.volumio.org/t/resolved-buster-3-beta-3-5-inch-touchscreen-problem-error/47527
and of course this one too

Thank you

Regards
Kian Lee

Please post the results of

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

cat /var/log/Xorg.0.log

cat /boot/config.txt

cat /boot/userconfig.txt

Thank you for your response. :slight_smile:

volumio@volumio:~$ ls -al /usr/share/X11/xorg.conf.d

total 14

drwxr-xr-x 2 root root 1024 Jan 16 08:01 .

drwxr-xr-x 1 root root 1024 Jan 16 07:02

-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

-rw-r–r-- 1 root root 609 Jan 16 07:45 99-fbturbo.conf

volumio@volumio:~$ cat /var/log/Xorg.0.log

cat: /var/log/Xorg.0.log: No such file or directory

volumio@volumio:~$ 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

dtoverlay=tft35a:rotate=270

include userconfig.txt

volumio@volumio:~$ cat /boot/userconfig.txt

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

dtparam=spi=on

dtoverlay=tft35a

You should remove the dtoverlay setting from “/boot/config.txt” so it is present only in “/boot/userconfig.txt”.

But that is not the reason for your problem: I guess during the installation of the Touch Display plugin not all required software packages have been downloaded/installed properly.

Did you wait several minutes after the first boot so the data partition could fully expand? On a system where the data partition had not been expended there is typically not enough space for all the software the Touch Display plugin needs.

If you are sure your system is not lacking disk space, I recommend to uninstall the plugin.

Then enable “Plugins Test Mode” on //volumio.local/dev and re-install beta version 3.3.3 of the plugin.

This version of the plugin aborts (and rolls back) the plugin’s installation process if downloading/installing of one of the required software packages (xorg, chromium etc.) fails. Unlike version 3.3.1, now the plugin would not even appear in the list of installed plugins if a software download should have failed.

So, if you do not find the plugin in the list of installed plugins after the installation process has finished, it is because an error occurred during its installation. Maybe check your internet connection (especially for DNS problems) and try to install the plugin again.

I did a fresh install of volumio3, waited as advised and enabled plugin test mode in volumio.local/dev.
Installed touch display plugin 3.3.3, once completed it showed in installed plugin as touch display 3.3.1.
Should I proceed installing the display driver?

@gvolt
Got the display working with your advise and instructions. Many thanks :slight_smile: