High CPU Usage on KODI 18

#1

Hi,

someone else can confirm high CPU usage of the new Kodi ?

11782 osmc 20 0 537904 117216 50568 R 77,9 15,3 17:08.39 kodi.bin
goes from from 44% up to 77%
that’s when im in Main menu oder a Season Folder

In Main Series Folder it goes down to 15%
11782 osmc 20 0 538328 117940 50580 S 18,9 15,4 18:26.32 kodi.bin

restarting mediacenter didnt fix it.
didn’t had that on old Kodi 17.X

#2

Kodi may be performing some migrations in the background

Leave it 25-30 mins to settle.

#3

that would have been to easy :wink:
it stays at this levels depending on the menu im idling.
50% right know idling in a Season folder for 8 hours.

#4

I suspect some addons having issues with Kodi Leia. My Pi3b+ idles at 19% CPU.
Propose that you review your current addons and either disable them or do a quick test by moving your running config into a backup folder and restart the mediacenter.

#5

Hi can u tell me what i need to move for testing this out ?

#6
sudo systemctl stop mediacenter
mv .kodi .kodi_backup
sudo systemctl start mediacenter

And to reverse back

sudo systemctl stop mediacenter
mv .kodi_backup .kodi
sudo systemctl start mediacenter
#7

thank you and is there some config file where i can see all the addons i have activated ?

#8

It’s in the database so you would need to have a sqlite editor to check.
Alternative a rough picture would be
grep installed .kodi/temp/kodi.log

#9

Well fresh kodi config doesnt help…
as soon as is have scraped something and go into a Season Folder CPU load jumps up.

#10

What skin are you using? Does the issue also occur with other skins?

#11

im using the standard skin … didnt tryd others yet

#12

Well than maybe the problem is outside of the Kodi config. For that case only a clean reinstall could solve it.
But before going that step would suggest to upload some debug logs for review and maybe install htop to check if Kodi is the CPU hook and also can see if all 4 cores are high

#13

htop shows 1 core @ 46% in Season folder menu

as soon as i start a movie load drops to 15-19%.
back in Season menu jumps up to 46% again.

#14

That’s totally normal, nothing strange there

#15

Well the old 17 Version was only consuming like 10% idling in the Menu.

#16

Well only can say that CPU usage on both my Pi3 and Vero4K dropped with v18

#17

can i revert back to Kodi 17 somehow ?

#18

You can reinstall using December image, if this is a must.

#19

i thought more like in place … deinstall current kodi version and reinstall 17.

#20

Not trivially.