Gamma values are not being set properly after a second fade out resulting in a black screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Screensaver |
Expired
|
Medium
|
|||
NULL Project |
Invalid
|
Undecided
|
Unassigned | ||
xorg (Ubuntu) |
Invalid
|
High
|
Chris Coulson |
Bug Description
Binary package hint: gnome-screensaver
When running the test-fade app in gnome-screensaver the gamma values are improperly being set after the second fade, resulting in a permenant black screen until manual adjustment of the gamma values.
Steps to reproduce:
get the gnome-screensaver source and build it
cd /path/to/
./test-fade
it will attempt to fade twice, after the first fade and restore the second fade will not come back unless you manually fix the gamma values with a command such as
xrandr --output LVDS1 --gamma 1:1:1
Here is a script to reproduce and automatically adjust fix the gamma values afterwards so its usable with one machine, you have to manually move the cursor or hit a key after each fade.
#!/bin/bash
./test-fade
sleep 10
xrandr --output LVDS1 --gamma 1:1:1
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gnome-screensaver 2.30.0-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-19-generic i686
Architecture: i386
Date: Mon Apr 5 13:08:59 2010
GnomeSessionIdl
GnomeSessionInh
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: gnome-screensaver
WindowManager: metacity
Changed in gnome-screensaver (Ubuntu): | |
assignee: | nobody → Chris Coulson (chrisccoulson) |
Changed in gnome-screensaver (Ubuntu): | |
importance: | Undecided → High |
status: | New → In Progress |
Changed in gnome-screensaver: | |
status: | Unknown → New |
tags: | added: patch |
Changed in gnome-screensaver: | |
importance: | Unknown → Medium |
Changed in gnome-screensaver: | |
status: | New → Expired |
Changed in xorg (Ubuntu): | |
status: | Incomplete → Invalid |
Output while running test-fade
** Message: XFree86- VidModeExtensio n version 2.2 fade_reset] gs-fade.c:851 (12:34:09): Resetting fade fade_reset] gs-fade.c:851 (12:34:12): Resetting fade
[gs_debug_init] gs-debug.c:106 (12:34:08): Debugging enabled
[gs_fade_init] gs-fade.c:906 (12:34:08): Fade type: 3
fading out...done.
fading in...[gs_
done.
fading out...done.
fading in...[gs_
done.
[gs_debug_shutdown] gs-debug.c:115 (12:34:14): Shutting down debugging
Resetting xrandr gamma values forcibly.
The second fading in... line doesn't actually do anything