mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-04 22:58:03 +00:00
Updated Configuring the Raspberry Pi (markdown)
parent
1d4696342c
commit
2f0ff96960
@ -14,7 +14,7 @@ dtoverlay=vc4-kms-v3d
|
|||||||
|
|
||||||
ℹ️ _Activating the Open GL drive can also be accomplished by using the `raspi-config` tool by running `sudo raspi-config`. Go to the `Advanced Options` menu and select `A7 GL Driver`. Next, select the `G3 GL (Full KMS) OpenGL desktop driver with full KMS`. Note that this option will be selected in the menu even when the GL drive is not yet configured._
|
ℹ️ _Activating the Open GL drive can also be accomplished by using the `raspi-config` tool by running `sudo raspi-config`. Go to the `Advanced Options` menu and select `A7 GL Driver`. Next, select the `G3 GL (Full KMS) OpenGL desktop driver with full KMS`. Note that this option will be selected in the menu even when the GL drive is not yet configured._
|
||||||
|
|
||||||
Unfortunately, as a result, the `display_rotate=1` ([see below](https://github.com/MichMich/MagicMirror/wiki/Configuring-the-Raspberry-Pi#rotating-the-screen-and-hide-rainbow-colored-cube)) won't have any effect on the display. If you want to rotate the display when the Open GL driver is in use, we need to use the `xrandr` tool which allows us to rotate the display when in desktop mode. 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 ):
|
Unfortunately, as a result, the `display_rotate=1` ([see below](https://github.com/MichMich/MagicMirror/wiki/Configuring-the-Raspberry-Pi#rotating-the-screen-and-hide-rainbow-colored-cube)) won't have any effect on the display. If you want to rotate the display when the Open GL driver is in use, we need to use the `xrandr` tool which allows us to rotate the display when in desktop mode. 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** ):
|
||||||
````
|
````
|
||||||
nano ~/.config/lxsession/LXDE-pi/autostart
|
nano ~/.config/lxsession/LXDE-pi/autostart
|
||||||
````
|
````
|
||||||
@ -23,11 +23,6 @@ And add the following line:
|
|||||||
@xrandr --output HDMI-1 --rotate right
|
@xrandr --output HDMI-1 --rotate right
|
||||||
````
|
````
|
||||||
|
|
||||||
If ~/.config/lxsession folder is not found:
|
|
||||||
````
|
|
||||||
nano /etc/xdg/lxsession/LXDE-pi/autostart
|
|
||||||
````
|
|
||||||
|
|
||||||
ℹ️ _As was mentioned in the [forums](https://forum.magicmirror.builders/topic/4684/electron-cpu-usage/238) you can also use the fake kms driver instead._
|
ℹ️ _As was mentioned in the [forums](https://forum.magicmirror.builders/topic/4684/electron-cpu-usage/238) you can also use the fake kms driver instead._
|
||||||
|
|
||||||
EDIT 03JAN20: fkms + screen rotation using display_rotate no longer seems to work, but kms method still does
|
EDIT 03JAN20: fkms + screen rotation using display_rotate no longer seems to work, but kms method still does
|
||||||
|
Loading…
x
Reference in New Issue
Block a user