Kodi Community Forum

Full Version: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
@FernetMenta RETIREDHuh
I don't like it whatsoever. You are too young for that, by far!!!! Really?
(2019-02-21, 14:45)FernetMenta Wrote: [ -> ]You need this patch: https://github.com/FernetMenta/FFmpeg/co...36bb8c431c
 Great. Any change this patch will be on PPA's?


Thanks
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 :-)
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
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
Should be fixed in git already: https://github.com/xbmc/xbmc/pull/15516
I found other threads describing the same issue, which seems will be corrected in Kodi 18.2

BR
(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
(2019-02-23, 11:51)uke75 Wrote: [ -> ]
(2019-02-21, 14:45)FernetMenta Wrote: [ -> ]You need this patch: https://github.com/FernetMenta/FFmpeg/co...36bb8c431c
 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.
Nice one! I'll try that.


Thanks
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
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.
(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.
The issue was resolved.