[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)
- Ephon - 2011-07-07 11:50
Thanks for the reply Robotica, here my xorg.conf generated by aticonfig --inital -f
xbmc@HTPC:/etc/X11$ cat xorg.conf
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen-0" 0 0
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "Capabilities" "0x00000800"
Viewport 0 0
I've searched in the post and found the modlines but I've a ( noob ) question about that: I need to delete, for ex. "aticonfig-Screen-0" a put "Screen0" or I must append the text somewhere?
Thx for your time & patience
- Robotica - 2011-07-07 12:08
Ephon Wrote:Thanks for the reply Robotica, here my xorg.conf generated by aticonfig --inital -f
Check this post: http://forum.xbmc.org/showpost.php?p=819194&postcount=138
- Ephon - 2011-07-07 13:06
Ok, so I need to delete all the voices excpet for the modlines you have wrote; last question before beginnig modifying the file: i can put all the resolution and info contained here
or I'm limited to a certain number of entry?
- Krautmaster - 2011-07-07 14:41
haha hi there all!
nice to see whats going on here. My test setup with this 20€ ssd 8 Gb and this ASUS passive zacate ITX Board is ready and running, want to do some new tests like every month, see if there is progress on this vaapi matter.
My last known issus were:
24p + vsync bug (sucks!) <- should be an xbmc problem as far as i know... 10.1 Dharma would not fix it, maybe i'll try the newest 11pre via github
vaapi XBMC chash on 11.04 -> fixed?
Shutdown problems due to fu* policy kit changes in natty. -> works fine now?
My audio fix works fine for the MSI and Asus Zacate:
Quote:sudo nano /etc/modprobe.d/alsa-base.conf
- Robotica - 2011-07-07 15:07
there is alittle news on the 24p v+ vsync bug:
VAAPI: See http://forum.xbmc.org/showthread.php?tid=100609&page=4
11.4 works: http://www.wytraven.com/binaries/E35M1-I_Installation.txt
Maybe read this topic again... Many problems solved and new ones discovered..
- shade - 2011-07-07 22:42
Ah ok! didn't see that post, too bad, so have to wait till they fix the vsynch + 24p
Still no luck on audio, tryed krautmaster solution too but then even alsa ctl/mixer don't see any sound mixers.
What i want is spdif/toslink audio connection. (actually hdmi and analog both didn't work either just to test)
i get the error: unable to initialize audio device.
IR - WytRaven - 2011-07-08 04:43
Thought I would report on something else I have been successful with in regard to the ASUS E35M1-I Deluxe + XBMC.
I have successfully built an IR receiver which I am using in conjunction with the unused onboard sound card (I use the GPU's HDMI out for XBMC) in AC'97 mode. I am using the LIRC audio-alsa driver, the setup and use of LIRC and preparation of your remote is too much to go into here and there are plenty of resources around on just that.
The IR Receiver IC cost me about $7 from memory at a local Jaycar store (a part that if bought in bulk from mouser or similar would be less than $1) and the caps and resistors I had lying around as I dabble in hobby electronics. I have attached the schematic of the circuit plus a little photo of the very tight point-to-point physical implementation. I will put it in an enclosure of course at some point but the whole thing, as I have shown before, is currently running bare and open on my subwoofer.
I use a Harmony One remote with it. The impact on CPU usage with the sound card sampling constantly at 48KHz is so low as to be immeasurable.
Here's a quick explanation of the circuitry as you will find examples elsewhere on the net that don't include it. The two resistors (R1/R2) create a voltage divider that brings the output of the receiver IC (U1) down from 0-4.5V to something more like 0-0.8V which is more like what the sound card is expecting from an input signal. The filter capacitor (C2) is there to keep power steady to the IC, it will become more important the longer the cable between power source and the receiver. It should be as electrically close as possible to U1. The small capacitor (C1) on the output provides a DC balanced signal to the sound card. The 10 pin header is the audio front panel connector on the motherboard which is referred to as AAFP in the manual (in BIOS I have configured the card in AC'97 mode), the +5V I sourced from the nearby SPDIF_OUT header, as I don't use it, but if you were then you could go down to the standby power +5V line on the header labeled CHASSIS instead, it's down near the ram modules on the same board edge.
The power filter cap I used was a low voltage tantalum as I had one there and they are nice and small but a simple electrolytic would be just fine.
I have included this here as it is directly related to the whole XBMC on FUSION subject even if if not directly to VAAPI. If it doesn't interest you then just move on, nothing to see here.
- SDM2011 - 2011-07-08 17:31
Quote:Shutdown problems due to fu* policy kit changes in natty. -> works fine now?
The problem was the Slim login manager, because it doesn't handle policykit properly, and from my reading of the mailing lists, this will not be fixed. So I switched to LightDM, and everything worked perfectly right off the bat.
- Krautmaster - 2011-07-08 20:11
how to do that thx man
- X3lectric - 2011-07-09 01:41
@ robotica I put some libva packages that you can use on your guide, Im a nvidia guy not ati/intel but nonetheless this topic can do with some updates.
on another note you compile xbmc dependecies are missing some new deps that been added since you done this...