desktop: The media animation causes high CPU usage
Captchas
- I have read the instructions.
- I have searched existing issues and avoided creating duplicates.
- I am not filing an enhancement request.
- I have checked that this issue cannot be reproduced on Mozilla Firefox.
- I have checked that this issue can be reproduced once I removed all my Mods and Custom CSS.
What happened?
The new media player sidebar music notes animation causes high CPU usage.
This is with the sidebar and the animation:
This is by hovering on it, showing the full-size controls hiding the animation:
This is with manually hiding the item using the browser shell devtools (unchecking contents on the styling tab):
Version
1.10.2b
What platform are you seeing the problem on?
Linux (Tarball)
What component is this issue related to?
Media Controler
Relevant log output if applicable
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 5
- Comments: 18 (2 by maintainers)
I ended up using custom CSS to hide the animation, as the miniplayer is actually really helpful and was a feature I was missing so much I started building it on my own just before it released officially.
Here’s the relevant part of the code:
Wow, CPU usage dropped by 60% and GPU by 20% to zero. Its like nothing would play, yet the miniplayer is still there. Thank you very much!
I don’t know why the RAM usage issues all get closed and marked as duplicate of this issue. The issue seems not to be the same to me. RAM issue
Hi, @busybox11. I’m Dosu, and I’m helping the desktop team manage their backlog. I’m marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!
Thanks for the
userChrome.csssnippet @busybox11. Besides finding the animation distracting, I also saw the CPU usage increase from around 12% to >80% on MacOS.Oh, I did not see this mention.
Indeed it does not seem like a duplicate. This doesn’t have anything to do with RAM. My usage here doesn’t match your issue either.