12-15-2023, 03:37 PM
(This post was last modified: 12-17-2023, 04:36 PM by steve4star.)
(09-15-2023, 12:55 PM)Tim Curtis Wrote: Display panel orientation is controlled by system settings that are external to moOde software. If your screen defaults to portrait orientation then the manufacturer should provide settings for changing it to landscape.
Once it boots up in landscape mode the viewport popup should show 1479x319. I can test this in the CSS and if it looks like the UI will render OK I'll add it for upcoming final end-of-year release.
Hi All,
I have managed to get this screen to work after changing the file .xinitrc as fbset was returning 320x1480
Code:
#Force rotation for Waveshare
xrandr --output DSI-1 --rotate right --mode 320x1480
# Capture screen size
#SCREENSIZE="$(fbset -s | awk '$1 == "geometry" { print $2","$3 }')"
SCREENSIZE="1480,320"
The touchscreen needs adjusting too in /boot/config.txt ..
Code:
dtoverlay=WS_xinchDSI_Screen,SCREEN_type=6,I2C_bus=10
dtoverlay=WS_xinchDSI_Touch,I2C_bus=10,invertedx,invertedy
ETA Screenshots: