MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Knapoc
    3. Posts
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 4
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by 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
    • 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 ?

      so just create the folder… mkdir -p /home/pi/.config/lxsession/LXDE-pi

      posted in Troubleshooting
      K
      Knapoc
    • RE: Electron CPU usage

      Is it just me, that after the most recent rpi firmware update display_rotate/display_hdmi_rotate is not working with the fkms driver?

      I found the following in the official documentation:

      If using the VC4 FKMS V3D driver (this is the default on the Raspberry Pi 4), then 90 and 270 degree rotations are not supported. The Screen Configuration utility provides display rotations for this driver.

      Unfortunately I have no clue how to run the screen configuration utility. There’s always a black screen even if I run pm2 stop mm.

      posted in Troubleshooting
      K
      Knapoc
    • 1 / 1