Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: awatch on October 12, 2013, 03:41:52 PM

Title: [Solved] CedarX & libvdpau does not work for me.
Post by: awatch on October 12, 2013, 03:41:52 PM
Hello,

I'm quite new at this forum. After playing around with different tegra-devices I thought it's time to play around with an allwiner board, so I bought an A20-OlinuXino to build an media center...

I tried to get FullHD video playback working, but failed with Cedarx and vdpau.
I tried both things and failed on both with a almost black screen while the video plays (sound works fine).
Mplayer(vdpau) and XBMC(cedarx) just show a very very slow motion of dark pictures (tested with mky and mp4 files)

Because of that both things won't work, I think the problem must be in the kernel or in my script.bin.
I'm using the linux-sunxi3.4.61 staging with the following patch: https://groups.google.com/forum/#!topic/linux-sunxi/QgrzKsXwFZQ/discussion
Because I'm quite new with the allwinner thing I'm not sure if the script.bin could cause such errors.
This are my configuration files:
kernel.config: http://pastebin.com/4tFiVrTf
script.fex: http://pastebin.com/5XPeFTPs

For the drivers and packages I used this repos:
https://github.com/linux-sunxi/sunxi-mali.git
https://github.com/ssvb/xf86-video-fbturbo
https://github.com/linux-sunxi/cedarx-libs
https://github.com/linux-sunxi/libvdpau-sunxi

In my dev-directory the following devices have been created:
/dev/mali
/dev/disp
/dev/ump
/dev/cedar_dev

I know that the CedarX-Support is not quite ready and is under developement, but I want to test and try it.
So do you know what I could/should change for a better fullhd video support, or do you have hints for me how I can test/debug vdpau and cedarx?

Thanks a lot,
Andreas
Title: Re: CedarX & libvdpau does not work for me.
Post by: Tom on October 13, 2013, 04:06:35 AM
The Linux support for cerdarx is FAR from functioning for xbmc. Try android with xbmc, should work better for you.

Good luck
Tom
Title: Re: CedarX & libvdpau does not work for me.
Post by: awatch on October 13, 2013, 09:12:42 PM
Thanks for reply. You are right, but patwood and the guys from cubieforums made dome progress.
I installed the image frome there:
http://www.cubieforums.com/index.php/topic,807.0.html
Just change the uboot and script.bin. Libhybris is also a good idea.
It works not very fast, but it plays hd movies on a linux system :)
Title: Re: [Solved] CedarX & libvdpau does not work for me.
Post by: wizard3001 on November 27, 2013, 01:50:14 PM
QuoteThanks for reply. You are right, but patwood and the guys from cubieforums made dome progress.
I installed the image frome there:
http://www.cubieforums.com/index.php/topic,807.0.html
Just change the uboot and script.bin. Libhybris is also a good idea.
It works not very fast, but it plays hd movies on a linux system :)
Hi awatch. What changes did you do to the uboot and script.bin?
Title: Re: [Solved] CedarX & libvdpau does not work for me.
Post by: awatch on November 29, 2013, 01:55:13 PM
You can just take them from another A20-OlinuXino image or build it by yourself (http://olimex.wordpress.com/2013/11/05/building-the-ultimate-debian-sd-card-for-linux-with-kernel-3-4-for-a20-olinuxino-micro/).

But HD-Video Playback isn't really god at the moment. As fas as I know the driver is not completly ready.