[BPI-M3] how to rotate display screen

OS: BPI-M3 Ubuntu15.10 (Kernel3.4) Version: 1.0 HDMI

1.Add Command in your /etc/rc.local:

echo 1 > /sys/class/graphics/fbcon/rotate_all

2.Edit /etc/X11/xorg.conf with this content:

 Section "Device"
     Identifier "Raspberry Pi FBDEV"
     Driver "fbturbo"
     Option "fbdev" "/dev/fb0"
     Option "SwapbuffersWait" "true"
     Option "rotate" "cw"

Parameter Description

  "rotate" "cw"   // clockwise 90°
  "rotate" "ud"   // clockwise 180°
  "rotate" "ccw"  //clockwise 270°

clockwise 90°

clockwise 180°

1 Like

I did this on my banana pi pro with Bananian Linux with LXDE desktop. I can rotate the screen. However the video is not rotated. Just wonder if you can rotate your video when the screen is rotated.

What about android ?

You mean Android 5.1 as below can rotate screen with hardware acceleration for video playback?

If so, any video playback software supports Android can have hardware acceleration and screen rotation?

I meant manual rotate the screen output by 90 or 180

Good Morning.

I have a Dell S2240T touchscreen, and I installed Android, but I can not turn the screen. I would like to know how to solve this. And also the keyboard does not appear.

I tried the following method on M2-Zero with ubuntu mate 16.04 but I didn’t observe any change in the display. What else I need to change with respect to M2-Zero ?