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-04-26

Radeon OSS with vdpau is trivial :-)

Follow the howto given in post one, but don't install libva1 and i965-va-driver but mesa-vdpau-drivers instead -> done and use VDPAU + VDPAU Mixer instead of VAAPI. That's basically it.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Øyvind - 2016-04-26

Thanks , and without Openbox ?


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

don't start openbox but kodi --standalone and fine ...


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Øyvind - 2016-04-26

(2016-04-26, 20:29)fritsch Wrote: don't start openbox but kodi --standalone and fine ...

Thanks for your assistance anyway.Smile


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - reddreddington - 2016-04-27

(2016-04-26, 17:18)fritsch Wrote: Try:

sudo apt-get update
sudo apt-get install libva1 <- that's a "1" as in "one" not an "l" as in "Larissa"

Edit: And something else! Don't give up. If you need further help, click here: https://webchat.freenode.net/ enter reddreddington as user and #xbmc-xvba as channel for a live chat.

I entered that on it's own and repeated the whole thing again and it worked.

So I persevered learning the quirks of vi and to my own disbelief of not necessarily knowing what I was doing, it worked a treat.

Thank you so much for your help and stirring me on.

You are a genius.


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

Cool - so now you have a fully working kodi up and running? If yes - you are the "oldest" documented low level kodi Ubuntu howto user :-) Well done :-)


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - reddreddington - 2016-04-27

Hehe

I'm the oldest Kodi Vaapi swinger in the west but so grateful for your help.

One last question if I may.

I tested that autostart worked after a reboot but I noticed that when I click the power button in Kodi, I only have the option to exit.

Is this normal or should I have the usual power off/reboot options as well?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - wsnipex - 2016-04-27

double check that the pkla file you created in step 0 of the howto is correct and matches your username


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - reddreddington - 2016-04-27

I will do that.

Thank you.

Update: I checked everything it seems OK, so has me foxed.

I've managed to create a debug log on pastebin.

Not sure if it will give any pointers.

https://paste.ubuntu.com/16075735/

BTW When testing Kodi out I noticed that the colour reproduction was absolutely superb and beats a Windows Kodi installation in this respect hand down.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - jeckyllhavok - 2016-04-27

Hi there,
i'm also affected with that silly BayTrail freezes on Ubuntu 16.04 server, and followed the tutorial on page 1.
Afaik on all Kernels >3.19
I'm running Kodi on a Zotac CI320 nano, and got random freezes from time to time watching videos.
I read about a potential Kernel patch here, i'm not that experienced (to be honest i'm not a bit) in compiling or patching kernels.
Can anyone tell me what i need to do in order to patch that damn thing so i get rid of the freezes?

Thanks in Advance

JeckyllHavok


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

(2016-04-27, 18:09)jeckyllhavok Wrote: Hi there,
i'm also affected with that silly BayTrail freezes on Ubuntu 16.04 server, and followed the tutorial on page 1.
Afaik on all Kernels >3.19
I'm running Kodi on a Zotac CI320 nano, and got random freezes from time to time watching videos.
I read about a potential Kernel patch here, i'm not that experienced (to be honest i'm not a bit) in compiling or patching kernels.
Can anyone tell me what i need to do in order to patch that damn thing so i get rid of the freezes?

Thanks in Advance

JeckyllHavok

Check: fritsch.fruehberger.net/kernel

All of them include the BYT fix.
Code:
wget http://fritsch.fruehberger.net/kernel/linux-image-4.5.2-fritsch1+_4.5.2-fritsch1+-10.00.Custom_amd64.deb
wget http://fritsch.fruehberger.net/kernel/linux-headers-4.5.2-fritsch1+_4.5.2-fritsch1+-10.00.Custom_amd64.deb
sudo dpkg -i *4.5.2*deb



RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - jeckyllhavok - 2016-04-27

(2016-04-27, 18:22)fritsch Wrote:
(2016-04-27, 18:09)jeckyllhavok Wrote: Hi there,
i'm also affected with that silly BayTrail freezes on Ubuntu 16.04 server, and followed the tutorial on page 1.
Afaik on all Kernels >3.19
I'm running Kodi on a Zotac CI320 nano, and got random freezes from time to time watching videos.
I read about a potential Kernel patch here, i'm not that experienced (to be honest i'm not a bit) in compiling or patching kernels.
Can anyone tell me what i need to do in order to patch that damn thing so i get rid of the freezes?

Thanks in Advance

JeckyllHavok

Check: fritsch.fruehberger.net/kernel

All of them include the BYT fix.
Code:
wget http://fritsch.fruehberger.net/kernel/linux-image-4.5.2-fritsch1+_4.5.2-fritsch1+-10.00.Custom_amd64.deb
wget http://fritsch.fruehberger.net/kernel/linux-headers-4.5.2-fritsch1+_4.5.2-fritsch1+-10.00.Custom_amd64.deb
sudo dpkg -i *4.5.2*deb

Wow, that was fast, thanks for that.
I will install the kernel and report back.


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

If it does not work - you can still use the max cstate workaround ... which should not be problematic on a desktop box anyways, so report back if it still freezes.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - jeckyllhavok - 2016-04-27

(2016-04-27, 18:29)fritsch Wrote: If it does not work - you can still use the max cstate workaround ... which should not be problematic on a desktop box anyways, so report back if it still freezes.

Yeah i read abot, but i think it's a bit dirty, cause limiting the c statewill increase power and heat, which is not optimal in a passiv cooled machine.
I just installed your kernel, and will test for the next hours with several videos, hope it fixed the freezes.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - jeckyllhavok - 2016-04-28

So, the freezes are still there, but just 1 every couple of hours.
With the shipped Ubuntu 16.04 kernel i got freezes every couple of minutes.

The last thing i saw in the kern.log was:

Code:
Apr 28 12:01:07 ubuntu kernel: [  941.954662] perf interrupt took too long (2506 > 2500), lowering kernel.perf_event_max_sample_rate to 50000


but that occurs 7 minutes before the freeze