From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Goerzen Subject: Suspend and slight video corruption Date: Thu, 21 Sep 2006 16:02:44 -0500 Message-ID: <20060921210244.GB5888@excelhustler.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: linux-pm@lists.osdl.org List-Id: linux-pm@vger.kernel.org Hello, I'm trying to use suspend to disk in a MacBook Pro and am having an odd iss= ue: colors get corrupted -- but only slightly -- after a resume. The screen appears as if it just dropped from 24-bit color mode to 8-bit color mode and is doing a poor job of dithering. The problem is most easily visible with an image such as http://debblue.debian.net/images/debblue/gdm-debblue.png. Before a suspend, it looks fine. After a suspend, there are concentric circles going out from the center with hard-edged color changes. With many things, this problem is not even noticable. I wouldn't be surprised if this has happened to many before without being detected. This happens no matter what viewer I am using to display the image in X. It also persists even if I restart the viewer, switch to the console and back, etc. But restarting the X server fixes it. I tried running xinit /bin/false -- :1, but that hung the machine (it does not hang the machine when run before a suspend). I have tried both uswsusp and suspend2 and get the same results with each. This is a Debian etch system, kernel.org 2.6.18 (with the small mactel-linux patches), booting without EFI, XOrg 7.0.0, ATI fglrx driver 8.28.8. Is there any idea what is going on? Any suggestion on how I could help track it down? I'm happy to gather whatever information would be helpful. I should also add that I tried using vbetool to save/restore state on the commandline manually, but that didn't help. (Trying to POST the card manually after restore hung the machine.) I wonder why the tools such as powersaved offer to automate VBE for suspend to RAM but not suspend to disk... Thanks, -- John