Kodi Community Forum

Full Version: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2014-05-01, 14:33)fritsch Wrote: [ -> ]That processor is fast enough, we did some internal tests with a gigabyte brix 2955U, which managend 1080i50 LiveTV without any issue. Please make sure, that you don't force Lanczos3 Optimized for that 1080i resolution (see settings from the first post), your logfile will show that anyways.

Edit: I tested most of this code with a Celeron 1007U, which has dual 1.5 ghz but old IVB architecture, so your 2955U is certainly enough.

I am not sure I follow, in your first post you mention;
"and set Deinterlace: Auto and Deinterlace Method to: Deinterlace (if it causes too much cpu load, choose Bob) - also set Scaling algorithm to Lanczos 3 optimized. Save for all files."

There you actually state you do have to set it to Lanczos 3 right?
How does the visual quality of 'half-deinterlace with Lanzcos 2' compare to 'de-interlace with lanzcos 3'? Is that very far apart? I dont really see a big diffence but you might have a more scientific answer to that Smile
I will come up with a log still, but I have to pair my laptop to a wifi sharing android phone at the moment since my internet has broken down. So i cannot easily ssh or samba into the Asus right now.
In combination with the 20% for the hq scaler... This will actually disable lanczos for > 720p. Verify that you have both. The bold setting.
Have followed the how-to through again after upgrading to 14.04. Only thing I can't get to is the settings in System -> Video -> Playback. There is no option for VAAPI or any of the others mentioned in the how-to listed.

Edit: also noticed video calibration from within the player doesn't stick even if I select to apply as default. If I play the same file again screen borders are calibrated but not for any other video unless I manually set it for it too.

My XBMC version after installing from the ppa is 14.0-alpha1 compiled on the 29th April.
Set the settings to expert, use confluence skin
Thanks fritsch. That fixed it. Note to others, the settings are a little differently named and mostly stored in a tab called Acceleration.

Video calibration not sticking still but I am guessing this is an xbmc bug rather than vaapi related.
If you can don't calibrate with xbmc at all. Use your TV remote and disable Underscan. The settings are most of the time called "Fixed", "Just Scan" or the like.
I am runnung asus chromebox on Celeron® 2955U
Installed Xbuntu 14.04 and xbmc on top of it (from fernetmenta ppa)
Follow guide from post #1

I end up with terrible tearing. Usually top of the screen.
Changing deinterlace settings change tearing but it is always present.

HDMI out to amp and then TV.

logfile
http://pastebin.com/r61mGpHU

thx
Read the forum - this is not topic in this howto. You need to disable backing store.
thx fritsch
"-bs" option added to lightdm startup but tearing still very bad
Post Xorg.0.log - in short provide all logs from the first post, including xbmc in debug logging (which the above is not).
(2014-05-03, 18:15)fritsch Wrote: [ -> ]Post Xorg.0.log - in short provide all logs from the first post, including xbmc in debug logging (which the above is not).

xbmc@mp-Panther:~$ dmesg | pastebinit
http://paste.ubuntu.com/7387864/
xbmc@mp-Panther:~$ cat ~/.xbmc/temp/xbmc.log | pastebinit
http://paste.ubuntu.com/7387868/
xbmc@mp-Panther:~$ cat /var/log/Xorg.0.log | pastebinit
http://paste.ubuntu.com/7387869/
xbmc@mp-Panther:~$ DISPLAY=:0 vainfo | pastebinit
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
http://paste.ubuntu.com/7387870/
xbmc@mp-Panther:~$ dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/7387875/
xbmc@mp-Panther:~$ id | pastebinit
http://paste.ubuntu.com/7387876/
xbmc@mp-Panther:~$ aplay -L | pastebinit
http://paste.ubuntu.com/7387877/

THX for helping
Display lanczos3 optimized and retry, e.g. set Scaling to bilinear, though there are no drops in the log at all.
Here is a testfile without audio: https://dl.dropboxusercontent.com/u/5572...lannad.mkv

Also disable composite in xorg.conf
Gave up on ubuntu Smile I will come back to it one day Smile

Installed OpenELEC and everything works out of the box Smile
Set your HW filters and everything looks perfect.

thx
First - I want to thank you for this great HowTo.
I just moved to a new computer with integrated HD4600, after using Nvidia for few years.
I was frustrated when looked on soccer in live tv. After adding your PPA and following instructions everything seems to work great!
Thank you.
I'm using XBMCbuntu Beta. Will you're PPA code be transfered to xbmc regular PPA?
Yes, for XBMC 14.x