Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

When I restore from hibernate the screen is often corrupted. I suspect the graphics memory is not being saved. Suspend-to-ram works fine.

It also looks like the font-cache is corrupted, as all letters are corrupted consistently.

Logging out and back in again fixes it, but I don't want to have to do that. I have been logging-out then hibernating, but this is more effort and eliminates most of the benefit of hibernate.

Is there another way to refresh the X11 display? The Ctrl+Alt+F1… does not work. It switches terminal but does not redraw anything: It just shows the old corrupted screen.

I am using Debian 6.

share|improve this question
What graphics chip / driver are you using? Distro? –  Caleb Jun 6 '11 at 13:46
Debian 6, acer aspire 5338 integrated graphics. I have had it working in Ubuntu, and suspend to ram works excellent. I suspect it us just not saving graphics ram to disk. –  richard Jun 6 '11 at 15:19
That doesn't quite answer the question since that model seems to have been shipped with Intel, Nvidia, and ATI video card options. By "integrated" do you mean yours has the Intel GMA video card? –  Caleb Jun 6 '11 at 15:47
It's a bug in the video driver. You may be able to work around it. Try switching to a text console (Ctrl+Alt+F1) before hibernating, does it help? (Ctrl+Alt+F7 to go back to X, usually.) –  Gilles Jun 6 '11 at 22:44
The Ctrl+Alt+F1 does not work. It switches back to X11 instantly, but still corrupted. –  richard Jun 7 '11 at 13:14

7 Answers 7

In GNOME 3, AltF2renter refreshes the GUI. AltF2 launches the Run Command prompt, and the r command forces a refresh.

share|improve this answer
@richard, does this solution work? It's pretty late and I'm not sure if you're still experiencing the problem, but it'd be great if you replicated it and tested my suggestion (for posterity and all). –  Severyn Kozak Nov 10 '14 at 15:14

This is almost certainly because the graphics driver has bugs for the display device. It probably won't matter too much which it is, because either way it's not something you can likely fix. But you should file a bug about the kernel driver for the device (once you figure out what it is (lspci may help here)).

Something you could try, though, as a work around: when coming out of hibernate, try hitting "ctrl-alt-F4" to switch to another virtual terminal and then switching back (which is likely either ctrl-alt-F1 or ctrl-alt-F7 or maybe F8). This may do enough of a screen refresh that it'll make the display recover. Maybe.

share|improve this answer
have tried ctrl-alt-F1 it did not work. –  richard Jun 23 '11 at 12:36

Did you try the xrefresh command?

share|improve this answer
Yes, did not work, –  richard Nov 15 '13 at 8:49

I'm having this issue too (Debian Squeeze and Wheezy).

In my experience, it happens mainly when most of the memory is full and the system is using swap memory.

As a partial work-around: if I change the default fonts, the corruption goes away. (Not for good though, I have to change again when the corruption reappears.)

(On Debian Wheezy this is done by gnome-tweak-tool.)

Hope this helps, if someone finds a permanent fix, I'll be glad to hear about it!

share|improve this answer
unix.stackexchange.com/a/35988/6622 ? –  poige Apr 8 '12 at 8:56

Try rotating or flipping your screen with xrandr, e.g. upside-down and then back to normal. This might be enough to have it fully redrawn.

share|improve this answer
Tried it, no luck. Thanks –  richard Sep 14 '11 at 11:24

The Ctrl+Alt+F1… does not work

Well… then try issuing sudo chvt 1, then switch back to Xorg's vty using Ctrl_Alt_Fn or sudo chvt N (where N is usually 7 or 8). In case chvt would work, you can even try scripting it.

share|improve this answer
sorry I was not clear ctrl+alt+f1 works. It is the ctrl+alt+f1 solution that does not. I can switch virtual terminals, but it does not fix the corruption. Thanks. –  richard Apr 17 '12 at 14:41

Try Crtlalt- then Crtlalt+. That changes the screen resolution back and forth.

share|improve this answer
nothing. May be the keys are not bound. –  richard Nov 15 '11 at 14:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.