Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Local UI display with 3.5 inch TFT
#10
(03-31-2019, 06:39 PM)marcoblom Wrote: I had a similar problem with a cheap 480x320 screen.

dmesg | grep -iC 3 "graphics" gives: graphics fb1: fb_ili9486 frame buffer, 480x320, etc. .

But fbset -s gives: mode "640x480" etc. .
  
and ~/.xinitrc uses fbset -s to set the resolution:
SCREENSIZE="$(fbset -s | awk '$1 == "geometry" { print $2","$3 }')"

I edited ~/.xinitrc to become:
SCREENSIZE="480,320"

and this works :-). It also makes it work in Landscape, not Portrait (that would be "320,480").

Your screensize may be different.

Just bought also a 3,5" Touch from Joy-it and the Screensize setting was the deal ( and not mentioned in the handbook :Smile
Reply


Messages In This Thread
Local UI display with 3.5 inch TFT - by Langohr - 01-25-2019, 09:10 PM

Forum Jump: