MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Knapoc
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    K
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 4
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: 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? I’m currently having rotation issues with the fkms (fake) one, which is usually done by editing /boot/config.txt.

      Now I switched to the full kms one and the solution you just tried works… You can change the driver via /boot/config.txt:

      dtoverlay=vc4-kms-v3d
      

      or by choosing it in sudo raspi-config.

      The wiki-page also states, that the default location for autostart file changed:

      To do so, edit the autostart file: (autostart file has been moved in the latest version of Raspbian Stretch, Version: April 2019, Release Date: 2019-04-08 Kernel: 4.14 to /etc/xdg/lxsession/LXDE-pi/autostart

      Even though I have a fresh stretch install (last week), I cannot confirm that the location changed - I set the rotation config as mentioned in my previous post.

      posted in Troubleshooting
      K
      Knapoc
    • RE: How do I now Rotate display ?

      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.

      posted in Troubleshooting
      K
      Knapoc
    • 1 / 1