Kodi Community Forum
Linux Kodi loading addons very slow - 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: Linux Kodi loading addons very slow (/showthread.php?tid=374132)



Kodi loading addons very slow - zunnekleppe - 2023-08-17

As of the recent update of kodi, it's running very slow. The reason is python. From python's dev's there was a warning that python >= 3.10 has new functions that are not compatible with previous version. In gnome boxes I installed debian 11 that uses python 3.7, installed kodi, and everything was running smooth again.

The plugins needs an upgrade to version >= 3.10.


RE: Kodi loading addons very slow - zunnekleppe - 2023-08-17

How to easy resolve the problem:


sudo apt install distrobox

distrobox create -i quay.io/toolbx-images/debian-toolbox:11

distrobox enter debian-toolbox-11

sudo apt install kodi

distrobox-export --app kodi

exit


Then you will find in your menu the symlink to the debian-11 version of kodi.


RE: Kodi loading addons very slow - wastis - 2023-08-18

Not sure if this is the case here, however this could also be linked to python compiler optimization level used by Kodi. 

See here.

So pre-compiling the python libraries with optimization level one might also help.