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: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - luna_s - 2018-05-05

It was just to check if x265 worked, I'm playing around more this weekend - this is where I'm currently at 

http://paste.ubuntu.com/p/VbvpyqsNDX/

http://paste.ubuntu.com/p/PC99kHDXsd/

http://paste.ubuntu.com/p/z5CQ7nQRP8/

https://pastebin.com/xnh2kKXp


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - luna_s - 2018-05-06

Got this working now on bionic


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Rumpelstiltskin - 2018-05-06

Can u confirm that auto frame rate is broken in latest arm nightly (of 2:18.0+git20180506.0201-249cea9-0bionic)


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - luna_s - 2018-05-06

In my limited testing, it's not switching - I run kodi at 1080p 30 on a 4k tv and it's not switching to 4k on a 4k file playback

The acceleration is working perfect meanwhile


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-05-06

Since yesterday a "whitelist approach" was implemented for refresh rate switching - you need to properly select the modes you want to allow switching to.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - luna_s - 2018-05-06

Can confirm, whitelist works

Typical that a big change happens just as I do a big change Smile


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Rumpelstiltskin - 2018-05-06

(2018-05-06, 13:03)fritsch Wrote: Since yesterday a "whitelist approach" was implemented for refresh rate switching - you need to properly select the modes you want to allow switching to.
 so from today no longer recognizes automatically, I have to set it manually with "the white list" right?
hen I don't understand the white list, I can always adjust the resolution before watching the movie in screen resolution no?

EDIT :

After several tests made with the "white list" I must say it is a brilliant thing!
and it works perfect, everything!

I wanted to thank the team and the forum for support, I always forget to do it!


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - ezechiel1917 - 2018-05-17

Hi, are there any significant differences when using guide from 1st post with Ubuntu 18.04 server? Thanks


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-05-17

(2018-05-17, 11:18)ezechiel1917 Wrote: Hi, are there any significant differences when using guide from 1st post with Ubuntu 18.04 server? Thanks
 No significant difference.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - ezechiel1917 - 2018-05-21

Thanks, your guides worked quite fine (also your permanent EDID one) !
the only difference being using libva2 package instead of libva, no libnfs8 in ubuntu's ppa. a kodi-bin not needed.

Do you think it would be possible to add something like VAAPI sharpness filter to Kodi?
(just googled this, but not really sure if it is related - https://ffmpeg.org/pipermail/ffmpeg-devel/2018-January/223714.html)
or is there any other way doing shaprness post-processing in Kodi.

Currently I'm using nVidia VDPAU with VDPAU Sharpness, Intel VAAPI MCDI looks great, but I find other materials (non-interlaced videos) image quality little bit soft compared to nVidia.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-05-21

(2018-05-21, 10:13)ezechiel1917 Wrote: Thanks, your guides worked quite fine (also your permanent EDID one) !
the only difference being using libva2 package instead of libva, no libnfs8 in ubuntu's ppa. a kodi-bin not needed.

Do you think it would be possible to add something like VAAPI sharpness filter to Kodi?
(just googled this, but not really sure if it is related - https://ffmpeg.org/pipermail/ffmpeg-devel/2018-January/223714.html)
or is there any other way doing shaprness post-processing in Kodi.

Currently I'm using nVidia VDPAU with VDPAU Sharpness, Intel VAAPI MCDI looks great, but I find other materials (non-interlaced videos) image quality little bit soft compared to nVidia.
 MCDI does deinterlacing. This does absolutely nothing with progressive content.
We decided some time ago that we don't want to implement decoder specific postprocessin of features that can be done in the renderer (OpenGL) and would then be available for all others. If you want to hack in the sharpness into VPP it's just three lines of code. So tell use about your results.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - ezechiel1917 - 2018-05-21

Ok, thanks for info, decision to keep features universal makes sense.
I'm not a programmer unfortunately, so I will have to get used to to softer picture Smile But 3 lines of code got me curious, is that for universal (opengl) or vaapi specific sharpness?
I know there is an option named post processing in video options when playing a video, but I couldn't find any specific info what it actually does. From quick look I couldn't tell any difference when this option was activated.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-05-21

(2018-05-21, 10:43)ezechiel1917 Wrote: Ok, thanks for info, decision to keep features universal makes sense.
I'm not a programmer unfortunately, so I will have to get used to to softer picture Smile But 3 lines of code got me curious, is that for universal (opengl) or vaapi specific sharpness?
I know there is an option named post processing in video options when playing a video, but I couldn't find any specific info what it actually does. From quick look I couldn't tell any difference when this option was activated.
 It's for VPP. Cause sharpening is yust another pipeline step. Though that will sharpen before upscaling, probably not what you want. Btw. we use Lanczos3 filter for upscaling, you could also tune its weights to get a more crips picture.


Intel VAAPI howto with Krypton v17 based on Ubuntu 18.04 server - gwilly7 - 2018-05-22

Is this guide valid for AMD Raven Ridge as well?

Minus the Intel driver part


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 18.04 server - zorvalth - 2018-05-22

Sorry to intercept the thread but i need an advice. Right now i'm with J1900 which if i remember correct is with 4 executing units and it really struggle to deinterlace HD channels no matter the method. Using Libreelec 18.x.x. I want to upgrade, I was wondering is J355B (or j4005 or j3455 which looks pretty much the same to me...)with 12 units would be enough or i should go with something faster like G3220T(which is my second choice because i need to add fan meaning small noise, but if i have to i would) ?

Thanks!