-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
high CPU usage #199
Comments
I'm using LibreElec 64bits: |
Do you know what screens it was on when it was doing this? If it was the background service that fetches fanarts, it should only be running on screens where you see the slideshow background. do you get this noise if you leave it idle in your movies folder or somewhere where the background service isn't running? You could also try disabling the clearlogo cropper in skin settings as that runs in the background. I'm trying to make some optimisations to the background fanart fetcher to make it more efficient, I'll try to push these updates out soon |
It would be screen agnostic, I've reproduced it everywhere. |
Ok I was wrong, USB devices are unrelated. |
While there please increase the slideshow interval, I would prefer being able to change any 10/15/30 minutes instead |
Mine will be more resource hungry than Estuary because of the extra stuff going on and the fact I don't use the standard containers for views (instead they are manually coded and animated - this is more resource-intensive, but allows for greater freedom in animations). If you want to bring the temp down, you can disable any features you aren't using in skin settings, e.g. anything in Extras, views you don't want. I added in 2.6.6 the longer slideshow durations. Using those might bring the temperature down as well, as Kodi won't query the database as often to fetch fanarts. Alternatively, if you don't mind editing a file, you could remove from addon.xml the line that says "" You may see some error messages but this will tell us if the issue is with the script running in the background or with the skin itself. If it's the script, the two main things it's doing in the background during normal operation are clearlogo cropping (which you can disable in skin settings) and the background slideshows, which can't currently be disabled. I could make an option to disable this if it is the script, but then you'd be left with black screens |
I'm pretty much using the default setup already.
I can only see 2.6.5 in your repository.
Which addon.xml file are we speaking?
Will check, I don't want to disable the slideshow, i very like it. |
After verification, all things I don't use are already disabled, and clearlogo cropping is already disabled 😞 |
Ok I'll try to push 2.6.6 out tonight if I have itme, I also reduced the number of fanarts fetched from 40 to 20, hopefully that will mean a bit less stress on CPU |
That indeed seems like the slideshow powered views that increase heat and CPU usage. |
So, i bumped to 2.6.7 and moved to 15minutes slideshow duration, to not get any better result. |
Removing that import line means the skin is now allowed to run without the script dependency. Now in addons you can disable script.copacetic.helper, |
So commenting the import and disabling the helper make the CPU usage lowering after restarting Kodi. So it seems the script is to incriminate. |
I'll try refactoring the code to see if I can figure out anything else to optimise. Have you used any of the Arctic Horizon or Arctic Fuse skins? I wonder if they have a similar footprint as they are doing many of the same things |
I will have a look |
Nearly finished with this. Will try and push the update in the next day or two |
done? which version I'm supposed to see the enhancements? |
Sorry I've not managed to finish it yet. We just had a baby which has nixxed any freetime for the moment! |
I might have a bit of time later so I'll try and finish if I can. It ended up being a bit of a rewrite of the python code, which is why it's taken longer |
Refactoring of the art handler is complete. I just need to test it a bit then will push the update |
Hi I pushed the update, please let me know if it improves anything or if you encounter any errors. |
Unfortunately, after intensive tests this does not help much. The CPU usage is sensibly the same. |
I have since some times now an issue where my rpi5 fan would spin at 50% (loud noise) instead of 25% (no noise) every 5 or 10 minutes. Initially I thought it was related to the PVR Freebox extension which updates its guide every 5 minutes, but it's not, disabling it still has the issue.
I noticed my fan spinning fast because the RPI reached 60-62° when idling which is weird because to be honest the skin is so simple nobody can imagine that. Then I tested other skins, like the default estuary where the issue disappeared and reached a steady 54-55° when idling and no more issues.
I can't imagine a so simple skin needing so much CPU just to change every 30 secs a background image. Would you mind having a look at this issue?
As of now I returned to estuary because of the permanent noise it triggers, which is very annoying - your skin being so much good!
The text was updated successfully, but these errors were encountered: