lxsession in Lubuntu uses 100% CPU

Bug #797094 reported by Filip Dominec on 2011-06-14
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)

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.

Filip Dominec (fdominec) wrote :
description: updated
tags: added: oneiric
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
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 ?

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

Filip Dominec (fdominec) wrote :

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

At least this is a workaround for me.

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%.

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
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

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
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.

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
To post a comment you must log in.
This report contains Public information  Edit
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.