07-04-2019, 04:03 PM
(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 :