You are not logged in.
After upgrading on June 11, X uses 100% cpu on laptop lid close. Any ideas?
Some of the packages that I upgraded:
udev (171-1 -> 171-2)
kernel26 (2.6.38.7-1 -> 2.6.39.1-1)
qt (4.7.3-1 -> 4.7.3-3)
I run x86_64 on KDE.
Last edited by kjslag (2011-06-12 23:13:18)
Offline
Huh? How can you tell if the lid is closed? edit:I'm kidding. Maybe check your logs for clues.
Last edited by stlarch (2011-06-12 22:25:28)
Offline
Below is what is added to my /var/log/everything.log
The only slightly fishy thing is
Jun 12 15:54:41 J logger: ACPI group/action undefined: video / VGA
Jun 12 15:54:41 J laptop-mode: Determining power state from /sys/class/power_supply/ACAD/online.
Jun 12 15:54:41 J logger: ACPI group/action undefined: video / VGA
Jun 12 15:54:41 J laptop-mode: Not trying other options, already found a power supply.
Jun 12 15:54:41 J laptop-mode: On AC power: Activating, because ENABLE_LAPTOP_MODE_ON_AC is set.
Jun 12 15:54:41 J laptop-mode: On AC, not checking minimum battery charge.
Jun 12 15:54:41 J logger: ACPI group/action undefined: video / VGA
Jun 12 15:54:41 J laptop-mode: Laptop mode
Jun 12 15:54:41 J laptop-mode: Checking if desired state is different from current state.
Jun 12 15:54:41 J laptop-mode: enabled,
Jun 12 15:54:41 J laptop-mode: active [unchanged]
Jun 12 15:54:41 J logger: ACPI group/action undefined: video / VGA
Jun 12 15:54:45 J laptop-mode: Determining power state from /sys/class/power_supply/ACAD/online.
Jun 12 15:54:45 J laptop-mode: Not trying other options, already found a power supply.
Jun 12 15:54:45 J laptop-mode: On AC power: Activating, because ENABLE_LAPTOP_MODE_ON_AC is set.
Jun 12 15:54:45 J laptop-mode: On AC, not checking minimum battery charge.
Jun 12 15:54:45 J logger: ACPI group/action undefined: video / VGA
Jun 12 15:54:45 J laptop-mode: Laptop mode
Jun 12 15:54:45 J laptop-mode: Checking if desired state is different from current state.
Jun 12 15:54:45 J laptop-mode: enabled,
Jun 12 15:54:45 J laptop-mode: active [unchanged]
Offline
Fixed it! In KDE Power Profiles, I changed "When laptop lid closed" from "Turn off screen" to "Do nothing". After this change, the screen still turns off, I still get similar log output, and X doesn't use a ton of CPU. I guess the new linux kernel turns the screen off automatically now.
Offline