Bug 23596

Summary: color palette sometimes not restored after reenabling ext. scr.
Product: xorg Reporter: Elmar Stellnberger <estellnb>
Component: Driver/radeonhdAssignee: Luc Verhaegen <lverhaegen>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.4 (2008.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log
none
.xsession-errors
none
rhd_dump -l 0 1:00.0
none
rhd-dump, with radeonhd-1.2.5_20091001_be7216f-13.1 none

Description Elmar Stellnberger 2009-08-30 11:14:09 UTC
Created attachment 29027 [details]
Xorg.0.log

This time Xorg could not restore the color palette after reenabling the external screen. Trying to disable and reenable the ext. scr several times did not bring back the correct color palette.

xorg-x11-server-7.4-50.2
xorg-x11-driver-video-radeonhd-1.2.5_20090506_4be5f71-2.13

disable:
> xrandr --output DVI-D_1 --off
reenable:
> xrandr --output PANEL --mode 1920x1200;
> xrandr --output DVI-D_1 --mode 1920x1200 --right-of PANEL;
Comment 1 Elmar Stellnberger 2009-08-30 11:15:39 UTC
Created attachment 29028 [details]
.xsession-errors
Comment 2 Yang Zhao 2009-08-31 19:12:34 UTC
How is the colour palette corrupted?

You can use rhd_dump to get a dump of the LUT.
Comment 3 Elmar Stellnberger 2009-09-04 05:10:41 UTC
The colors have showed up totally wrong. It was hardly possible to
recognize anything on the screen (will post an rhd_dump if it happens
again).

2009/9/1, bugzilla-daemon@freedesktop.org <bugzilla-daemon@freedesktop.org>:
> http://bugs.freedesktop.org/show_bug.cgi?id=23596
>
>
>
>
>
> --- Comment #2 from Yang Zhao <yang@yangman.ca>  2009-08-31 19:12:34 PST ---
> How is the colour palette corrupted?
>
> You can use rhd_dump to get a dump of the LUT.
>
>
> --
> Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 4 Elmar Stellnberger 2009-09-07 03:23:37 UTC
Where can I find rhd_dump?
Comment 5 Yang Zhao 2009-09-07 09:59:26 UTC
(In reply to comment #4)
> Where can I find rhd_dump?

Under utils/conntest/ if you're compiling from source.  Whether or not it's installed along with a package is up to the distro.
Comment 6 Elmar Stellnberger 2009-10-13 08:19:22 UTC
Created attachment 30345 [details]
rhd_dump -l 0 1:00.0
Comment 7 Elmar Stellnberger 2009-10-13 08:46:06 UTC
Created attachment 30346 [details]
rhd-dump, with radeonhd-1.2.5_20091001_be7216f-13.1

persists with xorg-x11-driver-video-radeonhd-1.2.5_20091001_be7216f-13.1.
reproducible: always occurs if s2ramed while external monitor off:
steps to reproduce:
xrandr --output DVI-D_1 --off;
powersave -u
xrandr --output PANEL --mode 1920x1200;
xrandr --output DVI-D_1 --mode 1920x1200 --right-of PANEL;
Comment 8 Elmar Stellnberger 2009-10-13 08:52:24 UTC
Color palette can be restored by switching from vt07 to vt02 and back again.
Output of rhd-dump does not differ before and during color palette corruption.
Comment 9 Yang Zhao 2009-10-13 09:52:13 UTC
This is fixed in 1.3.0

*** This bug has been marked as a duplicate of bug 23877 ***

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.