Hi there
I’ve noticed the kodi.bin process is using 95-96% CPU when playing a music stream on the SHOUTcast2 plugin:
Playing stream:
10244 osmc 20 0 691636 221452 38852 R **95.3** 61.2 49:34.58 kodi.bin
Idle:
10244 osmc 20 0 634708 207492 40060 R **33.2** 57.3 62:44.44 kodi.bin
This is on a Pi B+, using the Estuary skin and connected to a 5.1 USB sound card (I tried the same without said card connected). Logs: https://paste.osmc.tv/holeqecequ
What’s strange is, on a Pi 1 with the same Kodi version, same plugins installed, same skin and the same stream playing, the CPU usage is much lower:
Playing stream:
17446 osmc 20 0 680528 176068 73928 S **55.9** 48.6 388:09.25 kodi.bin
Idle:
17446 osmc 20 0 616080 172424 73928 R **33.3** 47.6 392:13.14 kodi.bin
On the Pi 2, (same setup again) it’s higher (but then there are more cores)?
Playing stream:
28962 osmc 20 0 713380 162352 46976 R **108.9** 21.6 172:34.16 kodi.bin
Idle:
28962 osmc 20 0 658848 161756 47512 S 26.8 **21.5** 182:16.00 kodi.bin
This Pi is using the Eminence 2 skin however, with the ShaderToy visualisations.
Normally I wouldn’t care, but I have a homebridge service running on the Pi B+ and occasionally the audio stutters (also happens when moving around the GUI). For now, I’ve overclocked at HIGH to solve this - but I don’t like to do that really.
I tried renaming the .kodi
directory and starting afresh with only the SHOUTcast2 plugin, with the Estuary skin active and connection to central MySQL library.
Not sure what other variables there are in play here. Possibly the SD card? dd
is showing I’m getting ~12MB/s write speed on it in situ.