LittleBigMouse icon indicating copy to clipboard operation
LittleBigMouse copied to clipboard

Leaving UI open when screen is locked causes high CPU usage

Open tanj opened this issue 1 year ago • 1 comments

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 avatar Jan 04 '25 17:01 tanj

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.

tanj avatar Jan 04 '25 18:01 tanj