Bug 216045 - gnome-screensaver only works a few hours
Summary: gnome-screensaver only works a few hours
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-power-manager
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Zeuthen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-16 22:24 UTC by Steve
Modified: 2013-03-06 03:48 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-12-01 14:44:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
xorg.conf (839 bytes, application/octet-stream)
2006-11-16 22:24 UTC, Steve
no flags Details
gnome-screensaver log from a successfull activation (3.69 KB, text/plain)
2006-11-27 17:44 UTC, Vladimir Florinski
no flags Details
gnome-screensaver log from a failed activation (3.18 KB, text/plain)
2006-11-27 17:44 UTC, Vladimir Florinski
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 355279 0 None None None Never

Description Steve 2006-11-16 22:24:31 UTC
Description of problem:
gnome-screensaver only works a few hours.

Version-Release number of selected component (if applicable):
gnome-screensaver-2.16.1-2.fc6

How reproducible:
gnome-screensaver only works a few hours. after log out and re-login it works
again for a few hours.

Steps to Reproduce:
1. wait for the screensaver
2. (maybe) go to sleep
3. after a few hours the screensaver don't work anymore (only black screen)
4. log out
5. log in
6. the screensaver works again 
  
Actual results:


Expected results:


Additional info:

Comment 1 Steve 2006-11-16 22:24:31 UTC
Created attachment 141424 [details]
xorg.conf

Comment 2 James 2006-11-24 20:48:23 UTC
I see this phenomenon too, just as described (sometimes within an hour). The
screen locks and goes black, but the saver itself doesn't kick in. The screen
doesn't switch off either. Restarting killall gnome-screensaver &&
gnome-screensaver restores the correct behaviour for a while.

Comment 3 Steve 2006-11-25 09:16:05 UTC
i have found this error today:

libGL warning: 3D driver claims to not support visual 0x4b

mesa-libGL-6.5.1-8.fc6
mesa-libGLU-6.5.1-8.fc6
xorg-x11-drv-ati-6.6.3-1.fc6

Comment 4 Vladimir Florinski 2006-11-26 23:57:32 UTC
Confirm bug as well. Occurs regardless of hardware (Nvidia and Intel tested) and
regardless of the screensaver used (non OpenGL ones have this too).

Comment 5 Vladimir Florinski 2006-11-27 17:44:22 UTC
Created attachment 142189 [details]
gnome-screensaver log from a successfull activation

Comment 6 Vladimir Florinski 2006-11-27 17:44:52 UTC
Created attachment 142191 [details]
gnome-screensaver log from a failed activation

Comment 7 Vladimir Florinski 2006-11-27 17:57:10 UTC
I investigated this some more and found that the reason a screensaver theme does
not start is because the "throttled" flag is set in gs_manager.c. This is
evident from comparing the two logs that I attached. Whereas the successful
activation log shows that "job" (i.e., the actual process of the screensaver
animation) is started, the second log shows that the screensaver is "throttled"
and the job does not start. Now, it appears that the "throttled" flag is set by
gnome-power-manager after the sleep timeout has elapsed (this is set in the
Power Managment menu). After a computer was left idle for that period of time,
gnome-power-manager sends gnome-screensaver a D-BUS message telling it to stop
the animation (since the display is going to be put to sleep, so why waste CPU
cycles). But it seems that the power manager does not inform gnome-screensaver
when the display become active again (or perhaps, gnome-screensaver is not
listening).

I hope the above info will be useful for developers. A similar bug was reported
here:

http://www.mail-archive.com/desktop-bugs@lists.ubuntu.com/msg53003.html

Comment 8 Ray Strode [halfline] 2006-11-27 18:26:10 UTC
Ah this is a known gnome-power-manager bug, let me look for the upstream report...

Comment 9 Ray Strode [halfline] 2006-11-27 18:35:12 UTC
http://bugzilla.gnome.org/show_bug.cgi?id=355279

Comment 10 Ray Strode [halfline] 2006-11-27 18:53:00 UTC
Hi guys,

Would you mind testing gnome-power-manager-2.16.0-4.fc6 which should appear in
updates-testing today or tommorow, or gnome-power-manager-2.17.2.1-2.fc7 which
should be in tomorrow's rawhide compose?

Comment 11 Vladimir Florinski 2006-11-29 02:57:53 UTC
Tested with gnome-power-manager-2.16.0-4.fc6 and the problem is no longer there.

Comment 12 Steve 2006-12-01 09:02:44 UTC
fixed in gnome-power-manager-2.17.2.1-2.fc7.

have to wait for gnome-power-manager-2.16.0-4.fc6 to be sure, i'v made an $
pkill gpm && gpm -m /dev/input/mice -t exps2...

Comment 13 Ray Strode [halfline] 2006-12-01 14:44:37 UTC
great thanks guys for confirming both versions.


Note You need to log in before you can comment on or make changes to this bug.