Re: Samsung P35, S3, black screen (radeon)

Carl-Daniel Hailfinger
2005-02-03T22:45:06Z

Carl-Daniel Hailfinger schrieb:
> Stefan Schweizer schrieb:
>
>>Are you able to use framebuffer(radeonfb,1024x768) with this
>>configuration or do you need to use plain vga-console for it to work?
>
> No.
> For a working framebuffer console you would have to perform the steps
> my script does *before* the kernel tries to access the framebuffer
> console after resume. Since this is not yet possible, you're out of
> luck. If
> - the vbestate utility was a kernel module or

OK, I managed to track this down further.
"vbetool post" should be equivalent to "acpi_sleep=s3_bios", but there
are some differences. For me, that's easy to explain: "vbetool post"
segfaults because it wants to access parts of the video bios which
are no longer available. "acpi_sleep=s3_bios" suffers from the same
problem, but it runs in real mode and can't recover :-(

To alleviate that problem, the kernel could run the video bios in
vm86 mode (like vbetool does by using lrmi). This would simplify
the asm wakeup code and make video POST more reliable.

Pavel, what do you think?

Regards,
Carl-Daniel
--