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 - fritsch - 2016-07-06

4k60 ... mumpiz or h264 or hi10p or hevc 10bit?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - tudstudent - 2016-07-06

File 1: Samsung_UHD_Dubai.ts
MPEG-H Part 2/HEVC (H.265) (hevc) @23.976Hz
(Interesting VLC also shows it is not 60HZ but 23.976)

File 2: Samsung_UHD_Ride_on_Board.ts
MPEG-H Part 2/HEVC (H.265) (hevc) @60Hz

Source:
http://demo-uhd3d.com/categorie.php?tag=samsung

Both samples where not watchable (lots of frames skipped/dropped)


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

HEVC 10 bit - that's the reason why one does not spend money on SKL.

Quote:General
ID : 0 (0x0)
Complete name : Samsung_UHD_Ride_on_Board.ts.crdownload
Format : MPEG-TS
File size : 398 MiB
Duration : 1mn 4s
Overall bit rate mode : Constant
Overall bit rate : 51.6 Mbps

Video
ID : 257 (0x101)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main [email protected]@high
Codec ID : 36
Duration : 1mn 4s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 59.940 (60000/1001) fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Writing library : ATEME Titan KFE 3.6.2 (4.6.1.9)

Haha - good joke.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - tudstudent - 2016-07-06

Could you clarify your sarcasm a little more (i suppose it is sarcasm Smile )

I think what you mean to say is that skylake is only able to do 8bit HEVC, 10bit is not possible. I was aware of that only forgot this minor detail...
Invested in skylake because I needed something new, now I have a small system which has the ability to be upgraded by component (so swap a cpu of toss in a new GPU-> nvidia or alike)


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

A small system with a 150W nvidia GPU? Ever checked which nvidia gpu you would need that can decode -10 bit? Which is btw. still windows only?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - tudstudent - 2016-07-07

(2016-07-06, 22:47)fritsch Wrote: Which is btw. still windows only?

That is was another thing, linux was not capable (yet) of doing 10bit.
Btw atm I am on intel GPU, but if I am correct a GTX950 should be able to do 10bit HEVC
http://forum.kodi.tv/showthread.php?tid=237725&pid=2198695#pid2198695

Anyway, back on topic of my initial question: the PPA Kodi is doing hardware decoding just fine, CPU is around 5% when watching which is great and movies are running smooth.
I will figure out why my own build was not working. Your howto is great, (have not found this in a wiki, why not?)


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-07-07

No one ported it and kept it up2date.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - zorvalth - 2016-07-10

Hi there, just noob here... Sad I'm using Kodibuntu on J1900 HTPC, what is my best deinterlacing option? Thanks in an advance!


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-07-10

You are offtopic here. Kodibuntu does not support the features of this thread. Please either follow that howto or use LibreElec (www.libreelec.tv) which was designed for noobs. You can use the settings given in the first post after that.

As the J1900 has the worst GPU anyways, besides VAAPI-BOB nothing will really work performance wise anyways. So in that case:

Deinterlace: Auto
Deinterlacing-Method: VAAPI-BOB
Scaling: Bilinear

Save for all files.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - zorvalth - 2016-07-10

(2016-07-10, 16:19)fritsch Wrote: You are offtopic here. Kodibuntu does not support the features of this thread. Please either follow that howto or use LibreElec (www.libreelec.tv) which was designed for noobs. You can use the settings given in the first post after that.

As the J1900 has the worst GPU anyways, besides VAAPI-BOB nothing will really work performance wise anyways. So in that case:

Deinterlace: Auto
Deinterlacing-Method: VAAPI-BOB
Scaling: Bilinear

Save for all files.

Thanks, and sorry for the off topic. I cant move to libreelec because i'm using plex, CP, sickrage and other services, and these addons for libre/openelec are not very stable and frequently updated. Anyway thanks again! Just one more question and i'm off the thread, if i add some passive Nvidia like GT 720 is it good for deinterlacing or should i just update the board with some i3 cpu? I know this is totally off topic but i dont know where else to as about that. Apologies again!


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-07-10

We cannot suggest nvidia GPUs at the moment, they fucked up their 360+ linux drivers and video decoding produces pixelation on seek and on playback start, sadly :-(

Depending on your needs (deinterlacing is only needed for live tv and nothing else) a Braswell board might fit your needs, much cheaper than an i3.

Something else, make sure to read: http://kodi.wiki/view/Official:Forum_rules/Banned_add-ons


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - d'ddyrazzy - 2016-07-10

hi all,

i just folowed the guide on the first page,
i set everything up, but when i play a video file, the sound plays, sounds like its on half speed, but the video play normal speed.
i've searched for an answer but didn't find any.
does anyone know what the probem could be?

greetings!Undecided

logfiles:

kodi@ubuntu-kodi:~$ dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/19009556/

DISPLAY=:0 vainfo | pastebinit
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
vaInitialize failed with error code -1 (unknown libva error),exit
You are trying to send an empty document, exiting.

kodi@ubuntu-kodi:~$ cat ~/.kodi/temp/kodi.log | pastebinit
http://paste.ubuntu.com/19009736/

kodi@ubuntu-kodi:~$ dmesg | pastebinit
http://paste.ubuntu.com/19009759/

kodi@ubuntu-kodi:~$ id | pastebinit
http://paste.ubuntu.com/19009796/

kodi@ubuntu-kodi:~$ amixer | pastebinit
amixer: Mixer attach default error: No such file or directory
You are trying to send an empty document, exiting.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-07-10

Post the logfiles ... I will now make them bold and delete every post asking for help and not posting the relevant logfiles.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - d'ddyrazzy - 2016-07-10

i'm in the process of getting em Smile


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-07-10

Image