[Solved] CedarX & libvdpau does not work for me.

Started by awatch, October 12, 2013, 03:41:52 PM

Previous topic - Next topic

awatch

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

Tom

The Linux support for cerdarx is FAR from functioning for xbmc. Try android with xbmc, should work better for you.

Good luck
Tom

awatch

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 :)

wizard3001

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?

awatch

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.