Results 1 to 7 of 7

Thread: Screen corrupt after resume from suspend

  1. #1

    Default Screen corrupt after resume from suspend

    Hi,
    I installed openSUSE 11 on a Dell 600m laptop with a Radeon video card. I have Desktop Effects enabled. When I resume from a suspend (or from a hibernate), the screen is corrupted - I get small artifacts everywhere. I checked the suspend hooks and did not see anthing related to video suspend and/or resume. I typically have to run Emerald --replace & again for the frayed edges and artifacts to dissapear.

    When I disable Desktop Effects, this problem does not exist anymore - metacity shows no such issues.

    Can someone please help?

    Regards,
    Vijay

  2. #2
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: Screen corrupt after resume from suspend

    On Thu, 14 Aug 2008 18:36:03 GMT
    vijaychandilya <vijaychandilya@no-mx.forums.opensuse.org> wrote:

    >
    > Hi,
    > I installed openSUSE 11 on a Dell 600m laptop with a Radeon video card.
    > I have Desktop Effects enabled. When I resume from a suspend (or from a
    > hibernate), the screen is corrupted - I get small artifacts everywhere.
    > I checked the suspend hooks and did not see anthing related to video
    > suspend and/or resume. I typically have to run Emerald --replace &
    > again for the frayed edges and artifacts to dissapear.
    >
    > When I disable Desktop Effects, this problem does not exist anymore -
    > metacity shows no such issues.
    >
    > Can someone please help?
    >
    > Regards,
    > Vijay
    >
    >


    You might try flipping away from the gui to a console, then back to the gui
    to see it if reinitializes the video system.

    CTRL-ALT-F1, should see a text console, then CTRL-ALT-F7 to return to GUI.

    http://www.mjmwired.net/kernel/Docum...ower/video.txt

    That link talks about several solutions to your issue, and for the Dell 600m,
    specifically recommends "Details, item 6", around line 60.

    Seems a bit convoluted, but I imagine it could be placed into the suspend
    restore script. (No, don't know anything about that right now... ask me again
    later after I go read up on it! )

    Further down on the page, it suggests using 'vga=normal' on your boot options
    line. Try it, if it helps, then you can put it into the grub setup (through
    yast -> system -> boot loader -> edit the entry, and towards the bottom,
    change the "Vga Mode" to 'normal', save, reboot, enjoy.

    Hope this helps

    Loni

    --
    L R Nix
    lornix@lornix.com


  3. #3

    Thumbs up Re: Screen corrupt after resume from suspend

    Thanks! I will try this out later today and report back. Quick question: Among these,
    vbetool vbestate save > /tmp/delme;
    echo 3 > /proc/acpi/sleep;
    vbetool post;
    vbetool vbestate restore < /tmp/delme;
    setfont <whatever>

    the first two clearly go to the suspend / hibernate section, the last two clearly go into the resume / thaw section. How about vbetool post?

  4. #4
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: Screen corrupt after resume from suspend

    On Thu, 14 Aug 2008 20:26:03 GMT
    vijaychandilya <vijaychandilya@no-mx.forums.opensuse.org> wrote:

    >
    > Thanks! I will try this out later today and report back. Quick question:
    > Among these,
    > vbetool vbestate save > /tmp/delme;
    > echo 3 > /proc/acpi/sleep;
    > vbetool post;
    > vbetool vbestate restore < /tmp/delme;
    > setfont <whatever>
    >
    > the first two clearly go to the suspend / hibernate section, the last
    > two clearly go into the resume / thaw section. How about vbetool post?
    >
    >


    Hey Hey! Haven't had time to read about that yet!!

    Ok, man page indicates that 'vbetool post' should go in the 'resume/thaw'
    section, since it re-initializes (P.O.S.T.) the card.

    So it would 'restart' the video card, making it have known default state,
    then the 'vbetool vbestate restore' command sets up the video state as it was
    before (as saved in the 'vbetool vbestate save' command previously)


    <suspend/hibernate section>

    vbetool vbestate save > /tmp/delme;
    echo 3 > /proc/acpi/sleep;

    <resume/thaw section>

    vbetool post;
    vbetool vbestate restore < /tmp/delme;
    setfont <whatever>

    <veggie section>

    Tomatoes, potatoes, carrots, celery.. etc.

    Ok, maybe that last section doesn't go anywhere really.

    Loni

    --
    L R Nix
    lornix@lornix.com


  5. #5

    Default Re: Screen corrupt after resume from suspend

    Hi,
    I tried out the suggested solution (without the veggie fix ). It made X crash on resume, so no go there.

    I have Ubuntu installed on a different partition, so I looked up the suspend / resume scripts there. I incorporated something similar to the scripts in Ubuntu (20video and 99video they are called). Tried that out too, but no improvement.

    The actual resume works, but I get artifacts on the screen around all menus but not windows. Typically reloading all windows makes the issue go away. Do you think this is a suspend / resume script issue then?

    Attached is a screen shot - notice the couple of lines very near the panel at the bottom (the red and green lines). If I open any menus on any windows, they have similar lines of multiple colors around them, that is the corruption I refer to.

    Thanks for the help thus far!

    Vijay

  6. #6

    Default Re: Screen corrupt after resume from suspend

    Adding the attachment.


    [IMG]/home/chandy/Desktop/Screenshot.jpg[/IMG]

  7. #7

    Default Re: Screen corrupt after resume from suspend

    Apparently, I don't know how to upload the image. Sorry! I'll figure it out and post it sometime soon.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •