Display problem

Hi Jose,
I turn a question directly to you because I see you are involve in a lot of discusions about Display’s Maybe you are willing to help me to info that might solve my problem. Which is the same as more people have but I can’t find if they got it solved.
I have tested several DSI display’s with Zynthian but I can’t get one of them working correctly. To narrow down the question I will only adres the display I have connected now.
This is a waveshare 5" 1024x600 screen. I found the correct overlay setting to get a picture. But the touchresolution is not the same as the screen resolution.
Looks like the touch is 800x480 on a 1024x600 screen.
Is there any info if this can besolved (I had the same with an 7" 1024x600screen)

I’m not a crack in python and programming so please keep it understandable :slight_smile:

I found this repository that should be for the screen I use maybe here is something usefull. (If yes how can I use this)

Thanks !!!

Hi @Rotil66 !

I answer only, so everybody can enjoy the conversation :wink:

To config V5 display, that is mounted physically inverted, we put this:

Section "Monitor"
  Identifier "DSI-1"
  Option "Rotate" "inverted"
EndSection

inside this config file:

/etc/X11/xorg.conf.d/69-display_inverted.conf

so it’s loaded on X11 start.

In the same folder you have also the touch config file, including calibration:

# cat /etc/X11/xorg.conf.d/99-calibration.conf
 
Section "InputClass"
	Identifier "calibration"
	MatchProduct "ADS7846 Touchscreen"
	Option "TransformationMatrix" "-1 0 1 0 -1 1 0 0 1"
EndSection

We configure nothing about “resolution”, but perhaps you could try more config options on these files :wink:

Regards,

1 Like

Hi Jofemodo,

Thanks for the reply, since you say that nothing is configured about the resolution of the touch it is a bit curious that the touch res. is not matching the screen res. With a lot of try and error it might be possible to find the way to correct this mismatch. But my timeframe to return the screen is ending, so I have to return the screen since it will not be certain I get it to run.
I will order the original 5" zinthian screen . This should work out of the box.

Thanks !!