Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2010 15:00:35 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Jung-uk Kim <jkim@FreeBSD.org>
Subject:   Re: svn commit: r198858 - in head/sys: dev/fb dev/syscons sys
Message-ID:  <86ljflj798.fsf@ds4.des.no>
In-Reply-To: <20100125192941.GA9196@FreeBSD.org> (Alexey Dokuchaev's message of "Mon, 25 Jan 2010 19:29:41 %2B0000")
References:  <200911032022.nA3KM96H003434@svn.freebsd.org> <20100125192941.GA9196@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexey Dokuchaev <danfe@FreeBSD.org> writes:
> Jung-uk Kim <jkim@FreeBSD.org> writes:
> > Log:
> >   Fix VESA color palette corruption:
> >=20=20=20
> >   - VBE 3.0 says palette format resets to 6-bit mode when video mode ch=
anges.
> >   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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ljflj798.fsf>