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-11-27

Hehe :-)

The logs you provided are cleaner than clean :-) nothing in. Yeah - so next time perhaps we will see something - at least in the crashlog.


RE: New Era: VAAPI with EGL interoperation - Brujo - 2015-11-27

Puuuh :-) logs cleaner than clean sound like a good installation. Well the crashlog show nothing different as the old log :-(
Will install gdb and perhaps enable debug at nigth after usage to have more information next time to provide if it crash again in...


RE: New Era: VAAPI with EGL interoperation - sijones2010 - 2015-11-28

Hi fritsch,

Just tried the latest build but same as last time where MediaPortal PVR stops working, has the build been compiled without the support?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-28

(2015-11-28, 00:14)sijones2010 Wrote: Hi fritsch,

Just tried the latest build but same as last time where MediaPortal PVR stops working, has the build been compiled without the support?
Nope. Did not change that, only bumped kodi. Need to look tomorrow.


RE: New Era: VAAPI with EGL interoperation - sijones2010 - 2015-11-28

ok, the log says:

22:05:59 T:139985625786112 ERROR: PVR - Add-on 'MediaPortal PVR Client' is using an incompatible API version. XBMC minimum API version = '4.1.0', add-on API version '1.9.6'
22:05:59 T:139985625786112 WARNING: UpdateAndInitialiseClients - failed to create add-on MediaPortal PVR Client, status = 6
22:05:59 T:139985625786112 WARNING: UpdateAndInitialiseClients - failed to load the dll for add-on MediaPortal PVR Client, disabling it

Cheers


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-28

@sijones2010: Fixed in latest upload (wait until fully uploaded) - it's just the .tar - so upgrade over your existing installation


RE: New Era: VAAPI with EGL interoperation - Brujo - 2015-11-28

@fritsch - good morning here the todays crash log, hopefully with more relevant information as yesterday.

http://paste.ubuntu.com/13540797/

it crashed when I started to scan the video libray

regards
Brujo


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-28

Quote:08:56:45 T:139943278893184 NOTICE: VideoPlayer: finished waiting
08:56:47 T:139943278893184 ERROR: Unable to activate the previous window
08:57:03 T:139943278893184 ERROR: WinSystemX11::RefreshWindow - failed to query xrandr
08:57:50 T:139941275219712 NOTICE: ES: Client from 192.168.178.20 timed out
09:33:58 T:139943278893184 ERROR: WinSystemX11::RefreshWindow - failed to query xrandr
09:35:36 T:139941275219712 NOTICE: ES: Client from 192.168.178.20 timed out
09:37:42 T:139943278893184 ERROR: WinSystemX11::RefreshWindow - failed to query xrandr
11:10:27 T:139942339368704 ERROR: Previous line repeats 3 times.
11:10:27 T:139942339368704 NOTICE: VideoInfoScanner: Starting scan ..
11:10:38 T:139942339368704 ERROR: GetDirectory - Error getting

Is that with the TV turned off or just happened after pressing stop? The GetDirectory thing looks suspicious ...


RE: New Era: VAAPI with EGL interoperation - Brujo - 2015-11-28

TV was ON, I have seen that the scanning started and then the TV got grey and only the mouse cursor was visible for some seconds and then the comandline of ubuntu. Nothing else...


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-28

Jep it segfaulted - that one can clearly see - the problem I have is: I don't know where most likely in the scanner - code I absolutely don't know.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-28

Here we go:

New builds - using ffmpeg 2.8.3 - please check if everything is still in sync - also check if the lag - you might have experienced while watching a video in the menus is now gone, please.


RE: New Era: VAAPI with EGL interoperation - Steve-o - 2015-11-29

Hello,

also with older versions I experience a drift between audio and video for my setup. It is independent from the movies' framerate, it happens for 24p mkv movies as well as for 50 Hz TV. When starting to play TV/movie, video and audio are in sync. After two hours, the video is around 500 ms ahead of the audio.

I yesterday re-installed everything according to the howto hoping things might be fixed, but the issue still remains (I switched to the 4.3 kernel as the ubuntu 4.2 kernel does not change to full range RGB output). Please find attached the log-files for watching TV. Somewhere in the middle, TV got stuck (this is probably a different issue with tvheadend hts), so I changed the channel.

Thanks in advance for any ideas.



http://paste.ubuntu.com/13558191/
http://paste.ubuntu.com/13558192/
http://paste.ubuntu.com/13558193/
http://paste.ubuntu.com/13558194/


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-29

Quote::55:49 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 4
14:55:49 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 6
14:55:49 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 4
14:55:49 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 1
14:55:49 T:140348477089536 DEBUG: Previous line repeats 3 times.
14:55:49 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 4
14:55:49 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 2
14:55:49 T:140348477089536 DEBUG: Previous line repeats 4 times.
14:55:49 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 4
14:55:49 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 6
14:55:49 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 3
14:55:49 T:140348477089536 DEBUG: Previous line repeats 4 times.
14:55:49 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 4
14:55:49 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 1
14:55:49 T:140348477089536 DEBUG: Previous line repeats 3 times.
14:55:49 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 4
14:55:50 T:140348477089536 DEBUG: Previous line repeats 2 times.
14:55:50 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 7
14:55:50 T:140348477089536 DEBUG: Previous line repeats 4 times.
14:55:50 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 1
14:55:50 T:140348477089536 DEBUG: Previous line repeats 3 times.
14:55:50 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 4
14:55:50 T:140347350955776 DEBUG: Previous line repeats 1 times.
14:55:50 T:140347350955776 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
14:55:50 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 4
14:55:50 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 2
14:55:50 T:140348477089536 DEBUG: Previous line repeats 4 times.
14:55:50 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 1
14:55:50 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 4
14:55:50 T:140348477089536 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - Dropped packet with unknown stream index 1

That's a tvheadend issue.

Can you post a Debug Log with drifting video / audio _while_ tvheadend / htsp addon is not running at all? That would be of interest.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-29

If someone is toying with kernel 4.4-rc2 or later, I reworked the Video passthrough patch: http://sprunge.us/eNAW

Kernel: http://fritsch.fruehberger.net/kernel/?C=M;O=D - this should also fix the issue with "switching" to the mode


RE: New Era: VAAPI with EGL interoperation - fsonnlei - 2015-11-29

Hi all.

I've a ga-h61n-usb paired with a G1610 and apparently is working fine.

However I've the following in dmesg:

[...]
] Linux agpgart interface v0.103
[ 0.181831] [drm] Initialized drm 1.1.0 20060810
[ 0.181845] [drm] radeon kernel modesetting enabled.
[ 0.191049] [drm:fw_domains_get] *ERROR* render: timed out waiting for forcewake ack to clear.
[ 0.191150] ------------[ cut here ]------------
[ 0.191153] WARNING: CPU: 1 PID: 1 at drivers/gpu/drm/i915/intel_uncore.c:203 gen6_gt_check_fifodbg.isra.8+0x2e/0x3a()
[ 0.191154] GT wake FIFO error 0x3
[ 0.191155] Modules linked in:
[ 0.191157] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.3.0 #1
[ 0.191159] Hardware name: Gigabyte Technology Co., Ltd. H61N-USB3/H61N-USB3, BIOS F8 05/15/2012
[ 0.191160] 0000000000000001 ffffffff81219ee7 ffff88011aee3bd8 ffffffff81035f02
[ 0.191162] ffffffff813cd7e1 ffff8800bcb60078 ffff88011aee3c30 ffff88011a905800
[ 0.191164] ffff88011a905860 ffffffff81035f5a ffffffff81f8163b ffff880000000020
[ 0.191166] Call Trace:
[ 0.191170] [<ffffffff81219ee7>] ? dump_stack+0x40/0x50
[...]

Full dmesg: http://sprunge.us/HCKW

Should I worry about it?

Thanks a lot
Frank