ACPI resume causes garbled video
I am running Mandrake LE2005 on HP pavilion dv1040US ( centrino, intel
I was having issues with resume causing poweroff and fixed it as per a post
somewhere here so that works now.
My sleep.sh script does the following-
vbetool vbestate save > /tmp/vbestate
# Step 2: send sleep command via ACPI
echo mem > /sys/power/state
# Step 3: wake-up and reload
vbetool vbestate restore < /tmp/vbestate
vbetool dpms on
xinit /bin/false -- :1
# initialise X
This brings X back but the widgets do not act normally. I can click on
buttons and all that but a) widgets aren't drawn properly ( some appear in
reverse video, as it were) and b) when I try to resize them, they start
shrinking and disappeaaring.
The best I can do is reboot !
How do I get back the video properly ?