MALI & CedarX now working on a20 debian ultimate (with a how to)

Started by denjell, December 15, 2013, 09:50:31 pm

Previous topic - Next topic


In case you don't know, you need to have cedar in order to get hardware acceleration of video. Considering one of the major selling points of the board is the fact that it has a dual GPU, I kind of wonder why this hasn't been done i the official "ultimate" image.

Here is what you have to do:
1) Get and install the ultimate debian image onto a class 10 8gb sd card
2) apt-get update
3) set your time! (otherwise github will complain)
4) Follow these instructions:
(if you can't run ./ just chmod a+x it)

then do the following (ripped from,879.0.html )

apt-get install xserver-xorg-core xinit slim alsa-utils mplayer2 gcc make pkg-config libvdpau1 libvdpau-dev
git clone
cd libvdpau-sunxi
make install

Add environment variable VDPAU_DRIVER=sunxi to /etc/environment

add the following two kernel lines to /lib/udev/rules.d/90-sunxi-disp-permission.rules

KERNEL=="disp", MODE="0777", GROUP="video"
KERNEL=="cedar_dev", MODE="0777", GROUP="video"

mplayer -fs -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, yourh264video.mp4

Good luck.


So how does the A20 handle XBMC, after getting the correct driver?



I tried this tuto. All the installation went well. But when I am trying to play a video I got this error:

[vdpau] Error when calling vdp_device_create_x11: 25
Error opening/initializing the selected video_out (-vo) device.

This is the way I am calling mplayer:
mplayer -fs -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, myH264video.h264

Any ideas?
Thx for your help


I had the same error and after that I use without -vo and work fine.


ok thx junetec,

Curiously, it works but the CPU inscrease to 40%, rather than 20% when using the regular ffmpeg code!!
So I am not very sure the GPU is used in that case!



I finally got it to work! including the option -vo=vdpau

What I actually forgotten, was to load the "sunxi_cedar_mod"
(drop it into /etc/modules) and then chmod 777 onto /dev/cedar_dev

and now mplayer is using very very few cpu cycles when decoding videos.


Could you sheare the image? I would like to test the VLC with Cedrax.

Best regarsd,