On Mon, 2004-05-03 at 18:02, Arne Caspari wrote: > I patched a vanilla 2.6.5 kernel with the pmdisk patch Guido sent to list. > >.../... > > suspend from the console works then. resume to the console works but as soon > as I switch back > to the graphics console, the system locks up, showing a garbled screen. > > Any ideas what I could try to recover the graphic console without crashing?
I suppose X doesn't expect the card to be back to completely initial state during a console switch. Michel, what does DRI do in this regard ? Does it re-init everything including microcode, MC_*_LOCATION, AGP state, etc... on every console switch or not ? Do we still have something like DRIReInit option ? Part of the trouble is that we do not have the /dev/apm_bios emulation notifying X that the machine is suspending/resuming with swsusp. Only with suspend to RAM... Ben.