MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED MM starts upside down

    Troubleshooting
    3
    6
    287
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      KevinMM last edited by KevinMM

      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.

      G 1 Reply Last reply Reply Quote 0
      • G
        gnurph69 @KevinMM last edited by

        In config.txt file in /boot, add

        display_hdmi_rotate=1

        (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.

        BKeyport 1 Reply Last reply Reply Quote 0
        • BKeyport
          BKeyport Module Developer @gnurph69 last edited by

          @gnurph69

          1 = 90, 2 = 180, 3 = 270.

          If it’s a pi 4, you’ll need to set it via GUI.

          The "E" in "Javascript" stands for "Easy"

          K 1 Reply Last reply Reply Quote 0
          • K
            KevinMM @BKeyport last edited by

            @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.

            BKeyport 1 Reply Last reply Reply Quote 0
            • BKeyport
              BKeyport Module Developer @KevinMM last edited by

              @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.

              The "E" in "Javascript" stands for "Easy"

              K 1 Reply Last reply Reply Quote 0
              • K
                KevinMM @BKeyport last edited by KevinMM

                @bkeyport I enabled the Open GL driver and was able to get everything working as intended!

                https://github.com/MichMich/MagicMirror/wiki/Configuring-the-Raspberry-Pi#enable-the-open-gl-driver-to-decrease-electrons-cpu-usage

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy