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 Leia v18 nightly based on Ubuntu 18.04 server - FernetMenta - 2019-02-21

You need this patch: https://github.com/FernetMenta/FFmpeg/commit/10368d74b94fcdcc85ba6ce9b276e936bb8c431c


RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - M4tt0 - 2019-02-21

@FernetMenta RETIREDHuh
I don't like it whatsoever. You are too young for that, by far!!!! Really?


RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - uke75 - 2019-02-23

(2019-02-21, 14:45)FernetMenta Wrote: You need this patch: https://github.com/FernetMenta/FFmpeg/commit/10368d74b94fcdcc85ba6ce9b276e936bb8c431c
 Great. Any change this patch will be on PPA's?


Thanks


RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2019-02-23

According to kodi's ffmpeg policy it cannot be included before it was proposed to upstream ffmpeg.

FFMpeg's mailinglist approach is quite motivating you know :-)


RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Jan0sh - 2019-03-03

Hi!
I recently discovered an issue with new kodi stable and DPMS:
with using provided autostart file :
 
(2015-07-12, 20:06)fritsch Wrote:
Code:
OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'`
xrandr -display :0 --output $OUTPUT --set "Broadcast RGB" "Full"
xsetroot #000000
xset s off -dpms
 /usr/bin/kodi --standalone
while [ $? -ne 0 ]; do
 /usr/bin/kodi --standalone
done
openbox --exit

DPMS was not disabled, so DPMS kicked in even when playing music over HDMI.

I had to explicitly set DISPLAY=:0 befor the xset -dpms call.

With this DPMS is disabled after kodi service is started, and now kodi handles setting display to sleep like configured


RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - rmatias - 2019-03-08

Thank you for the great tutorial!! I decided to start a new/clean install and so far so good.

However I have one problem which I don't know how to solve: my TV makes a lot of overscan, so I need to correct it using "Video calibration..." under display settings. However, the values I configure are always forgotten on next kodi reboot.

I tried to adapt "/home/kodi/.config/openbox/autostart" using a modified xrandr command with --transform option, and the overscan was solved, however the result was that I got lots of visible artifacts when playing videos (ex: https://photos.app.goo.gl/msFCUwHgGsCyHeh7A). The same videos, without the "xrandr --transform" and proper "Video calibration" play ok.

So, what should I do in order to keep "Video calibration" values between reboots?

Thank you in advance

https://paste.kodi.tv/ukedatozak
http://paste.ubuntu.com/p/vRh36QrTnD/
http://paste.ubuntu.com/p/h2ZpGx8FSm/
http://paste.ubuntu.com/p/7KPtP4w7yt/
http://paste.ubuntu.com/p/rnjb8mDbjk/
https://pastebin.com/AWmx2J0x
https://pastebin.com/rMhZteY0


RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2019-03-08

Should be fixed in git already: https://github.com/xbmc/xbmc/pull/15516


RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - rmatias - 2019-03-08

I found other threads describing the same issue, which seems will be corrected in Kodi 18.2

BR


RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - rmatias - 2019-03-09

(2019-03-08, 18:58)fritsch Wrote: Should be fixed in git already: https://github.com/xbmc/xbmc/pull/15516

Thank you. Yes it's working using latest nightly.

BR


RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2019-03-10

(2019-02-23, 11:51)uke75 Wrote:
(2019-02-21, 14:45)FernetMenta Wrote: You need this patch: https://github.com/FernetMenta/FFmpeg/commit/10368d74b94fcdcc85ba6ce9b276e936bb8c431c
 Great. Any change this patch will be on PPA's?


Thanks 

Will be fixed for 18.2 (hopefully) but at least after: https://github.com/xbmc/xbmc/pull/15713 is merged.


RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - uke75 - 2019-03-12

Nice one! I'll try that.


Thanks


RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - ruudjewee - 2019-03-12

Thanks a lot for this guide.

For a long time I still had my kodi system running on an old kodibuntu release which was based on ubuntu 14.04, so I decides it was a good idea to follow this guide to do a complete reinstall.

Unfortunately, the video playback is no longer as smooth as it was before. In several 1080p videos I have noticed some stuttering in the video's. I have tried to disable VAAPI, but that seemed to make things worse. I also tried disabling passthough and to toggle some setting such as sync playback to display, but this did not seem to make a difference.
Are there any things I can do to make sure the playback is smooth again?

dpkg -l |grep mesa
http://paste.ubuntu.com/p/XpnVTSrDm2/

DISPLAY=:0 vainfo
http://paste.ubuntu.com/p/TJKKmdt36r/

kodi log
https://pastebin.com/xiGQ3TX2

dmesg
https://pastebin.com/P1h8VumD

id
http://paste.ubuntu.com/p/YkRznKVbqJ/

amixer
http://paste.ubuntu.com/p/yfc4WVhKVW/

cat /var/log/Xorg.0.log
https://pastebin.com/RtJSUJVg


RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - hal2100 - 2019-03-19

Hello,

after waiting quite a while I upgraded from 16.04 to 18.04.
Now it seems like my formerly perferctly running system lost the hardware acceleration, although it looks to be correctly intalled, any ideas?

EDIT:
I fixed the issue by purging and re-installing kodi and removing all auto-installed libraries. Looks like the upgrade created a half-baked situation.


RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Klojum - 2019-03-19

(2019-03-19, 11:39)hal2100 Wrote: cat ~/.kodi/temp/kodi.log | pastebinit
Please remove the banned pulsar repositories and all of its related add-ons/modules/scripts before asking for support here. Our forum rules (wiki) are quite clear on video piracy.


RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - hal2100 - 2019-03-19

The issue was resolved.