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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] HOW-TO use VAAPI HW Acceleration on AMD Zacate (Fusion) platform (/showthread.php?tid=99154)



- fritsch - 2011-08-19

I normaly use the xbmc-unstable version, because they are building with --enable-vaapi now, because this got the default, at least with natty.

It is hard to get any good (for me) looking debug logfiles. xbmc just hangs after watching a little bit here and there, it is a freeze while scrolling through the main menu, happening since at least 3 month on development git.

I will file this bug separately, with mainline git.

Happy vacation.


- Headcase_Fargon - 2011-08-20

I was pointed to this post in the hardware discussion subforum after asking what hoops I would have to jump through to get XBMC running with hardware acceleration on this E350 board I just picked up. Someone mentioned the precompiled solution specifically, which sounded perfect for someone with very limited Linux experience such as myself.

I see that those files are no longer available on the host there. What's the quickest/easiest way for a novice like me to get XBMC running on any flavor of Linux to its full potential? I presume that means VAAPI.


- Gizmo_Ger - 2011-08-20

@Headcase_Fargon: Have you tried OpenELEC? I am using Fusion dev. builds and it works on my Fusion nettop flawless [Thanks to FernetMenta - by the way, enjoy your vacation!]
http://www.openelec.tv/
http://sources.openelec.tv/tmp/image/


- MTroi - 2011-08-22

Hey guys,
I've got XBMC running for most cases, but some HD movies are flickering like hell while others are played smoothly. I am using the Asus E35M1-I DELUXE with Ubuntu Natty. My display is a1920x1080@60Hz monitor and I tried ATI drivers 11.7 and 11.8.

My general settings are:

ATI Driver: Tearfree: activated

XBMC - Settings - Playback:
Render: Auto
VDPAU&VDAAPI activated
frequency adjustment off
synchron.: off
allow errors: off
4:3: Normal

XBMC - Settings - System - Video-Hardware:
Display: Full-Screen
Resolution: 1920x1080
V-Sync: Like driver


Does anyone have a suggestion or two? :-)

Thanks and keep up the good work.


- Krautmaster - 2011-08-22

by the way, any good how to on this openelec stuff? The FernetMenta one with patched vaapi stuff against 24p problems.

@ ssd not on usb please

just saw this one http://sources.openelec.tv/tmp/image/howto_ganz_neu


Zbox-ad02 - zbox_ad02 - 2011-08-23

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


- craigdabbs - 2011-08-24

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


- Headcase_Fargon - 2011-08-26

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.0Huh-generic
E: Couldn't find any package by regex 'linux-headers-3.0Huh-generic'
E: Unable to locate package linux-image-3.0Huh-generic
E: Couldn't find any package by regex 'linux-image-3.0Huh-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

you probably did not enable vaapi


- craigdabbs - 2011-08-26

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

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

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

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

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

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!