Read the statement by Michael Teeuw here.
pm2 Autostart invert issue
-
-
One thing - are you using a Pi 4? Or the “Fake KMS” drivers? If so, boot.txt won’t work - nor will anything else, really.
If the Mirror is running - directly on the pi, or through VNC, Alt-Space, then N. This will give you your desktop. then use your OSKey or the menu icon, go to preferences, and see if “Screen configuration” exists. If it does, set your rotation there, and remove it everywhere else.
-
@BKeyport I am using a Pi 4 for this matter. I don’t know what a KMS driver is, actually. Screen Configuration does not appear but I use a command that works the same way:
DISPLAY=:0 xrandr --output HDMI-1 --rotate inverted
-
@BKeyport I’ve tried this on a RPi 3B+ as well and same issue.
-
I’ve never adjusted the screen using the Display:0 thing.
If you have a spare SD Card, I’d recommend building up a “clean” OS for testing, to see if something was done that unintentionally broke the rotate feature.
That’s one of the first things I do when I’m having trouble with something I’m trying to do - I build a new OS, install the basics, and test with it, in this case using https://pimylifeup.com/raspberry-pi-rotate-screen/ as a guide.
Just to confirm as you’ve mentioned multiple Pi versions -
You’ve not shared SD cards between them, right?
You haven’t copied the rotate config files from one to the other, right?Whichever unit is gonna be used in your final product, keep everything on that, and in the future, report to us which hardware and OS you’re using for bug control, as things have changed dramatically over the years. :)