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 - fritsch - 2015-12-12

(2015-12-11, 21:17)DJ-1 Wrote: Hi... I've got a nuc5cpyh (braswell) & latest bios(all at defaults).
Currently, all I done is install the 15.10 server linked in the 1st post & did a basic install, no encryption or anything.

On startup, I've got 50% chance of a normal boot, or it hangs at he same line each time
"starting update utmp about system reboot/shutdown"

Does the additional steps (I haven't done yet) in page 1 fix the possibility of the hang....? Or is it new?.

Thanks.
Image

Check the second post - which has some important bits for Braswell.


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

"Check the second post - which has some important bits for Braswell."


ok, although i didnt notice it error, i did the dvfs workaround anyhow, boots ok most of the time now (8 out of 10 times i tried ).

i was gonna upgrade the intel driver
"If you have an issue with 15.04's intel driver, upgrade to: https://dl.dropboxusercontent.com/u/55728161/xserver-xorg-video-intel_2.99.917%2Bgit1509140731.23986f~gd~v_amd64.deb"_amd64.deb and install it with dpkg -i.

question: do i have to create any folders ( like dvfs fix) or just from the starting point ?

sorry for noobish question.

thanks.


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

just download the file and install it


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

(2015-12-12, 20:28)fritsch Wrote: just download the file and install it

the only thing i havent done is the dvfs fix (but doing it in order).
Im getting an error trying to upgrade the newer intel driver

surely im doing something wrong?, the rest of the howto is fine

Code:
kodi@VAAPIBUNTU:~$
kodi@VAAPIBUNTU:~$ sudo systemctl start kodi
kodi@VAAPIBUNTU:~$
kodi@VAAPIBUNTU:~$ sudo wget https://dl.dropboxusercontent.com/u/55728161/xserver-xorg-video-intel_2.99.917%2Bgit1509140731.23986f~gd~v_amd64.deb
--2015-12-12 20:58:53--  https://dl.dropboxusercontent.com/u/55728161/xserver-xorg-video-intel_2.99.917%2Bgit1509140731.23986f~gd~v_amd64.deb
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 108.160.173.165
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|108.160.173.165|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1646160 (1.6M) [application/x-debian-package]
Saving to: ‘xserver-xorg-video-intel_2.99.917+git1509140731.23986f~gd~v_amd64.deb’

xserver-xorg-video-intel_2.99.9 100%[========================================================>]   1.57M  2.94MB/s   in 0.5s

2015-12-12 20:58:54 (2.94 MB/s) - ‘xserver-xorg-video-intel_2.99.917+git1509140731.23986f~gd~v_amd64.deb’ saved [1646160/1646160]

kodi@VAAPIBUNTU:~$ sudo dpkg -i *deb
(Reading database ... 110354 files and directories currently installed.)
Preparing to unpack xserver-xorg-video-intel_2.99.917+git1509140731.23986f~gd~v_amd64.deb ...
Unpacking xserver-xorg-video-intel (2:2.99.917+git1509140731.23986f~gd~v) over (2:2.99.917+git20150808-0ubuntu4) ...
dpkg: dependency problems prevent configuration of xserver-xorg-video-intel:
xserver-xorg-video-intel depends on libxcb-util0 (>= 0.3.8); however:
  Package libxcb-util0 is not installed.

dpkg: error processing package xserver-xorg-video-intel (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.4-1) ...
Errors were encountered while processing:
xserver-xorg-video-intel
kodi@VAAPIBUNTU:~$

thanks.


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

Yea - you do ...

Code:
sudo apt-get -f install

Though it seems your setup is _not_ equivalent to the howto on the first page ...


RE: New Era: VAAPI with EGL interoperation - nickr - 2015-12-12

Install libxcb-util0
Code:
sudo apt-get install libxcb-util0



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

(2015-12-12, 23:15)fritsch Wrote: Yea - you do ...

Code:
sudo apt-get -f install

Though it seems your setup is _not_ equivalent to the howto on the first page ...

ok, its fine now. (didnt error anyway)

in what way different from howto?,.. somebody mentioned libxcb-util0, i havent done that i just followed howto..

i assume its ok now.

thanks


RE: New Era: VAAPI with EGL interoperation - nickr - 2015-12-12

I simply read the output you posted which said libxcb -util0 was missing. Maybe apt-get -f install fixed that error. Having to use -f is usually the result of some earlier error.


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

yeah cheers, the `sudo apt-get -f install` was ok, it removed something, but i didnt see the new intel driver install thouhgh


RE: New Era: VAAPI with EGL interoperation - robo989 - 2015-12-13

^ 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.


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

(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.


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

How do you like the Minix Braswell?
Is the performance comparable to the Beebox?


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

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.


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

Currently uploading a new build (ETA 3 Minutes). Only change: Added an upstream fix for the handbrake mp3 issues.

Btw. from now on I won't always upload an img.gz file ... as most people only upgrade and don't reinstall. Just use the latest img.gz for fresh installation and then upgrade to latest .tar


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

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/