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

[Minor issue?][Switch][Latest build] 99% CPU usage in one core in menus that shows a lot of text #2078

Closed
RafaelTrepaUnCarballo opened this issue Mar 24, 2021 · 0 comments

Comments

@RafaelTrepaUnCarballo
Copy link

@RafaelTrepaUnCarballo RafaelTrepaUnCarballo commented Mar 24, 2021

With mgba freshly opened, without executing any game, the CPU usage can increase a lot when showing a lot of texts in menus (for example, the preferences screen or listing all roms in a directory. Are you using a graphic filter to soften the text?

This behavior only affects a single core, it doesn't really impact the usability of the emulator (the interface responds perfectly) and the CPU usage returns to normal as soon you open a rom (closing the interface), so it doesn't impact the emulation. So it's very low-priority.

The CPU usage was measured with Status Monitor v0.6.3 overlay app. There's also the possibility this resources usage applet is buggy and giving wrong values and not mgba.

Some screenshots of the CPU usage, higher the more text mgba menu renders.

69% usage, quite lot of text
2021032412042500-C7892DA72808DC3F7CBED36F86AE5894
22% usage, little text
2021032412043000-C7892DA72808DC3F7CBED36F86AE5894
99% usage, a lot of text
2021032412044000-C7892DA72808DC3F7CBED36F86AE5894

Even while emulating Crystal the CPU usage stays at a low 11.8%
2021032412025300-C7892DA72808DC3F7CBED36F86AE5894
...but if you pause the emulation and open the preference option, it maxes out.
2021032412024700-C7892DA72808DC3F7CBED36F86AE5894

@endrift endrift closed this in 9ac9366 Mar 25, 2021
lat9nq added a commit to lat9nq/mgba that referenced this issue Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant