[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: Kodi 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)
- Robotica - 2011-05-10 22:47
The major fusion issues should be fixed with this patch:
It's in 2.6.39 now and will be showing up in the stable trees soon.
- Qroach - 2011-05-11 14:49
what major issues does the patch fix? crashing or something?
- tuxfool - 2011-05-12 13:31
Robotica Wrote:The major fusion issues should be fixed with this patch:
That patch should only be for radeon (i.e. the opensource driver); Absolutely nothing to do with fglrx. You can of course use radeon for xbmc but do don't get any video acceleration.
- wobu - 2011-05-12 14:27
tuxfool Wrote:That patch should only be for radeon (i.e. the opensource driver); Absolutely nothing to do with fglrx. You can of course use radeon for xbmc but do don't get any video acceleration.
this can change soon
according to Christian König, a well known xorg radeon driver developer, his implementation of VDPAU for the radeon driver is at a early Beta stadium.
- htpcero - 2011-05-15 21:32
Robotica Wrote:This topic is a follow-up to this topic: AMD Fusion based hardware for a HTPC?
Robotica - thanks for getting this started. Mind posting the instructions on how to compile your own XBMC from sources, patch it, and get vaapi enabled?
Myself, I will need a PRE-11 version 'cause some add-ons require it to work properly.
- wobu - 2011-05-16 08:06
1. firstly install all Vaapi packages
2. checkout xbmc via git, i took the current pvr development (patching isn't needed anymore)
3. Look into the README file for linux and install all packages needed for compiling xbmc
4. compile and install xbmc
5. insert into the /etx/X11/xorg.conf following section
i needed it but i don't now exactly why, cause otherwise my xbmc always crashed on playing a video file
Question on VAAPI being enabled - gven - 2011-05-16 08:43
Forgive a noob but from reading elsewhere I understood that if VAAPI was not enabled in XBMC, then the option to enable it will not appear in the Video playback settings menu. I have a 10.1 repository build (packman) for OpenSuse that shows this option, but VAAPI is not working for me (on Sandybridge not on AMD fusion but that is a different thread).
Does that setting being there indicate a VAAPI enabled XBMC build or not? If not, is there some other way of checking whether an XBMC build has VAAPI enabled?
Graphics driver instability? - SDM2011 - 2011-05-18 04:16
ASUS E35M1-I Deluxe on Ubuntu Natty x64, with team-xbmc ppa here.
Does anyone else experience crashes when attempting to shut down? I'm running the latest flgrx and xorg, and if I've been running the system for awhile, I can't shut down cleanly. Sometimes I get a hard lockup, sometimes I get a kernel panic. This happened with previous xorg and fglrx versions as well.
I've also had issues where xbmc starts stuttering during video play. It's rare with video files, but it's particularly bad with streaming video, ie. I can trigger video stuttering almost immediately from a fresh boot on comedy network streams. Once stuttering begins, it doesn't stop until I reboot, no matter what I try to play.
It's got to either be a video driver issue, or in the vaapi/xvba to driver layer, or how xbmc is handling vaapi. Since others haven't experienced issues, I'm guessing it's one of the first two.
Any suggestions much appreciated.
- htpcero - 2011-05-18 04:33
SDM2011 Wrote:ASUS E35M1-I Deluxe on Ubuntu Natty x64, with team-xbmc ppa here.
I'm planning to do the same (natty x64 on e35m1-i deluxe) but building the latest pre-11 xbmc myself with vaapi enabled. I think with the ppa you are probably not getting a vaapi enabled build plus it might be an older build. All the people in this thread are probably running with vaapi enabled - and they don't seem to be reporting this kind of issues. Or at least I hope they are not experiencing them
- SDM2011 - 2011-05-18 04:35
team-xbmc ppa has vaapi enabled, or at least mine certainly does. I have no problems playing any video, even 1080p, and the vaapi option is there under video settings.
EDIT: I should specify that the team-xbmc ppa I'm using are the git builds, not the 10.1 build.
- epiped - 2011-05-18 14:23
@SDM2011: my system also hangs when i try to shutdown.
i use the asrock board without usb3, natty x64, catalyst 11.5, libva1+libva-dev+xvba-drivers from splitted-desktop, and xbmc-pvr from ppa.
vainfo output seems ok and the vaapi option is in the xbmc settings but attempted playback results in a crash.
other problems: screen tearing (i already enabled tear-free desktop), sound over hdmi doesn't work occasionally (i have to stop and restart the video)
could someone with a working natty x64 setup post the exact configuration?
-which xbmc (from source or ppa?)
-which catalyst version (from ppa?)
-which libva1 and xbva (ppa or directly from splitted-d?)
-anything else (other PPAs? xorg.conf)?
-the order of these steps (not sure if thats relevant)
- peterk2005 - 2011-05-18 16:06
Robotica Wrote:Since team-xbmc PPA are not compiled with VAAPI enabled (and the needed dependencies are missing in most Linux distro's), we need a thread for Zacate based hardware to get XBMC running. A user did all this work and posted a precompiled version overhere (custom xbmc-live ubuntu 10.10 x64 build). There also is a precompiled VAAPI XBMC (including PVR). Since openelec.tv and XBMC(Freak)Live aren't supporting this hardware either, the only other way to get this hardware running with XBMC, is to compile xbmc yourself. (With Windows this platform works like a charm already and it beats ATOM/ION on price, performance and features)
I'm using nemek's custom build xbmc-live ubuntu 10.10 x64, and everything works fine, except this issue, which is very similar to what the mentioned patch fixes, except that this happens only in 24p mode, when vsync is enabled, and it happens immediately and all the time during playback. Nemek claims that he has applied this patch to his custom build, which I suppose it true, because otherwise playback is perfect in any other modes than 24P/vsync enabled.
Can you guys check if you experience the same issue in 24p mode, or your installation plays fine? Thanks.
Btw, if i wanted to compile a newer version, how can i do that on this environment without breaking the current installation? I mean, can i compile, test, and update only if the compiled version works better?
(Since vaapi is already working, I guess would only need to check out and build the source with vaapi enabled - unless I want to try out a newer ati driver of course.)
Which git source do you suggest for me to compile on this environment? (with url please). I admit, i'm a little lost in these tons of different versions, ppa-s, etc.
- tuxfool - 2011-05-18 17:07
wobu Wrote:this can change soon
You're not going to be able to do complete bitstream acceleration using shaders, nor will it be as efficient as using the dedicated uvd core for video processing. If all I'm doing is replacing cpu power for gpu power, what is the point?
DTS-MA True-HD? - quotaholic - 2011-05-20 00:33
Thanks sharing on this thread. I just got my Asus Zacate platform and quickly found this thread. Glad to hear video drivers are doing well. There is one bit of information that I cant find in this thread that I need to know before installing linux on it and that is this:
Can linux on the Zacate platform bitstream the higher end surround formats like DTS-MA and True-HD? My board is the Asus e350-M1-Deluxe.
Thanks in advance
- MTroi - 2011-05-21 10:46
I just wanted to thank you for the instructions. I've got XBMC playing Full HD Videos smoothly under Ubuntu 10.10 x64 (Had some issues with 11.04, so "downgraded" to 10.10).
My Board: ASUS E35M-I Deluxe