Thank you for your donation!


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


[SOLVED] Waveshare 5.5 AMOLED HDMI Display - screen rotate
#1
Hi :
I just installed Moode 9.2.6 on my Raspberry Pi 5 and encountered some issues, 
so I need help on the forum.

I’m using a Waveshare 5.5-inch AMOLED HDMI display.
Its native resolution is 1080x1920 in portrait mode.
   
I can adjust the screen orientation in the "Peripheral Setup" section,
but for HDMI display, it only offers "landscape" and "portrait" modes.

   
Currently, the display is in horizontal mode if I set the screen orientation to "portrait",
but it's upside down.
   

Is there a way to rotate it 180 degrees? ( e.g. command to rotate 90,180,270 degree )

Thank you !
Reply
#2
(03-11-2025, 03:08 PM)dewen Wrote: Use Web SSH with command
DISPLAY=:0 xrandr --output HDMI-1 --rotate right
The screen rotate to correct place.

For Touch rotate, I followed Touch Rotation from Waveshare Wiki
90 degree: Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"

My problem is, how can I add DISPLAY=:0 xrandr --output HDMI-1 --rotate right
to an autostart file when boot, so I don't need to do it again.

Thank you. 
Reply
#3
You can edit the ~/.xinitrc and add the xrandr command there.
Have you tried in the peripheral config to set the display as HDMI and rotated ?
Reply
#4
(Yesterday, 04:29 PM)steve4star Wrote: You can edit the ~/.xinitrc and add the xrandr command there.
Have you tried in the peripheral config to set the display as HDMI and rotated ?

   

As you taught me, there is already an xrandr command in ~/.xinitrc. 
I changed 'left' to 'right,' and it works! Thank you!
Reply


Forum Jump: