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.

    How do I now Rotate display ?

    Scheduled Pinned Locked Moved Solved Troubleshooting
    10 Posts 4 Posters 8.8k Views 4 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.
    • johnnyboyJ Offline
      johnnyboy @Knapoc
      last edited by

      @Knapoc said in How do I now Rotate display ?:

      @johnnyboy said in How do I now Rotate display ?:

      Still need to figuire out how to rotate the screen though.

      What GL driver are you using?

      G1 GL (Full KMS) OpenGL desktop driver with full KMS

      Now I switched to the full kms one and the solution you just tried works…

      Tried everything above again, but… Still will not rotate, and again lost PM2?.. All very strange… Maybe needs a bug fix of sorts? ( display_rotate=1 in sudo nano /boot/config.txt was soooooo perfect )

      Will now try the Custom CSS approach and see if that will be any better?

      1 Reply Last reply Reply Quote 0
      • johnnyboyJ Offline
        johnnyboy @evroom
        last edited by

        @evroom said in How do I now Rotate display ?:

        This topic discusses an alternative way to rotate the screen:

        https://forum.magicmirror.builders/topic/9707/save-performance-when-rotating-screen-e-g-on-raspberry-pi?page=1

        It worked for me.

        Thanks… will play around with that and see if that helps… Strange why doing what I did above shuts down PM2 though?

        1 Reply Last reply Reply Quote 0
        • johnnyboyJ Offline
          johnnyboy @evroom
          last edited by

          @evroom said in How do I now Rotate display ?:

          This topic discusses an alternative way to rotate the screen:

          https://forum.magicmirror.builders/topic/9707/save-performance-when-rotating-screen-e-g-on-raspberry-pi?page=1

          It worked for me.

          Thanks… ^^^ This worked for me too now.
          Appreciate all the help on this guys.

          1 Reply Last reply Reply Quote 0
          • K Offline
            Knapoc @Knapoc
            last edited by

            to add to my latest post:

            so if you add an autostart file under ~/.config/lxsession/LXDE-pi/ the default file located under /etc/xdg/lxsession/LXDE-pi/autostart is overridden for the user. Since I had a user-config the changes applied in the default file had no effect. See this post for reference.

            To summarise the following configuration works in my case.

            ~/.config/lxsession/LXDE-pi/autostart:

            # hide mouse pointer when idle
            @unclutter -display :0 -idle 3 -root -noevents
            # rotate display by 90 degrees
            @xrandr --output HDMI-1 --rotate right
            

            (I opted for this way, since I don’t want to load the desktop ui)

            /boot/config.txt (snippet):

            # MagicMirror configuration
            disable_splash=1
            avoid_warnings=1
            dtoverlay=vc4-kms-v3d
            gpu_mem=128
            

            Make sure that there’s no dtoverlay=vc4-fkms-v3dentry or comment it.

            1 Reply Last reply Reply Quote 1
            • T Offline
              tisnatch
              last edited by

              Just tried this. It seems the fkms + display_rotate no longer works. There are some comments about in the rpi forums too, like this one:
              https://www.raspberrypi.org/forums/viewtopic.php?t=246146

              Using the kms driver plus the edits to the autostart file worked for me. Is there a way to get an official update to the documentation?

              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