Bug 21642 - Display is whitened after screensaver fades in
Summary: Display is whitened after screensaver fades in
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/DDX/Xorg (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-09 07:07 UTC by Bob Ham
Modified: 2009-05-18 02:16 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Normal screen (331.48 KB, image/jpeg)
2009-05-09 07:07 UTC, Bob Ham
no flags Details
Whitened screen (181.63 KB, image/jpeg)
2009-05-09 07:08 UTC, Bob Ham
no flags Details
Xorg log (47.04 KB, text/plain)
2009-05-09 08:27 UTC, Bob Ham
no flags Details
Xorg configuration file (2.38 KB, application/octet-stream)
2009-05-09 08:30 UTC, Bob Ham
no flags Details
xserver fixes (2.65 KB, patch)
2009-05-09 08:48 UTC, Michel Dänzer
no flags Details | Splinter Review
Blackened screen (261.43 KB, image/jpeg)
2009-05-15 15:36 UTC, Bob Ham
no flags Details

Description Bob Ham 2009-05-09 07:07:08 UTC
Created attachment 25662 [details]
Normal screen

Before the screensaver kicks in, gnome tries to fade the screen to black.  This causes the screen to whiten with particular bits of text and other on-screen elements having appearing bold in comparison.

Software screenshots of the whitened display show no difference to a normal display, however I've attached photos of the monitor that do show the difference.
Comment 1 Bob Ham 2009-05-09 07:08:20 UTC
Created attachment 25663 [details]
Whitened screen
Comment 2 Alex Deucher 2009-05-09 07:23:35 UTC
please attach your xorg log and config.
Comment 3 Bob Ham 2009-05-09 08:27:15 UTC
Created attachment 25668 [details]
Xorg log
Comment 4 Bob Ham 2009-05-09 08:30:37 UTC
Created attachment 25669 [details]
Xorg configuration file
Comment 5 Michel Dänzer 2009-05-09 08:45:26 UTC
This is not a bug in the driver but a combination of several bugs in xserver Git (the 1.6 releases aren't affected) and in gnome-screensaver (http://bugzilla.gnome.org/show_bug.cgi?id=581995).
Comment 6 Michel Dänzer 2009-05-09 08:48:38 UTC
Created attachment 25671 [details] [review]
xserver fixes

This patch fixes the worst problems in xserver Git with an RandR 1.2 capable driver:

* Properly maintains and returns to clients the VidMode extension gamma value.
* Fixes the calculation of CRTC colour LUT values from this gamma value.
Comment 7 Bob Ham 2009-05-15 15:33:57 UTC
It looks like the patch has been applied to master with commit 2c1190f.  With current master (commit 8609a4e) the problem still exists, but the colours are reversed.  Whereas the screen appeared whitened, it now appears blackened.  I'll attach another photo.
Comment 8 Bob Ham 2009-05-15 15:36:41 UTC
Created attachment 25895 [details]
Blackened screen
Comment 9 Michel Dänzer 2009-05-18 02:16:44 UTC
(In reply to comment #7)
> It looks like the patch has been applied to master with commit 2c1190f.

Indeed, but I forgot to resolve this bug... doing so now.

> With current master (commit 8609a4e) the problem still exists, but the colours
> are reversed.

This is due to the referenced gnome-screensaver bug, which causes it to set the gamma to 0.1. You can restore it with something like

xgamma -gamma 1.0


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.