Subject: Re: Default console text colour too dim?
To: None <tech-kern@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-kern
Date: 04/11/2006 15:13:07
On Tue, Apr 11, 2006 at 07:33:20 -0300, Jared D. McNeill wrote:
> >On Tue, Apr 11, 2006 at 00:17:38 -0300, Jared D. McNeill wrote:
> >
> >>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? */
> >>
> >>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.
> >
> >The green on your screenshots is so bright, that I'm willing to bet
> >you are bitten by the brain dead BGR default of rasops15 that makes
> >dim green "00000 01111 000000" looks briht "000000 11110 00000".
>
> Sorry, I should have been more clear -- those are 8bpp paletted mode
> screenshots.
Yeah, but still it *looks* like your RGB components are messed
somewhere. Amy be a bug somehwere in VESA ROM (whereever it lives)
code, etc.
Oh, and what happens if you try that fg=red experiment?
SY, Uwe
--
uwe@ptc.spbu.ru | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen