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 - FernetMenta - 2015-10-16

(2015-10-16, 13:08)ironic_monkey Wrote: yes, relink et al is basically option 2. but fundamentally there will be a glx vs egl and gl vs gles need in all rendering addons eventually.

What rendering addons have dependencies to egl or glx?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-16

Projectm needs glew, see: http://xbmclogs.com/ptxtaieen#line-1778


RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-10-16

please post a link to the source


RE: New Era: VAAPI with EGL interoperation - Martijn - 2015-10-16

(2015-10-16, 22:13)FernetMenta Wrote: please post a link to the source

https://github.com/notspiff/visualization.projectm


RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-10-16

Where in the code is a reference to glew? Even if there was, it wouldn't have a dependency to glx or egl.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-16

http://heanet.dl.sourceforge.net/project/projectm/libprojectM/libprojectM-2.0.0/libprojectM-2.0.0-Source.tar.gz


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-17

I added new OE images. For Isengard I rebased on OE6.0 ... and rebase the backports on 15.2-rc3.
For Jarvis I rebased on OE's master and rebuild from scratch.

Both version include the Limited Passthrough kernel patches and use it by default.


RE: New Era: VAAPI with EGL interoperation - User 72847 - 2015-10-17

Bought the hardware and now I am realizing what I got myself into..... Yikes!

I purchased a N3150-ITX motherboard to run Kodi off a USB drive. How can I get things working similar to how I used to do it before (Create persistent USB install with LinuxLiveUSB). I don't intend on using a SSD or HDD with this machine.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-17

Use two USB sticks. One to run the installer and another one as installation target.


RE: New Era: VAAPI with EGL interoperation - User 72847 - 2015-10-17

(2015-10-17, 07:52)fritsch Wrote: Use two USB sticks. One to run the installer and another one as installation target.

Had a brain lapse there... Thanks for not flaming me... Installing now.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-17

Make sure to read the first page for the settings and - if you use OpenELEC- read the 2nd post to understand what beginners should use and what is for testing VAAPI.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-17

For those upgrading to Ubuntu Wily:

Sadly they package a broken libva / libva-driver-intel for Braswell chips which cannot decode 4K HEVC. I felt free to open a bug: https://bugs.launchpad.net/ubuntu/+source/intel-vaapi-driver/+bug/1507112
Hopefully wsnipex will also build libva and i965-va-driver for upcoming Wily.


Once again it's a single package that makes this EGL / VAAPI work _not_ work out of the box :-( I should have filed that earlier.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-17

As final OpenELEC 6.0 won't work well on Braswell cause of the kernel issues I rebased my OE Isengard to the 6.0 tree and added kerne 4.3-rc5. I fixed all external linux-drivers to build, but some drivers I dropped, which is out of tree dvb devices. So if you are running ngene hardware this is not yet done.

If you run a Beebox, intel Nuc, whatever -> please test and report back. These builds include the passthrough kernel patches, have fun:
http://fritsch.fruehberger.net/experimental

I plan to release a final OE 6.0 build with ffmpeg 2.8.1, EGL, HEVC support, Kernel 4.3 support in order to fully work on braswell machines.

Currently dropped patches:
Code:
linux-058.05-hid_sony-add_autorepeat_for_PS3_remotes.todo  <- MattDevo will most likely care
linux-063-xpad-fix_xbox360_wireless.todo  <- same here
linux-221-ngene-octopus.todo <- important drivers, seo will care
linux-950-saa716x_PCIe_interface_chipset.todo <- no one really uses            
linux-224-STK1160-addFramescaling.todo  <- no one uses
linux-995-CX24120-13Z_frontend.todo <- no one really uses



RE: New Era: VAAPI with EGL interoperation - Matt Devo - 2015-10-17

(2015-10-17, 13:40)fritsch Wrote: Currently dropped patches:
Code:
linux-058.05-hid_sony-add_autorepeat_for_PS3_remotes.todo  <- MattDevo will most likely care
linux-063-xpad-fix_xbox360_wireless.todo  <- same here

if you need me to rebase these on 4.3 for your OE 6 final release, just LMK. I need to update the xbox gamepad patch anyway.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-17

@MattDaveo: If you want I'd take a PR to my OE EGL tree and will pick it then to my jarvis-egl tree.

Would be really cool if you would do that. Thanks much in advance.