Since longer time now, we are trying do get the "last thing" not existing on the very nice intel sandybridge and ivybridge machines working. Under the lead of Btbn, a long time vlc coder, VPP (Video Post Processing) for Intel machines was implemented and PRd to xbmc ([1]), it is now tested since several weeks in special OpenELEC builds ([2]).
After the needed libva and vaapi-intel-driver changes went into a testing tree over at intel ([3],[4]), we decided to build some packages, that provide the following things:
a) Updated libva and libva-intel-vaapi-driver packages - easy to install on recent Ubuntu versions
b) xbmc-frodo with those patches integrated.
c) BOB Deinterlacing for interlaced content - the jumping ends exactly know. This implementation also crops one bottom and one top line, to reduce flicker.
wsnipex kindly provided packages within a day, so installation was made really easy. Let's start.
0.) Requirements
No other xbmc version installed that is newer than this frodo version. You have to remove the ppa and the installed version, prior to starting with 1).
Ubuntu Precise, Quantal or Raring are a software requirement
Sandybridge(*) or Ivybrige GPU are hardware requirement (HD2000+)
1) Installation of the repository and the new packages
After the installation, something like this should be installed:
2.) xbmc configuration
System -> Settings -> System -> Video Hardware: Vertical Blank Sync: Always enabled.
System -> Video -> Playback -> Adjust Refreshrate to match video (On Start / Stop)
System -> Video -> Playback -> Sync Playback to Display (Video Clock (Drop / Dupe Audio))
Now play a video file and press on the movie icon, while playback. Here select for:
Deinterlacing: Auto (don't for this to Enabled)
Deinterlacing-Method: VAAPI (Auto)
Scaling: Bilinear (on hd4000 probably higher)
Save that for all movies
Configure your Audio as usual.
If you are in need of VDR plugins, you can install frodo compliant version via zip file or via the other frodo ppas wsnipex provides. Vnsi4 as zip for example, you also find here: https://dl.dropboxusercontent.com/u/5572...x86_64.zip
3.)Known issues
When decoding 1080i50 and openening the OSD via the "o" key, you see 1 fps dropping on Celeron 847 hardware.
Temporal / Spatial Deinterlacing will come during the end of the year. VPP is technically ready to use it, but - for now - no backend has implemented it (intel's job).
Huge thx to Btbn and wsnipex making this possible.
Please remember: If you get problems, we need pastebin links to:
Also enable xbmc debug logging, when something happens. This thread is not there to discuss scraper issues or other things, that are not relevant.
(*) Some Sandybridge chips need to have RC6 disabled. This has nothing to do with this version, but is a hw, driver, mesa bug - which is also existing with other versions. You know, that you are affected when your machine freezes instantly while watching some channels. To workaround it:
[1] https://github.com/xbmc/xbmc/pull/2460
[2] http://openelec.tv/forum/116-vaapi-intel...mitstart=0
[3] http://cgit.freedesktop.org/vaapi/intel-driver/ (v1.1testing)
[4] http://cgit.freedesktop.org/vaapi/libva/ (v1.2testing)
Irc-channel: #xbmc-xvba on freenode
After the needed libva and vaapi-intel-driver changes went into a testing tree over at intel ([3],[4]), we decided to build some packages, that provide the following things:
a) Updated libva and libva-intel-vaapi-driver packages - easy to install on recent Ubuntu versions
b) xbmc-frodo with those patches integrated.
c) BOB Deinterlacing for interlaced content - the jumping ends exactly know. This implementation also crops one bottom and one top line, to reduce flicker.
wsnipex kindly provided packages within a day, so installation was made really easy. Let's start.
0.) Requirements
No other xbmc version installed that is newer than this frodo version. You have to remove the ppa and the installed version, prior to starting with 1).
Ubuntu Precise, Quantal or Raring are a software requirement
Sandybridge(*) or Ivybrige GPU are hardware requirement (HD2000+)
1) Installation of the repository and the new packages
Code:
sudo apt-add-repository ppa:wsnipex/vaapi
sudo apt-get update
sudo apt-get install xbmc xbmc-bin libva-intel-vaapi-driver libva1 vainfo
After the installation, something like this should be installed:
Code:
fritsch@vaapi:~$ dpkg -l |grep xbmc
ii xbmc 2:12.2~git20130525.1043-vpp-0quantal all XBMC Media Center PVR Xvba Edition (arch-independent data package)
ii xbmc-bin 2:12.2~git20130525.1043-vpp-0quantal amd64 XBMC Media Center PVR Xvba Edition (binary data package)
ii libva-intel-vaapi-driver 1.1.0-3~pre2~quantal all VAAPI driver for Intel G45 & HD Graphics family (transitional package)
ii libva1:amd64 1.2.0.pre2-0~quantal amd64 Video Acceleration (VA) API for Linux -- runtime
2.) xbmc configuration
System -> Settings -> System -> Video Hardware: Vertical Blank Sync: Always enabled.
System -> Video -> Playback -> Adjust Refreshrate to match video (On Start / Stop)
System -> Video -> Playback -> Sync Playback to Display (Video Clock (Drop / Dupe Audio))
Now play a video file and press on the movie icon, while playback. Here select for:
Deinterlacing: Auto (don't for this to Enabled)
Deinterlacing-Method: VAAPI (Auto)
Scaling: Bilinear (on hd4000 probably higher)
Save that for all movies
Configure your Audio as usual.
If you are in need of VDR plugins, you can install frodo compliant version via zip file or via the other frodo ppas wsnipex provides. Vnsi4 as zip for example, you also find here: https://dl.dropboxusercontent.com/u/5572...x86_64.zip
3.)Known issues
When decoding 1080i50 and openening the OSD via the "o" key, you see 1 fps dropping on Celeron 847 hardware.
Temporal / Spatial Deinterlacing will come during the end of the year. VPP is technically ready to use it, but - for now - no backend has implemented it (intel's job).
Huge thx to Btbn and wsnipex making this possible.
Please remember: If you get problems, we need pastebin links to:
Code:
dmesg | pastebinit
cat ~/.xbmc/temp/xbmc.log | pastebinit
dpkg -l |grep libva | pastebinit
dpkg -l |grep vaapi | pastebinit
(*) Some Sandybridge chips need to have RC6 disabled. This has nothing to do with this version, but is a hw, driver, mesa bug - which is also existing with other versions. You know, that you are affected when your machine freezes instantly while watching some channels. To workaround it:
Code:
sudo edit /etc/default/grub
change the following line:
GRUB_CMDLINE_LINUX_DEFAULT="splash quiet"
to read:
GRUB_CMDLINE_LINUX_DEFAULT="i915.i915_enable_rc6=0 splash quiet"
afterwards:
sudo update-grub
sudo reboot
[1] https://github.com/xbmc/xbmc/pull/2460
[2] http://openelec.tv/forum/116-vaapi-intel...mitstart=0
[3] http://cgit.freedesktop.org/vaapi/intel-driver/ (v1.1testing)
[4] http://cgit.freedesktop.org/vaapi/libva/ (v1.2testing)
Irc-channel: #xbmc-xvba on freenode