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 - Devil-Strike - 2016-03-10

(2016-03-09, 19:47)fritsch Wrote:
(2016-03-09, 15:45)Devil-Strike Wrote: Yes using openelec, but thanks for the fast response, will wait till new version is up.

Uploaded a new build, but I doubt that fixes it. The locks need revisiting.

It wont crash Smile and see codec info(only missing some info but this is because rework on it)


RE: New Era: VAAPI with EGL interoperation - hal2100 - 2016-03-10

(2016-03-08, 22:09)fritsch Wrote: Please install gdb and get us a backtrace.

Concerning WAF: There is a stable kodi version that you can use. These builds here are for testing.

This is the crashlog of the most recent crash just a few minutes ago:
https://paste.ubuntu.com/15343220/

If I can add more info, please tell me so.


RE: New Era: VAAPI with EGL interoperation - _Spook_ - 2016-03-10

@fritsch will you change your builds to OpenELEC 8.0? Just noticed Milhouse has...or is it just a typo?


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

Do you miss something?


RE: New Era: VAAPI with EGL interoperation - _Spook_ - 2016-03-10

(2016-03-10, 23:49)fritsch Wrote: Do you miss something?
No, just wondering. Didn't even know 7.0 was official yet. So just curious what's new in 8.0. Always looking for "latest and greats" to play with Smile


RE: New Era: VAAPI with EGL interoperation - nickr - 2016-03-11

Not a debug log (wiki) 20:41:52 T:140408376268928 NOTICE: Disabled debug logging due to GUI setting. Level 0.


RE: New Era: VAAPI with EGL interoperation - alex.ba - 2016-03-11

Hi Fritsch,

thanks a lot for your updates. I saw that Tvheadend has updated to API 5.1 just a few hours ago. Maybe a stupid question but how do I get this version now? I added and updated the Nighly rep. but there's still the 3.1.0 (API 5.0 online). Any idea?

Thanks

Alex


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

It gets updated when wsnipex finds time doing it - it's a manual process.


RE: New Era: VAAPI with EGL interoperation - alex.ba - 2016-03-11

Hi Fritsch,

ok thanks for the information. I will wait for it.

Alex


RE: New Era: VAAPI with EGL interoperation - alex.ba - 2016-03-11

Hi,

here's a way to install the TVH Addon by hand. It worked for me on Ubuntu Server 15.10 like described in the instructions by Fritsch.

Here is what you have to do:

Code:
git clone https://github.com/xbmc/xbmc.git
git clone https://github.com/kodi-pvr/pvr.hts.git
cd pvr.hts && mkdir build && cd build
cmake -DADDONS_TO_BUILD=pvr.hts -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons
make

Addon-Folder will be build with the /home/"USER"/xbmc/addons clone

Simply copy this pvr.hts folder to /usr/share/kodi/addons (have to do it with root access)
You have to use this folder not the kodi addon folder in /home/"USER"/.kodi/addons as it is a system-addon

Alex


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

Take care with overwriting system wide files. Every update via the ppa will overwrite your custom build version again.


RE: New Era: VAAPI with EGL interoperation - alex.ba - 2016-03-11

Ok thanks again. Then I misunderstood something. I copied pvr.hts folder in the .kodi/addons and deleted from the shared folder. It worked.
My understanding was it only will work as a System-Addon. Sorry for the wrong information.

So maybe this is the better way as it will not be overwritten by the update.

Thanks

Alex


RE: New Era: VAAPI with EGL interoperation - prospo - 2016-03-11

@fritsch
@wsnipex
@FernetMenta

I've been noticing a problem when trying to build pvr.hts myself based on the ppa:wsnipex/xbmc-fernetmenta-master installation. I have been able to build pvr.hts succesfully until git20160305. All supplied kodi packages from this version onwards produce an error when trying to build pvr.hts. It keeps bugging me I am missing the IFileTypes.h header file. When looking at the git repo I can see it was added somewhere in a pull request but I guess it isn't correctly included when creating the development packages. If I add this file manually from https://github.com/xbmc/xbmc/blob/master/xbmc/filesystem/IFileTypes.h to /usr/include/kodi everything builds again.

Code:
[ 30%] Building CXX object CMakeFiles/pvr.hts.dir/src/client.cpp.o
In file included from /usr/src/pvr.hts/src/client.h:25:0,
                 from /usr/src/pvr.hts/src/client.cpp:22:
/usr/include/kodi/libXBMC_addon.h:31:24: fatal error: IFileTypes.h: No such file or directory
compilation terminated.
CMakeFiles/pvr.hts.dir/build.make:54: recipe for target 'CMakeFiles/pvr.hts.dir/src/client.cpp.o' failed
make[2]: *** [CMakeFiles/pvr.hts.dir/src/client.cpp.o] Error 1
CMakeFiles/Makefile2:91: recipe for target 'CMakeFiles/pvr.hts.dir/all' failed
make[1]: *** [CMakeFiles/pvr.hts.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2

I have the following packages installed:
Code:
ii  kodi                                   2:17.0~git20160310.0500-6638832-0wily    all          Kodi Media Center (arch-independent data package)
ii  kodi-addon-dev                         2:17.0~git20160310.0500-6638832-0wily    all          Kodi Media Center (General Add-on Dev package)
ii  kodi-audio-dev                         2:17.0~git20160310.0500-6638832-0wily    all          Kodi Media Center (Audio Add-on Dev package)
ii  kodi-bin                               2:17.0~git20160310.0500-6638832-0wily    amd64        Kodi Media Center (binary data package)
ii  kodi-pvr-dev                           2:17.0~git20160310.0500-6638832-0wily    all          Kodi Media Center (PVR Add-on Dev package)
ii  kodi-screensaver-dev                   2:17.0~git20160310.0500-6638832-0wily    all          Kodi Media Center (Screensaver Add-on Dev package)
ii  kodi-visualization-dev                 2:17.0~git20160310.0500-6638832-0wily    all          Kodi Media Center (Visualization Add-on Dev package)
ii  libkodiplatform-dev:amd64              16.0.0-1~wily                            amd64        Kodi platform support library -- development files
ii  libkodiplatform16:amd64                16.0.0-1~wily                            amd64        Kodi platform support library



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

You build against v16 platform libs ... that won't work. See your installed libkodiplatform-dev and libkodiplatform16 package.


RE: New Era: VAAPI with EGL interoperation - prospo - 2016-03-11

(2016-03-11, 14:53)fritsch Wrote: You build against v16 platform libs ... that won't work. See your installed libkodiplatform-dev and libkodiplatform16 package.

Yes, I see my problem there. I (ofcourse) now get new errors, like the missing kodiplatformConfig.cmake file and I will clone the xbmc repo to mitigate.