[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)
- SDM2011 - 2011-07-26 07:59
@Mysob, that looks mostly fine except for the following:
1. I do not use the packages from splitted-desktop. They don't work on natty in my experience. IIRC, you must use the fixed xvba-va-driver package from Andrew Hunter (I think). See my other posts in this thread.
2. I also did not run aticonfig, but I doubt this is important.
3. If you're still having issues, add the xvba drivers to the /etc/environment. Search for that in this thread; I believe I mentioned it in a recent post as well.
Any problems you're having are almost certainly due to either 1 or 3. xbmc-live also seems to use uxlaunch at startup, which caused me problems on suspend/shutdown. LightDM works perfectly though, after making a small, obvious change to the config file.
Edit: this may have been a reply to an old message. Please disregard if so.
- kaulalla - 2011-07-26 14:34
Have been trying to make it work, glxgears and fgl_glxgears work seamlessly. Compiled and installed XBMC w vaapi support, fglrxinfo displays the correct information, and yet, XBMC wont open for "XBMC needs hardware accelerated OpenGL rendering", and vainfo returns the same error:
Quote:libva: libva version 0.32.0
This is driving me crazy, please advise!
- snoozer - 2011-07-26 16:12
kaulalla Wrote:Have been trying to make it work, glxgears and fgl_glxgears work seamlessly. Compiled and installed XBMC w vaapi support, fglrxinfo displays the correct information, and yet, XBMC wont open for "XBMC needs hardware accelerated OpenGL rendering", and vainfo returns the same error:
I had the same problem, it seems to me that this guide with these packages just don't work...
- X3lectric - 2011-07-26 16:44
since you linux experienced.
I did post this http://forum.xbmc.org/showpost.php?p=834733&postcount=270
I dont use AMD (not a masochist) but if I did I would surely not grab random packages and drivers to install them manually, never worked right for Nvidia in some cases adn AMD is far more "temperamental"
Also If I was going to comile anything I would compile latest XBMC as it contains a ton more improvements.
Though this guide is for 10.1 and its missing libboost-thread-dev and libyajl-dev if your going to adapt it to a more recent XBMC compile and use the latest drivers I put and compiled into a ppa fro someone else (they work great btw) who used this gid and modified it to compile latest xbmc with libva and latest available graphics, as per link above.
- snoozer - 2011-07-26 16:58
X3lectric Wrote:@ snoozer
Alright, I'll try that, thanks!
- kaulalla - 2011-07-26 22:33
Yeah, but the thing is, I had it working, until I was stupid enough to do apt-get update && upgrade... now it wont work, whether I followed Wytraven's guide again (whose I followed when making it work in the first place), or anything else :x
- demiurg - 2011-07-26 23:43
Would it maybe be an idea for someone who has a working self-compiled xbmc for the asus 35m deluxe to post/share it somewhere? Or would it be dependent on too many environment variables?
- devil103 - 2011-07-27 09:16
Just pitching in my 2 cents here.
I did a fresh install last weekend and now have a fully working AMD Zacate XBMC media center running kernel 3.0
I don't remember my exact step but pretty much the following:
Ubuntu netinstall, installed SSH, Basic Ubuntu Server, Samba. This defaults to kernel 2.38-10 at the moment.
The ssh'ed into my freshly installed box and installed xorg, python-software-properties, alsa, alsa-utils, mesa, etc (basically, the first paragraph of Robotica's guide here in the first post of this topic)
The added the xorg:edgers ppa to upgrade to kernel 3.0
(!) Disabled xorg:edgers to make sure it does NOT, I repeat DOES NOT upgrade my xorg installation.
Downloaded, and patched(!) the 11.6 Catalyst drivers, installed them;
Then sudo apt-get vainfo which from the multiverse which also installed the libva packages from the multiverse(!) and then installed xvba from splitted desktop!
Then I had to manually create a symbolic link in /usr/lib/dri/ to /usr/va/drivers/fglrx.... (see a few posts above)
And the finally installed XBMC-pvr from lars op denkamps ppa.
et voila, basically that has been working fine for me now for the past three days.
- kaulalla - 2011-07-27 11:18
Could you please go more into details about what and how you exactly did? My problem seems to be a combination of an update going wrong and the lack of opengl rendering...
- devil103 - 2011-07-27 11:39
kaulalla Wrote:Could you please go more into details about what and how you exactly did? My problem seems to be a combination of an update going wrong and the lack of opengl rendering...
I'll try but I'm afraid I'm terrible at keeping notes along the way.
I'll assume you have a working Ubuntu Minimal system and have some knowledge of linux to fill in the missing blanks here and there, I started by following the guide in the topic start.
This is in no way a step-to-step guide, just wrote this down from memory in hopes of providing some people a place to look for possible problems
Then I upgraded to kernel 3.0, don't know why, just wanted the latest I guess I don't know the exact kernel number so when performing the apt-get install command just press TAB after typing 'linux-headers-3' etc. and see what the actual number is.
Then disabled the xorg:edgers/ppa in
Then I started with the ATI drivers, simply the same as with Robotica's guide
The problem I encountered here was patching, after extracting in my home directory as my home user I couldn't not patch the drivers. Quickly switching to my root user with sudo su and then running the patches fixed that (perhaps this is the root of your opengl problem)
Then the libva and xvba. Libva packages were included with the vainfo program from the multiverse.
I did have some problems here where xvba wasn't recognized properly and had to create this link manually:
After that it was simply installing the lars op den kamp ppa and xbmc
And then I could start xbmc with
So like I said, this is all from memory and may be a little sketchy!!!