What 7" touchscreen with higher resolution is working

Hi Fuss,

Can you explain this a bit more where i need to define the touch resolution.
This is not clear to me (i’m a bit of newby in these mathers)

Hmm… I’m not good at explaining via forum posts. Maybe it is better to find your display here:
https://www.waveshare.com/wiki/Main_Page#RPi-Displays
and then see what the Wiki tells you to do. The fiels are on the page Webconf->Hardware->Display. At the Display: entry you can try to find a compatible display, or select Custom Device. The Config: entry takes what you will normally put into config.txt, the Width: and Height: fields need the resolution of the screen. It could be either the native resolution, or sometimes, if touch is still misaligned, could be the resolution reported to the system by the screen via DSI or DDC EDID. I have an HDMI-Screen (China No-Name) that reports as a 1920x1080 screen, but is native 1280x720, so I still have to put 1920 and 1080 there to have full screen graphics and aligned touch.
I do not have your screen at hand, so I’m more or less guessing and interpreting experience. Sorry that I can not help more.

Hi Fuss,

The Wiki is not getting me any further. I seen most this info and I enter everything ‘I think’ that is needed but even editted the display_config _handler (and display_config_handler.cpython-311)
and enter 1024x600 in everyting that seemed to have something to do with this screen.
But still the touch overl;ay in not the correct size.
This is where it ends for what I understand for the whole thing.

In the display config I’d set
dtoverlay=vc4-kms-dsi-7inch,dsi0
or
dtoverlay=vc4-kms-dsi-7inch,dsi1
depending on where the display is connected.
Then also in the next line:
display_rotate=1
and it should be it. But, as written, that is more an educated guess than a know-how.
There are some bugs / bad functions in the Zynthian code.
For my HDMI display on a v5.1 I have to run from terminal:
sed -i 's/self._invert_x = invert_x_axis/self._invert_x = False/g' /zynthian/zynthian-ui/zyngui/multitouch.py
and then also:
sed -i 's/self._invert_y = invert_y_axis/self._invert_y = False/g' /zynthian/zynthian-ui/zyngui/multitouch.py
then reboot, to prevent touch from being rotated by the Zynthian-Ui, when it reads the multitouch. It is a hardcoded misbehaviour in the main program code as soon as I set the Wiring config to v5 to make the LEDs work. Nothing to do against… just fighting giants…
This action has to be done every time after an update, because the multitouch.py will be restored.
Maybe you can make it work that way?

Hi fussl,

Thanks for the info. But I abandon the use of this display. If it is not working kind of ‘out of the box’ it’s to ‘risky’ that it will stop working in the futher with updates.
I will find another one that is running OK at once,…

Thanks