Kodi Community Forum
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - 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: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server (/showthread.php?tid=231955)



RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-13

@rob77: Don't change a running system - all fine as is :-)


RE: New Era: VAAPI with EGL interoperation - rob77 - 2015-07-13

Cheers Fritsch. Also I added the autostart.sh you recommend. I am sure the colours look better or is it just my imagination? What happens if you don't put in the autostart.sh command?

Cheers


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-13

Try it out and see ...


RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-07-14

Openelec build working great, groundbreaking work guys! Will keep testing.

Will the next rebuild be posted in this thread or somewhere else?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14

The next build will be hidden somewhere over the internet :-) and who first finds it - will get it.

No, just kidding - i will prepare another build when OpenELEC releases RC2.


RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-07-14

Haha Smile


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14

@Hufvudet: https://dl.dropboxusercontent.com/u/55728161/OpenELEC-Generic.x86_64-6.0-devel-20150714084124-r21119-g6adbb32.tar <- can you give that one a try ... should have nothing changed besides a rebase on rc2.

If it works for you - I will update the link above.


RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-07-14

Thanks! Will give it a spin tonight after work.


RE: New Era: VAAPI with EGL interoperation - gdachs - 2015-07-14

@fritsch: you mentioned a patch for the vnsi pvr addon in IRC, can you point me to that?

Gerald


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14

Does the normal vnsi addon not work? that is packaged by wsnipex?


RE: New Era: VAAPI with EGL interoperation - puithove - 2015-07-14

@fritsch - I'm playing around with the last OpenElec build you posted. I had previously reported some issues with the deinterlacing of some content from my cable system using MCDI/MADI. I know some providers use some strange encoding techniques, and I think we determined that to be the cause before. I'd like to revisit it though with the latest builds.

The issue is that the playback of some content is very jerky, and this can be seen on the codec screen with the skip count rapidly increasing. Some content plays fine (seems to be that where the original source is video/29.97) and other shows the issue (seems to be where original source is film/23.976).

Things work fine currently under Helix by setting VAAPI video decoding, but using the Yadif deinterlacer.

I have a couple example files from a channel where I consistently see the issue:
Example1
Example2

As well as a full debug log showing the playback of those two example files:
[edit - updated correct log link]
OpenElec log zip

Those links will expire in 3 days, so let me know if you don't get a chance to download them.

I'm willing to do whatever other testing you need. I'd love to find a way to make this work so I can use the hardware deinterlacing.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14

Quote:Things work fine currently under Helix by setting VAAPI video decoding, but using the Yadif deinterlacer.
This you can still do.


RE: New Era: VAAPI with EGL interoperation - puithove - 2015-07-14

Yes, but it'd definitely be nice to have it be capable of using HW deinterlace, and I'm sure others could benefit as well if it was working - especially for those lower powered systems that don't have enough CPU to use Yadif.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14

Upstream vaapi is working mostly with gstreamer. So if you could reproduce with gstreamer and vpp then chances are much higher, that the intel people would like to fix it. So could you try the samples with gstreamer and vpp methods (0,1,2,3) and see if that works?


RE: New Era: VAAPI with EGL interoperation - puithove - 2015-07-14

I assume in order to give real results, I'd have to have all the latest packages (mesa, & etc.) installed like in the first post, right? To do the test above, I just installed the Openelec build on a USB stick, so I'd have to take the time to update my installed OS in order to do the gstreamer testing I suppose.

Would you recommend using mplayer, or some other frontend to gstreamer?