XBMC Community Forum
[LINUX] HOW-TO use VAAPI HW Acceleration on AMD Zacate (Fusion) platform - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: [LINUX] HOW-TO use VAAPI HW Acceleration on AMD Zacate (Fusion) platform (/showthread.php?tid=99154)



Zbox-ad02 - zbox_ad02 - 2011-08-23 13:42

It would be really great if someone upload an iso for ZBOX-AD02 working VAAPI.


- craigdabbs - 2011-08-24 14:13

just rebuilt my zacate system, using tge latest build from unstable ppa. Seems vsync/24p bug has been fixed.


- Headcase_Fargon - 2011-08-26 01:28

Hi all,

I just put together an E350-based HTPC and figured I'd give XBMC on Linux a shot in order to get the most out of this low power setup. The trouble I'm fairly inexperienced when it comes to Linux.

I followed the instructions on the first page to the T, but I'm running into a few problems. First of all, I was unable to upgrade to the 3.0 kernel. This is what I get when I attempt to get the packages necessary:

E: Unable to locate package linux-headers-3.0Confused-generic
E: Couldn't find any package by regex 'linux-headers-3.0Confused-generic'
E: Unable to locate package linux-image-3.0Confused-generic
E: Couldn't find any package by regex 'linux-image-3.0Confused-generic'

I decided to skip that part and install the rest. Got to the point where I needed to build xbmc. At this point I would get:

configure.in:335: error: possibly undefined macro: AC_PROG_LIBTOOL

and

configure: error: cannot find install-sh, install.sh, or shtool in build-aux "."/build-aux

I attempted to just install the latest nightly of XBMC, which actually worked. 720 content looked great, but trying to play any 8-11GB 1080 content was a bit jerky. Not slide-show jerky, just not quite smooth.

What am I doing wrong here?


- wsnipex - 2011-08-26 09:27

you probably did not enable vaapi


- craigdabbs - 2011-08-26 13:23

No need to update to the 3.0 kernel, and no need to build xbmc from source anymore.

The way iv been installing is to add 2 ppa's

sudo add-apt-repository ppa:team-xbmc/unstable

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates

Download latest ati drivers, and run sudo ./ati-driver.sh --buildpkg Ubuntu/natty

install the generated packages sudo dpkg -i *.deb

install the xvba stuff like the instructions on first page, and dont forget to add the lines into enviroment file.

export LIBVA_DRIVER_NAME=xvba
export LIBVA_DRIVERS_PATH=/usr/lib/va/drivers

finally sudo apt-get install xbmc

vaapi should be enabled by default and there seems to be some progress for 24p-vsync issue for me to.

press o during playback, should give you some stats to see what decoder your using for HD playback, also missed frames ect


- Headcase_Fargon - 2011-08-26 14:09

Appreciate it. I'll give that a try this weekend. For clarification, will hitting O during playback actually say "VAAPI" somewhere in the information displayed if it's running in that mode? Or is it just framerate, codec, etc?


- craigdabbs - 2011-08-26 14:29

yep, vaapi will be shown on the 3rd line i think Smile, if its using cpu it will say ffmpeg or something like that.


libcrystalhd-dev missing - Duefi - 2011-08-27 01:33

Hello guys,

thank you Robotica for the great tutorial.

I was following it this night and got some problems with the package "libcrystalhd-dev".

Aptitude doesn't find it. Where do I get it from? At the following steps xbmc doesn´t configure.

Thanks for help!

Chris


- sraue - 2011-08-27 01:41

Duefi Wrote:I was following it this night and got some problems with the package "libcrystalhd-dev".

Aptitude doesn't find it. Where do I get it from? At the following steps xbmc doesn´t configure.

crystalhd support is not needed for fusion/libva... so if you dont need this because you dont use a crystalhd card disable this


- Duefi - 2011-08-28 00:43

Thank you sraue. I´ve got nearly all working now.

Sound is missing, (keeps xbmc crashing) need to do some more research on that. Don´t want to use hdmi sound output, cause my amplifier doesn´t support it...

It´s great to have that small, quiet, energy-saving, xbmc box.

EDIT:
Okay, I´ve worked all morning on this one. Perhabs, someone got me a clue.

System: Asrock E350M1
Kernel: 3.0.0-8
Catalyst: 11.8

As soon as, I start a video, XBMC crashes with:

Code:
T:140228383832000 M:3556126720   ERROR: Unable to open audio mixer

I got an solution by killing xbmc afterwards, set

Code:
iecset audio on


and restart xbmc, Video playback works. Adding this line at /etc/rc.local won´t do it.

Some suggestions? Thanks for Help!