You still haven't even began to describe what are your actual problems with
following http://linux-sunxi.org/Binary_drivers
As a general comment I can only say that Raspbian is a horrible choice of
distro for the A10, also maybe the fact that it's actually for armv6 and not
armv7/armhf as it claims to be, can be the cause of whatever problem you have.
--
With respect,
Roman
Hi Roman, thanks you too for your answer :)
I try to explain better
You still haven't even began to describe what are your actual problems with
following http://linux-sunxi.org/Binary_drivers
Following that guide, i installed the drivers (seems not mali, as described, but sunxi...(may be my error or outdate guide?)
Movies play very slow in full screen mode,
and youtube videos too (for youtube videos i have had to use a workaround to watch theme, because gnash and flash plugin don't work)
You still haven't even began to describe what are your actual problems with
following http://linux-sunxi.org/Binary_drivers
Following that guide, i installed the drivers (seems not mali, as described, but sunxi...(may be my error or outdate guide?)
[ 40.876]
X.Org X Server 1.12.4
Release Date: 2012-08-27
[ 40.876] X Protocol Version 11, Revision 0
[ 40.876] Build Operating System: Linux 3.2.0-2-mx5 armv7l Debian
[ 40.876] Current Operating System: Linux cubieboard 3.4.24-a10-aufs+ #33 PREEMPT Sun Feb 24 21:17:26 CET 2013 armv7l
[ 40.877] Kernel command line: console=ttyS0,115200 console=tty0 disp.screen0_output_mode=EDID:1280x760p60:1920x1080p60:0 hdmi.audio=EDID:0 bootmenutimeout=10 datadev=sda1 mac_addr=1a:49:16:66:7b:6b
[ 40.877] Build Date: 01 March 2013 05:21:52PM
[ 40.877] xorg-server 2:1.12.4-5 (Julien Cristau <jcri...@debian.org>)
[ 40.877] Current version of pixman: 0.26.0
[ 40.877] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 40.877] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 40.878] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr 14 01:40:06 2013
[ 40.908] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 40.922] (==) No Layout section. Using the first Screen section.
[ 40.922] (**) |-->Screen "Mali Screen" (0)
[ 40.922] (**) | |-->Monitor "<default monitor>"
[ 40.948] (==) No device specified for screen "Mali Screen".
Using the first device section listed.
[ 40.949] (**) | |-->Device "Allwinner A10/A13 FBDEV"
[ 40.949] (==) No monitor specified for screen "Mali Screen".
Using a default monitor configuration.
[ 40.949] (**) Option "AIGLX" "true"
[ 40.949] (==) Automatically adding devices
[ 40.949] (==) Automatically enabling devices
[ 41.034] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 41.034] Entry deleted from font path.
[ 41.039] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[ 41.039] Entry deleted from font path.
[ 41.039] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 41.039] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 41.039] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 41.039] (II) Loader magic: 0xb6f16cf0
[ 41.040] (II) Module ABI versions:
[ 41.040] X.Org ANSI C Emulation: 0.4
[ 41.040] X.Org Video Driver: 12.1
[ 41.040] X.Org XInput driver : 16.0
[ 41.040] X.Org Server Extension : 6.0
[ 41.040] (II) "extmod" will be loaded by default.
[ 41.040] (II) "dbe" will be loaded by default.
[ 41.040] (II) "glx" will be loaded by default.
[ 41.040] (II) "record" will be loaded by default.
[ 41.040] (II) "dri" will be loaded by default.
[ 41.040] (II) "dri2" will be loaded by default.
[ 41.041] (II) LoadModule: "extmod"
[ 41.056] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 41.073] (II) Module extmod: vendor="X.Org Foundation"
[ 41.073] compiled for 1.12.4, module version = 1.0.0
[ 41.073] Module class: X.Org Server Extension
[ 41.073] ABI class: X.Org Server Extension, version 6.0
[ 41.074] (II) Loading extension SELinux
[ 41.074] (II) Loading extension MIT-SCREEN-SAVER
[ 41.074] (II) Loading extension XFree86-VidModeExtension
[ 41.074] (II) Loading extension XFree86-DGA
[ 41.074] (II) Loading extension DPMS
[ 41.074] (II) Loading extension XVideo
[ 41.074] (II) Loading extension XVideo-MotionCompensation
[ 41.074] (II) Loading extension X-Resource
[ 41.074] (II) LoadModule: "dbe"
[ 41.075] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 41.089] (II) Module dbe: vendor="X.Org Foundation"
[ 41.089] compiled for 1.12.4, module version = 1.0.0
[ 41.089] Module class: X.Org Server Extension
[ 41.090] ABI class: X.Org Server Extension, version 6.0
[ 41.090] (II) Loading extension DOUBLE-BUFFER
[ 41.096] (II) LoadModule: "glx"
[ 41.097] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 41.121] (II) Module glx: vendor="X.Org Foundation"
[ 41.121] compiled for 1.12.4, module version = 1.0.0
[ 41.121] ABI class: X.Org Server Extension, version 6.0
[ 41.121] (**) AIGLX enabled
[ 41.122] (II) Loading extension GLX
[ 41.122] (II) LoadModule: "record"
[ 41.123] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 41.124] (II) Module record: vendor="X.Org Foundation"
[ 41.125] compiled for 1.12.4, module version = 1.13.0
[ 41.125] Module class: X.Org Server Extension
[ 41.125] ABI class: X.Org Server Extension, version 6.0
[ 41.125] (II) Loading extension RECORD
[ 41.125] (II) LoadModule: "dri"
[ 41.126] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 41.175] (II) Module dri: vendor="X.Org Foundation"
[ 41.175] compiled for 1.12.4, module version = 1.0.0
[ 41.175] ABI class: X.Org Server Extension, version 6.0
[ 41.175] (II) Loading extension XFree86-DRI
[ 41.175] (II) LoadModule: "dri2"
[ 41.177] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 41.210] (II) Module dri2: vendor="X.Org Foundation"
[ 41.210] compiled for 1.12.4, module version = 1.2.0
[ 41.210] ABI class: X.Org Server Extension, version 6.0
[ 41.210] (II) Loading extension DRI2
[ 41.210] (II) LoadModule: "sunxifb"
[ 41.229] (II) Loading /usr/lib/xorg/modules/drivers/sunxifb_drv.so
[ 41.281] (II) Module sunxifb: vendor="X.Org Foundation"
[ 41.281] compiled for 1.12.4, module version = 0.3.1
[ 41.281] Module class: X.Org Video Driver
[ 41.281] ABI class: X.Org Video Driver, version 12.1
[ 41.281] (II) SUNXIFB: driver for framebuffer: sunxifb
[ 41.281] (++) using VT number 7
[ 41.282] (WW) Falling back to old probe method for sunxifb
[ 41.282] (II) Loading sub module "fbdevhw"
[ 41.282] (II) LoadModule: "fbdevhw"
[ 41.283] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 41.296] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 41.296] compiled for 1.12.4, module version = 0.0.2
[ 41.296] ABI class: X.Org Video Driver, version 12.1
[ 41.297] (II) SUNXIFB(0): using /dev/fb0
[ 41.297] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 41.297] (**) SUNXIFB(0): Depth 16, (--) framebuffer bpp 16
[ 41.297] (==) SUNXIFB(0): RGB weight 565
[ 41.297] (==) SUNXIFB(0): Default visual is TrueColor
[ 41.297] (==) SUNXIFB(0): Using gamma correction (1.0, 1.0, 1.0)
[ 41.297] (II) SUNXIFB(0): hardware: (video memory: 7200kB)
[ 41.297] (**) SUNXIFB(0): Option "ShadowFB"
[ 41.298] (**) SUNXIFB(0): Option "fbdev" "/dev/fb0"
[ 41.298] (**) SUNXIFB(0): Option "DRI2" "false"
[ 41.298] (II) SUNXIFB(0): processor: Late ARM Cortex-A8 (NEON can bypass L1 cache)
[ 41.298] (II) SUNXIFB(0): checking modes against framebuffer device...
[ 41.298] (II) SUNXIFB(0): checking modes against monitor...
[ 41.317] (--) SUNXIFB(0): Virtual size is 1280x720 (pitch 1280)
[ 41.317] (**) SUNXIFB(0): Built-in mode "current": 74.2 MHz, 37.5 kHz, 50.0 Hz
[ 41.317] (II) SUNXIFB(0): Modeline "current"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync -csync (37.5 kHz b)
[ 41.317] (==) SUNXIFB(0): DPI set to (96, 96)
[ 41.317] (II) Loading sub module "fb"
[ 41.317] (II) LoadModule: "fb"
[ 41.318] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 41.324] (II) Module fb: vendor="X.Org Foundation"
[ 41.324] compiled for 1.12.4, module version = 1.0.0
[ 41.324] ABI class: X.Org ANSI C Emulation, version 0.4
[ 41.325] (**) SUNXIFB(0): using shadow framebuffer
[ 41.325] (II) Loading sub module "shadow"
[ 41.325] (II) LoadModule: "shadow"
[ 41.325] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 41.328] (II) Module shadow: vendor="X.Org Foundation"
[ 41.328] compiled for 1.12.4, module version = 1.1.0
[ 41.328] ABI class: X.Org ANSI C Emulation, version 0.4
[ 41.375] (II) SUNXIFB(0): no 2D acceleration selected via AccelMethod option
[ 41.375] (II) SUNXIFB(0): enabled NEON optimizations
[ 41.375] (==) SUNXIFB(0): Backing store disabled
[ 41.376] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.376] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.376] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.376] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.376] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.376] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.376] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.376] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.376] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.376] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.377] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.378] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.379] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.379] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.379] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.379] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.379] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.379] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 41.379] (==) SUNXIFB(0): DPMS enabled
[ 41.379] (II) SUNXIFB(0): using hardware cursor
[ 41.379] (II) SUNXIFB(0): no 3D acceleration because the driver has been compiled without libUMP
[ 41.379] (II) SUNXIFB(0): if this is wrong and needs to be fixed, please check ./configure log
[ 41.379] (==) RandR enabled
[ 41.379] (II) Initializing built-in extension Generic Event Extension
[ 41.379] (II) Initializing built-in extension SHAPE
[ 41.379] (II) Initializing built-in extension MIT-SHM
[ 41.380] (II) Initializing built-in extension XInputExtension
[ 41.380] (II) Initializing built-in extension XTEST
[ 41.380] (II) Initializing built-in extension BIG-REQUESTS
[ 41.380] (II) Initializing built-in extension SYNC
[ 41.380] (II) Initializing built-in extension XKEYBOARD
[ 41.381] (II) Initializing built-in extension XC-MISC
[ 41.381] (II) Initializing built-in extension SECURITY
[ 41.381] (II) Initializing built-in extension XINERAMA
[ 41.381] (II) Initializing built-in extension XFIXES
[ 41.381] (II) Initializing built-in extension RENDER
[ 41.381] (II) Initializing built-in extension RANDR
[ 41.381] (II) Initializing built-in extension COMPOSITE
[ 41.381] (II) Initializing built-in extension DAMAGE
[ 41.381] (II) SELinux: Disabled on system
[ 41.485] (II) AIGLX: Screen 0 is not DRI2 capable
[ 41.485] (II) AIGLX: Screen 0 is not DRI capable
[ 41.573] (II) AIGLX: Loaded and initialized swrast
[ 41.573] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 44.413] (II) config/udev: Adding input device axp20-supplyer (/dev/input/event0)
[ 44.414] (**) axp20-supplyer: Applying InputClass "evdev keyboard catchall"
[ 44.414] (II) LoadModule: "evdev"
[ 44.417] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 44.434] (II) Module evdev: vendor="X.Org Foundation"
[ 44.434] compiled for 1.12.1, module version = 2.7.0
[ 44.434] Module class: X.Org XInput Driver
[ 44.434] ABI class: X.Org XInput driver, version 16.0
[ 44.434] (II) Using input driver 'evdev' for 'axp20-supplyer'
[ 44.434] (**) axp20-supplyer: always reports core events
[ 44.435] (**) evdev: axp20-supplyer: Device: "/dev/input/event0"
[ 44.435] (--) evdev: axp20-supplyer: Vendor 0x1 Product 0x1
[ 44.435] (--) evdev: axp20-supplyer: Found keys
[ 44.435] (II) evdev: axp20-supplyer: Configuring as keyboard
[ 44.435] (**) Option "config_info" "udev:/sys/devices/platform/sun4i-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input0/event0"
[ 44.435] (II) XINPUT: Adding extended input device "axp20-supplyer" (type: KEYBOARD, id 6)
[ 44.435] (**) Option "xkb_rules" "evdev"
[ 44.435] (**) Option "xkb_model" "pc105"
[ 44.435] (**) Option "xkb_layout" "it"
[ 44.436] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[ 207.626] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
[ 207.626] (EE) SUNXIFB(0): FBIOPUTCMAP: Invalid argument
Looks ok to me.
Movies play very slow in full screen mode,
How do you play the movies?
Can you provide a bit more details about youtube videos
playback? Which browser? Is it using html5/webm/vp8?
This is not related to mali drivers, but probably something
still can be done to improve the performance.
Are you sure that you have properly installed
https://github.com/linux-sunxi/sunxi-mali
as explained at
http://linux-sunxi.org/Binary_drivers ?
may this be a raspbian issue too, because when i givemodprobe mali, o modprobe ump, i receive an error message.
Sure, mplayer is a good video player with very low overhead. But
mplayer is using CPU for decoding video. I have not tried it yet
myself, but this patched variant of VLC is supposed to support CedarX:
http://linux-sunxi.org/VLC
You can also try to enable html5/webm for youtube by visiting this link:
http://www.youtube.com/html5
It should allow your browser (firefox or maybe chromium) to natively
decode videos without any proprietary libraries or plugins. But the
performance is going to be dependent on whether the codecs, colorspace
conversion and scaling are properly utilizing NEON in your browser. Some
browsers may also use OpenGL (and OpenGL ES) for html5 video rendering:
git clone https:
//github
.com
/ssvb/xf86-video-sunxifb
.git
older stable driver is available at git://github.com/linux-sunxi/xf86-video-mali.git
(II) Module mali: vendor="X.Org Foundation" compiled for 1.11.3, module version = 0.4.2 ABI class: X.Org Video Driver, version 11.0 (II) MALI: driver for Mali Framebuffer: mali (++) using VT number 7 (WW) Falling back to old probe method for mali (II) Loading /usr/lib/xorg/modules/drivers/mali_drv.so (II) MALI(0): using /dev/fb0
?
if i give
modprobe sunxifb
FATAL: Module sunxifb not found.
and if i give
modprobe mali
ERROR: could not insert 'mali': Exec format error
Can someone clarify me this point?
Many Thanks
Tk
Looks like you are using libEGL from Mesa instead of the Mali blob,
which is wrong. Try to run "ldd" for the test program to get the list
of the shared libraries it tries to use.
Also check http://linux-sunxi.org/Binary_drivers#Common_pitfalls
> And a little question too (i need to understand):
> is tha guide outdated?
> http://linux-sunxi.org/Binary_drivers#Mali_kernel_driver
No, it should be perfectly up to date. Carefully following the
instructions without trying to execute them out of order,
This looks wrong. Where did you get your kernel and the modules for it?
Can you load any other kernel module? What does "lsmod" say?
No offense intended, but looks like you are showing a typical
"mongoose" behaviour described in the section "So then I tried . . ."
from http://www.chiark.greenend.org.uk/~sgtatham/bugs.html :)
Just install the drivers according to the instructions from
http://linux-sunxi.org/Binary_drivers
--
Best regards,
Siarhei Siamashka
X.Org X Server 1.12.4
Release Date: 2012-08-27
[ 9838.479] X Protocol Version 11, Revision 0
[ 9838.479] Build Operating System: Linux 3.2.0-4-mx5 armv7l Debian
[ 9838.479] Current Operating System: Linux mele 3.0.42 #3 PREEMPT Fri Feb 8 04:07:03 CET 2013 armv7l
[ 9838.479] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 loglevel=7 panic=10 rootwait
[ 9838.490] Build Date: 23 February 2013 03:44:46PM
[ 9838.490] xorg-server 2:1.12.4-5 (Julien Cristau <jcri...@debian.org>)
[ 9838.490] Current version of pixman: 0.26.0
[ 9838.490] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 9838.490] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 9838.491] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 20 16:55:54 2013
[ 9838.491] (==) Using config file: "/etc/X11/xorg.conf"
[ 9838.491] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 9838.492] (==) ServerLayout "Layout0"
[ 9838.492] (**) |-->Screen "Mali Screen" (0)
[ 9838.492] (**) | |-->Monitor "<default monitor>"
[ 9838.493] (**) | |-->Device "Mali FBDEV"
[ 9838.493] (==) No monitor specified for screen "Mali Screen".
Using a default monitor configuration.
[ 9838.493] (**) Option "BlankTime" "0"
[ 9838.494] (**) Option "StandbyTime" "0"
[ 9838.494] (**) Option "SuspendTime" "0"
[ 9838.494] (**) Option "OffTime" "0"
[ 9838.494] (**) Option "Xinerama" "false"
[ 9838.494] (**) Option "AIGLX" "false"
[ 9838.494] (**) Option "DRI2" "true"
[ 9838.494] (==) Automatically adding devices
[ 9838.494] (==) Automatically enabling devices
[ 9838.494] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 9838.494] Entry deleted from font path.
[ 9838.494] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[ 9838.494] Entry deleted from font path.
[ 9838.494] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 9838.494] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 9838.495] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 9838.495] (II) Loader magic: 0x40192cf0
[ 9838.495] (II) Module ABI versions:
[ 9838.495] X.Org ANSI C Emulation: 0.4
[ 9838.495] X.Org Video Driver: 12.1
[ 9838.495] X.Org XInput driver : 16.0
[ 9838.495] X.Org Server Extension : 6.0
[ 9838.495] (II) LoadModule: "extmod"
[ 9838.496] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 9838.498] (II) Module extmod: vendor="X.Org Foundation"
[ 9838.498] compiled for 1.12.4, module version = 1.0.0
[ 9838.498] Module class: X.Org Server Extension
[ 9838.498] ABI class: X.Org Server Extension, version 6.0
[ 9838.498] (II) Loading extension SELinux
[ 9838.498] (II) Loading extension MIT-SCREEN-SAVER
[ 9838.498] (II) Loading extension XFree86-VidModeExtension
[ 9838.498] (II) Loading extension XFree86-DGA
[ 9838.498] (II) Loading extension DPMS
[ 9838.498] (II) Loading extension XVideo
[ 9838.498] (II) Loading extension XVideo-MotionCompensation
[ 9838.498] (II) Loading extension X-Resource
[ 9838.498] (II) LoadModule: "dbe"
[ 9838.499] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 9838.504] (II) Module dbe: vendor="X.Org Foundation"
[ 9838.504] compiled for 1.12.4, module version = 1.0.0
[ 9838.504] Module class: X.Org Server Extension
[ 9838.504] ABI class: X.Org Server Extension, version 6.0
[ 9838.504] (II) Loading extension DOUBLE-BUFFER
[ 9838.504] (II) LoadModule: "glx"
[ 9838.505] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 9838.505] (II) Module glx: vendor="X.Org Foundation"
[ 9838.505] compiled for 1.12.4, module version = 1.0.0
[ 9838.506] ABI class: X.Org Server Extension, version 6.0
[ 9838.506] (**) AIGLX disabled
[ 9838.506] (II) Loading extension GLX
[ 9838.506] (II) LoadModule: "record"
[ 9838.506] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 9838.507] (II) Module record: vendor="X.Org Foundation"
[ 9838.507] compiled for 1.12.4, module version = 1.13.0
[ 9838.507] Module class: X.Org Server Extension
[ 9838.507] ABI class: X.Org Server Extension, version 6.0
[ 9838.507] (II) Loading extension RECORD
[ 9838.507] (II) LoadModule: "dri"
[ 9838.508] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 9838.509] (II) Module dri: vendor="X.Org Foundation"
[ 9838.509] compiled for 1.12.4, module version = 1.0.0
[ 9838.509] ABI class: X.Org Server Extension, version 6.0
[ 9838.509] (II) Loading extension XFree86-DRI
[ 9838.509] (II) LoadModule: "dri2"
[ 9838.520] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 9838.520] (II) Module dri2: vendor="X.Org Foundation"
[ 9838.521] compiled for 1.12.4, module version = 1.2.0
[ 9838.521] ABI class: X.Org Server Extension, version 6.0
[ 9838.521] (II) Loading extension DRI2
[ 9838.521] (II) LoadModule: "mali"
[ 9838.521] (II) Loading /usr/lib/xorg/modules/drivers/mali_drv.so
[ 9838.522] (II) Module mali: vendor="X.Org Foundation"
[ 9838.522] compiled for 1.12.4, module version = 0.4.2
[ 9838.522] ABI class: X.Org Video Driver, version 12.1
[ 9838.522] (II) MALI: driver for Mali Framebuffer: mali
[ 9838.522] (++) using VT number 7
[ 9838.523] (WW) Falling back to old probe method for mali
[ 9838.523] (II) MALI(0): using /dev/fb0
[ 9838.523] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 9838.523] (II) MALI(0): Creating default Display subsection in Screen section
"Mali Screen" for depth/fbbpp 24/32
[ 9838.523] (**) MALI(0): Depth 24, (--) framebuffer bpp 32
[ 9838.523] (==) MALI(0): RGB weight 888
[ 9838.523] (==) MALI(0): Default visual is TrueColor
[ 9838.523] (==) MALI(0): Using gamma correction (1.0, 1.0, 1.0)
[ 9838.523] (II) MALI(0): hardware: (video memory: 7200kB)
[ 9838.523] (**) MALI(0): Option "DRI2" "true"
[ 9838.523] (**) MALI(0): Option "DRI2_PAGE_FLIP" "true"
[ 9838.524] (**) MALI(0): Option "DRI2_WAIT_VSYNC" "false"
[ 9838.524] (**) MALI(0): DRI Fullscreen page flip enabled
[ 9838.524] (**) MALI(0): DRI Fullscreen page flip VSYNC disabled
[ 9838.524] drmOpenDevice: node name is /dev/dri/card0
[ 9838.524] drmOpenDevice: open result is 7, (OK)
[ 9838.524] drmOpenDevice: node name is /dev/dri/card0
[ 9838.524] drmOpenDevice: open result is 7, (OK)
[ 9838.524] drmOpenDevice: node name is /dev/dri/card0
[ 9838.524] drmOpenDevice: open result is 7, (OK)
[ 9838.524] drmGetBusid returned ''
[ 9838.524] (EE) MALI(0): mali_drm_open_master DRM OPEN (fd: 0x7)
[ 9838.525] (**) MALI(0): DRI Fullscreen page flip enabled
[ 9838.525] (**) MALI(0): DRI Fullscreen page flip VSYNC disabled
[ 9838.525] (II) MALI(0): Output LCD has no monitor section
[ 9838.525] (II) MALI(0): Mode 1280 x 720 valid
[ 9838.525] (II) MALI(0): Printing probed modes for output LCD
[ 9838.525] (II) MALI(0): Modeline "1280x720"x60.0 65.28 1280 1300 1320 1360 720 740 760 800 (48.0 kHz e)
[ 9838.525] (II) MALI(0): Output LCD connected
[ 9838.525] (II) MALI(0): Using sloppy heuristic for initial modes
[ 9838.525] (II) MALI(0): Output LCD using initial mode 1280x720
[ 9838.525] (II) MALI(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 9838.525] (--) MALI(0): Virtual size is 1280x720 (pitch 1280)
[ 9838.525] (**) MALI(0): Driver mode "1280x720": 65.3 MHz (scaled from 0.0 MHz), 48.0 kHz, 60.0 Hz
[ 9838.525] (II) MALI(0): Modeline "1280x720"x60.0 65.28 1280 1300 1320 1360 720 740 760 800 (48.0 kHz e)
[ 9838.525] (==) MALI(0): DPI set to (96, 96)
[ 9838.525] (II) Loading sub module "fb"
[ 9838.525] (II) LoadModule: "fb"
[ 9838.526] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 9838.526] (II) Module fb: vendor="X.Org Foundation"
[ 9838.527] compiled for 1.12.4, module version = 1.0.0
[ 9838.527] ABI class: X.Org ANSI C Emulation, version 0.4
[ 9838.527] (==) Depth 24 pixmap format is 32 bpp
[ 9838.527] (II) MALI(0): DRI2 version: 1.2
[ 9838.527] (II) MALI(0): [DRI2] Setup complete
[ 9838.527] (II) MALI(0): [DRI2] DRI driver: Mali DRI2
[ 9838.528] (II) Loading sub module "exa"
[ 9838.528] (II) LoadModule: "exa"
[ 9838.528] (II) Loading /usr/lib/xorg/modules/libexa.so
[ 9838.529] (II) Module exa: vendor="X.Org Foundation"
[ 9838.529] compiled for 1.12.4, module version = 2.5.0
[ 9838.529] ABI class: X.Org Video Driver, version 12.1
[ 9838.529] (II) MALI(0): XRES: 1280 YRES: 720 PHYS: 0x5a001000 VIRT: 0x4069c000
[ 9838.529] (II) MALI(0): XRES: 1280 YRES: 720 PHYS: 0x5a001000 VIRT: 0x4069c000
[ 9838.529] (II) MALI(0): Mali EXA driver is loaded successfully
[ 9838.529] (WW) MALI(0): Initializing EXA Driver!
[ 9838.530] (II) EXA(0): Driver allocated offscreen pixmaps
[ 9838.530] (II) EXA(0): Driver registered support for the following operations:
[ 9838.530] (II) Solid
[ 9838.530] (II) Copy
[ 9838.530] (II) Composite (RENDER acceleration)
[ 9838.530] (==) MALI(0): Backing store disabled
[ 9838.530] (==) MALI(0): Silken mouse enabled
[ 9838.530] (II) MALI(0): Changing mode to 1280 720 1280 1440
[ 9838.530] (II) MALI(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 9838.531] (==) MALI(0): DPMS enabled
[ 9838.531] (--) RandR disabled
[ 9838.531] (II) Initializing built-in extension Generic Event Extension
[ 9838.531] (II) Initializing built-in extension SHAPE
[ 9838.531] (II) Initializing built-in extension MIT-SHM
[ 9838.531] (II) Initializing built-in extension XInputExtension
[ 9838.531] (II) Initializing built-in extension XTEST
[ 9838.531] (II) Initializing built-in extension BIG-REQUESTS
[ 9838.531] (II) Initializing built-in extension SYNC
[ 9838.531] (II) Initializing built-in extension XKEYBOARD
[ 9838.531] (II) Initializing built-in extension XC-MISC
[ 9838.531] (II) Initializing built-in extension SECURITY
[ 9838.531] (II) Initializing built-in extension XINERAMA
[ 9838.531] (II) Initializing built-in extension XFIXES
[ 9838.532] (II) Initializing built-in extension RENDER
[ 9838.532] (II) Initializing built-in extension RANDR
[ 9838.532] (II) Initializing built-in extension COMPOSITE
[ 9838.532] (II) Initializing built-in extension DAMAGE
[ 9838.532] (II) SELinux: Disabled on system
[ 9838.590] (II) AIGLX: Loaded and initialized swrast
[ 9838.590] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 9838.592] GET_UMP_SECURE_ID_BUF1 returned 0x1 offset: 0 virt address: 0x4069c000 fb_virt: 0x4069c000
[ 9838.592] GET_UMP_SECURE_ID_BUF2 returned 0x2 offset: 3686400 virt address: (nil) fb_virt: 0x4069c000
[ 9838.592] (II) MALI(0): Creating FRAMEBUFFER pixmap 0x41e7d690 at offset 3686400, privPixmap=0x41e7d718
[ 9838.593] (II) MALI(0): Creating FRAMEBUFFER pixmap 0x41e7d568 at offset 0, privPixmap=0x41e7d4a8
[ 9838.593] (II) MALI(0): Setting screen physical size to 338 x 190
[ 9838.593] (II) MALI(0): fbdev_crtc_config_resize: width = 1280 height = 720
[ 9838.593] (II) MALI(0): Changing mode to 1280 720 1280 1440
[ 9838.824] (II) config/udev: Adding input device axp20-supplyer (/dev/input/event0)
[ 9838.824] (**) axp20-supplyer: Applying InputClass "evdev keyboard catchall"
[ 9838.824] (II) LoadModule: "evdev"
[ 9838.825] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 9838.825] (II) Module evdev: vendor="X.Org Foundation"
[ 9838.825] compiled for 1.12.1, module version = 2.7.0
[ 9838.825] Module class: X.Org XInput Driver
[ 9838.825] ABI class: X.Org XInput driver, version 16.0
[ 9838.825] (II) Using input driver 'evdev' for 'axp20-supplyer'
[ 9838.826] (**) axp20-supplyer: always reports core events
[ 9838.826] (**) evdev: axp20-supplyer: Device: "/dev/input/event0"
[ 9838.826] (--) evdev: axp20-supplyer: Vendor 0x1 Product 0x1
[ 9838.826] (--) evdev: axp20-supplyer: Found keys
[ 9838.826] (II) evdev: axp20-supplyer: Configuring as keyboard
[ 9838.826] (**) Option "config_info" "udev:/sys/devices/platform/sun4i-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input0/event0"
[ 9838.826] (II) XINPUT: Adding extended input device "axp20-supplyer" (type: KEYBOARD, id 6)
[ 9838.826] (**) Option "xkb_rules" "evdev"
[ 9838.826] (**) Option "xkb_model" "pc105"
[ 9838.826] (**) Option "xkb_layout" "us"
[ 9877.591] (II) MALI(0): Adding mode: 1280 x 720
[ 9877.591] (II) MALI(0): Mode 1280 x 720 valid
[ 9927.123] (II) MALI(0): Adding mode: 1280 x 720
[ 9927.123] (II) MALI(0): Mode 1280 x 720 valid
[ 10049.055] (II) MALI(0): Adding mode: 1280 x 720
[ 10049.055] (II) MALI(0): Mode 1280 x 720 valid
[ 10050.267] (II) MALI(0): Adding mode: 1280 x 720
[ 10050.268] (II) MALI(0): Mode 1280 x 720 valid
# X.Org X server configuration file for xfree86-video-mali
Section "ServerLayout"
Identifier "Layout0"
Screen "Mali Screen"
# Screen 0 "Screen0"
# InputDevice "Keyboard0" "CoreKeyboard"
# InputDevice "Mouse0" "CorePointer"
# Option "IgnoreABI" "Yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "HSP M19W2"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 160.0
Option "DPMS"
# # HorizSync source: builtin, VertRefresh source: builtin
EndSection
Section "Device"
Identifier "Mali FBDEV"
Driver "mali"
Option "fbdev" "/dev/fb0"
Option "DRI2" "true"
Option "DRI2" "true"
Option "DRI2_PAGE_FLIP" "true"
Option "DRI2_WAIT_VSYNC" "false"
EndSection
Section "Screen"
Identifier "Mali Screen"
Monitor "Monitor0"
# Identifier "Screen0"
Device "Mali FBDEV"
#Device "Mali FBDEV"
DefaultDepth 24
# DefaultFbBpp 32
SubSection "Display"
Modes "1920x1080" "1600x1200" "1280x1024""1280x960" "1280x720" "1024x768" "720x480" "800x600" "640x480"
# Virtual 1280 720
Modes "1024x768"
# Depth 32
EndSubSection
EndSection
Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
Option "AIGLX" "false"
Option "DRI2" "true"
Option "Xinerama" "false"
EndSection
Section "DRI"
Mode 0666
EndSection
git clone https://github.com/robclark/libdri2Finally I installed everything and seems to work everything but I get this error message from Xserver.0.log
cd libdri2
./autogen.sh
make
make install