[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Resume from S3 breaks console



Andrei Popescu wrote:
Hello everybody,

debian-laptop has no answer so I'm trying here...

This is the last issue I have with Debian Sid and my HP Omnibook. It resumes correctly from suspend-to-ram (S3) to X, but the console shows green dancing squares and the resolution is dropped to 640x480. I can type blindly to it and I can switch back to X, but that's about all I can do.

What I have tried already:
1. 'reset' ... yeah, right ... if it would be that simple ...
2. No framebuffer: this is worse. X has some 3 or 4 bad vertical lines and switching to console hangs the whole system.
3. atyfb with various parameters: The same bad lines in X. I can type blindly in the console and go back to X. Trying to change resolution with 'fbset' will crush the system.

This is my setup:
Stock kernel 2.6.15-1-686 with vga=792 acpi_sleep=s3_bios
                                       ^^^^^^^^^^^^^^^^^^
                              without this, X would have a black screen

$lspci -v
[snip]
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64) (prog-if 00 [VGA])
	Subsystem: Hewlett-Packard Company: Unknown device 0010
	Flags: bus master, stepping, medium devsel, latency 66, IRQ 10
	Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
	I/O ports at 9000 [size=256]
	Memory at f4100000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at 38000000 [disabled] [size=128K]
	Capabilities: [50] AGP version 1.0
	Capabilities: [5c] Power Management version 1
[snip]

Any suggestions how to reset the console?
Andrei

I do not have experience with your hardware, but I have a general
suggestion: Try the package "hibernate" together with "vbetool".
hibernate comes with a configuration file in which you can activate
vbetool to restart/reset your graphics card after waking up. That might
be be enough to fix the display problems. Also try the option
"UseDummyXServer yes" for display problems with X. hibernate.conf also
provides an easy way to add your own wake-up scripts.

Regards,
           Florian



Reply to: