Updated Configuring the Raspberry Pi (markdown)

Michael Teeuw 2018-05-20 13:47:11 +02:00
parent 57edeed76c
commit ddcf59f91c

@ -10,6 +10,8 @@ Add the following line:
dtoverlay=vc4-kms-v3d
````
_Activating the Open GL drive can also be accomplished by using the `rasps-config` tool by running `sudo raspi-config`. Go to the `Advanced Options` menu and select `A7 GL Driver`. Next, select the `G1 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:
````
nano ~/.config/lxsession/LXDE-pi/autostart