Bug 27422

Summary: [X700] Color depth degradation after resume
Product: xorg Reporter: Bryce Harrington <bryce>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: high CC: mlt
Version: 7.4 (2008.09)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
BootDmesg.txt
none
CurrentDmesg.txt
none
XorgLog.txt
none
XorgLogOld.txt
none
Xrandr.txt
none
sudo ./radeontool regs > working.dump
none
sudo ./radeontool regs > broken.dump
none
difference between working and broken dumps
none
./radeonreg regs radeon > working.dump
none
./radeonreg regs radeon > broken.dump
none
difference between working and broken dumps
none
Another ./radeonreg regs radeon > broken2.dump
none
This is what I got after warm restart. (Restart through Ubuntu menu)
none
dmesg output after resume, no previously described workaround has been applied
none
Clean dmesg from boot up as previous attachment contains data from previous resumes none

Description Bryce Harrington 2010-04-01 23:18:12 UTC
Forwarding this bug from Ubuntu reporter zvaral:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/510001

[Problem]
After a resume from suspend, the color depth changes from 24 bit to 8 bit.

[Original Description]
After resuming my Acer laptop (with Ati Radeon x700) from suspend, the color depth of X changes to 8 bit or similar. Originally it is set to 24 bit color depth which is presented after the boot process but it degrades after the first suspend/resume.

I have two machines theoretically with the same configuration (except the hard drives are different). Both are the same acer ferrari 4005 WLMi model. In one of them the color depth degradation still appears while the other one suffers from Bug #524860 related to gnome-keyring but color depth changes after suspend/resume does not appear.

I did the following experiment: I switched on both machines when booted up I logged in, suspended and resumed. After these I coppied the file from /var/log/Xorg.0.log to

Xorg.0.log_homepc (refers to homepc suffering from color depth changes after resume) and
Xorg.0.log_hardnut (refers to the other laptop without any issue after resume)

Please, find the difference between the two files here below. (It seems that the two radeon x700 cards are a bit different)

