linux – Flip the screen in Cubian Desktop (cubieboard A10)

Question:

I have a cubieboard a10 , which also has a monitor connected via vga , but there was a problem, flip the screen. I read a lot of topics about this, but nothing happens.
When entering the command:

xrandr -o inverted

Writes:

X Error of failed request:  BadMatch (invalid parameter attributes)
Major opcode of failed request:  149 (RANDR)
Minor opcode of failed request:  2 (RRSetScreenConfig)
Serial number of failed request:  14
Current serial number in output stream:  14

Tried adding settings to /etc/X11/xorg.conf.d/20-sunxifb.conf
As written here: http://lauri.xn--vsandi-pxa.com/2014/04/debian-jessie-sunxi-packages.html
But nothing has changed.

When trying to create a configuration file with the Xorg :1 -configure command Xorg :1 -configure
He writes this:

root@Cubian:~# Xorg :1 -configure
X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.16.0-0.bpo.4-armmp-lpae armv7l Debian
Current Operating System: Linux Cubian 3.4.79-sun4i #28 PREEMPT Fri Oct 10 03:17:31 CST 2014 armv7l
Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait loglevel=8 panic=10 console=tty2 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:0 consoleblank=0 loglevel=0
Build Date: 09 February 2015 10:20:48AM
xorg-server 2:1.12.4-6+deb7u6 (Julien Cristau <jcristau@debian.org>)
Current version of pixman: 0.26.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Wed Feb 10 18:21:42 2016
List of video drivers:
nouveau
r128
mach64
fbturbo
radeon
ati
fbdev
vesa
No devices to configure. Configuration failed.
Server terminated with error (2). Closing log file.

Here is the Xorg log:
https://yadi.sk/i/_TxJDfCvocnZN
https://yadi.sk/i/tFPNzYssocnaT

Perhaps I do not understand something.
Please tell me what to do and how to turn this monitor all the same.
I updated everything and cubian and all packages.

Answer:

Add (or fix if the section already exists) to xorg.conf or, if automatic config generation is used, to /usr/share/X11/xorg.conf.d/99-sunxifb.conf

Section "Device"
    Identifier      "Allwinner A10/A13 FBDEV"
    Driver          "fbturbo"
    Option          "fbdev" "/dev/fb0"
    Option          "SwapbuffersWait" "true"
    Option          "AccelMethod" "G2D"
    Option          "Rotate" "UD"
    Option         "SWCursor" "On"
EndSection

Restart "x". For 90 and 270 degrees of rotation, replace "UD", "CW" and "CCW" respectively. Excerpt from man: Option "Rotate" "string" Enable rotation of the display. The supported values ​​are "CW" (clockwise, 90 degrees), "UD" (upside down, 180 degrees) and "CCW" (counter clockwise, 270 degrees). Implies use of the shadow framebuffer layer. Default: off.

Scroll to Top