Read the statement by Michael Teeuw here.
How do I now Rotate display ?
-
@Knapoc said in How do I now Rotate display ?:
@johnnyboy said in How do I now Rotate display ?:
Still need to figuire out how to rotate the screen though.
What GL driver are you using?
G1 GL (Full KMS) OpenGL desktop driver with full KMS
Now I switched to the full kms one and the solution you just tried works…
Tried everything above again, but… Still will not rotate, and again lost PM2?.. All very strange… Maybe needs a bug fix of sorts? ( display_rotate=1 in sudo nano /boot/config.txt was soooooo perfect )
Will now try the Custom CSS approach and see if that will be any better?
-
@evroom said in How do I now Rotate display ?:
This topic discusses an alternative way to rotate the screen:
It worked for me.
Thanks… will play around with that and see if that helps… Strange why doing what I did above shuts down PM2 though?
-
@evroom said in How do I now Rotate display ?:
This topic discusses an alternative way to rotate the screen:
It worked for me.
Thanks… ^^^ This worked for me too now.
Appreciate all the help on this guys. -
to add to my latest post:
so if you add an autostart file under
~/.config/lxsession/LXDE-pi/
the default file located under/etc/xdg/lxsession/LXDE-pi/autostart
is overridden for the user. Since I had a user-config the changes applied in the default file had no effect. See this post for reference.To summarise the following configuration works in my case.
~/.config/lxsession/LXDE-pi/autostart
:# hide mouse pointer when idle @unclutter -display :0 -idle 3 -root -noevents # rotate display by 90 degrees @xrandr --output HDMI-1 --rotate right
(I opted for this way, since I don’t want to load the desktop ui)
/boot/config.txt
(snippet):# MagicMirror configuration disable_splash=1 avoid_warnings=1 dtoverlay=vc4-kms-v3d gpu_mem=128
Make sure that there’s no
dtoverlay=vc4-fkms-v3d
entry or comment it. -
Just tried this. It seems the fkms + display_rotate no longer works. There are some comments about in the rpi forums too, like this one:
https://www.raspberrypi.org/forums/viewtopic.php?t=246146Using the kms driver plus the edits to the autostart file worked for me. Is there a way to get an official update to the documentation?