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 - 2016-01-19

(2016-01-18, 23:39)jjslegacy Wrote: Post 2902 ?

Ah yes - I remember. Was not my department so I could not say anything :-)


RE: New Era: VAAPI with EGL interoperation - tvONE - 2016-01-19

(2016-01-18, 21:19)fritsch Wrote: @tvONE: Should be fixed in tomorrows build.

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

Thank you, I see the commit unfortunately the auto build seems to have failed due to ffmpeg being bumped to version 2.8.

I'm downloading the source to see if I can build it for myself.

The assistance is much appreciated.


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

The ppa was updated, just install it. The fernetmenta ppa that is.


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

Quote:configure: == Could not find libcap. Capabilities detection support disabled. ==
configure: "FFmpeg installation forced by user - installing our version"
tar: ../ffmpeg-release/2.8-kodi.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
/«PKGBUILDDIR»/tools/depends/target/ffmpeg/autobuild.sh: line 129: ./configure: No such file or directory
make[2]: *** No targets specified and no makefile found. Stop.
make[2]: Entering directory `/«PKGBUILDDIR»/tools/depends/target/ffmpeg/ffmpeg-release/2.8-kodi'
make[2]: Leaving directory `/«PKGBUILDDIR»/tools/depends/target/ffmpeg/ffmpeg-release/2.8-kodi'
ERROR: Building ffmpeg failed
checking for FFMPEG... no
configure: error: "ffmpeg not found"
make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

Oh nice - it failed.


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

@wsnipex: do you need to upload the tar.gz manually of the updated ffmpeg version?


RE: New Era: VAAPI with EGL interoperation - wsnipex - 2016-01-19

no, the build script calls tools/depends/target/ffmpeg/autobuild.sh -d to download the ffmpeg tarball, so this must have failed somehow.


RE: New Era: VAAPI with EGL interoperation - tvONE - 2016-01-19

The version parameter passed to the autobuild script includes a slash.
Add the -p flag to the 'mkdir' command on line 125 of autobuild.sh
Code:
mkdir -p ffmpeg-${VERSION}

Commit ff60e32 caused the issue


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

(2016-01-19, 10:15)tvONE Wrote: The version parameter passed to the autobuild script includes a slash.
Add the -p flag to the 'mkdir' command on line 124

Code:
mkdir -p ffmpeg-${VERSION}

Nice - thanks very much!


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

How can I follow the changes between the builds from http://fritsch.fruehberger.net/openelec/v17_videoplayer_testing/ ?


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

Quite easily: https://github.com/fritsch/OpenELEC.tv/commits/krypton-egl

The hash in the kodi bump refers to fernetmenta's xbmc master branch. Remember it will vanish everytime he force pushes.


RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2016-01-19

@fernet: even if it doesn't interest or care you and i don't know where the error resist(videoplayer or vnsi): with enabled perma timeshift it is impossible to change the audio channel or skip back in time from timeshift. you will always landing at the beginning of the timeshift recording. only switching channel you will get back to the real live tv.

@scf2k: have a look: https://github.com/fritsch/OpenELEC.tv/commits/jarvis-egl


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

(2016-01-19, 14:18)the-dreamer Wrote: @fernet: even if it doesn't interest or care you and i don't know where the error resist(videoplayer or vnsi): with enabled perma timeshift it is impossible to change the audio channel or skip back in time from timeshift. you will always landing at the beginning of the timeshift recording. only switching channel you will get back to the real live tv.

@scf2k: have a look: https://github.com/fritsch/OpenELEC.tv/commits/jarvis-egl

Changed to krypton-egl, see above.

For the first issue: a Debug Log would be helpful or you get the answer "works fine with vdr" :-)

Edit: You said vnsi, then fernet is of course highly interested as he is also the author of vnsi and vdr's vnsiserver. If you feel like it, you can open an issue on his github for vnsiserver addon


RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2016-01-19

fritsch, krypton of course. i had an old entry in my browser history.

debug log, yes i know. but first, i am alone with that behaviour? if yes logs will follow asap.

if fernet is interested? after his statement #2647 not sure.


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

I don't use timeshift functionality. Yeah opening a bugreport will always help, it's a vnsi usecase after all.

Edit: My wife uses this functionality :-) will ask her.


RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2016-01-19

this error could also be happen with other pvrs when the error is in videoplayer. i have vnsi setup to use perma timeshift with 4 gb buffer. it seems that the player is jumping to position 0 when i am skipping or change the audio channel.

btw i am using my own build but from your git from today.