[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)
- MaZZly - 2011-10-12 08:26
Redsandro Wrote:Easy XBMC-VAAPI installation
I tried your guide and could get it to work only if i started xbmc from terminal, when starting it normally it crashes when i was about to start a video..
also when i started it the startup logo was weird.
then i tried your optional fix to install gnome shell, and when inlogged into gnome shell it works flawlessly..
so maybe make that step non-optional? =D
now my 170€ htpc works fine.. love it how spdif works out of the box also =)
- Robotica - 2011-10-12 14:23
fritsch Wrote:I have the same problem.
There is a patch for compiling against newer FFMPEG: http://trac.xbmc.org/ticket/11689
And for this ticket, it is best to cc Fernetmenta/bobo1on1 in the ticket: http://trac.xbmc.org/ticket/11862
Together with Fernetmenta patches for the 24p bug, audio out of sync after pause/seek issue, the catylist driver 11.8 which solved the Suspend Problems and the the great bugreport from fritsch, it looks like all known problems will be soon solved. Oh, only the big pixel issue could be handled better by XBMC.
Make sure to have your settings set to rendermethod is VAAPI, set Always vsync= enabled, sync audio to video = disabled & "Adjust display refresh rate to match video". If you have the "Adjust display refresh rate to match video" setting enabled XBMC will adjust the refresh rate to 24Hz, 25Hz, or whatever the video frame rate is when you play the video. The ATI control center helpfully sets the screen scaling separately for each refresh rate, so the screen scaling will vary depending on what video you play.
Last things: I am running without a GUI and with aticonfig cli-based, it is possible to activate the "tearfree option" setting.
And I've read someone was using a leightweight windows manager (replacement for X). Maybe something like twm-kiosk, wayland, enlightment, fluxbox or windowmaker? Any more info on this? And I would love to test some even more minimal distro's? anyone idea's?
- Redsandro - 2011-10-12 18:24
MaZZly Wrote:I tried your guide and could get it to work only if i
Thanks MaZZly, I added your suggestion to the optional step.
Honestly, I didn't try it without the optional step, because without it Ubuntu is more like EwwBuntu to me. But I know some people like it the way it is, so I made the step optional not to offend anynoe.
btw you shouldn't quote such a lengthy post in it's entirety. :o
@Robotica: Could you give some pointers on getting mplayer-vaapi and/or gstreamer-vaapi to work with vaapi?
Using the information both provided by Splitted-Desktop and by your second post, I just couldn't get them to work.
These little Fusion machines are worth so much more within Linux if we could get some desktop player to play video like a boss also.
- Robotica - 2011-10-13 10:41
Doesn't this work:
(I just used the build instructions: http://www.splitted-desktop.com/static/libva/mplayer-vaapi/)
Then play with
./mplayer -vo vaapi -va vaapi filename
- Redsandro - 2011-10-13 14:46
That is so weird, I must be missing something.
I tried it again, I just keep getting
Error opening/initializing the selected video_out (-vo) device.
There is no vaapi.
Quote:# tar -xjpf mplayer-vaapi-20110127-FULL.tar.bz2
Quote:# ./mplayer -vo vaapi -va vaapi /home/sample.mkv
- Robotica - 2011-10-13 15:04
The patched libVA must be installed on the system prior to building the patched MPlayer. The libVA installation must be complete; it is not sufficient to copy the libva.so and corresponding symbolic links because the updated VA header files are required during the build of the modified MPlayer. Complete installation requires “make install” of libVA.
- Redsandro - 2011-10-13 15:12
Thanks for the pointer. They won't build or install due to files already existing with newer file names. I thought those were good. Can I just remove all packages it complains about?
Also, in stead of building, there are also .deb files in the same Splitted-Desktop directory. But same story. Can I remove the stuff with newer filenames, without breaking Xubuntu or XBMC, which works extremely nice right now?
Quote:# dpkg -i libva-dev_0.32.0-1+sds2_amd64.deb
- Robotica - 2011-10-13 15:20
I am not sure about breaking your install... Clone it so you can play a little..
Do you have Symlink:
ln -s mplayer-vaapi /mplayer/mplayer
looks like you need to refer to libva source
And if you set the environment variable:
before starting mplayer?
Or last option:
install a front-end for MPLayer by running the following in a terminal:
sudo apt-get install smplayer
and then changing the video out device in the SMPlayer preferences:
Options --> Preferences --> General --> Video --> Output Driver
mplayer -vo help will also get you a list of output devices
- Ragtreme - 2011-10-13 15:56
Used RedSandro's Guide from the previous page.
Had to disable vaapi in the settings to play mkv
Seems to run okay (not great) Anyone else experiencing the same problem?
Thanks a lot by the way, I'm a absolute Linux-Newbie.
Had to look up how to create the xbmc list, but it worked in the end.
UPDATE: 11.10 is official, maybe it's now going to be easier...
Optical or Analog out - MarsianMan - 2011-10-14 01:44
I am really excited to get the ZBox AD02 working with XBMC, but I am having some issues. So far I have been able to get HDMI audio working, but it is very static filled. My speakers are Logtiech z-680 (similar to the z-5500 I believe). the only inputs are 1 optical, 1 coax, 6ch / 2ch in. In order to get HDMI audio to the speakers, it has to go through the TV and then to the speakers, which is creating a very loud static noise.
Ideally I would like to bypass the TV by whatever means possible. I am fine with 2ch or using optical but none of the options in XBMC seem to work. I was able to get mplayer to work over analog (I had to disable Azalia in bios to get the HDMI audio working).
Is there a way to get XBMC working with non-HDMI audio? Does anyone have some suggestions? I would think Analog would be the easiest, but I would prefer optical. What kind of options are accepted by "custom" audio devices? Would it accept what I give to mplayer after -ao alsa:device=xxxx=#.#?
I have spent over 25 hours this week on getting this box running already!