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 - Karnis - 2015-12-14

(2015-12-13, 22:00)VirtualRain Wrote:
(2015-12-13, 21:26)fritsch Wrote: Average Joe should buy a FireTV ...

Haha... In post #2 it mentions beginner Isenguard OE build is for every day joe, just wondering if that's still the case.

That build is okay if you want to run Isengard.

If you want a stable version of Jarvis, I run Milhouse #1119 on both my OE boxes and they work quite well for me....check the other thread.


RE: New Era: VAAPI with EGL interoperation - psysfaction - 2015-12-14

(2015-12-13, 11:08)fritsch Wrote: I got a N3150 - it's working cool and does not overheat - even when I watch kodi 1080i50 + compile on 4 cores ... it stays much cooler than my selfbuild asrock system ... it seems the engineers did very good with the cooling solution. One thing (this is a preseries release) I asked them was to add "power on by USB" if possible as this device does not have an IR remote ... that way power on from off would be working.

Thank you for the info.
Yes the power on by USB would be very good.
The AsRock Beebox power on & off great with the Logitech Harmony remote.

Do you know when the Minix Brasswell will be released?

Ps: My Beebox runs great with your Isenguard build. Using it every day and tested various Hevc and 4K content :-)


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-14

(2015-12-14, 07:24)psysfaction Wrote:
(2015-12-13, 11:08)fritsch Wrote: I got a N3150 - it's working cool and does not overheat - even when I watch kodi 1080i50 + compile on 4 cores ... it stays much cooler than my selfbuild asrock system ... it seems the engineers did very good with the cooling solution. One thing (this is a preseries release) I asked them was to add "power on by USB" if possible as this device does not have an IR remote ... that way power on from off would be working.

Thank you for the info.
Yes the power on by USB would be very good.
The AsRock Beebox power on & off great with the Logitech Harmony remote.

Do you know when the Minix Brasswell will be released?

Ps: My Beebox runs great with your Isenguard build. Using it every day and tested various Hevc and 4K content :-)

I think after CES - but I only assume I don't know.


RE: New Era: VAAPI with EGL interoperation - DJ-1 - 2015-12-14

(2015-12-13, 09:31)fritsch Wrote:
(2015-12-13, 03:46)robo989 Wrote: ^ Had to do that too on broadwell/nuc
libxcb-util0 is missing when going to install the extra bits. Followed guide to the letter.
Resolved through steps listed above.

Funny - I did that howto again myself 3 days ago to test the new Minix Braswell box ... good that it is easy to solve.

Yeah i must have been tired or something, as I was trying the Intel driver from top of post 2 which is meant for ppl on 15.04..
As I'm using 15.10 (from post 1), when installing intel driver xserver-xorg-video-intel_2.99.917 git151026193 from near end of post 2 I don't get that 'missing dependencies error'.

Do I install thelibxcb-util0 regardless as it didn't give any missing dependencies errors?

Cheers


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-14

(2015-12-14, 10:23)DJ-1 Wrote:
(2015-12-13, 09:31)fritsch Wrote:
(2015-12-13, 03:46)robo989 Wrote: ^ Had to do that too on broadwell/nuc
libxcb-util0 is missing when going to install the extra bits. Followed guide to the letter.
Resolved through steps listed above.

Funny - I did that howto again myself 3 days ago to test the new Minix Braswell box ... good that it is easy to solve.

Yeah i must have been tired or something, as I was trying the Intel driver from top of post 2 which is meant for ppl on 15.04..
As I'm using 15.10 (from post 1), when installing intel driver xserver-xorg-video-intel_2.99.917 git151026193 from near end of post 2 I don't get that 'missing dependencies error'.

Do I install thelibxcb-util0 regardless as it didn't give any missing dependencies errors?

Cheers

If nothing depends on - nothing is needed.


RE: New Era: VAAPI with EGL interoperation - jteeuw - 2015-12-14

(2015-12-13, 19:34)jteeuw Wrote:
(2015-12-13, 14:29)fritsch Wrote:
(2015-12-13, 12:45)jteeuw Wrote: Hi ,

I did a fresh install and followed the how to from page one, everything is working perfecty but when watching Live TV I have green frames ,about 3 green frames per minute.
Can somebody tell from the logs I my setup is good?

dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/13987283/

DISPLAY=:0 vainfo | pastebinit
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
http://paste.ubuntu.com/13987289/

cat /home/kodi/.kodi/temp/kodi.log | pastebinit
http://paste.ubuntu.com/13987306/

dmesg | pastebinit
http://paste.ubuntu.com/13987307/

Not a Debug Log - can you test without tvheadend? What about recordings?

I have it with live tv and (tv) recordings other files not .

here is my debug log :

cat /home/kodi/.kodi/temp/kodi.log | pastebinit
http://paste.ubuntu.com/13992295/

Some more information, when i use VLC to play the stream from tvheadend i do not have te problem


RE: New Era: VAAPI with EGL interoperation - Devil-Strike - 2015-12-14

Goed job guys, can even watch 2160p on baytrail without problems also hi10p works perfect(only software mode) but is there something wrong with not reading of hwdb files? with latest kodi 15.2 mele f10 remotes works perfect with a hwdb file I use but since openelec/kodi 16 and up is not working/not reading hwdb file andso not working.

Some1 know how to fix this?


RE: New Era: VAAPI with EGL interoperation - stefansaraev - 2015-12-14

(2015-12-14, 18:45)Devil-Strike Wrote: Goed job guys, can even watch 2160p on baytrail without problems also hi10p works perfect(only software mode) but is there something wrong with not reading of hwdb files? with latest kodi 15.2 mele f10 remotes works perfect with a hwdb file I use but since openelec/kodi 16 and up is not working/not reading hwdb file andso not working.

Some1 know how to fix this?

re hwdb

it is upstream (systemd) change.

old format: keyboard:usb:vXXXXpYYYY*
new format: evdev:input:b0003vXXXXpYYYY*

example:
Code:
# mele F10 deluxe
# keyboard:usb:v1915p0196*
evdev:input:b0003v1915p0196*
KEYBOARD_KEY_07003f=f1  # Game
KEYBOARD_KEY_070043=f2  # My Box
...

Code:
# mele F10 Remote
# keyboard:usb:v1915pAF11*
evdev:input:b0003v1915pAF11*
KEYBOARD_KEY_090001=enter
KEYBOARD_KEY_090002=f5
...



RE: New Era: VAAPI with EGL interoperation - ilovethakush - 2015-12-14

(2015-12-14, 05:05)Karnis Wrote:
(2015-12-13, 22:00)VirtualRain Wrote:
(2015-12-13, 21:26)fritsch Wrote: Average Joe should buy a FireTV ...

Haha... In post #2 it mentions beginner Isenguard OE build is for every day joe, just wondering if that's still the case.

That build is okay if you want to run Isengard.

If you want a stable version of Jarvis, I run Milhouse #1119 on both my OE boxes and they work quite well for me....check the other thread.

First of all, there is no such thing as a stable version of Jarvis YET.

Second of all, why would you recommend running the 1119 build when there's 1121, 1125, 1127, 1128, 1201, 1205, 1206, 1208, 1211, and 1212 after that?

Third question, for everyone. Are Milhouses builds EGL or no? Any reason someone would choose to run his generic version on a chromebox over fritsch builds?

And now finally to answer the question, for an average joe, just run the Isengard version from this thread, cause that is the latest official stable version of Kodi and you wont have to constantly update.


Re: RE: New Era: VAAPI with EGL interoperation - Milhouse - 2015-12-14

(2015-12-14, 20:04)ilovethakush Wrote: Third question, for everyone. Are Milhouses builds EGL or no? Any reason someone would choose to run his generic version on a chromebox over fritsch builds?

My builds are EGL. They're essentially the same as fritsch builds, but with updated OpenELEC packages which can be both good and bad (if you're a Pandora user, my builds are not a good choice right now due to some broken upstream certificates). Plus of course Nvidia_Legacy support where fritsch is focused on Intel. My builds may also contain forthcoming Kodi features not found in fritsch builds.

Horses for courses, really - if you want a more stable Intel experience based on an older OpenELEC and less experimental Kodi base then go with fritsch. If you want a more bleeding edge OpenELEC/Kodi experience and/or Nvidia support, then there's my build.


RE: New Era: VAAPI with EGL interoperation - Karnis - 2015-12-14

(2015-12-14, 20:04)ilovethakush Wrote:
(2015-12-14, 05:05)Karnis Wrote:
(2015-12-13, 22:00)VirtualRain Wrote: Haha... In post #2 it mentions beginner Isenguard OE build is for every day joe, just wondering if that's still the case.

That build is okay if you want to run Isengard.

If you want a stable version of Jarvis, I run Milhouse #1119 on both my OE boxes and they work quite well for me....check the other thread.

First of all, there is no such thing as a stable version of Jarvis YET.

Second of all, why would you recommend running the 1119 build when there's 1121, 1125, 1127, 1128, 1201, 1205, 1206, 1208, 1211, and 1212 after that?

Third question, for everyone. Are Milhouses builds EGL or no? Any reason someone would choose to run his generic version on a chromebox over fritsch builds?

And now finally to answer the question, for an average joe, just run the Isengard version from this thread, cause that is the latest official stable version of Kodi and you wont have to constantly update.


1) I was speaking within the confines of the thread, which I generally think most understand that these are experimental builds.

2) If you keep up with the history of that thread, builds after that had a problem with some OE settings at boot up, & when they were resolved, new work began on pass-thru which I believe is still yet to be fully resolved. I find that #1119 is quite stable on 2 boxes I have, Chromebox & Braswell Beebox, simply speaking from my user experience. Milhouse does a good job of documentation which helps if you have a problem & need to roll back.

As I said, just trying to offer a helpful response, if you want an Isengard or Jarvis EGL build that seems to be fairly stable, you have a choice.


RE: New Era: VAAPI with EGL interoperation - Devil-Strike - 2015-12-14

(2015-12-14, 18:59)stefansaraev Wrote:
(2015-12-14, 18:45)Devil-Strike Wrote: Goed job guys, can even watch 2160p on baytrail without problems also hi10p works perfect(only software mode) but is there something wrong with not reading of hwdb files? with latest kodi 15.2 mele f10 remotes works perfect with a hwdb file I use but since openelec/kodi 16 and up is not working/not reading hwdb file andso not working.

Some1 know how to fix this?

re hwdb

it is upstream (systemd) change.

old format: keyboard:usb:vXXXXpYYYY*
new format: evdev:input:b0003vXXXXpYYYY*

example:
Code:
# mele F10 deluxe
# keyboard:usb:v1915p0196*
evdev:input:b0003v1915p0196*
KEYBOARD_KEY_07003f=f1  # Game
KEYBOARD_KEY_070043=f2  # My Box
...

Code:
# mele F10 Remote
# keyboard:usb:v1915pAF11*
evdev:input:b0003v1915pAF11*
KEYBOARD_KEY_090001=enter
KEYBOARD_KEY_090002=f5
...

Thanks works like a charme.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-14

Uploaded new version (update with the .tar)
Changes:
- Kernel 4.4-rc5 ... handle with care.


RE: New Era: VAAPI with EGL interoperation - Milhouse - 2015-12-14

Now fritsch is bleeding edge. Smile


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-14

Yeah - I said before: kernel, mesa, vaapi, intel gfx drivers.

Edit: Mesa 11.0.7 is out with some relevant fixes.