Louis Garcia <[EMAIL PROTECTED]> wrote:

> I gave upgraded to 2.4.2pre on my RH7 box and while using riva-128 fb 
> noticed when in X all the white parts of my desktop are to dark, it is 
> almost unreadable. I think it might have to do with video timing, is 
> there a way to fix this?

        Hi!

Color handling on Riva 128 in 8bpp mode is a little bit confused.
The table below summarizes the depth of color registers in 8bpp mode:

                | Riva 128 | Riva TNT and higher
----------------+----------+--------------------
XF86            | 6 bit    | 8 bit
----------------+----------+--------------------
rivafb < 0.7.2  | 6 bit    | 6 bit 'dark console'
----------------+----------+--------------------
rivafb 0.7.3    | 6 bit    | 8 bit
----------------+----------+--------------------
rivafb 0.9.2    | 8 bit    | 8 bit
----------------+----------+--------------------

The Riva hardware can be programmed to expect 8 bit or 6 bit color 
registers. Rivafb < 0.7.2 used 6 bit color registers, but the hw was 
programmed to 8 bit registers on TNT/TNT2. That was causing the so 
called 'dark console' bug.
Rivafb 0.9.2 begins to utilize 8 bits on Riva 128, but your X server 
uses only 6 bits of them so your desktop's brightness is 1/4. Now 
Riva 128 has a 'dark X' bug. :)
The X server should be patched. Which X server/version are you using?

Regards:
        Ferenc Bakonyi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to