[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)
- tjones - 2011-10-26 00:00
Another successful 10.04.3 64b install with the splitted desktop stuffs.
It turns out the composite disable xorg.conf edit is for better h264 playback. Dropped my cpu usage from 40-50% to ~30%.
Another tidbit of info. When sync to display was enabled on my system I was left with an X11 cursor stuck in the middle of my screen. The solution is to either disable hwcursor completely or replace it with swcursor in your /etc/X11/xorg.conf
My xorg.conf device section looks like this.
sync to display now works flawlessly and I still have a cursor.
I've been working out the kinks on 10.04 with the 3.0 kernel as well as experimenting with debian wheezy but I'm still not ready to post any of that yet.
@Hack_kid if you send me a pm I will give you my complete install notes line for line. I'm sure the rest of the viewers of this thread have seen enough of my reporting.
@Journeym I found it easiest to use the "apt-get build-dep xbmc" line for xbmc dependencies. Just add-apt-repository ppa:team-xbmc/unstable and then apt-get update, apt-get build-dep xbmc. Note your sources *.list must contain a deb-src entry as stated in my 10.04 notes I left a couple posts back.
@kobik Are you using an ssh login? fglrxinfo and vainfo do not report correctly over ssh. If so use a local terminal to check them.
- Journeym - 2011-10-26 13:50
tjones Wrote:@Journeym I found it easiest to use the "apt-get build-dep xbmc" line for xbmc dependencies. Just add-apt-repository ppa:team-xbmc/unstable and then apt-get update, apt-get build-dep xbmc. Note your sources *.list must contain a deb-src entry as stated in my 10.04 notes I left a couple posts back.It's not working. Lucid 10.04, tried change to natty (/etc/apt/sources.list.d/team-xbmc*.list), same results.
Actually, here i can see depends only for hardy and jauntry, is this link actual?
- tjones - 2011-10-26 14:24
Does your /etc/apt/sources.list.d/team-xbmc*.list look like this for 10.04.3?
Originally after the add-apt-repository ppa:team-xbmc/unstable it looks like:
And you'll recieve the no source package found error. After adding the deb-src line and then sudo apt-get update it should be able to find a source package. I've done this several times over the past week with 10.04.3 installs and have had no issues after the edit and then sudo apt-get update.
Here is the terminal output from my last 10.04.3 install after the build-dep command. You could try using this dependency list for 10.04.3. It might work it might not since I have already installed an openbox desktop environment fglrx and splitted desktop vaapi before these xbmc dependencies. For fglrx dependencies I used
- tjones - 2011-10-26 15:11
While I going over my failed 11.10 build notes from last week I came across this. It is from a 11.10 attempt with ubuntu libva.
##./boostrap fine no errors, ./configure --enable-vaapi no errors, make -j2 lots of libavcodec "warnings" typically waWunused-but-set-variable, XBMC built successfully.
This was occurring enough in the terminal output that I made note of it at the time. I haven't noticed such warnings in my 10.04 compiles.
So perhaps the real issue with a native 11.10 compile isn't the ubuntu libva but the current ubuntu libavcodec53 or libavcodec-dev.
For now I'm leaving 11.10 alone but if anybody attempts a compile on a native 11.10 system perhaps you could log the "make -j2" output. In hindsight I really wish I did that now.
- Journeym - 2011-10-26 15:33
Now it worked.
Now i need to complile xbmc, like written in Robotica post?
- Journeym - 2011-10-26 16:08
configure gives me
- tjones - 2011-10-26 21:34
Try another apt-get build-dep xbmc and see if it missed anything. Is this on a lucid system?
If you are using 64b make sure you installed ia32-libs. These should be installed before the proprietary fglrx driver anyway.
Check to see if libltdl7 libltdl-dev are installed as well.
Then try cleaning your xbmc git and start from the beginning.
I've been doing it like this on 10.04 w/o the blueray or prefix.
- c00kiemonster - 2011-10-28 08:34
I'm considering buying a AMD Fusion based motherboard (ASUS E35M1-I Deluxe) for use as a Ubuntu/XBMC box.
Then I found this thread detailing the trouble of getting VAAPI to work in XBMC. That put a dampener on things, as I have little energy to go to such lengths to make it all work. As much as I like Linux and its capabilities, I hate having to spend an exorbitant amount of time and effort to make it all come together. If it doesn't work out of the box, I'm not interested.
So my obvious question: will the new version of XBMC (Eden I believe it is called) correct this, will VAAPI work out of the box in newer versions of XBMC?
A follow up question: are we talking about a general VAAPI support, or is VAAPI support for AMD Fusion motherboards different from other VAAPI supported platforms?
- Hack_kid - 2011-10-28 09:39
all general vaapi
- Robotica - 2011-10-28 15:56
VAAPI is queit new and not so mature in XBMC. So bugs can be VAAPI specific or brand specific (communication with the driver). For Fushion (but also for the other uses AMD & Intel proc) VAAPI is quite good supported. But talking optimization (like happened to VDPAU) could be improved for comming years.....
Don't judge VAAPI (AMD Fushion) support on info in this topic: Nowadays it's much more easy to get everything up and running and from Eden and on you won't know the difference (in ease) with VDPAU.
To get a headstart you can use openelec & if you won't to start with another distro there is a topic which has the simple tutorial...
Sp price- & specwize there is no reason not to be AMD Fushion over ION/ATOM, even on Linux.