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-09-23

Nope - rebased on OE's master (kernel 4.1.8) and the 175 ms delay is back ... as too many people still needed it.


RE: New Era: VAAPI with EGL interoperation - sat4all - 2015-09-23

hey fritsch, does today's build include fernetmenta audio sync fixes?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-23

When you start the very latest build and check the kodi version you will find that the hash of the very latest matches fernet's master - so yes. Everything is in, in: http://fritsch.fruehberger.net/openelec/OpenELEC-Generic.x86_64-6.0-devel-20150923195534-r21362-g4a5c3d2.tar (8 pm german time).


RE: New Era: VAAPI with EGL interoperation - sat4all - 2015-09-23

hmm, that exactly the build i've installed,and the a/v sync still drifting.
and by the way 0 ms delay still default for jarvis, 175 ms not back as commit says: Revert "kodi: Remove 175 ms delay of advancedsettings"


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-23

https://github.com/fritsch/OpenELEC.tv/commit/9e746f4c69d071cdcc3a0f05397856f1fc6fde3b <- it's gone - really.

Post your Debug Log - here I can see all the version tags and don't have to guess.


RE: New Era: VAAPI with EGL interoperation - sat4all - 2015-09-23

Indeed it's back log says. but codecs info label says otherwise.

Debug Log

Image


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-23

Looks okay as far as I can tell.


RE: New Era: VAAPI with EGL interoperation - sat4all - 2015-09-23

Ok thanks much, i thought codecs info should say ad: -0.175.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-23

Yeah it should! But remember: custom set delays are not overwritten. They are saved per file.


RE: New Era: VAAPI with EGL interoperation - sat4all - 2015-09-23

yeah, i've no custom set delays. that's confusing!


RE: New Era: VAAPI with EGL interoperation - jjslegacy - 2015-09-24

Testing the latest build with passthrough and the audio is definitely not in sync - seems to be too fast. I use to have delay set to 0 as I never needed it and my AVR has an auto audio/video sync but now I can't seem to get it correct. Will have to play more toorrow as I ned to find something working as Wife is waiting impatiently.

I wonder if the audio is so far off the avr couldn't fix it?

I have been running Jarvis for a while but when back to isengard from 23rd and audio seems dead on with my 0 in advanced settings set (not sure if default 175 is there).

Is a debug log what you would need to look into this more or something else? I can generate tomorrow.


RE: New Era: VAAPI with EGL interoperation - atoulmin - 2015-09-24

I have been using Openelec for a long time, and I appreciate all the hard work that people put in. I can usually sort out any issues i have with the support of the forums and google :-).

However this build is perfect for me except for the 175ms delay that is automatically set. I have tried SSH commands to create my own and put it in however i can't seem to get it to remove the 175ms delay. Can someone please let me know, where the file is i need to edit? I created my own and placed it in /storage/.kodi/userdata with the following

<advancedsettings>
<video>
<latency>
<delay>0</delay>
</latency>
</video>
</advancedsettings>

Is this right?

Thanks for any feedback, and keep up the great work :-)


RE: New Era: VAAPI with EGL interoperation - Sunflux - 2015-09-24

The delay is specifically set for 23-24hz content, so you specifically have to remove it for 23-24hz content. So, you'll need something more like this:

Code:
<advancedsettings>
<video>
  <latency>
    <delay>0</delay>
    <refresh>
      <min>23</min>
      <max>24</max>
      <delay>0</delay>
    </refresh>
  </latency>
</video>
</advancedsettings>

It would be great if this could be made a Kodi user interface setting. I envision 3 settings that would cover the vast majority of needs:

Audio Delay [ ] Disable [ ] Auto [•] Custom
— General ___-50 ms
— 23.976hz__-175 ms

(Auto would just specify what OpenElec does by default, so as to not confuse users.)


RE: New Era: VAAPI with EGL interoperation - atoulmin - 2015-09-24

(2015-09-24, 07:20)Sunflux Wrote: The delay is specifically set for 23-24hz content, so you specifically have to remove it for 23-24hz content. So, you'll need something more like this:

Code:
<advancedsettings>
<video>
  <latency>
    <delay>0</delay>
    <refresh>
      <min>23</min>
      <max>24</max>
      <delay>0</delay>
    </refresh>
  </latency>
</video>
</advancedsettings>

It would be great if this could be made a Kodi user interface setting. I envision 3 settings that would cover the vast majority of needs:

Audio Delay [ ] Disable [ ] Auto [•] Custom
— General ___-50 ms
— 23.976hz__-175 ms

(Auto would just specify what OpenElec does by default, so as to not confuse users.)

Thanks I will give that a try :-) I also agree it would be great to have this in the KODI interface.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-24

@sunflux: As you are quite capable in programming -> now is the time :-)