[LINUX] HOW-TO use VAAPI HW Acceleration on new Intel Sandy Bridge 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 new Intel Sandy Bridge platform (/showthread.php?tid=96669)
- rbrohman - 2011-08-09 02:26
When I attempt to perform the "patch -p1 < Libva_testdir_makefile.patch", I get an error message "Hunk #1 failed at 23". This follows a number of lines that say "Hunk #1 succeeded at 22 with fuzz 1" (or similar).
The reject file's contents :
Is this something I should be concerned with or is a reject expected here?
- rbrohman - 2011-08-09 04:18
I continued on from there, but I get stuck at the point where I attempt to compile xbmc. "make -j4" produces:
"Makefile:703: *** missing `endif'. Stop."
- sraue - 2011-08-09 07:09
rbrohman Wrote:I continued on from there, but I get stuck at the point where I attempt to compile xbmc. "make -j4" produces:
fixed with https://github.com/xbmc/xbmc/commit/1d9a8e099595ec723b3b897d6bb02d6bf9e1ed8d
- alanwww1 - 2011-08-09 21:11
rbrohman Wrote:Is this something I should be concerned with or is a reject expected here?
There were a lot of commits done after i made that patch so it might be that the patch is now not needed at all. I have not ha the time to test. IF you can compile libva without an error, you are good without the patch.
- rbrohman - 2011-08-10 03:01
sraue Wrote:fixed with https://github.com/xbmc/xbmc/commit/1d9a8e099595ec723b3b897d6bb02d6bf9e1ed8d
Thanks. Re-downloaded from git and all is well now.
alanwww1 Wrote:There were a lot of commits done after i made that patch so it might be that the patch is now not needed at all. I have not ha the time to test. IF you can compile libva without an error, you are good without the patch.
Ok, thanks. I figured as much, but wanted to double check.
Much appreciation for this guide. I've now got XBMC up and running with the basics functioning as expected (remote, suspend/resume, etc). Hope to start throwing some video at it tomorrow. My fingers are crossed.
- rbrohman - 2011-08-19 02:16
I'm up and running, and it's almost there. Videos playing smoothly, with very low cpu usage (around 2-3%, spikes towards 10% when at 8x ffwd). Currently running video and audio over the onboard hdmi directly to the TV. However I'm coming across one problem. Every once in a while, the whole system locks up while throwing up the following screen:
When this happens, I'm completely locked out. The IR receiver's light blinks on remote presses, but nothing happens. Can't use the USB keyboard either. Only resolution is to hard reboot with power button on the htpc.
At first I thought maybe it had something to do with leaving xbmc idle (if I forgot to shut down and came back, it would often be frozen like this), but I have now also had it occur a couple of times while watching local content.
glproto error, how do I update? - jant90 - 2011-08-20 17:31
glproto error, how do I update?
I'm trying to install XBMC as is described in the start post but I run into a problem when running the following command under mesa:
I tried (because somewhere on the internet it was mentioned this could help):
But that simply returns:
I'm running Ubuntu Server 11.04 x86_64.
So I guess my question is: how do I update glproto?
Btw, among this fatal error the script also returns some other errors on which it doesn't break. The full output of the script is here: http://pastebin.ubuntu.com/670999/.
- alanwww1 - 2011-08-21 00:29
jant90 Wrote:glproto error, how do I update?
Try to compile it from GIT:
- ths80 - 2011-08-24 20:05
alanwww1 Wrote:Hello !
I have the issue too. But I don't think it's a driver problem. With mplayer-vaapi the problematic files play well.
- alanwww1 - 2011-08-24 21:51
ths80 Wrote:I have the issue too. But I don't think it's a driver problem. With mplayer-vaapi the problematic files play well.
Are you sure you are playing the same file in mplayer WITH VAAPI acceleration ?
If so, could you please fill in a ticket here on xbmc trac ?
Please enclose xbmc log. Also would be good to provide a sample from a video which plays fine in mplayer and does not in xbmc.