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 - neox387 - 2016-02-03

latest build, video started, pressed stop - black screen/mouse pointer
http://sprunge.us/ThNZ
http://sprunge.us/UEDK

reboot and now everything works Confused


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-03

I still see absolutely nothing in the logs, sorry for that.


RE: New Era: VAAPI with EGL interoperation - neox387 - 2016-02-03

np i'll keep testing.. Big Grin

been using passtrough audio again as sync seems to be working again.


RE: New Era: VAAPI with EGL interoperation - menno - 2016-02-03

Hi Fritsch, knowing your a busy man I would still appreciate it if you could make an openelec 6.0.1 EGL version, this latest stable came out last week, and I still run your OpenELEC-Generic.x86_64-6.0.98-fritsch.tar since its the only one working with remote tvheadend servers!

Thanks either way!


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-03

(2016-02-03, 14:33)menno Wrote: Hi Fritsch, knowing your a busy man I would still appreciate it if you could make an openelec 6.0.1 EGL version, this latest stable came out last week, and I still run your OpenELEC-Generic.x86_64-6.0.98-fritsch.tar since its the only one working with remote tvheadend servers!

Thanks either way!
tvh was notified, they will change their server and sending valid packets in the future - see: https://github.com/kodi-pvr/pvr.hts/pull/192


RE: New Era: VAAPI with EGL interoperation - wwessel - 2016-02-03

(2016-02-03, 14:21)fritsch Wrote: I still see absolutely nothing in the logs, sorry for that.

Mmmh, what about these lines:

Feb 03 13:01:16 NUC xorg-launch[370]: (EE) Segmentation fault at address 0x0
Feb 03 13:01:16 NUC xorg-launch[370]: (EE)
Feb 03 13:01:16 NUC xorg-launch[370]: Fatal server error:
Feb 03 13:01:16 NUC xorg-launch[370]: (EE) Caught signal 11 (Segmentation fault). Server aborting
Feb 03 13:01:16 NUC xorg-launch[370]: (EE)
Feb 03 13:01:16 NUC xorg-launch[370]: (EE)
Feb 03 13:01:16 NUC xorg-launch[370]: Please consult the The X.Org Foundation support
Feb 03 13:01:16 NUC xorg-launch[370]: at http://wiki.x.org
Feb 03 13:01:16 NUC xorg-launch[370]: for help.
Feb 03 13:01:16 NUC xorg-launch[370]: (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
Feb 03 13:01:16 NUC xorg-launch[370]: (EE)
Feb 03 13:01:16 NUC xorg-launch[370]: (II) AIGLX: Suspending AIGLX clients for VT switch
Feb 03 13:01:16 NUC xorg-launch[370]: (EE) Server terminated with error (1). Closing log file.
Feb 03 13:01:16 NUC kernel: snd_hda_codec_hdmi hdaudioC0D0: HDMI: ELD buf size is 0, force 128
Feb 03 13:01:16 NUC kernel: snd_hda_codec_hdmi hdaudioC0D0: HDMI: invalid ELD data byte 0
Feb 03 13:01:16 NUC fluxbox[549]: Fluxbox: XIOError: lost connection to display.
Feb 03 13:01:16 NUC kodi.sh[587]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"


BTW: For me (Asus Chromebox Celeron 2955U) the last build without this behaviour is OpenELEC-Generic.x86_64-7.0-devel-20160113193434-r21911-gcd1b1d6


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-03

That means: the xserver is killed by whatever :-)

Does it happen with TrueHD passthrough, btw.? And can be reproduced with this sample: http://fritsch.fruehberger.net/samples/truehd/hd_dolby_catalyst_lossless-DWEU.m2ts


RE: New Era: VAAPI with EGL interoperation - m_gl - 2016-02-03

Here we go:

kodi.log: http://pastebin.com/T4PutQdP
kodi.old.log: http://pastebin.com/XQPrqw9d
crashlog: http://pastebin.com/MdKNvJhn

Hope this helps.
Btw, i donĀ“t use passthrough.


RE: New Era: VAAPI with EGL interoperation - neox387 - 2016-02-03

test with above file from usb stick, with passtrough

1 black screen/mouse pointer & back to homescreen + no more gui sounds
2 play again it starts but without audio:
http://sprunge.us/BUdP

reboot
1 plays normal
2 black screen/mouse pointer & back to homescreen no more audio
3 black screen/mouse pointer & back to homescreen works again
4 black screen/mouse pointer & back to homescreen
5 black screen/mouse pointer & back to homescreen
6 plays normal

http://sprunge.us/WSKU

change settings: sync playback to display on, passtrough disable
1 black screen & back to home screen
2 plays normal

http://sprunge.us/hiIa


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-03

Does it also crash / hang if you _disable_ Adjust Refreshrate to match video?


RE: New Era: VAAPI with EGL interoperation - neox387 - 2016-02-03

No, keeps playing fine with that off, else it's really random


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-03

Thanks much.


RE: New Era: VAAPI with EGL interoperation - m_gl - 2016-02-03

(2016-02-03, 21:19)neox387 Wrote: No, keeps playing fine with that off, else it's really random

Same here.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-04

https://bugs.freedesktop.org/show_bug.cgi?id=93844 <- that's the bug.

I will update the xf86-video-intel driver for the next OE image.

Edit: Give OpenELEC-Generic.x86_64-7.0-devel-20160203231707-r22030-g09f28f3.tar a chance for those affected intel users, please.


RE: New Era: VAAPI with EGL interoperation - smf007 - 2016-02-04

(2016-02-04, 00:09)fritsch Wrote: https://bugs.freedesktop.org/show_bug.cgi?id=93844 <- that's the bug.

I will update the xf86-video-intel driver for the next OE image.

Edit: Give OpenELEC-Generic.x86_64-7.0-devel-20160203231707-r22030-g09f28f3.tar a chance for those affected intel users, please.
Limited testing is showing that the issue is fixed.

Thanks for the build!