Raspberry Pi 4B & Touch Display 2 - Touchscreen not working after rotation

Hi everyone,

I’m a new Zynthian user and I’ve just put together my first setup: a Raspberry Pi 4 Model B with the official Raspberry Pi Touch Display 2.

I’m really excited about Zynthian and managed to get the screen rotated to the correct orientation by following some guides on the forum. The display itself looks great and is oriented correctly.

The Problem:
Unfortunately, I’m encountering an issue with the touchscreen functionality. While the display is working, I’m unable to interact with Zynthian using touch.

I can navigate and control Zynthian perfectly using a USB mouse.
MIDI input is also working as expected.

It’s just the touch input that seems to be unresponsive. I’m not sure if I’ve missed a step during the setup or if there’s a specific configuration I need to apply for the touchscreen after rotation.

i when through the steps from this post:

My Setup Details:

Hardware:
    Raspberry Pi 4 Model B
    Raspberry Pi Official Touch Display 2 (7-inch)
Software/OS:
   zyncoder: oram-2504.1 (052d1d4)
   zynthian-ui: oram-2504.1 (507a2c7)
   zynthian-sys: oram-2504.1 (83b74f3)
   zynthian-data: oram-2504.1 (561bcaf)
   zynthian-webconf: oram-2504.1 (3a2ba9f)

Images Attached:
I’ve uploaded some pictures to show my physical setup and current Zynthian settings screens. Hopefully, these can help identify anything I might have overlooked.

Any guidance or suggestions would be greatly appreciated!

Thanks in advance for your help,
Mike

You should specify the display model and first see if it is present in the display list on WebConf. I attach the settings of a Waveshare 4.3 display that I used on the Raspberry P4 before switching to the P5. In the “Kernel option” window I did not have to write anything, while in the P5 I had to specify which port (DSI) the display is connected to…

Hi @Lanfranco and @mike4t5,

I am considering to get an official Raspberry Touch Display 2 for Pi5.

There seems to be quite a bit of discussion going on, in the general Raspi forum, regarding how to set up correctly landscape orientation (horizontal) and related touch functionality with rotated x-y coordinates.

Did you succeed with this in the end?
Do you have any practical advice, possibly comprising a working display overlay configuration, as to how achieving this soundly?

Thanks in advance,

All best regards :rainbow:

There always has been.

It’s possibly more the nature of official screens and their derivatives.
Not a great help, agreed, it’s probably the flakiest part of the untidy flotilla of home builds.
The Pi5 has changed much in the low level of the Pi and it appears to be taking a considerable time to shake that out of the system.
Presumably once working systems are possible these will propagate out to become carefully followed pages of file edits.

Luckily, Zynthian is considerably better at tool construction than much else, and should such a consensus arise, it will be added to the tool that actually does make a pretty fair stab at quantifying these complexities.

Keep trying, till it be comes inconsistant, or better still if it will survive a reboot.

1 Like

Hi @wyleu!

Message received: that much is on the shoulders of the experimenter :wink:, as ever to the greater good of the community, would he succeed.

Still, it surprises me that the Pi foundation decided to release a new 7" touch display with default portrait mode, albeit it is openly stated that its main usage scenario is tablet operation and visual advertising. Strange choice, anyway.

Of course, my software/OS platform would be the Zynth, where tinkering with mad driver overlays is made considerably easier, by the convenient webconf panel.

Thus, let’s see if I fall prey (again) to the urge of assembling yet another Z custom kit!

All the best :slight_smile:

1 Like

… I solved the problem with a script that then destroyed the firmware and I had to reflash the SD. In the end I opted to physically rotate the display… minimal effort, maximum performance… :rofl:

1 Like

Wait, @Lanfranco :smile:,

are you really using Zynthian on Pi5 with a Waveshare 4.3 in portrait mode?

Seriously? Did I understand correctly?..

I have found quite a few possible overlay configurations in the Raspberry forum, for the rotation and touch synchronization of the display 2 with Pi5. Except, each of them looks slightly (or wildly) different.

Sorry, I didn’t realize you wanted to position it vertically… I simply tried to rotate it 180°, but that was impossible. I found a script that @riban later advised against, so I had to reflash the SD card. In the end, as mentioned above, I simply physically rotated the display 180°…

On the contrary @Lanfranco :slight_smile:.

I would definitely need the touch display 2 to work horizontally, in landscape orientation. Otherwise, the Zynthian GUI would turn out to be rather messed up, and probably close to impossible to operate.

What do you exactly mean by:

[quote=“Lanfranco, post:8, topic:11618”]
In the end, as mentioned above, I simply physically rotated the display 180°
[/quote]?

Did you maybe want to use the portrait mode (vertical) but it was hard or unfeasible to do, and therefore you made do with the normal landscape/horizontal orientation?

No, I had mounted the display horizontally, but when I turned it on the image was upside down… so I tried to “straighten” it via software but in the end I had to give up and rotate the display upside down…