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.

    RPi 3B+ with 'Bullseye' can't rotate screen?

    Scheduled Pinned Locked Moved Hardware
    19 Posts 9 Posters 6.6k Views 9 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.
    • kayakbabeK Offline
      kayakbabe @fribse
      last edited by

      @fribse it’s not in the mirror config. you have to change the rasperrypi’s actual configuration

      F 1 Reply Last reply Reply Quote 0
      • F Offline
        fribse @kayakbabe
        last edited by

        @kayakbabe Yes, I’m referring to /boot/config.txt, not Magicmirror/config/config.yaml :-)

        N6NGN 1 Reply Last reply Reply Quote 0
        • N6NGN Offline
          N6NG @fribse
          last edited by

          @fribse It is in the boot/config.txt file itself. Not in the MagicMirror/config/config.js file.
          Just cd /boot and sudo nano config.txt and either find the display_rotate=0 and change it to display_rotate=1
          or add the line display_rotate=1 I added it under the #config_hdmi_boost=4 line but I suspect you could add it just about anywhere…
          Dennis N6NG

          1 Reply Last reply Reply Quote 0
          • D Offline
            doctore @karsten13
            last edited by doctore

            @karsten13 said in RPi 3B+ with 'Bullseye' can't rotate screen?:

            /usr/share/dispsetup.sh

            The created file looks different in my case.

            #!/bin/sh
            if ! raspi-config nonint is_pi || raspi-config nonint is_kms ; then
            if xrandr --output HDMI-1 --primary --mode 1920x1080 --rate 60.000 --pos 0x0 --rotate right --dryrun ; then
            xrandr --output HDMI-1 --primary --mode 1920x1080 --rate 60.000 --pos 0x0 --rotate right
            fi
            fi
            if [ -e /usr/share/tssetup.sh ] ; then
            . /usr/share/tssetup.sh
            fi
            if [ -e /usr/share/ovscsetup.sh ] ; then
            . /usr/share/ovscsetup.sh
            fi
            exit 0
            

            I configure my MM with ansible. All old settings via /boot/config.txt don’t work anymore with my RPi3 B+ and Bullseye.
            Using dispsetup.sh is the only working solution.

            I also had to set this in /boot/config.txt:

            ...
            # Enable DRM VC4 V3D driver
            #dtoverlay=vc4-kms-v3d
            ...
            [all]
            dtoverlay=vc4-fkms-v3d
            
            F 1 Reply Last reply Reply Quote 0
            • F Offline
              fribse @doctore
              last edited by

              @doctore Ok, I’ll try to see if that works, thankyou!

              1 Reply Last reply Reply Quote 0
              • karsten13K karsten13 referenced this topic on
              • 1
              • 2
              • 2 / 2
              • 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