zvaral@hardnut:~$ diff Xorg.0.log_homepc Xorg.0.log_hardnut
6,9c6,9
< Current Operating System: Linux homepc 2.6.32-15-generic #22-Ubuntu SMP Tue Mar 2 02:23:29 UTC 2010 x86_64
< Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-15-generic root=UUID=ce9e0038-ae57-40d1-b512-7fb439874808 ro quiet splash
< Build Date: 02 March 2010 03:30:16PM
< xorg-server 2:1.7.5-1ubuntu2 (buildd@)
---
> Current Operating System: Linux hardnut 2.6.32-15-generic #22-Ubuntu SMP Tue Mar 2 02:23:29 UTC 2010 x86_64
> Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.32-15-generic root=UUID=4ceac70f-55c9-4a91-baae-aee960ec8114 ro quiet splash
> Build Date: 19 February 2010 11:38:32AM
> xorg-server 2:1.7.5-1ubuntu1 (buildd@)
16,17c16,17
< (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 3 08:05:23 2010
< (II) Loader magic: 0x7c82e0
---
> (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 3 09:18:02 2010
> (II) Loader magic: 0x7c8300
93c93
< (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
---
> (II) Open ACPI successful (/var/run/acpid.socket)
369c369
< drmOpenDevice: open result is 8, (OK)
---
> drmOpenDevice: open result is 9, (OK)
371c371
< drmOpenDevice: open result is 8, (OK)
---
> drmOpenDevice: open result is 9, (OK)
374,375c374,375
< drmOpenDevice: open result is 8, (OK)
< drmOpenByBusid: drmOpenMinor returns 8
---
> drmOpenDevice: open result is 9, (OK)
> drmOpenByBusid: drmOpenMinor returns 9
385,386c385,386
< (II) RADEON(0): Manufacturer: SEC Model: 3446 Serial#: 0
< (II) RADEON(0): Year: 2006 Week: 0
---
> (II) RADEON(0): Manufacturer: SEC Model: 0 Serial#: 0
> (II) RADEON(0): Year: 2003 Week: 0
403c403
< (II) RADEON(0): LTN154P4-L01
---
> (II) RADEON(0): LTN154P1-L02
405,406c405,406
< (II) RADEON(0): 00ffffffffffff004ca3463400000000
< (II) RADEON(0): 00100103802115780a87f594574f8c27
---
> (II) RADEON(0): 00ffffffffffff004ca3000000000000
> (II) RADEON(0): 000d0103802115780a87f594574f8c27
410c410
< (II) RADEON(0): 00000000003cd2026400000000fe0053
---
> (II) RADEON(0): 00000000003cd2026401000000fe0053
412c412
< (II) RADEON(0): 004c544e31353450342d4c30310a0080
---
> (II) RADEON(0): 004c544e31353450312d4c30320a00fe
497a498,500
> record: RECORD extension enabled at configure time.
> record: This extension is known to be broken, disabling extension now..
> record: http://bugs.freedesktop.org/show_bug.cgi?id=20500
600c603
< (II) RADEON(0): EDID vendor "SEC", prod id 13382
---
> (II) RADEON(0): EDID vendor "SEC", prod id 0
603c606
< (II) RADEON(0): EDID vendor "SEC", prod id 13382
---
> (II) RADEON(0): EDID vendor "SEC", prod id 0
606c609
< (II) RADEON(0): EDID vendor "SEC", prod id 13382
---
> (II) RADEON(0): EDID vendor "SEC", prod id 0
609c612
< (II) RADEON(0): EDID vendor "SEC", prod id 13382
---
> (II) RADEON(0): EDID vendor "SEC", prod id 0
612c615
< (II) RADEON(0): EDID vendor "SEC", prod id 13382
---
> (II) RADEON(0): EDID vendor "SEC", prod id 0
615,624c618
< (II) RADEON(0): EDID vendor "SEC", prod id 13382
< (II) RADEON(0): Printing DDC gathered Modelines:
< (II) RADEON(0): Modeline "1680x1050"x0.0 121.00 1680 1704 1792 1876 1050 1051 1054 1065 -hsync -vsync (64.5 kHz)
< (II) RADEON(0): EDID vendor "SEC", prod id 13382
< (II) RADEON(0): Printing DDC gathered Modelines:
< (II) RADEON(0): Modeline "1680x1050"x0.0 121.00 1680 1704 1792 1876 1050 1051 1054 1065 -hsync -vsync (64.5 kHz)
< (II) RADEON(0): EDID vendor "SEC", prod id 13382
< (II) RADEON(0): Printing DDC gathered Modelines:
< (II) RADEON(0): Modeline "1680x1050"x0.0 121.00 1680 1704 1792 1876 1050 1051 1054 1065 -hsync -vsync (64.5 kHz)
< (II) RADEON(0): EDID vendor "SEC", prod id 13382
---
> (II) RADEON(0): EDID vendor "SEC", prod id 0 

Architecture: amd64
Date: Wed Jan 20 09:06:51 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/yelp
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100113)
Package: yelp 2.28.0+webkit-1ubuntu1
ProcEnviron:
 LANG=en_US.utf8ProcVersionSignature: Ubuntu 2.6.32-10.14-generic
SourcePackage: yelp
Tags: lucid
Uname: Linux 2.6.32-10-generic x86_64
--- 
Architecture: amd64
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
Lsusb:
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Acer, inc. Ferrari 4000
Package: xserver-xorg-video-ati 1:6.12.191-1ubuntu2
PackageArchitecture: amd64
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-16-generic root=UUID=ce9e0038-ae57-40d1-b512-7fb439874808 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
Tags: lucid lucid
Uname: Linux 2.6.32-16-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 03/20/06
dmi.bios.vendor: Acer
dmi.bios.version: 3A27
dmi.board.name: Ferrari IV
dmi.board.vendor: Acer, Inc.
dmi.board.version: Not Applicable
dmi.chassis.type: 1
dmi.chassis.vendor: , Inc.
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAcer:bvr3A27:bd03/20/06:svnAcer,inc.:pnFerrari4000:pvrNotApplicable:rvnAcer,Inc.:rnFerrariIV:rvrNotApplicable:cvn,Inc.:ct1:cvrN/A:
dmi.product.name: Ferrari 4000
dmi.product.version: Not Applicable
dmi.sys.vendor: Acer, inc.
glxinfo: Error: [Errno 2] No such file or directory
system: codename:           lucid
 architecture:       x86_64
 kernel:             2.6.32-16-generic


[lspci]
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon Mobility X700 (PCIE) [1002:5653]
    	Subsystem: Acer Incorporated [ALI] Device [1025:007e]
Comment 1 Bryce Harrington 2010-04-01 23:22:08 UTC
Created attachment 34610 [details]
BootDmesg.txt
Comment 2 Bryce Harrington 2010-04-01 23:22:33 UTC
Created attachment 34611 [details]
CurrentDmesg.txt
Comment 3 Bryce Harrington 2010-04-01 23:23:07 UTC
Created attachment 34612 [details]
XorgLog.txt
Comment 4 Bryce Harrington 2010-04-01 23:23:33 UTC
Created attachment 34613 [details]
XorgLogOld.txt
Comment 5 Bryce Harrington 2010-04-01 23:26:25 UTC
Created attachment 34614 [details]
Xrandr.txt
Comment 6 Michel Dänzer 2010-04-02 10:09:37 UTC
How was it determined that 'the color depth changes from 24 bit to 8 bit'? The X server can't change depth at runtime.

If it's that the colours become dark or otherwise broken, it could be a duplicate of bug 27382.
Comment 7 Bryce Harrington 2010-04-02 11:30:47 UTC
I'm not sure how he's determining that.  His xdpyinfo looks completely normal:  http://launchpadlibrarian.net/41230371/xdpyinfo.txt

Perhaps he means to say that the screen appears to lose color depth.  Maybe we need a photo.
Comment 8 Bryce Harrington 2010-04-02 15:16:02 UTC
Here's the user's reply.  Photos and some regdump data in the link below.

Hello Bryce,

I thank you for your questions.

I have no reliable information on the real color depth after
suspend/resume. I have just assumed that it could be something similar.
Therefore I attached two photos on the screen after such actions. (Sorry
my cam is horrible so you will be able to see rather distorted images
but the phenomena looks clear.)

I've also checked the PID of Xorg

$ ps -A |grep Xorg
  964 tty7     00:00:13 Xorg

therefore I copied some files from /proc/964 to the compressed directory
attached here. There is a subdir within named as 964.

I also performed the actions you requested with radeontool. There is a
regdump_broke_local.txt and regdump_broke_remote.txt along with the
regdump_good.txt file. regdump_broke_local.txt is the gathered info
using the broken screen. regdump_broke_remote.txt is the same but I
logged in remotely.

I hope this helps! Thanks, Zoltan


** Attachment added: "radeontool regdumps + photos"
   http://launchpadlibrarian.net/42921659/bug_rep.tgz
Comment 9 Zoltan Varallyay 2010-04-02 15:39:28 UTC
Please, send me your questions in connection with this bug in the future.
Regards,
Zoltan
Comment 10 Michel Dänzer 2010-04-03 02:45:33 UTC
If you want a bug tracked here, attach all the information here directly.

Does running something like

xgamma -gamma 1.0

fix the problem?
Comment 11 mms 2010-10-09 01:37:10 UTC
Any news here? I seem to suffer the same problem?!

When using reboot from main-menu, the screen darkens and the question "restart" appears. After boot, there is a shading that looks nice ... after resume the shading are real circles, which leads me to the opinion, that the color-depth is different ... which could also be seen in plymouth, where there are stripes now
Comment 12 Mikhail Titov 2011-07-14 09:20:59 UTC
This bug is not specific for x86-64. I'm having 32 bit Bliss 507s laptop (non-major brand, made from ARIMA components /ARIMA M621-DC alike/) with 1st generation Centrino and Pentium M with ATI x700 as well. After looking at attached photos I confirm that I have similar behavior. These noisy non-steady colored dots don't appear on a screenshot. I'm not sure if screenshot program took snapshot from video memory or not (what screen dumper to use?).
Comment 13 Yang Zhao 2011-07-14 09:28:55 UTC
(In reply to comment #12)
> These noisy non-steady
> colored dots don't appear on a screenshot...

Does the image corruption go away after resetting output gamma? (using xgamma or xrandr's --gamma option)
Comment 14 Mikhail Titov 2011-07-14 10:08:05 UTC
mlt@mlt-laptop:~$ xgamma -gamma 1.0
-> Red  1.000, Green  1.000, Blue  1.000
<- Red  1.000, Green  1.000, Blue  1.000

I can't figure out options format for xrandr as
xrandr --gamma 1:1:1
prints usage instructions

mlt@mlt-laptop:~$ cat /proc/version
Linux version 2.6.38-10-generic (buildd@roseapple) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ) #44-Ubuntu SMP Thu Jun 2 21:32:54 UTC 2011

I'm not sure if OP on launchpad correctly described the problem. These noisy dots happen only in some areas of the screen. Some of the dots are jittery/non-steady. Also if I move mouse over impaired area, cursor looks okay. First time I thought it may be overheating of my video card or bad memory, but after a clean reboot everything works just fine.
Comment 15 Mikhail Titov 2011-07-14 10:10:51 UTC
(In reply to comment #14)
> mlt@mlt-laptop:~$ xgamma -gamma 1.0
> -> Red  1.000, Green  1.000, Blue  1.000
> <- Red  1.000, Green  1.000, Blue  1.000

I forgot to mention that it doesn't help.
Comment 16 Mikhail Titov 2011-07-14 10:21:04 UTC
Another issue I noticed that screen jitters a lot while dragging let's say scroll bar in firefox on this bug report web page. It doesn't happen on clean boot (client only area is smoothly scrolled in this case), only after resume.

I'm not sure if there might be problem with timing. How do I check that? I don't know much about LCD panel, if it needs also a proper initialization.

Perhaps it would be helpful, if I shoot a video.
Comment 17 Alex Deucher 2011-07-14 10:40:03 UTC
You can try dumping the display registers in the working and non-working cases using radeonreg which is available here:
http://cgit.freedesktop.org/~airlied/radeontool/

As root:
./radeonreg regs radeon > working.dump

./radeonreg regs radeon > broken.dump

And attach the dumps here.
Comment 18 Mikhail Titov 2011-07-14 10:52:45 UTC
Created attachment 49099 [details]
sudo ./radeontool regs > working.dump
Comment 19 Mikhail Titov 2011-07-14 10:53:21 UTC
Created attachment 49101 [details]
sudo ./radeontool regs > broken.dump
Comment 20 Mikhail Titov 2011-07-14 10:55:23 UTC
Created attachment 49104 [details] [review]
difference between working and broken dumps
Comment 21 Mikhail Titov 2011-07-14 22:40:15 UTC
Here is the video http://vimeo.com/26459546 . I lost sound for some reason when I was converting the video with ffmpeg for vimeo.

I was wrong about screen jittering while scrolling after resume. It does happen even before suspend at lesser extent, however disappears if I remove all PM related options.

However original issue is still there with no extra options enabled that caused that screen jittering:
 - at boot time radeon.dynclks=1 radeon.agpmode=4
 - in /etc/X11/xorg.conf : Option      "AccelMethod" "EXA"
 - echo "dynpm" > /sys/class/drm/card0/device/power_method

I still need to double check what causes that "jittering", but it is a separate issue.
Comment 22 Mikhail Titov 2011-07-14 23:08:56 UTC
(In reply to comment #15)
> (In reply to comment #14)
> > mlt@mlt-laptop:~$ xgamma -gamma 1.0
> > -> Red  1.000, Green  1.000, Blue  1.000
> > <- Red  1.000, Green  1.000, Blue  1.000
> 
> I forgot to mention that it doesn't help.

I tried values for gamma other than 1. It does change artifacts pattern on screen. For -gamma 0.1, visible amount of artifacts diminishes and only substantially brights areas are affected. For -gamma 1.2, nonuniform blueish artifacts start to show up on dark areas. For -gamma close to 10, only greenish artifacts are visible on bright areas and I barely see any blueish noise.

If I try to switch to console with Ctrl+Alt+F1, I can see somewhat uniform pinkish high frequency non-steady noise instead of blackness of the console. Also there is a somewhat darker red vertical strip 1/3 from the left edge. I'm using default Ubuntu settings so video mode doesn't change at least visibly when I switch to console and back.
http://imagebin.org/163211
Comment 23 Mikhail Titov 2011-07-14 23:44:09 UTC
Created attachment 49120 [details]
./radeonreg regs radeon > working.dump

I apologize, I uploaded wrong dump before.
Comment 24 Mikhail Titov 2011-07-14 23:45:08 UTC
Created attachment 49121 [details]
./radeonreg regs radeon > broken.dump
Comment 25 Mikhail Titov 2011-07-14 23:45:47 UTC
Created attachment 49122 [details]
difference between working and broken dumps
Comment 26 Mikhail Titov 2011-07-15 10:27:27 UTC
I'm not sure if pushing some register values from working state was the right thing to try.

awk 'BEGIN{ORS="|"};{if($1=="<" && $4!="")print "0x" $2, "0x" $3}' wb.diff | xargs -d "|" -L 1 echo ./radeonreg regset > cmds.sh
sh cmds.sh

This did a minor temporal damage in upper part of the screen for working conditions. However when I tried to execute it after resume, it made screen flashy then it faded out and essentially froze the system.

I'm not sure what are those byte long registers as radeonreg regmatch doesn't know them.
Comment 27 Mikhail Titov 2011-07-17 11:18:58 UTC
I've noticed that when KMS is disabled I don't have that issue after resume. Though radeon appears in lsmod, I don't have hardware OpenGL rendering as I get something like the following in log file:

AIGLX: Trying DRI driver /usr/lib/dri/r300_dri.so
AIGLX error: Calling driver entry point failed
AIGLX: reverting to software rendering

As far as I understand I can't get hardware rendering without KMS anymore.
Comment 28 Mikhail Titov 2011-07-17 11:24:15 UTC
I was not careful enough, it happens in xorg 7.6 that I have with Ubuntu 11.04, it is not specific to 7.4. I'm not sure if it makes sense to correct this bug description (version,platform, and description itself as it is not a color depth degradation).
Comment 29 Mikhail Titov 2011-07-17 16:07:34 UTC
Created attachment 49227 [details]
Another ./radeonreg regs radeon > broken2.dump

I noticed that this dump is different from previous one.
Comment 30 Alex Deucher 2011-07-18 06:35:02 UTC
Strange, looks like the neither plls nor the palette regs aren't programmed after resume.  Does forcing a mode set after resume help?  E.g.,

xrandr --output LVDS --mode 800x600
xrandr --output LVDS --auto

If not, do the following commands help?

sudo ./radeonreg regset 0x00000284 0x1bd34008
sudo ./radeonreg regset 0x000002d0 0x003c00a5

If that alone doesn't fix it, in addition, try:

sudo ./radeonreg regset CL:03 0x001c0007
sudo ./radeonreg regset CL:04 0x00010038
sudo ./radeonreg regset CL:05 0x00010038
sudo ./radeonreg regset CL:06 0x00010038
Comment 31 Mikhail Titov 2011-07-18 06:57:28 UTC
Yeay! The last suggestion did the magic!

mlt@mlt-laptop:~/workspace/radeontool$ xrandr --output LVDS --mode 800x600
mlt@mlt-laptop:~/workspace/radeontool$ xrandr --output LVDS --auto
mlt@mlt-laptop:~/workspace/radeontool$ sudo ./radeonreg regset 0x00000284 0x1bd34008
OLD: 0x00000284 (0284)	0x00004008 (16392)
NEW: 0x00000284 (0284)	0x1bd34008 (466829320)
mlt@mlt-laptop:~/workspace/radeontool$ sudo ./radeonreg regset 0x000002d0 0x003c00a5
OLD: 0x000002d0 (02d0)	0x003c0085 (3932293)
NEW: 0x000002d0 (02d0)	0x003c00a5 (3932325)

So far no improvements, but the following fixed it

mlt@mlt-laptop:~/workspace/radeontool$ cat -> cmds.sh
sudo ./radeonreg regset CL:03 0x001c0007
sudo ./radeonreg regset CL:04 0x00010038
sudo ./radeonreg regset CL:05 0x00010038
sudo ./radeonreg regset CL:06 0x00010038
mlt@mlt-laptop:~/workspace/radeontool$ sh cmds.sh 
OLD: CL:03 (CL: 0003)	0x001c003f (1835071)
NEW: CL:03 (CL: 0003)	0x001c0007 (1835015)
OLD: CL:04 (CL: 0004)	0x000001bb (443)
NEW: CL:04 (CL: 0004)	0x00010038 (65592)
OLD: CL:05 (CL: 0005)	0x000001f2 (498)
NEW: CL:05 (CL: 0005)	0x00010038 (65592)
OLD: CL:06 (CL: 0006)	0x000001bb (443)
NEW: CL:06 (CL: 0006)	0x00010038 (65592)
mlt@mlt-laptop:~/workspace/radeontool$ 

When I tried to execute it line by line, I got flashy "burned" looking screen that faded after the first line, and system became frozen.

(In reply to comment #30)
> If that alone doesn't fix it, in addition, try:
> 
> sudo ./radeonreg regset CL:03 0x001c0007
> sudo ./radeonreg regset CL:04 0x00010038
> sudo ./radeonreg regset CL:05 0x00010038
> sudo ./radeonreg regset CL:06 0x00010038
Comment 32 Mikhail Titov 2011-07-18 07:37:53 UTC
Created attachment 49250 [details]
This is what I got after warm restart. (Restart through Ubuntu menu)

I'm not sure if problem from attaches screenshot is related, if something is not initialized properly. Though I mentioned that clean boots are usually fine. Very very rare I get this.


The following workaround can be used for now in Ubuntu 11.04 . radeonreg should be placed in /usr/local/bin/

mlt@mlt-laptop:~$ cat /etc/pm/sleep.d/20_radeon 
#!/bin/sh

# Workaround for radeon resume

PATH=/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin

case "${1}" in
        resume|thaw)
		echo "Doing my things" > /tmp/radeon.log
		radeonreg regset CL:03 0x001c0007 >> /tmp/radeon.log 2>&1
		radeonreg regset CL:04 0x00010038 >> /tmp/radeon.log 2>&1
		radeonreg regset CL:05 0x00010038 >> /tmp/radeon.log 2>&1
		radeonreg regset CL:06 0x00010038 >> /tmp/radeon.log 2>&1
		echo "Done" >> /tmp/radeon.log
                ;;
esac
Comment 33 Alex Deucher 2011-07-18 08:49:54 UTC
Can you enable kms debugging (as root):

sudo bash -c "echo 0x4 > /sys/module/drm/parameters/debug"

then suspend and resume and attach the resulting dmesg output?
Comment 34 Mikhail Titov 2011-07-18 20:42:47 UTC
Created attachment 49283 [details]
dmesg output after resume, no previously described workaround has been applied

(In reply to comment #33)
> Can you enable kms debugging (as root):
> 
> sudo bash -c "echo 0x4 > /sys/module/drm/parameters/debug"
> 
> then suspend and resume and attach the resulting dmesg output?
Comment 35 Mikhail Titov 2011-07-18 20:51:44 UTC
Created attachment 49284 [details]
Clean dmesg from boot up as previous attachment contains data from previous resumes

(In reply to comment #34)
> Created an attachment (id=49283) [details]
> dmesg output after resume, no previously described workaround has been applied
Comment 36 Mikhail Titov 2011-08-07 01:03:03 UTC
(In reply to comment #31)
> Yeay! The last suggestion did the magic!
...
> mlt@mlt-laptop:~/workspace/radeontool$ sudo ./radeonreg regset 0x000002d0
> 0x003c00a5
> OLD: 0x000002d0 (02d0)    0x003c0085 (3932293)
> NEW: 0x000002d0 (02d0)    0x003c00a5 (3932325)
> 
> So far no improvements, but the following fixed it

I was wrong. This command is also necessary after all I confirmed before otherwise there is a noticeable stairs effect, after this command gradients looks smoother.
Comment 37 Christopher M. Penalver 2016-02-24 05:50:40 UTC
Original reporter hasn't responded to information request in 2 years.

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.