![]() |
|
[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) |
- ErikB - 2011-09-05 14:47 hipp0 Wrote:Exactly my Problem to. If you go to the URLs provided, e.g. https://github.com/FernetMenta/xbmc/commit/d25fbc8248be3cc0b208614faca394c56157cf1a.patch - you will notice that the first is some email subject / details.. My guess is that you are to run only the "code" part of the files.. E.G. only run this: Code: +++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp- hipp0 - 2011-09-05 14:56 ErikB Wrote:If you go to the URLs provided, e.g. https://github.com/FernetMenta/xbmc/commit/d25fbc8248be3cc0b208614faca394c56157cf1a.patch - you will notice that the first is some email subject / details.. Ah. Okay i thought that these lines get ignored by the patch tools. Have you already tried to build the mainline with these patches? I think I will try to do it, when I am at home. Somebody know what is best choice for the ati driver? 11.7 oder 11.8 ? - wsnipex - 2011-09-05 15:32 If you do as I described above it will patch the source. A "patch file" essentially is a diff which the patch command interprets to make the changes. btw, I run mainline (GIT from 2nd September) with those 4 patches, and it works fine. A difference might be, that I do not have a fusion APU(which has an ATI 6300 series GPU), but an ATI 4250(onboard GFX), although I doubt it makes a big difference. Those details are handled driver internally and the vaapi interface remains the same. Anyway, are you sure the patches were applied? Can you post your commands? - hipp0 - 2011-09-05 16:15 wsnipex Wrote:Anyway, are you sure the patches were applied? Code: $ git clone git://github.com/xbmc/xbmc.gitAs you can see it says that that the patch is already applied. patch --help says me that -N forces the patch to be applied. I compared some part of the sources and only some lines of the patch seems to be applied. So perhaps -N is the way to go? Or this deletes some important lines and I get serious problems
- wsnipex - 2011-09-05 16:21 just skip the one if it says already applied, the other 3 should not give this error - spocky184 - 2011-09-05 22:30 Hi, following this great guide and the guide on http://wiki.cchtml.com/index.php/Ubuntu_Natty_Installation_Guide i`ve got vaapi hardware accelaration running (it`s a FOXCONN NT-A3500 Netbox Fusion E350 with a AMD HD 6310) with Opdenkamps latest xbmc-pvr build (11.0-pvr+p8~git20110829.4e9f5b7-0ubuntu1~stable48~natty), on Ubuntu Natty 11.04 desktop amd64. Latest ATI Catalyst 11.8 on Kernel 2.6.38-11-generic. So here is exactly what i did (even if i repeat some steps mentioned in this post): Install Dependencies: Code: sudo apt-get install -y --force-yes build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliasesCode: sudo apt-get install -y --force-yes ia32-libsCode: sudo apt-get remove -y --force-yes --purge xserver-xorg-video-radeonCode: wget http://downloads.ztreambox.org/ztreamboxlive/ati-fglrx/catalyst11.8-natty/fglrx_8.881-0ubuntu1_amd64.debCode: cd ~/; mkdir catalyst11.8; cd catalyst11.8/Code: sudo apt-get install -y --force-yes libva-dev libva1 libkms1 libdrm-dev vainfoCode: wget http://www.splitted-desktop.com/~gbeauchesne/xvba-video/xvba-video-latest.amd64.debCode: sudo aticonfig --initial -fCode: Section "Extensions"Now start playing a 1080p HD Video in XBMC, press o and look if you see (on the second line): dc:ff-vc1-vaapi or dc:ff-h264-vaapi There you go. Hope it`s usefull and thank you again for this great guide. Spocky184 PS: The 11.8 Catalyst resolved my Suspend Problems on the AMD E350 ! - SteelWolf - 2011-09-05 23:06 No matter what I do when following these guides I end up with XBMC unable to start because it failed to connect to the X server (startx alone fails as well). I think I'm going to try starting with Ubuntu desktop instead of minimal, it seems like many of you in the thread have had success with that. - ErikB - 2011-09-05 23:52 I also got it to work today, using ubuntu desktop, amd 64.. Cred goes out to this thread and to that thread: http://forum.xbmc.org/showthread.php?p=853855#post853855 (and of course to Lars-opdenkamp and other rep makers!) Code: (clean install: Desktop x64. Perform all upgrade [sudo su;apt-get update;apt-get upgrade])Plays well on VAAPI with 12% load on my ASROCK E350M1 Problems remaining: 1) Seems a bit heavy to run with ubuntu desktop, would be nice to try with ubuntu minimal 2) I am having "big pixel" issues with some 1080p videos. For instance the killa-sample mkv is just big pixels. Anybody resolved this? I'm getting close to great satisfaction! - ErikB - 2011-09-06 00:16 ErikB Wrote:... What I mean with big pixels is shown in this image. http://i.imgur.com/w1lar.jpg - FernetMenta - 2011-09-06 08:16 The "big pixels" are probably because killa-sample and other videos showing this are encoded with h.264 level > 4.1. The xvba backend driver reduces the number of references needed by h.264 in this case. There might be a better way of dealing with level > 4.1. vdpau does not support level > 4.1 either but plays killa-sample fine. |