Kodi Community Forum
Linux VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 (/showthread.php?tid=165707)



RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-08-05

For those that try to build the fix, make sure to pick it up on master - if you want to keep 1.3.2 as a base at least pick: http://cgit.freedesktop.org/vaapi/intel-driver/patch/?id=82d2ed8d7da3619c0ea467c06604f5626fc0b901 additionally.

Or more easily: http://paste.ubuntu.com/7960845/


RE: vaapi-sse4: Deinterlacing Testing - wsnipex - 2014-08-05

(2014-08-05, 14:23)fritsch Wrote: For those that try to build the fix, make sure to pick it up on master - if you want to keep 1.3.2 as a base at least pick: http://cgit.freedesktop.org/vaapi/intel-driver/patch/?id=82d2ed8d7da3619c0ea467c06604f5626fc0b901 additionally.

Or more easily: http://paste.ubuntu.com/7960845/

fixed libva and i965 driver for trusty are in my vaapi ppa: https://launchpad.net/~wsnipex/+archive/ubuntu/vaapi


RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-08-05

Thank you very much!


RE: vaapi-sse4: Deinterlacing Testing - hal2100 - 2014-08-05

I suddenly get tearing, without any changes. All options are still according to the first post. Only change is that I do not switch the refresh rate, because I always end up with 59 hz. So I pinned it to 50.

Are there any tricks I can try?


RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-08-06

How about providing the relevant logfiles?


RE: vaapi-sse4: Deinterlacing Testing - Kib - 2014-08-06

(2014-08-06, 08:41)fritsch Wrote: How about providing the relevant logfiles?

Nice trick !


RE: vaapi-sse4: Deinterlacing Testing - hal2100 - 2014-08-06

(2014-08-06, 08:41)fritsch Wrote: How about providing the relevant logfiles?

Here you go:
http://paste.ubuntu.com/7971600/

EDIT:
I forgot to mention that I also had several "crashes" where the picture would freeze but the sound continues (and xbmc/kodi still reacts on keypresses). But I didn't find the time to analyze them... Strange...

EDIT2:
Got a log from the last crash, but I disabled the debugging, maybe it is helpful nontheless. I have to wait for the next 2 crashes to get a full debug log:
http://paste.ubuntu.com/7972796/


RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-08-06

wsnipex has built new packages of the libva-driver-intel in his vaapi repository. That fixes the gpu hang with the Joe_Sample.mkv which resulted by non existing support for phantom frames. The new package handles those frames with less artifacts.

Code:
sudo apt-add-repository ppa:wsnipex/vaapi
sudo apt-get update
sudo apt-get dist-upgrade

Thanks very much, again :-)


RE: vaapi-sse4: Deinterlacing Testing - hal2100 - 2014-08-07

Do you have any ideas about the tearing or the crashes? I submitted the gpu crash log to freedesktop.org, as they request.

Thanks in advance...


RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-08-07

I cannot reproduce. Try OpenELEC from an USB stick, if that is working it's something on your side. Busy with real work.

Concerning the GPU hang, add the wsnipex vaapi ppa and update your intel-drivers.


RE: vaapi-sse4: Deinterlacing Testing - bkuhls - 2014-08-07

(2014-08-05, 14:23)fritsch Wrote: For those that try to build the fix, make sure to pick it up on master
I can confirm that the patch fixes the bug:
https://bugs.freedesktop.org/show_bug.cgi?id=81447#c17


RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-08-07

No, it does not - I just replied you on the bugtracker - you need the relevant ML patch in order to succesfully play that sample till the end. Wsnipex has packaged it within his vaapi ppa.


RE: vaapi-sse4: Deinterlacing Testing - illiac4 - 2014-08-08

Sometimes it happens that xbmc just crashes when i am trying to play livetv. I assume that the stream is not very 'clean' at the beginning but before that it has never crashed i am seeing this lately lets say last month.

Here are debug and crashlog:
http://pastebin.com/iD9F8wF9
Crashlog:
http://pastebin.com/BZLc7bas


RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-08-08

Don't use tvheadend - if it does not know the screen dimensions it just sends width = height = 0;

You can workaround it by using: https://github.com/FernetMenta/xbmc/issues/246#issuecomment-51034469 - that will most likely crash elsewhere then :-)

Edit: In your case it sends garbage:
Quote:06:30:00 T:140690169038592 ERROR: Previous line repeats 1 times.
06:30:00 T:140690169038592 ERROR: ffmpeg[FB8C8700]: [h264] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one



RE: vaapi-sse4: Deinterlacing Testing - illiac4 - 2014-08-08

Now i have another crashlog with iptv simple addon. It crashes even with tvheadend disabled.

http://pastebin.com/LhnSgxiK