[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) |
- tjones - 2011-10-26 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 http://www.x.org/archive/X11R6.8.1/doc/ati5.html My xorg.conf device section looks like this. Code: Section "Device" 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 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. Code: mc@mc:~$ sudo apt-get build-dep xbmc Actually, here i can see depends only for hardy and jauntry, is this link actual? http://ppa.launchpad.net/team-xbmc/xbmc-ppa-build-depends/ubuntu/dists/ - tjones - 2011-10-26 Does your /etc/apt/sources.list.d/team-xbmc*.list look like this for 10.04.3? Code: deb http://ppa.launchpad.net/team-xbmc/unstable/ubuntu lucid main Originally after the add-apt-repository ppa:team-xbmc/unstable it looks like: Code: deb http://ppa.launchpad.net/team-xbmc/unstable/ubuntu lucid main 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 Code: sudo apt-get build-dep fglrx-installer Code: sudo apt-get install dkms ia32libs Code: pinker@pinker-E350:~/vaapi$ sudo apt-get build-dep xbmc - tjones - 2011-10-26 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 Thanks! Now it worked. Now i need to complile xbmc, like written in Robotica post? - Journeym - 2011-10-26 configure gives me Code: checking for main in -lGL... no - tjones - 2011-10-26 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. Code: sudo apt-get install libltdl7 libltdl-dev ia32-libs Then try cleaning your xbmc git and start from the beginning. http://book.git-scm.com/4_undoing_in_git_-_reset,_checkout_and_revert.html Code: cd ~/xbmc I've been doing it like this on 10.04 w/o the blueray or prefix. Code: cd ~/xbmc - c00kiemonster - 2011-10-28 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 all general vaapi - Robotica - 2011-10-28 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. Succes! - kobik - 2011-10-28 WytRaven Wrote:Linux is soooo not forgiving you for lacking knowledge... Been looking for a solution and anything I tried didn't help. Will you be kind and share a little of this precious knowledge What could Iv'e been do wrong? How can I fix this? - c00kiemonster - 2011-10-29 Robotica Wrote: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..... Thanks for the info. I am (was) running a ION based Ubuntu/XBMC box before, but that motherboard seems to have given up on things. It seems like the AMD Fusion support is maturing nicely so I will probably choose it over ION2 (which doesn't really seem to be much improved from its first generation). - User 89733 - 2011-10-30 Hi, I have been using VAAPI with Zacate for quite some time and I got this crash: http://trac.xbmc.org/attachment/ticket/12160/xbmc_crashlog-20111029_215533.log (http://trac.xbmc.org/ticket/12160#comment:4) My drivers are a bit outdated: OpenGL renderer string: AMD Radeon HD 6300 series Graphics OpenGL version string: 4.1.10665 Compatibility Profile Context Also I don't use Unity and I am using xbmc-pvr (last version). - tjones - 2011-10-30 c00kiemonster Wrote:Thanks for the info. I am (was) running a ION based Ubuntu/XBMC box before, but that motherboard seems to have given up on things. It seems like the AMD Fusion support is maturing nicely so I will probably choose it over ION2 (which doesn't really seem to be much improved from its first generation). My AMD E350 is the ASUS E35M1-I Deluxe you are considering, no regrets so far. I really like this board. It's expensive yes but it is a modern board with no compromises using mini itx (the built in wifi is atheros another bonus). I've read that you may want your memory to be at 1600mhz to make the best out of the amd graphics. This board only supports up to 1333mhz w/o overclocking the fsb the last time I checked. Perhaps the latest bios 1202 has resolved this I haven't played around with upping my 1.5v cas7 1333mhz yet. I also own an ion2 platform there is no contest between the two imo. Although the Ion2 has 512mb discrete memory the system is limited to ddr2 and lower memory support. The E350 apparently benchmarks better than atom on all things except javascript. Memory support alone places the E350 above the atom/ion platforms. Final note the E350 ASUS E35M1-I Deluxe board I'm using is dead silent with passive cooling unlike my lenovo q150 ion2 with it's discrete gpu fan. - c00kiemonster - 2011-11-02 tjones Wrote:My AMD E350 is the ASUS E35M1-I Deluxe you are considering, no regrets so far. I really like this board. It's expensive yes but it is a modern board with no compromises using mini itx (the built in wifi is atheros another bonus). I've read that you may want your memory to be at 1600mhz to make the best out of the amd graphics. This board only supports up to 1333mhz w/o overclocking the fsb the last time I checked. Perhaps the latest bios 1202 has resolved this I haven't played around with upping my 1.5v cas7 1333mhz yet. Which OS are you running? |