UNSOLVED MM starts upside down
Back in September, I coded my MagicMirror and put the project on the backburner as I waited for my custom pane of glass to come in. I just got around to finally picking up the project again, but now I’m having the problem of the Pi OS, and MM, launching upside down after rebooting.
I remember coding the pi to rotate 180 degrees, but it’s been so long that I forgot where I wrote it. I’m guessing it was similar to telling the Pi to always launch MM on start up.
So far the only fix that’s worked is opening the (upside down) terminal after the mirror launches, and use:
DISPLAY=:0 xrandr --output HDMI-1 --rotate right
Then it rotates to the correct orientation. When I put this line in the /boot/config.txt file, it doesn’t fix the problem.
In config.txt file in /boot, add
(well…I think it’s either that, or the number 3, I don’t remember which way it rotates.)
I think that’ll fix you.
1 = 90, 2 = 180, 3 = 270.
If it’s a pi 4, you’ll need to set it via GUI.
@bkeyport Yes, using a pi 4. I was able to set it using the GUI after booting, but it still initially starts rotated 180 degrees.
@kevinmm There’s really nothing you can do about that if you’re using the GL driver that’s involved with the Pi 4… If you switch to the other driver (Legacy I believe) it’ll take the config.txt param.
@bkeyport I enabled the Open GL driver and was able to get everything working as intended!