Comment 54 for bug 138256

Revision history for this message
Hamish Harvey (hamish-hamishharvey) wrote : Re: xserver-xorg-video-intel hangs the system when laptop lid is closed

I'm getting something which may be related.

00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)

On resume (from suspend) I got X back, but the screen wouldn't refresh properly. As I opened windows/menus they would sort of display, but not be removed from the screen when closed. Everything else appeared to be working.

After much browsing and fiddling (no records kept, I'm afraid) I came to this fix:

Add SAVE_VIDEO_PCI_STATE=true to /etc/default/acpi-support
Modify /etc/acpi/suspend.d/80-video-pci-state.sh according to attached diff, to save state from /sys/bus/pci/devices/0000:00:02.1 (as well as 02.0).

This last change was a stab in the gloom based on: http://lists.freedesktop.org/archives/xorg/2007-June/025349.html

Current impression is that suspend and hibernate both work.