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

Leaving UI open when screen is locked causes high CPU usage #399

Open
tanj opened this issue Jan 4, 2025 · 1 comment
Open

Leaving UI open when screen is locked causes high CPU usage #399

tanj opened this issue Jan 4, 2025 · 1 comment

Comments

@tanj
Copy link

tanj commented Jan 4, 2025

I have been noticing for a while that whenever my screen locks my CPU usage suddenly rises and as soon as I unlock the screen it goes away. I finally broke out perfmon to to figure it out and it appears to be LittelBigMouse.Ui.Avalonia that is causing the issue. I have been leaving it open because I have a docking station that sometimes gives the wrong screen size and I like to have confirmation that that is the problem.

As a test I closed the ui and locked my screen and the high CPU never happens if I open the UI and lock the screen the high cpu starts as soon as I lock the screen.

image

  • gold line: LittleBigMouse.Ui.Avalonia
  • teal line: dwm
@tanj
Copy link
Author

tanj commented Jan 4, 2025

This may actually be related to this bug https://bugzilla.mozilla.org/show_bug.cgi?id=1924932

One thing I noticed with this that made me suspect LBM is that when the UI was open the fan ramped up right away when locking screen. With the UI closed the fan didn't ramp up until the screen went to sleep.

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

No branches or pull requests

1 participant