Alexey Dokuchaev <[email protected]> writes:
> Jung-uk Kim <[email protected]> writes:
> > Log:
> >   Fix VESA color palette corruption:
> >   
> >   - VBE 3.0 says palette format resets to 6-bit mode when video mode 
> > changes.
> >   We simply set 8-bit mode when we switch modes if the adapter supports it.
> Apparently this revision broke logo screen saver w/ vesa.ko on i386 (it
> works, but image is significantly darker).

A darker image indicates that the BIOS is in 8-bit mode but the driver
thinks it's in 6-bit mode, so the driver right-shifts the palette
entries by two bits.

Perhaps the BIOS is lying?

DES
-- 
Dag-Erling Smørgrav - [email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to