Using VESA to restore display settings on resume

Rong-En Fan grafan at gmail.com
Wed Mar 2 19:45:25 PST 2005


On Mon, 28 Feb 2005 20:26:16 +0000, Ian Dowse <iedowse at maths.tcd.ie> wrote:
> 
> I've updated the patch at
> 
>         http://people.freebsd.org/~iedowse/vesa_restore.diff
> 
> so that the VESA code allows up to 8k of state storage and will
> fail if the BIOS claims to need more space. Could you try this with
> the vesa module loaded and with both 0 and 1 for hw.acpi.reset_video?

I use 3/3's current with this patch on IBM TP X31. I can now successfully 
suspend/resume in X with dri enable on RADEON! (can't do that before, with
dri, after resume screen mess up). reset_video 0 or 1 both works. It even
works without vesa module loaded. The only problem is that my tracepoint
(psm0) dead after resume.

demsg (verbose) and suspend/resume dmesg are both
at http://rafan.infor.org/tmp/vesa/

rafan.


More information about the freebsd-mobile mailing list