Subject: Re: Default console text colour too dim?
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: Michael <macallan18@earthlink.net>
List: tech-kern
Date: 04/10/2006 23:42:20
--Signature_Mon__10_Apr_2006_23_42_20_-0400_hyUYAE_wmhRxYL5K
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Hello,
> > I've noticed on a few of my vesafb test machines that in 8bpp
> > paletted mode, the console text colour is a very dark grey. It seems
> > that this is because I use rasops_cmap to initialize an "ANSI
> > colourmap", and the definition of ``white'' is as follows:
> >
> > 0xc7, 0xc7, 0xc7, /* white - XXX too dim? */
Hmm, >75% brightness doesn't sound /that/ dark.
> > If I override this value in vesafb to something higher, let's say {
> > 0xdf, 0xdf, 0xdf }, then the text is actually readable. I've also
> > heard reports of other users of rasops that have similar problems
> > with the default text colour being too dim. In my experience though,
> > not all VESA devices are nearly as dim.
Ah well, it would be nice if we all had calibrated colour output...
> > Is there any reason to not just bump the values in
> > sys/dev/rasops/rasops.c:rasops_cmap?
Not sure, maybe. As long as it's significantly darker than 0xffffff.
> Or should hw drivers simply work around this?
Definitely not.
> > If the latter, a driver like vesafb would have no way of knowing as
> > different VESA implementations appear to behave differently.
Exactly.
> It seems like it should probably default to the standard VGA colors,
> because that's what folks are used to, I think.
Sounds reasonable.
> I override the colors in my system to use black on white text anyway.
> :-)
Who doesn't? *duck*
have fun
Michael
--Signature_Mon__10_Apr_2006_23_42_20_-0400_hyUYAE_wmhRxYL5K
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
iQEVAwUBRDslnMpnzkX8Yg2nAQJULggArVl2y6YoYuR+rY3g3n5hzulL37FINFCX
w756/xKKR3YrLoGQzKfu4D5nX6X4loGybgiBY7d//9y/Dm6/ZeCEQ3Ipb4Q3gY1I
ZOdtuSUOvORpK1caeJLSOtKwmlk5peKt5T007RNPUipsfIxwW8f4Vzf3kbg89KyH
yy4IvJapvg8MLu+0DG90IFcys6dMGpn1NzjLo8Je4C75Kfk5lqefzXzoYqviRRai
GuH7/rBz5i8bYQHlSNVmsdVtvc1zxRbc06Z5CTAleXMJzZrLY7YK0cgSiAZ9jjk4
pnW316iUEGjo75QlkmaktUXXU6TH/LPxXdU8pXPh9VqxzuNmNR6lEw==
=KCea
-----END PGP SIGNATURE-----
--Signature_Mon__10_Apr_2006_23_42_20_-0400_hyUYAE_wmhRxYL5K--