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 - meowmoo - 2016-01-15

it was me, but its the same issue


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-01-15

Yes - so he should add his logfiles there to bump the issue.


RE: New Era: VAAPI with EGL interoperation - scf2k - 2016-01-15

done


RE: New Era: VAAPI with EGL interoperation - nickr - 2016-01-16

@fritsch, slightly OT, but where can I get an up to date openelec krypton build?


RE: New Era: VAAPI with EGL interoperation - meowmoo - 2016-01-16

here?
http://fritsch.fruehberger.net/openelec/v17_videoplayer_testing/


RE: New Era: VAAPI with EGL interoperation - nickr - 2016-01-16

thanks


RE: New Era: VAAPI with EGL interoperation - jjslegacy - 2016-01-18

Fritsch,

I think this happened one time previously but i had put the latest build from the 16th on and the first time I tried to play something later that evening Kodi crashed. After it rebooted I did the same thing and it played fine. Not sure if the crashlog is enough but figured I would send it along:

http://sprunge.us/Ihda

Edit - I take it back I tested playing a video with the avr/projector off just to make sure things seemed okay as I had people coming over earlier. So it wasn't a movie start from a clean reboot. I believe the chromebox was suspended and woken back up in between.


RE: New Era: VAAPI with EGL interoperation - szalkerous - 2016-01-18

New Intel NUC6i5SYH (Skylake) box (Intel product specs here)

This is a completely fresh install of 6.0.0 upgraded to latest 7.0 dev (Generic.x86_64-devel-20160117213632-r21934-g38edfa0)

This is currently the only OE build I have found that properly supports the new Intel Skylake HUC Bluetooth! Smile

However, unlike the special 6.0.98-fritsch Isengard build I had ( Generic.x86_64-6.0.98-fritsch ) before, I no longer have any audio output. The Settings -> System -> Audio output panel has "Audio output device" greyed out. This device has an analog audio device, but I need to use my audio via HDMI. Neither one appears in the new build.

I did my best to provide relevant log files:

OLD (Generic.x86_64-6.0.98-fritsch) Audio log: http://pastebin.com/raw/dcYhC0gB

New (Generic.x86_64-devel-20160117213632-r21934-g38edfa0) Audio log: http://pastebin.com/raw/rn3ZHEtg
Hardware log: http://pastebin.com/raw/kgDCUCUu
KODI log: http://pastebin.com/raw/9bLib2Fh

I realize this thread is mostly for Intel GPU, but can you help point me to where I should ask for help with audio output via HDMI? This build is perfect except for this lack of audio!

Thank you!

EDIT: Decided to copy post and create a thread for this here: http://forum.kodi.tv/showthread.php?tid=256943


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-01-18

(2016-01-18, 07:21)szalkerous Wrote: New Intel NUC6i5SYH (Skylake) box (Intel product specs here)

This is a completely fresh install of 6.0.0 upgraded to latest 7.0 dev (Generic.x86_64-devel-20160117213632-r21934-g38edfa0)

This is currently the only OE build I have found that properly supports the new Intel Skylake HUC Bluetooth! Smile

However, unlike the special 6.0.98-fritsch Isengard build I had ( Generic.x86_64-6.0.98-fritsch ) before, I no longer have any audio output. The Settings -> System -> Audio output panel has "Audio output device" greyed out. This device has an analog audio device, but I need to use my audio via HDMI. Neither one appears in the new build.

I did my best to provide relevant log files:

OLD (Generic.x86_64-6.0.98-fritsch) Audio log: http://pastebin.com/raw/dcYhC0gB

New (Generic.x86_64-devel-20160117213632-r21934-g38edfa0) Audio log: http://pastebin.com/raw/rn3ZHEtg
Hardware log: http://pastebin.com/raw/kgDCUCUu
KODI log: http://pastebin.com/raw/9bLib2Fh

I realize this thread is mostly for Intel GPU, but can you help point me to where I should ask for help with audio output via HDMI? This build is perfect except for this lack of audio!

Thank you!

EDIT: Decided to copy post and create a thread for this here: http://forum.kodi.tv/showthread.php?tid=256943

Here your bug: https://bugs.freedesktop.org/show_bug.cgi?id=93703


Video pauses between clips in play list - tvONE - 2016-01-18

I have been looking into options for using an ASRock BeeBox as 4K media player, this thread suggested kodi would be ideal.

Installation on ubuntu server 15.10 according to the first post in this thread was no problem and I have video being displayed with hardware acceleration.

I specifically want to play back a series of video clips held on local storage in a play list. The problem occurs that between every clip there is a significant delay of 8-14 seconds before the video is shown for the next clip. The last frame of the previous clip is displayed along wit the Seek bar dialogue which flickers.

This seems to be tied into reconfiguration of the renderer at the start of every clip:

Code:
11:08:11 T:140022267225856   DEBUG: CRenderManager::Configure - change configuration. 4096x2304. display: 4096x2304. framerate: 24.00. format: VAAPI
11:08:11 T:140023847155840   DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
11:08:11 T:140023248713472   DEBUG: ActiveAE::SyncStream - average error of -77.310401, start adjusting
11:08:11 T:140023248713472   DEBUG: ActiveAE::SyncStream - average error -0.310401 below threshold of 30.000000
11:08:16 T:140022267225856 WARNING: CRenderManager::Configure - timeout waiting for state
11:08:16 T:140022267225856   ERROR: OutputPicture - failed to configure renderer

This will fail several times until the renderer is deleted and recreated.

Logs:
dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/14566371/

DISPLAY=:0 vainfo | pastebinit
http://paste.ubuntu.com/14566372/

~/.kodi/temp/kodi.log | pastebinit
http://paste.ubuntu.com/14566373/

dmesg | pastebinit
http://paste.ubuntu.com/14566374/

I have not read every post in this thread however I did search, there is one post that seems related but was reported fixed http://forum.kodi.tv/showthread.php?tid=231955&pid=2107985#pid2107985 however the problem I am seeing does seem to be different in that I do have video playback working.

Any assistance in solving this problem would be appreciated.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-01-18

This bug is new :-) seems to have to do with fernet's latest patches to reduce time of render setup, but I don't know for sure - did not read up / understand all the commits from this weekend as I was away.

Quote:10:53:20 T:140021906536192 DEBUG: CVideoPlayer::HandleMessages - player started 1
10:53:25 T:140021906536192 DEBUG: CVideoPlayer::SetCaching - caching state 0
10:53:25 T:140022703449856 WARNING: CRenderManager::Configure - timeout waiting for state

Let's wait for him to reply. Thanks for the logfiles!


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-01-18

@tvONE: Should be fixed in tomorrows build.

Fix was already PRd upstream: https://github.com/xbmc/xbmc/pull/8907 thanks to fernet!


RE: New Era: VAAPI with EGL interoperation - jjslegacy - 2016-01-18

Fritsch - did you see my crashlog? Is a crashlog enough to debug something or do I need to enable debugging and have it happen again? Just want to be prepared for next time - thanks!


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-01-18

Nope - did not see it.


RE: New Era: VAAPI with EGL interoperation - jjslegacy - 2016-01-18

Post 2902 ?