Skip to content
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

MusicManager: CPU goes through the roof #2676

Closed
gantsevdenis opened this issue Apr 26, 2022 · 4 comments
Closed

MusicManager: CPU goes through the roof #2676

gantsevdenis opened this issue Apr 26, 2022 · 4 comments
Labels
Milestone

Comments

@gantsevdenis
Copy link
Contributor

On latest master (and 4.2.7), a simple fact of opening "Options->Music Manager" sends CPU to >90% load, from a steady 30%, while the game is on pause.

Shouldn't be so heavy, it's a static picture

@maxsupermanhd
Copy link
Member

Unable to reproduce on 4.2.7.

Try launching the thing with GDB and looking at threads...

uname -a: Linux max-nb 5.13.0-35-generic #40~20.04.1-Ubuntu SMP Mon Mar 7 09:18:32 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Shell: Kitty
WM: Xfce 4.14 (from xubuntu repos), Xorg
Built locally from cloned repository using ninja, run from both cmake installation and build directories.
Libraries and packages that provide them: https://pastebin.com/7TrJprhT (generated with https://pastebin.com/PTGWnVaA)

@KJeff01
Copy link
Member

KJeff01 commented Jun 7, 2022

Happens on master for me. One core will go up to ~50-60% as long as the in-game music manager is open.

Main menu version does not have this problem.

@KJeff01
Copy link
Member

KJeff01 commented Jun 10, 2022

2cf6f2f Should fix this. Now my cores average around 9.5% which is close to pause usage.

@KJeff01 KJeff01 closed this as completed Jun 10, 2022
@KJeff01 KJeff01 added this to the 4.3.0-beta1 milestone Jun 10, 2022
@gantsevdenis
Copy link
Contributor Author

yup, much better indeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants