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

Carl-Daniel Hailfinger
2005-02-03T12:23:55Z

Stefan Schweizer schrieb:
> On Thu, 03 Feb 2005 02:46:03 +0100, Carl-Daniel Hailfinger
> <c-d.hailfinger.devel.2005-hi6Y0CQ0nG0@public.gmane.org> wrote:
>
>>Please try latest 2.6.11-rc2-bkX and NO additional patches. Make sure you
>>don't compile in radeonfb or atyfb. Vesafb doesn't matter. Xorg version
>>is irrelevant.
>>Kernel commandline should contain
>>video=vesa:off
>>and no other video parameters.
>
> 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
- the kernel could be told not to access the framebuffer after resume
you could make it work.

The first solution seems to be easier for me because acpi_sleep=s3_bios
already tries to boot the card (and crashes), so fixing it would at
least give you a lockup-free resume with framebuffer console. And
there ist the ACPI video module which may also help there (haven't
checked yet).

To sum it up: What happens if you access graphics functions?
- after resume: black screen, lockup
- after resume and POST: black screen
- after resume, POST and vbestate restore: everything OK

On a side note: Is it possible to set the acpi_sleep variable through
sysfs or procfs? Since the variable is only needed on resume, having
some userspace utility set it if there is a radeon card in the machine
would make it easier for distros to do the right thing (tm).

Regards,
Carl-Daniel
--