JezerM / web-greeter

A modern, visually appealing greeter for LightDM.
https://web-greeter-page.vercel.app
GNU General Public License v3.0
216 stars 12 forks source link

Single thread has CPU locked at 100% #71

Closed JayGuerette closed 1 year ago

JayGuerette commented 1 year ago

Environment

Bug description

Single CPU locked at 100% utilization, with a web-greeter thread in a tight loop doing ~14k reads per second.

Steps to reproduce

Run lightdm with web-greeter enabled. Repeatable.

Expected behavior

Not use 100% CPU

Screenshots

Not applicable

JayGuerette commented 1 year ago

This was resolved by systemctl --now enable acpid followed by systemctl restart lightdm.

With battery and backlight features disabled, I wouldn't expect acpi_listen to be running anyway, and at the very least it should be checking for issues when running it. Will open new bug for that.