![]() |
|
[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) |
- chemical - 2011-12-06 10:36 hektor2k Wrote:Nearly, in fact its a newer one: To check whether you are able to use HW Accel through VAAPI do the following: * login via ssh remotely, then execute: Code: DISPLAY=:0 vainfoIt should display something like this: Code: libva: VA-API version 0.32.0If it is listing the profile/entrypoints, then you can see whether xbmc has enabled the acceleration: [img]http://doityourselfhtpc.files.wordpress.com/2010/09/enable-vaapi-in-xbmc.png?w=600&h=413"]http://doityourselfhtpc.files.wordpress.com/2010/09/enable-vaapi-in-xbmc.png?w=600&h=413[/img] If you press the button referencing to the ContextMenu (I guess it is E on the keyboard) you will see some debug information during playback of a video. In the video-line there should be a "-vaapi" in the profile string: ![]() I hope that helps. - Leon-B - 2011-12-06 22:48 This one does have VAAPI enabled: https://launchpad.net/~nathan-renniewaldock/+archive/xbmc-nightly - Redsandro - 2011-12-06 22:55 chemical Wrote:I have those random "freezes" in the GUI, too. It seems that everything else is working (ssh, services, ..) but just XBMC waits for a "flip" of the video memory and timeouts (it is still partly working and logging in temp/xbmc.log). Same here btw, for plugins like XOT-UZG or Youtube it seems to happen much quicker. But I think it's a problem with XBMC and the video drivers, because everything freezes. When you ssh into your htpc you can killall -9 xbmc.bin and /etc/init.d/lightdm restart all you want, but you are not gonna get your display back. Ever. Hence, reboot now is the only way out. - blandoon - 2011-12-07 00:11 A silly question: Will this HOWTO also work on other recent AMD chipsets (880G, for example)? I know there is another method out there in the forums, but it requires installing XBMC Live, and I'd much rather do it this way if I can. - Redsandro - 2011-12-07 00:44 Only chipsets with an AMD proprietary driver can use the xvba backend. Your chipset must support UVD hardware acceleration. It looks like the 880G has full accelerated video decoding support. I am just taking an educated guess, I will not apologize if it does not work.
- chemical - 2011-12-07 11:20 Redsandro Wrote:Same here btw, for plugins like XOT-UZG or Youtube it seems to happen much quicker. FYI: For me a restart of X is enough. I don't have any window managers running, tho. Plain X without desktop environment/shell that simply calls xbmc binary in .xsession. After kill -9 on xbmc.bin the window drops back to shell and I can restart X. Still hoping that someone finds this problem/a workaround in the renderer. - fritsch - 2011-12-07 14:13 Could you provide a xbmc.log with debugging turned on. And if this is possible a gdb backtrace? You can ssh into the system remotely, export your DISPLAY and start xbmc.bin in gdb. After it crashs, please obtain the backtrace (thread apply all bt) Before you can force gdb to log into a file with: set logging on crashlog.txt I think i know, what i will read in the gdb logs :-). A lot of fglrx faill stuff, hopefully you can prove me wrong. - wsnipex - 2011-12-07 15:08 I bet its the same problem we've seen before... Can you check your /var/log/kern.log for fglrx entries too please? - chemical - 2011-12-07 15:21 fritsch Wrote:Could you provide a xbmc.log with debugging turned on. And if this is possible a gdb backtrace? Ok, I'll try to reproduce it. It is not crashing, btw. It becomes dead partly (ignoring inputs, but still logging) - I will have to Strg+C in the gdb once it starts behaving like described. - fritsch - 2011-12-07 15:40 It hangs in fglrx, i suppose during swapBuffers call or similar.... too much GL in xvba-driver which can interfere. But let`s see your log. First idea (some month ago) was to fix xvba-driver, cause you do only get this kind of hangs hang after having watched a movie with vaapi over xvba-driver. But we decided differently, to implement raw xvba. But! we need to get this fixed. No solution if vaapi crashes for all AMD folks outside when eden is released. You use the latest Catalyst btw.? 11.11? |