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 - fab67 - 2015-09-06

@fritsch

I encode the first min. of Channel 4K to 4k 60fps 8bit : https://drive.google.com/file/d/0B3hIUz8AwAOIRVRJeXJkcnpNNkU/view

For information : It's ok without skips with ubuntu/kodi but I have skips with openelec. I use exactly the same parameters for both.
so for me there is a difference in performance between ubuntu/kodi and openelec. Is this possible ? Drivers differences ?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-06

Drivers are the same but Ubuntu uses fernet's new infrastructure. As said OE is just a more or less simple backport to see the WIP. The future will happen in fernet's master branch.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-06

If someone has a bit of time, here are two new builds that will directly provide fernetmenta's master packaged as OpenELEC image / update tar:

Image: https://dl.dropboxusercontent.com/u/55728161/OpenELEC-Generic.x86_64-6.0-devel-20150906222356-r21279-g833c484.img.gz
Update-tar: https://dl.dropboxusercontent.com/u/55728161/OpenELEC-Generic.x86_64-6.0-devel-20150906222356-r21279-g833c484.tar

This is build is not tested at all, as I am currently traveling through Germany again. Thanks for the feedback in advance. Source is on my github as usual.


RE: New Era: VAAPI with EGL interoperation - jjslegacy - 2015-09-07

Briefly played with the latest release above. No issues I noticed on my chromebox although I only really use it for playing Makemkv mkv files of my blurays. Looked as excellent as always. Amazing job guys.


RE: New Era: VAAPI with EGL interoperation - porkchop999 - 2015-09-07

Didn't work for me, goes into a continious slashscreen / mainmenu loop on start, Mac mini 2014


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-07

@jslegacy: you tested the Jarvis build, right?
@porkshop999: can you temporarily move your .kodi away after systemctl stop kodi?


RE: New Era: VAAPI with EGL interoperation - jjslegacy - 2015-09-07

Yes the Jarvis build.


RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-09-07

tested with chromebox hsw no problem with h264 and hevc (animation film)

i'm now thinking about to convert my bd in x265 to save space on nas


RE: New Era: VAAPI with EGL interoperation - Klojum - 2015-09-07

(2015-09-07, 14:51)Roby77 Wrote: tested with chromebox hsw no problem with h264 and hevc (animation film)

i'm now thinking about to convert my bd in x265 to save space on nas

Converting BD into x265 will require serious CPU power or dedicated h.265 GPU tools. I haven't seen those GPU tools yet. Is Intel deploying QuickSync with H.265 already or are you focussing on different conversion ways?

On a side-note... Synology NASes with 4K HEVC on-the-fly transcoding: http://www.computerbase.de/2015-09/synology-ds216play-und-ds416-nas-fuer-4k-transkodierung-und-verschluesselung/


RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-09-07

no i will try on my really old desktop i7 860 @3.4ghz

maybe i will upgrade to a desktop with skylake

but before i also want to verify if 265 has the same video quality vs 264


RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-09-07

Jarvis build works nice after a quick glance, thanks. Jarvis fucks up my library setup etc. but that's got nothing to do with this build.


RE: New Era: VAAPI with EGL interoperation - Klojum - 2015-09-07

(2015-09-07, 15:42)Roby77 Wrote: no i will try on my really old desktop i7 860 @3.4ghz

maybe i will upgrade to a desktop with skylake

but before i also want to verify if 265 has the same video quality vs 264

The better the video source quality, the better the hevc compression in my experience, using ffmpeg for hevc. Anything between 50-92% is possible, although I have been more focused on file size savings than quality retention. I have re-encoded most 720p stuff I have, which is relatively easy going at 11fps on average on a i3 3225 machine. 1080p is another story (2-3 fps), not to mention 4K source.


RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-09-07

(2015-09-07, 16:01)Klojum Wrote:
(2015-09-07, 15:42)Roby77 Wrote: no i will try on my really old desktop i7 860 @3.4ghz

maybe i will upgrade to a desktop with skylake

but before i also want to verify if 265 has the same video quality vs 264

The better the video source quality, the better the hevc compression in my experience, using ffmpeg for hevc. Anything between 50-92% is possible, although I have been more focused on file size savings than quality retention. I have re-encoded most 720p stuff I have, which is relatively easy going at 11fps on average on a i3 3225 machine. 1080p is another story (2-3 fps), not to mention 4K source.

'cause my mkv are br with video untouched i think that a really need a new hardware Big GrinBig Grin


RE: New Era: VAAPI with EGL interoperation - rob77 - 2015-09-07

Thanks for the awesome work as always fritsch. The new build works well on my i5 broadwell nuc.

Does anyone know if hybrid hevc is now enabled for broadwell?


RE: New Era: VAAPI with EGL interoperation - Klojum - 2015-09-07

(2015-09-06, 22:58)fritsch Wrote: If someone has a bit of time, here are two new builds that will directly provide fernetmenta's master packaged as OpenELEC image / update tar:

Image: https://dl.dropboxusercontent.com/u/55728161/OpenELEC-Generic.x86_64-6.0-devel-20150906222356-r21279-g833c484.img.gz
Update-tar: https://dl.dropboxusercontent.com/u/55728161/OpenELEC-Generic.x86_64-6.0-devel-20150906222356-r21279-g833c484.tar

Testing the various videos on my Celeron 1037UN-EU IVB went all very pleasant (again). A clean setup, and initially using all video settings on default and 'Auto select' as usual, I had no troubles whatsoever. The BBC birds scene in 1080p HEVC even went okay, although CPU-percentage went upto 92%. Big Grin

Setting the Lanczos-3 filter for all videos caused less problems than the previous builds as far as I can remember. Skips or drops were very hard to find, only a 1080p50 testvideo (2 guys, 1 singer & 1 bass player, performing at some castle-like environment) had major artefacts, but as I rare have 50fps material I'm not too worried about it myself. Also, I can test some 720p50 material tomorrow, and do more comparisons.

Overall, the oldie box still works excellent Blush