Skip to contentSkip to conversation

nvidia fb 0.9.0

DISCUSSION Louis Garcia 3 participants 7 messages Feb 5, 2001 – Mar 5, 2001

lore
Share & tools
lore
#0 lore raw

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?

Lou

-
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/

#1 lore raw

Re: nvidia fb 0.9.0 (0.9.2?)

Quoted 4 lines · Louis Garcia

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/

#2 lore raw

Re: nvidia fb 0.9.0 (0.9.2?)

Quoted 21 lines · Bakonyi Ferenc
Quoted 1 line · Louis Garcia

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
----------------+----------+--------------------

Quoted 10 lines

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

I'm using XFree86-4.0.1 with the nv driver. You are right, it's ver 0.9.2 for the fb.

Where can I get the patch? Should I upgrade to XFree86-4.0.2?

Lou

-
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/

#3 lore raw

Re: nvidia fb 0.9.0 (0.9.2?)

Quoted 4 lines · Louis Garcia

I'm using XFree86-4.0.1 with the nv driver. You are right, it's ver 0.9.2 for the fb.

Where can I get the patch? Should I upgrade to XFree86-4.0.2?

Not yet, we have to write that patch first... :) I'll grab an XFree source soon.
Please test other color depths too: 15bpp and 32bpp.

Thanks!
Ferenc

-
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/

#4 lore raw

Re: nvidia fb 0.9.0 (0.9.2?)

In reply to Louis Garcia
Quoted 10 lines · /me
Quoted 4 lines · Louis Garcia

I'm using XFree86-4.0.1 with the nv driver. You are right, it's ver 0.9.2 for the fb.

Where can I get the patch? Should I upgrade to XFree86-4.0.2?

Not yet, we have to write that patch first... :) I'll grab an XFree source soon.
Please test other color depths too: 15bpp and 32bpp.

	Hi!

I've tried to reproduce your problem, but I failed. Rivafb 0.9.2 on Asus V3000 (Riva 128) with nv driver (from XFree-4.0.1g, Debian Woody) works fine for me. Would you like to try out some other XFree versions too?

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/

#5 lore raw

Re: nvidia fb 0.9.0 (0.9.2?)

In reply to Louis Garcia
Quoted 12 lines · Bakonyi Ferenc
Quoted 8 lines · /me
Quoted 3 lines · Louis Garcia

I'm using XFree86-4.0.1 with the nv driver. You are right, it's ver 0.9.2 for the fb.

Where can I get the patch? Should I upgrade to XFree86-4.0.2?

Not yet, we have to write that patch first... :) I'll grab an XFree source soon. Please test other color depths too: 15bpp and 32bpp.

Quoted 10 lines
	Hi!

I've tried to reproduce your problem, but I failed. Rivafb 0.9.2 on Asus V3000 (Riva 128) with nv driver (from XFree-4.0.1g, Debian Woody) works fine for me. Would you like to try out some other XFree versions too?

Regards:
Ferenc Bakonyi

On a nvidia riva 128 and a stock rh7 with kernel-2.4.1ac4 and above which has rivafb-0.9.2 when I startx the desktop is dark. This is in 16bit and 24bit modes.
I have been told 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 the XFree86-4.0.1 server uses only 6 bits of them so your desktop's brightness is 1/4.

Louis Garcia

-
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/

#6 lore raw
In reply to Louis Garcia

I saw earlier posts about this, but never heard any resolution...

Upgrading to a 2.4.2 kernel, my Riva128 based video card behaves strangely in X; certain colors are dark. The thing that confuses me is that not All colors are dark; just some of them. Redrawing parts of the screen changes luminosity in those areas. e.g. in windowmaker, some menus are dark, some are normal. A background set by xv is normal, but wmsetbg is dark, etc.

Is this a known problem? Are there work-arounds?

Matt Backes
[email protected]