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 - Stanislav - 2018-03-20

ok, well the guide is written for 16.04. i realize some people use a newer version nowadays. i don't have any problems, just wanted to make sure my system is compliant with the instructions so i can legitimately report problems :-)

perhaps add a short caveat before that section of the setup guide: "if you're using ubuntu 17.whatever, then symlink this etc." ?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-03-20

(2018-03-20, 18:32)Stanislav Wrote: ok, well the guide is written for 16.04. i realize some people use a newer version nowadays. i don't have any problems, just wanted to make sure my system is compliant with the instructions so i can legitimately report problems :-)

perhaps add a short caveat before that section of the setup guide: "if you're using ubuntu 17.whatever, then symlink this etc." ?
 Thanks - I added a note.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Rumpelstiltskin - 2018-04-08

hey fritsch,

just a little questions about Kodi visualization on ubuntu : I installed it by : sudo apt install kodi-visualization-spectrum

But doesn't run :

 
Quote:15:47:07.898 T:139837778061056   DEBUG: Thread Timer 139837778061056 terminating15:47:07.898 T:139839624905344   DEBUG: FreeVisualisation() done15:47:07.898 T:139839624905344   DEBUG: ADDON: Dll Initializing - Spectrum15:47:07.898 T:139839624905344   DEBUG: SECTION:LoadDLL(/usr/lib/x86_64-linux-gnu/kodi/addons/visualization.spectrum/visualization.spectrum.so.1.1.1)15:47:07.898 T:139839624905344   DEBUG: Loading: /usr/lib/x86_64-linux-gnu/kodi/addons/visualization.spectrum/visualization.spectrum.so.1.1.115:47:07.900 T:139839624905344 WARNING: Unable to resolve: visualization.spectrum.so.1.1.1 ADDON_GetTypeVersion, reason: /usr/lib/x86_64-linux-gnu/kodi/addons/visualization.spectrum/visualization.spectrum.so.1.1.1: undefined symbol: ADDON_GetTypeVersion15:47:07.900 T:139839624905344   ERROR: Unable to resolve exports from dll /usr/lib/x86_64-linux-gnu/kodi/addons/visualization.spectrum/visualization.spectrum.so.1.1.115:47:07.900 T:139839624905344   DEBUG: SECTION:UnloadDll(/usr/lib/x86_64-linux-gnu/kodi/addons/visualization.spectrum/visualization.spectrum.so.1.1.1)15:47:07.900 T:139839624905344   ERROR: IAddonInstanceHandler::CreateInstance: visualization.spectrum returned bad status "Permanent failure" during instance creation15:47:07.900 T:139839624905344   FATAL: Visualization: failed to create instance for 'visualization.spectrum' and not usable!15:47:07.903 T:139839080584960   DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted


I looked on the forum but it doesn't mention anyone
how can I fix?


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

(2018-04-08, 15:49)Rumpelstiltskin Wrote: hey fritsch,

just a little questions about Kodi visualization on ubuntu : I installed it by : sudo apt install kodi-visualization-spectrum

But doesn't run :

 
Quote:15:47:07.898 T:139837778061056   DEBUG: Thread Timer 139837778061056 terminating15:47:07.898 T:139839624905344   DEBUG: FreeVisualisation() done15:47:07.898 T:139839624905344   DEBUG: ADDON: Dll Initializing - Spectrum15:47:07.898 T:139839624905344   DEBUG: SECTION:LoadDLL(/usr/lib/x86_64-linux-gnu/kodi/addons/visualization.spectrum/visualization.spectrum.so.1.1.1)15:47:07.898 T:139839624905344   DEBUG: Loading: /usr/lib/x86_64-linux-gnu/kodi/addons/visualization.spectrum/visualization.spectrum.so.1.1.115:47:07.900 T:139839624905344 WARNING: Unable to resolve: visualization.spectrum.so.1.1.1 ADDON_GetTypeVersion, reason: /usr/lib/x86_64-linux-gnu/kodi/addons/visualization.spectrum/visualization.spectrum.so.1.1.1: undefined symbol: ADDON_GetTypeVersion15:47:07.900 T:139839624905344   ERROR: Unable to resolve exports from dll /usr/lib/x86_64-linux-gnu/kodi/addons/visualization.spectrum/visualization.spectrum.so.1.1.115:47:07.900 T:139839624905344   DEBUG: SECTION:UnloadDll(/usr/lib/x86_64-linux-gnu/kodi/addons/visualization.spectrum/visualization.spectrum.so.1.1.1)15:47:07.900 T:139839624905344   ERROR: IAddonInstanceHandler::CreateInstance: visualization.spectrum returned bad status "Permanent failure" during instance creation15:47:07.900 T:139839624905344   FATAL: Visualization: failed to create instance for 'visualization.spectrum' and not usable!15:47:07.903 T:139839080584960   DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted


