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.

    Cannot rotate display on new MM 2.4.0

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    10 Posts 5 Posters 5.4k Views 6 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.
    • R Offline
      retroflex Project Sponsor Module Developer
      last edited by

      Just updated to 2.4.0 without problems and followed these steps to enable OpenGL:

      https://github.com/michmich/magicmirror/wiki/configuring-the-raspberry-pi#enable-the-open-gl-driver-to-decrease-electrons-cpu-usage

      After that, my display is rotated, i.e. running in landscape mode. So I continued to follow these steps:

      nano ~/.config/lxsession/LXDE-pi/autostart
      @xrandr --output HDMI-1 --rotate right
      

      Display is still rotated though. I tried to manually run xrandr over SSH and got:

      warning: output HDMI-1 not found; ignoring
      

      Maybe I cannot run that over SSH? Any hints how to proceed?

      1 Reply Last reply Reply Quote 0
      • M Offline
        MadScientist
        last edited by

        I updated my Mirror yesterday and used dtoverlay=vc4-fkms-v3d instead of dtoverlay=vc4-kms-v3d and didn’t have to change anything else to keep the screen in portrait mode.

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          retroflex Project Sponsor Module Developer @MadScientist
          last edited by

          @madscientist Thanks! I’ll try when I get home. And the fake OpenGL drivers don’t push the CPU/temp too much?

          1 Reply Last reply Reply Quote 0
          • M Offline
            MadScientist
            last edited by MadScientist

            My RasPi seems to run at ~25% load according to the taskbar, when the Mirror runs in the background.
            Edit: Just checked the temps via command prompt and it’s at 63°C. I think that#s too high and will have a look at it tomorrow.
            More edit: Without MM running the temps are around 56°C. So the 63°C - although it seems high - are good enough values.
            I also tried the dtoverlay=vc4-kms-v3d but the screen rotation didn’t work at all and the screen resolution was very low and I couldn’t adjust it to FHD.

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              retroflex Project Sponsor Module Developer @MadScientist
              last edited by

              @madscientist Switched to dtoverlay=vc4-fkms-v3d and everything seems to work fine. MM runs at a few % CPU so it looks very good, maybe even lower than with OpenGL, but I haven’t gone into details.

              What command do you use to check temperature?

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MadScientist @retroflex
                last edited by

                @retroflex said in Cannot rotate display on new MM 2.4.0:

                What command do you use to check temperature?

                /opt/vc/bin/vcgencmd measure_temp

                1 Reply Last reply Reply Quote 0
                • MichMichM Offline
                  MichMich Admin
                  last edited by

                  FYI, in a healthy state, my Pi runs at 66 degrees. With the misconfigured GL drivers, it reaches 85 degrees. So 63 is perfectly fine.

                  P 1 Reply Last reply Reply Quote 2
                  • M Offline
                    MadScientist
                    last edited by

                    Thanks MichMich. That’s useful info.

                    1 Reply Last reply Reply Quote 1
                    • P Offline
                      PhilReis @MichMich
                      last edited by

                      @michmich why does electron have to be updated?
                      With electron 2.0.0 my Pi runs at 75 degrees. (I have switched to “toverlay=vc4-fkms-v3d”.)
                      Now i have downgraded electron to version 1.4.15.
                      My pi runs now at 49 degrees and the MagicMirror Software is faster.

                      I use Raspberry Pi 3 with cooling fins!

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        RobertM @PhilReis
                        last edited by

                        @philreis i have the same problem - using toverlay=vc4-fkms-v3d i have 75° and a load above 1 the whole time.

                        How does electron downgraded work?

                        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 Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy