Thank you for your donation!


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


Solved: Waveshare DSI 7.9 Touch display on Moode 9
#12
After messing around with some cheap HDMI displays and not getting it to work, I'm back to a Waveshare 5inch DSI display.
https://www.waveshare.com/wiki/5inch_DSI_LCD

To config.txt I added as per the link above:
dtoverlay=vc4-kms-dsi-7inch

To cmdline.txt I added at the start of the line:
video=HDMI-1:d video=HDMI-2:d video=DSI-1:800x480M@60,rotate=90

After reboot, the boot text flying by is rotated. All good, but Moode GUI is still in normal orientation.

To .xinitrc I add:
xrandr --output HDMI-1 --off
xrandr --output HDMI-2 --off
xrandr --output DSI-1 --rotate left --mode 480x800
fbset --geometry 800 480 800 480 16
SCREENSIZE="800,480"
#SCREENSIZE="$(kmsprint | awk '$1 == "FB" {print $3}' | awk -F"x" '{print $1","$2}')"

However, after reboot it's still in the original orientation. It seems that GUI starts a bit slower though with a white screen in between, which I can't remember seeing before.

Any obvious mistakes I made? Is there a log for when the .xinitrc is parsed?
Reply


Messages In This Thread
RE: Waveshare DSI 7.9 Touch display on Moode 9 - by WilhelmT - 11-05-2024, 09:05 PM

Forum Jump: