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 - FernetMenta - 2014-03-07

you can find the setting in category "acceleration" with expert level enabled.


RE: vaapi-sse4: Deinterlacing Testing - Daikon - 2014-03-07

I'm sorry but there is nothing. There is only the new point "-Alllow multi threaded software decoding"


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

Post a log. 100 % wrong Version.


RE: vaapi-sse4: Deinterlacing Testing - Flachzange - 2014-03-08

I am experimenting with vaapi and deinterlacing since the first versions of the intel hd drivers. Today I tried vaapi-sse4 and it looks really good. It seems there is finally something working. Thanks for the great work and everyone contributing.

However, I have an (known) issue with hdmi audio and my pioneer avr. HDMI audio did not work for graphic modes 1920x1080@50p and 1920x1080@60p. All other modes were fine, but no one wants to look at 30p or less. This problem was solved by the intel developers last October and committed into the 3.13 kernel.

Before I switched to vaapi-sse4 I had a standard ubuntu 13.10 running with xbmc-unstable beta 1 and a 3.13 kernel. Everything worked fine, even with pulseaudio. That means: hdmi passthrough (ac3, dts, bitstream, ...) and stereo for GUI sounds, music, etc.

With the installation described in post #1 I get hdmi passthrough for all multichannel formats but simple stereo does not work. There is a workaround by setting a fixed sampling rate of 192kHz. Then I have audio everywhere but no passthrough, only resampled pcm.

Edit: When switching to TV channel with stereo audio, GUI sounds are working. No clue why...

So my question is whether one the changes made by the intel developers are overwritten by any of the packages of the ppa used in this tutorial?


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

My question is: Debug Log available?


RE: vaapi-sse4: Deinterlacing Testing - Flachzange - 2014-03-09

Sure: Debug Log.

Unfortunately I could not make a full debug log with PVR backend enabled as xbmc crashed during startup with enabled debug logging. (Works fine without debug logging)

Is it possible to force xbmc on a specific sample rate for GUI sounds and music playback without losing the passthrough option?


RE: vaapi-sse4: Deinterlacing Testing - noggin - 2014-03-09

fritsch - any news on Weston 3 field de-interlacing ?


RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-03-09

Yeah, tested it. Was not usable on my hardware - e.g. nice quality, but much too slow. We can integrate it easily after gotham.


RE: vaapi-sse4: Deinterlacing Testing - noggin - 2014-03-09

(2014-03-09, 23:05)fritsch Wrote: Yeah, tested it. Was not usable on my hardware - e.g. nice quality, but much too slow. We can integrate it easily after gotham.

Great. As I run the same Celeron processor (1007U) as I believe you do on one of my builds that's good to know (if a little disappointing). Be interesting to see it on my i5 though. Will keep across the thread.


RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-03-09

You can easily try yourself, clone ferntmentas master - the change is a one liner. At the position yadif is called, just replace it with the bbc deinterlacer and you will see. Try the "complex" and the "lower quality" one.


RE: vaapi-sse4: Deinterlacing Testing - noggin - 2014-03-10

Have never compiled my own build of OpenElec before - will do some digging.

Am assuming it is this bit I need to modify ? :

Code:
if(flags & FILTER_DEINTERLACE_YADIF)
  {
    if(flags & FILTER_DEINTERLACE_HALFED)
      m_filters_next = "yadif=0:-1";
    else
      m_filters_next = "yadif=1:-1";

    if(flags & FILTER_DEINTERLACE_FLAGGED)
      m_filters_next += ":1";

    flags &= ~FILTER_DEINTERLACE_ANY | FILTER_DEINTERLACE_YADIF;
  }

In xbmc / cores / dvdplayer / DVDCodecs / Video / DVDVideoCodecFFmpeg.cpp ?

I assume I can download fernetmenta's master xbmc branch, edit the code locally, and compile my own version of XBMC under Ubuntu - not so sure how I get that into an OpenElec build? (The fact that I'm asking the questions probably means I don't know enough about this yet...)


RE: vaapi-sse4: Deinterlacing Testing - Daikon - 2014-03-10

@fritsch about my problem. can i post an OE xbmc.log to check correct version? I use it at the moment. Otherwise i have to setup the system again with the fernetmenta's master.

EDIT.: I use the OE Versions compiled by Krautmaster.


RE: vaapi-sse4: Deinterlacing Testing - posixx - 2014-03-10

When running apt-get upgrade i get:

The following packages have been kept back:
linux-headers-generic linux-signed-generic linux-signed-image-generic xbmc xbmc-bin

Is xbmc and xbmc-bin kept back due to the beta1 change? Should i do a dist-upgrade or will this break my system?


RE: vaapi-sse4: Deinterlacing Testing - wsnipex - 2014-03-10

(2014-03-10, 11:42)posixx Wrote: When running apt-get upgrade i get:

The following packages have been kept back:
linux-headers-generic linux-signed-generic linux-signed-image-generic xbmc xbmc-bin

Is xbmc and xbmc-bin kept back due to the beta1 change? Should i do a dist-upgrade or will this break my system?

apt-cache policy xbmc xbmc-bin


RE: vaapi-sse4: Deinterlacing Testing - wsnipex - 2014-03-10

(2014-03-10, 10:07)Daikon Wrote: @fritsch about my problem. can i post an OE xbmc.log to check correct version? I use it at the moment. Otherwise i have to setup the system again with the fernetmenta's master.

EDIT.: I use the OE Versions compiled by Krautmaster.

We have no idea what version that is. If it says "beta1" in system info, then you won't find the option(unless patched in)