I just got my new Raspberry Pi 4 and I'm trying to rotate the screen. Usually on previous Raspberry versions I did that simply by putting display_rotate=1 to config.txt, but when doing this on Raspberry 4 the screen is partly black and it's not rotated properly. Any ideas? Thanks in advance.

  • It would interesting to understand why said functionality does not work on the new hardware: hopefully that will be in the responses – gatorback Aug 6 at 18:56
  • Ok, here is the solution: raspberrypi.org/forums/… – Damian Aug 10 at 11:51

On the Raspberry Pi 4, the screen rotation is (finally !) handled via RandR:

DISPLAY=:0 xrandr --output HDMI1 --rotate left 
DISPLAY=:0 xrandr --output HDMI1 --rotate inverted
DISPLAY=:0 xrandr --output HDMI1 --rotate normal

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.