lxsession in Lubuntu uses 100% CPU

Bug #797094 reported by Filip Dominec
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-power
Unknown
Medium
gnome-power-manager (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

Binary package hint: lxsession

After fresh install of Lubuntu 11.10 alpha 1 on Acer Travelmate 240, after booting, the CPU usage is 100%. The fan rotates at moderate speed, accordingly.

Killing the "/usr/bin/lxsession -s Lubuntu -e LXDE" process in htop makes the CPU usage drop near zero. (However, this either kills the desktop session, or only resets the user settings -- none of which is acceptable.)

This bug was hard to determine, as htop shows 0.0% CPU usage at the line of the "/usr/bin/lxsession (...)" process (!).

EDIT: I made a mistake reporting the bug. It is in _gnome-power-manager_, not in lxsession, which only was the parent process.

Tags: oneiric
Revision history for this message
Filip Dominec (fdominec) wrote :
description: updated
tags: added: oneiric
Revision history for this message
Jared Norris (jarednorris) wrote :

I can confirm this behaviour, using Lubuntu in a VM when killing lxsession CPU usage drops down to usual levels and logs the user out of Lubuntu. Upon logging back in lxsession resumes using 100% CPU.

I have also marked bug 796843 lxtask shows 100% CPU usage regardless of actual usage as a duplicate.

Changed in lxsession (Ubuntu):
status: New → Confirmed
Changed in lxsession (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Julien Lavergne (gilir) wrote :

I can reproduce the behavior, but I only need to kill gnome-power-manager (with sudo killall gnome-power-manager). Can someone confirm this too ?

Revision history for this message
Julien Lavergne (gilir) wrote :

Also, after killing it, I can't restart it. I have the following message :
$ gnome-power-manager

GLib-GIO-ERROR **: Settings schema 'org.gnome.settings-daemon.plugins.power' is not installed

Trace/breakpoint trap

Revision history for this message
Filip Dominec (fdominec) wrote :

The same for me as Julien (#3, #4) wrote.

At least this is a workaround for me.

Revision history for this message
Phill Whiteside (phillw) wrote :

I've just put 11.10 on inside a Virtual Machine, sure enough it has the same behaviour and Juliens' #3 drops the CPU usage from 100% for the VM machine down to less than 10%.

Revision history for this message
Filip Dominec (fdominec) wrote :

 I made a mistake reporting the bug. It is in _gnome-power-manager_, not in lxsession, which only was the parent process.

description: updated
tags: added: gnome-power-manager
affects: lxsession (Ubuntu) → gnome-power-manager (Ubuntu)
Changed in gnome-power:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Filip Dominec (fdominec) wrote :

Richard Hughes [gnome-power-manager developer] wrote that this is not an upstream bug. See https://bugzilla.gnome.org/show_bug.cgi?id=652717

Revision history for this message
papukaija (papukaija) wrote :

@Filip: Don't worry. Launchpad will automatically update the status for the upstream bug soon.

tags: removed: gnome-power-manager
Changed in gnome-power:
status: New → Unknown
Revision history for this message
ajgreeny (ajg-charlbury) wrote :

Would it be better to use xfce4-power-manager in Lubuntu.

I run 11.04 at the moment and gnome-power-manager did not work at all, but removing the reference to it in /etc/xdg/lxsession/Lubuntu/autostart, @gnome-power-manager, installing xfce4-power-manager and replacing that with a line for xfce4-power-manager, @xfce4-power-manager, does work very well.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

according to Richard:

"This isn't an upstream bug. gnome-power-manager needs gnome-settings-daemon to
be installed. Just make a note that the on the ubuntu bug that a runtime g-s-d
dep is required."

Changed in gnome-power-manager (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for reporting this bug to Ubuntu.

Ubuntu 11.10 (oneiric) reached end-of-life on May 9, 2013.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in.

Changed in gnome-power-manager (Ubuntu):
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.