[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) |
- CK1one - 2011-08-08 FernetMenta Wrote:Can you point me to the Killa-sample.mkv? I am working on improvements for VAAPI. http://rapidshare.com/files/82525583/killa.sampla.x264.mkv.html - zbox_ad02 - 2011-08-09 CK1one Wrote:http://rapidshare.com/files/82525583/killa.sampla.x264.mkv.html Exactly, I downloaded killa sample from here. I uploaded a video captured from my AD02 running linux, vaapi and VLC. See the Pixel bleeding or whatever they call it. It does't seems like processing capability issue since it runs smooth and the CPU goes to max 50% not more. - javum - 2011-08-09 zbox_ad02 Wrote:On ZBOX AD02 (RADION graphics) with Linux Natty, VAAPI enabled successfully. Killa-sample.mkv Code: Video - toehser - 2011-08-09 javum Wrote:But ATI/AMD driver in Linux is limited to [email protected].Is the limiting factor the chip, the driver, the xvba, the vaapi, or what? - Robotica - 2011-08-09 toehser Wrote:Is the limiting factor the chip, the driver, the xvba, the vaapi, or what? xvba limitation - chrisk2305 - 2011-08-09 @zbox_ad02: alright, here is what i did: Code: 1 nano /etc/apt/sources.list Video in VLC was definetly not GPU accelerated (GPU Acceleration was enabled of course). vainfo reports xvba 0.8.0.1 from splitted desktop, fglrxinfo is fine. Where to go from here? Thanks! edit: while applying the mplayer-vaapi patch i get this: Code: root@htpc:~/mplayer-vaapi-20110127# ./checkout-patch-build.sh - zbox_ad02 - 2011-08-09 chrisk2305 Wrote:@zbox_ad02: alright, here is what i did: Ok, Not sure what is wrong with that, but the xorg config is not done in your script and you downloaded xbva from splitted desktop, you actually don't have to. Here is a step by step how to do it, so first off, re-install Natty and please follow each step, don't skip any of them. let me know how did it go. Enabling VA on ZBOX Fusion E350 APU: =============================== Step 1: Install OS. - Install UBUNTU_11.04_NetInstall_x64 from USB. Use unetbootin to prepare the usb. - From Synaptic, enable backports and proposed repositories. - From Update Manager, do full update for the system. - Reboot. Step 2: Install catalyst driver Code: $ sudo apt-get install -y build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases ia32-libs Step 3: Install VAAPI stuff Code: $ sudo apt-get install -y libkms1 libdrm-dev pkg-config vainfo The following steps didn't make any difference but I just did it any way. Append the following lines to /etc/environment Code: LIBVA_DRIVER_NAME=xvba Step 4: Install VLC Code: $ sudo apt-get install vlc in one window run "$ top" to monitor CPU load. In second terminal run an HD video with VLC WITHOUT VA Code: $ vlc video.mkv Code: $ vlc --ffmpeg-hw video.mkv - zbox_ad02 - 2011-08-09 Robotica Wrote:xvba limitation Do you expect any improvements in the near future? - chrisk2305 - 2011-08-10 @zbox_ad02: Hi, thanks for your help! But i miss the part where libva1 and libva-dev is installed. When I install them from splitted desktop the mplayer-vaapi patch works but when the compiler is checking for vaapi it still reports "no". i'll do a fresh install again with your tutorial and report back. - Robotica - 2011-08-10 zbox_ad02 Wrote:Do you expect any improvements in the near future? Since Intel is also suffering from this, it would totally make sense to have this fixed.... But when and by whom? - zbox_ad02 - 2011-08-10 chrisk2305 Wrote:@zbox_ad02: Hi, thanks for your help! But i miss the part where libva1 and libva-dev is installed. When I install them from splitted desktop the mplayer-vaapi patch works but when the compiler is checking for vaapi it still reports "no". i'll do a fresh install again with your tutorial and report back. Some how I didn't have to install them, they just appeared after I enabled the back ports and proposed repos and ran full upgrade. Do that, - After enabling the repos and do full upgrade and reboot, check in Synaptic if you have libva1 and libva-dev installed. - You should find them, if not, install them from Synaptic, not from splitted desktop. It worked for me this way, so let's try that for a start. Good luck. - mbah.pande - 2011-08-11 Install XBMC is ok then try to little modification and compile from git but got error checking for XMU... yes checking for XINERAMA... yes checking for CURL... no configure: error: Could not find a required library. Please see the README for your platform. try to make symbolic link sudo ln -s libcurl-gnutls.so.4 libcurl.so.4 but still not work try to read twice the README but can't find some that help. anybody know to fix this? - wsnipex - 2011-08-11 in the readme.linux is a full list of packages that you need to install. - craigdabbs - 2011-08-11 after many hours of fiddling i have finally got everything working on my zacate board except for the 24P vsync judder issue, i can play 720p content fine with the cpu but 1080p content struggles without vaapi acceleration. But the slight stutter without 24p mode really annoys me so i have ended up putting a cheap nvidia gt200 series card in. Its a shame xbmc cant get rid of this bug with 24p + vsync + xvba as in my opinion its easier to setup the various tv modes with the catalyst software rather than editing a xorg.conf file you have to do with nvidia. You can install everything fairly easy now to get vaapi working especially as xbmc can be installed from the unstable ppa with vaapi already enabled. Ive mentioned on another thread that im willing to donate to the xbmc developers to sort this bug out, the ati hardware offers lots more in features compared to its nvidia counterparts at the same price level. Is there any work being done on this bug as it more or less rules out the zacate boards from htpc's atm for me, im willing to help but im relatively new to linux and not sure what i could contribute. Thanks Craig - Robotica - 2011-08-11 craigdabbs Wrote:after many hours of fiddling i have finally got everything working on my zacate board except for the 24P vsync judder issue, i can play 720p content fine with the cpu but 1080p content struggles without vaapi acceleration. But the slight stutter without 24p mode really annoys me so i have ended up putting a cheap nvidia gt200 series card in. Not much you can do. teamXBMC is showing no interest in AMD-related features. However, sraue (openelec) and fernmetta have this hardware and showed some interest in AMD hardware. Maybe they will help... Maybe the ticket got solved but there is no action within the ticket. |