Public bug reported:

Binary package hint: gnome-screensaver

gnome-screensaver on my machine is configured to just blank the screen
after 10 minutes. No animations, no pretty pictures, nothing.

Yet, over an uptime of 20 days, the gnome-screensaver process shows 225 minutes 
of CPU time.
For comparison, gnome-terminal has 623 minutes, Xorg has 729 minutes, xemacs 
has 6 minutes and eclipse has 51 minutes.

Given that gnome-screensaver should be doing almost NOTHING, it seems
very wrong to me that its CPU usage is so large.

This is on Ubuntu 8.04, with gnome-screensaver 2.22.2-0ubuntu1

A very quick strace of the gnome-screensaver process shows that it does
a fair amount of work every time I move the mouse. I've not tried an
strace while the screen is blanked, so I can't say whether more CPU is
used while blanked or not.

If the CPU usage is simply because the process wakes up and does stuff
every time my mouse moves by a pixel, perhaps the process should be a
bit cleverer. e.g. it could sleep for 10 seconds after noticing the
mouse move, before checking for further movements. That way it would
still spot idle periods but wouldn't need to do lots of stuff for every
little mouse twitch. The screen blanking interval would be slightly less
accurate, but +/- 10 seconds for a blank time of 10 minutes surely can't
be critical.

** Affects: gnome-screensaver (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gnome-screensaver uses too much CPU
https://bugs.launchpad.net/bugs/230749
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to