I looked on the forum but it doesn't mention anyone
how can I fix? 
 Please - put your "just a little question" posts into their own thread. No one will ever find them again in here. I know the problem, but won't post it in here out of that reason.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Rumpelstiltskin - 2018-04-08

you're absolutely right, I apologize


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Jester1o1 - 2018-04-08

For anyone using this guide that has an MCE IR remote this thread;
https://forum.kodi.tv/showthread.php?tid=326366

Provides an ir-keytable that greatly improves ease of setup. All keys on MCE remotes are configured.

Install is easy;
1) remove LIRC
2) install ir-keytable
3) create /etc/rc_keymaps directory
4) copy the rc6-mce config file from github to rc_keymaps
5) sudo ir-keytable -c -w /etc/rc_keymaps/rc6_mce

Remote will then work without issue, as long as your receiver is already working of course.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Rumpelstiltskin - 2018-04-14

Hi,

when I listen to music after about 10 minutes, the tv and audio turn off, here's the log

https://pastebin.com/tVNiskFF

What can be wrong?


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

Disable DPMS, don't cut logfiles.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Rumpelstiltskin - 2018-04-14

(2018-04-14, 10:41)fritsch Wrote: Disable DPMS, don't cut logfiles.
 Thanks!  

i disabled it with xfce4-power-manager but the problem still remain
Do u need a full log?


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

Code:
xsetroot #000000
xset -dpms
OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'`
xrandr -display :0 --output $OUTPUT --set "Broadcast RGB" "Full"
/usr/bin/kodi --standalone
openbox --exit

Use this as your autostart file.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Rumpelstiltskin - 2018-04-14

(2018-04-14, 12:54)fritsch Wrote:
Code:
xsetroot #000000
xset -dpms
OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'`
xrandr -display :0 --output $OUTPUT --set "Broadcast RGB" "Full"
/usr/bin/kodi --standalone
openbox --exit

Use this as your autostart file.      

Thanks fritsch but still not working
cat /home/kodi/.config/openbox/autostart | pastebinit
dpkg -l |grep mesa | pastebinit 
DISPLAY=:0 vainfo | pastebinit 
cat ~/.kodi/temp/kodi.log | pastebinit 
dmesg | pastebinit 
id | pastebinit 
amixer | pastebinit 
cat /var/log/Xorg.0.log | pastebinit


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

Then I have no idea. If kodi's internal power management settings are disabled.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Rumpelstiltskin - 2018-04-14

(2018-04-14, 13:43)fritsch Wrote: Then I have no idea. If kodi's internal power management settings are disabled.
 Yes, in kodi is all off


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - wouterbaake - 2018-04-14

Thanks for the excellent how-to.
One question: the systemd service does not seem to respond to a stop command.

What is the recommended way to stop or restart kodi from SSH or the CLI?


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

(2018-04-14, 23:27)wouterbaake Wrote: Thanks for the excellent how-to.
One question: the systemd service does not seem to respond to a stop command.

What is the recommended way to stop or restart kodi from SSH or the CLI?
 That should work. Might be for you kodi hangs on exit or it crashes while exit and systemd restarts it. A Debug Log after the stop command will help.