public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: John Goerzen <jgoerzen@complete.org>
To: linux-pm@lists.osdl.org
Subject: Suspend and slight video corruption
Date: Thu, 21 Sep 2006 16:02:44 -0500	[thread overview]
Message-ID: <20060921210244.GB5888@excelhustler.com> (raw)

Hello,

I'm trying to use suspend to disk in a MacBook Pro and am having an odd issue:

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

             reply	other threads:[~2006-09-21 21:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-21 21:02 John Goerzen [this message]
2006-09-24  9:41 ` Suspend and slight video corruption Pavel Machek
2006-09-24 23:02   ` John Goerzen
2006-09-25  8:12     ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060921210244.GB5888@excelhustler.com \
    --to=jgoerzen@complete.org \
    --cc=linux-pm@lists.osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox