[LINUX] HOW-TO use VAAPI HW Acceleration on AMD Zacate (Fusion) platform - Printable Version
+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (/forumdisplay.php?fid=33)
+--- Forum: General 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-11-04 04:34
Currently using Ubuntu 10.04 with xbmc self compiled for vaapi using the latest splitted desktop libva, libva-dev, and xvba-driver.
Check my posts over the last couple of pages.
If linux is turning you off of the E350 you could always use win7. I've been using xbmc unstable on a C50 (1 tier lower than the E350) win7 netbook for months now. No problem with 1080p in win7 using the ms hw acceleration.
- kobik - 2011-11-04 11:10
Any reasons to prefer 10.04 over the newer builds?
- c00kiemonster - 2011-11-04 12:11
My reason for Linux has always been the RAID/LVM capabilities. Those are very handy when putting up fileservers.
But you're right, while Eden materializes there is always win7 if it's just XBMC I'm after. The E35M1-I Deluxe has an ample supply of SATA ports so it's a perfect candidate for a HTPC/fileserver, ION2 is not really up to snuff.
- tjones - 2011-11-04 15:53
kobik Wrote:Any reasons to prefer 10.04 over the newer builds?
In one word stability.
Although I'd prefer to use the latest 11.10 it's only due to the 3.0 kernel. I really have my eye on 12.04 LTS for my final os (at for at least 3-4yrs) and it will have a more polished 3.0 kernel by then. I can wait.
The only thing keeping me from using 11.10 right now is some apparent issue with xbmc's custom ffmpeg and the native ubuntu 11.10 libva/dev-codec files. If I were to use 11.10 I'd be upgrading in 6-9 months anyway.
Another option is to import the 3.0 kernel into 10.04 but that comes with it's own issues. I did it the other week but there are plenty of issues to tweak/fix. I think I'm just going to wait for 12.04.
A final option for a *.deb distro with the 3.0 kernel is debian unstable (wheezy) alas that is almost more cumbersome than 10.04 w a 3.0 kernel.
I think I read that ms has come up with their own version of LVM called Dynamic Disks or some junk.
Edit: I noticed this on win7 Enterprise N the other week when setting up a new disk. So at consumer level this would be akin to win7 Ultimate.
Here is my current parts list with that board.
ASUS E35M1-I DELUXE Fusion AMD E-350 APU motherboard http://www.newegg.com/Product/Product.aspx?Item=N82E16813131698
Asus QVL G.SKILL Ripjaws Series 8GB (2 x 4GB) 240-Pin DDR3 SDRAM DDR3 1333 (PC3 10666) (cas7) ram http://www.newegg.com/Product/Product.aspx?Item=N82E16820231402
1xSeagate Momentus 7200.4 ST320LT023 320GB 7200 RPM 16MB Cache 2.5" SATA 3.0Gb/s Internal http://www.newegg.com/Product/Product.aspx?Item=N82E16822148745
4xSeagate Barracuda Green ST2000DL003 2TB 5900 RPM 64MB Cache SATA 6.0Gb/s 3.5" Internal http://www.newegg.com/Product/Product.aspx?Item=N82E16822148681
CHENBRO ES34169-BK-120 case http://www.newegg.com/Product/Product.aspx?Item=N82E16811123154
The case has 4x hotswappable 3.5 inch bays 1x 2.5 inch internal mount. Momentus used as boot drive Barracuda Green for LVM network storage. 320W is recommended for this motherboard (fully loaded with pcie etc) however I managed to get all this working on the 120W by placing power consumption as a priority. There is currently issues with hard drive supplies due to natural disasters in asia. When I purchased my storage drives they were ~80 USD each not 220 USD.
I couldn't find a sata3 2.5 inch internal that wasn't an ssd the Momentus sata2 is my only regret for the system and what I plan to upgrade. The chenbro PSU fans are louder than I'd like, I'll be swapping them out soon.
Overall I'm happy with it. If the PSU gives me issues in the future I think a SFX PSU could be shoved in there with some minor dremel tooling.
- kobik - 2011-11-04 18:57
Finally I managed to make things working for me.
Not all perfect though and I need a little help with a couple of problems.
1. CPU usage is quite insane on idle. About 60%-70% is indication of problem.
At the system information screen I see that the FPS fluctuates between 100 to 200+, seems like a good cause.
2. I can't undo the default ATI's underscan.
Tried this with no joy
Any help will be appreciated.
- Anastrophe - 2011-11-04 19:47
don't worry about idle CPU usage - that will change in the future as the way the GUI is generated is undergoing an re-write.
- kobik - 2011-11-04 21:19
But why do I get this high usage while others don't?
I saw now that I get pretty high usage also when playing 720p.
One CPU is at 40% while the other 80%.
VAAPI is checked in the settings.
BTW, I'm using PVR-build.
Edit: Nothing about the underscan?
Edit2: Underscan fixed.
Need to run the below command while X is down.
So one down, one left to go.
Can this solve my FPS craziness problem?
I guess it could be made to limit my FPS, but I don't understand what are these numbers after the quotes.
I own Panasonic PV8 HD-Ready which supports 50Hz, what do I need to put there instead?
- Leon-B - 2011-11-05 02:12
I also get a cpu utilization of about 63% when xbmc idles with the latest nightly builds of Eden, so that doesn't seem less so far. However, from the moment on that it blanks the screen, it will have a cpu utilization of ~9%, when playing 720p content, it's around 23%.
working in lubuntu 11.10 - grolim64 - 2011-11-05 05:02
Hi, just registered to post that I have got everything working under Lubuntu 11.10:
nightly xbmc from Nathan Rennie-waldock (ppa:nathan-renniewaldock/xbmc-nightly) and getting updates (including a new libva) from ubuntu-x (ppa:ubuntu-x-swat/x-updates)
so far its working great!
so perhaps all you guys need is the updated libva from ubuntu-x...
- Hack_kid - 2011-11-05 06:32
what version libva and xvba does the ubuntu-x ppa give you
- grolim64 - 2011-11-05 08:03
it does not include xvba, it only updated libva to 1.0.15 (leaving xvba at 0.7.8)
- kobik - 2011-11-05 11:02
grolim64 Wrote:Hi, just registered to post that I have got everything working under Lubuntu 11.10:
Sorry for being noob but Which package to install?
Edit: OK, got that.
Apparently, not that noob...
- tjones - 2011-11-05 17:33
What does your output from top via ssh look like kobik? Perhaps it's an issue with whatever software you are using as a monitor and the apu.
top output via ssh login while xbmc is idle in my 10.04.3 system
top while playing 1080p h264
- kobik - 2011-11-05 22:58
This is my idle CPU usage.
This seems a little crazy to me.
About the usage whilst playing, I had my drivers recompiled and reinstalled and now it's about 12%-13% with 720p movie, so it's fine I guess.
I'm thinking of compiling my own XBMC build, but I'm having problems with that too
- tjones - 2011-11-06 16:45
Assuming you're using an APU.
Your top definitely states xbmc as the issue.
%us = user processes %sy = system processes.
From man top.
Try upping the amount of ram dedicated to the igfx. The default value is usually around 380MB. It might be a framebuffer capacity issue. I set mine to the max 2GB just for the fun of it. Try 1GB.
As to the compile try resetting your git directory and make sure libltdl7 libltdl-dev are installed as I've stated in this post. http://forum.xbmc.org/showpost.php?p=921595&postcount=607
I would get bootstrap/autoconfig errors in 11.10 unless I manually installed libltdl7.
Edit: another idea make sure that Composite is disabled in your xorg.conf if you haven't done so already.