• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MM starts upside down

Scheduled Pinned Locked Moved Unsolved Troubleshooting
6 Posts 3 Posters 1.3k Views 3 Watching
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 Offline
    KevinMM
    last edited by KevinMM Mar 4, 2021, 5:09 PM Mar 4, 2021, 4:58 PM

    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 Mar 4, 2021, 8:04 PM Reply Quote 0
    • G Offline
      gnurph69 @KevinMM
      last edited by Mar 4, 2021, 8:04 PM

      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.

      B 1 Reply Last reply Mar 4, 2021, 8:13 PM Reply Quote 0
      • B Offline
        BKeyport Module Developer @gnurph69
        last edited by Mar 4, 2021, 8:13 PM

        @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 Mar 4, 2021, 9:22 PM Reply Quote 0
        • K Offline
          KevinMM @BKeyport
          last edited by Mar 4, 2021, 9:22 PM

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

          B 1 Reply Last reply Mar 5, 2021, 2:48 AM Reply Quote 0
          • B Offline
            BKeyport Module Developer @KevinMM
            last edited by Mar 5, 2021, 2:48 AM

            @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 Mar 5, 2021, 5:46 AM Reply Quote 0
            • K Offline
              KevinMM @BKeyport
              last edited by KevinMM Mar 5, 2021, 5:46 AM Mar 5, 2021, 5:46 AM

              @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
              1 / 1
              • First post
                2/6
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy