![]() |
|
[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) |
- alanwww1 - 2011-04-07 21:08 Krautmaster Wrote:is it possible to build xbmc-live by my own? Normaly, with ppas, i install xbmc and xbmc-live and it works good so far but without this clock patch and most of the ppas are compiled without VAAPI... There is no need to build the LIVE version of xbmc as we do our own custom live version here. We do have almsost everything after this guide than you have with a live package install. Only suspend needs a little work. I was able to figure out the lack of multichannel lpcm. I will add it to the guide. For suspend to work you need the latest BIOS of your motherboard (there is a chipset firmware upgrade in it) after that sudo pm-suspend works. The only thing i need to figure out is why the xbmc session is not "active" when i check it with ck-list-sessions. Without that Ubuntu won't alow xbmc to start a suspend process. - nirmv - 2011-04-07 21:27 Hi guys, With new sandy bridge system I'm wondering whether to go the Ubuntu path. I LOVE Ubuntu but cannot compromise on the HD bit streaming (DTS-HD, Dolby TrueHD via hdmi). Was anyone able to bitstream HD audio formats ? I know that it should be possible from here : http://phoronix.com/forums/showthread.php?27348-TrueHD-DTS-HD-E-AC3-Over-HDMI-On-Linux but does it ready/works with xbmc ? Thanks, Nir. - alanwww1 - 2011-04-08 15:44 nirmv Wrote:I know that it should be possible from here : http://phoronix.com/forums/showthread.php?27348-TrueHD-DTS-HD-E-AC3-Over-HDMI-On-Linux I know that on Boxee it is already working and AFAIK there is work started for xbmc. But as the new Audio Engine branch will be merged hopefully soon, this feature won't be added before. It would not make sense to implement it to an outdated engine. - Krautmaster - 2011-04-08 22:40 wrong
- chimpin - 2011-04-09 16:56 Hi, this is my first message. Don't judge me by my English. I have an i5 2500k with gigabyte h67m-ud2h-b3. I use the hdmi connected to an Onkyo 608. I followed the instructions. I had a couple of problems. A XT related library and when I compiled the xbmc I needed to install a python dev package. The "autorun" didn't work for me, but I launched the program manually. I see the cpu load in the 4 cores and it seems a little high (ranging from 10 % to 56 %). But then I see the vcpu and it's as low as 5 %. The linux itself only detects 2 channels over hdmi. But when the sound is ac3 or dts the xbmc outputs correctly 5.1. When I have flac 6 channels or dolbytruehd the output is limited to 2 channels. I'm going to try the maverick approach, because this system is too minimal and I don't have the skills and patience to complete it. Thanks in advance. - LeonM - 2011-04-12 18:20 Updated to the latest xorg-video-intel today, looks like it is broken: Code: [ 3602.793] (II) intel(0): [DRI2] Setup completeStill looking to find what causes it. I also noticed that the libva patch is no longer needed. - LeonM - 2011-04-14 23:29 I got XBMC working again, but I am experiencing problems with video "lags". Once every 10 seconds or so, the video lags. This results in ~10 dropped frames, and out of sync audio. The lags also occur in the menu, even without video playback. However, when I display XBMC in windowed mode, rather then full screen, it runs perfectly. It played a 1080p movie completely with 0 dropped frames. I don't use an xorg.conf file, and I removed the guisettings.xml just to be sure it wasn't some configuration error. I run XBMC with 1920x1080@60Hz and VAAPI enabled. I searched google, but found mostly old forum posts about this problem, almost all concerning Nvidia drivers. Some suggested to use the "safefull" option, but that did not help. Does anyone have any idea what could cause this, and what I should try to fix it? edit: Typical, you struggle for a whole day without success, and 5 minutes after you post a message on a forum you find the solution ![]() Turning off Vertical Blanc Sync completely solved it. Full HD playback with 0 dropped frames and audio in sync
- Krautmaster - 2011-04-16 13:58 hm running XBMC with VAAPI enabled on my zacate system is strange. I make my own xbmc 11pre installation and i think its this "smooth playback feature" which made my video stuttering (low cpu load, massiv drop of frames). Playing around with sync and other options make the additional information behind CPU Load (during playback pressing "o") disappear and then it works fine with vaapi enabled. (strange thing is that the setting is default then, so no changed option but the problem is away) This Sync information is new in 11pre, in 10.0 Dharma release, i got this information only if i turn this a/v sync in video settings on. Robotca mentiond here that i need to patch my xbmc ... http://forum.xbmc.org/showthread.php?tid=99154 with these patches: http://trac.xbmc.org/ticket/10928 how do i do this? I patched xbmc like alan does in page one but thats different from these patches or and the same method doesnt work with this VAAPI Surface patches. Thx Edit: Deleted .xbmc folder and rebuild the Dharma release. 10.0 ... VAAPI is ok so far. But some movies show tp this stutter problem. So i need to patch... before building xbmc Quote:root@htpc:/usr/src/xbmc/xbmc/cores/dvdplayer/DVDCodecs/Video# patch -p0 < vaapi_surface_reuse.patch patch unexpectedly ends in middle of line Thanks! - nicob - 2011-04-20 01:17 Thank you for the guide! After installing additional libxt and python-dev it all works fine! I saw some improvements in using the 2.6.39 kernel... And install acpid for my powerbutton... ![]() The downside is projectm, which after 6 minutes of leaving the system alone when playing music with projectm in fullscreen will hang for a few seconds and the music also stops for a second or so... But I am very happy to see that playing a blueray is uses far less cpu compared to pausing it...
- chimpin - 2011-04-24 17:59 I'm a total noob. Is there a way for installing all the stuff with a "normal" natty release? |