mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: sduchene@mindspring.com
To: linux-kernel@vger.kernel.org
Cc: Bakonyi Ferenc <fero@drama.obuda.kando.hu>,
	Louis Garcia <louisg00@bellsouth.net>
Subject: console colors messed up with 2.4.X Rivafb driver
Date: Tue, 29 May 2001 10:29:20 -0400	[thread overview]
Message-ID: <20010529102920.H790@mug.hdqt.valinux.com> (raw)

I have a Riva128 based video card in a older SMP P-Pro system and with all
of the lastest 2.4 series of kernels (mostly the ac stuff) I have screwy colors
on the console (the penguin boot logos are shades of blue) and initially when
I start X (XFree86 4.0.3) the colors are very dark until I switch to a console
and back again. Once I switch to a console and back to X things are fine in
X. I noticed a reply to a note from Louis Garcia <louisg00@bellsouth.net> by
Bakonyi Ferenc <fero@drama.obuda.kando.hu> with some info about TNT cards
expecting 8 bit verses 6 bit color registers. Bakonyi indicated that the console
colors should be correct with Rivafb 0.9.2 and above but with the 2.4.5-ac3
kernel the boot messages indicate:

rivafb: RIVA MTRR set to ON
Console: switching to colour frame buffer device 160x64
rivafb: PCI nVidia NV3 framebuffer ver 0.9.2a (RIVA-128, 4MB @ 0xEF000000)

My /proc/pci entry says:

 Bus  0, device  15, function  0:
    VGA compatible controller: NVidia / SGS Thomson (Joint Venture) Riva128 (rev 16).
      IRQ 19.
      Master Capable.  Latency=64.  Min Gnt=3.Max Lat=1.
      Non-prefetchable 32 bit memory at 0xee000000 [0xeeffffff].
      Prefetchable 32 bit memory at 0xef000000 [0xefffffff].

and even at 0.9.2a colors are still screwy on the console both before and after starting
the Xserver.

The fbset output on this system says:

mode "1280x1024-74"
    # D: 135.007 MHz, H: 78.859 kHz, V: 74.116 Hz
    geometry 1280 1024 1280 1024 16
    timings 7407 256 32 34 3 144 3
    accel true
    rgba 5/11,6/5,5/0,0/0
endmode

The same thing still occurs if I set the color depth to 8 bit.

This is a pci card with 4Mb of video memory. I also have a AMD K6 system with a 16Mb
AGP TNT2 card and this does not happen on that machine.

BTW, why is the mtrr for the Riva set to 0M ???
-- 
Steven A. DuChene	sad@valinux.com
			sduchene@mindspring.com

	http://www.mindspring.com/~sduchene/

             reply	other threads:[~2001-05-29 14:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-29 14:29 sduchene [this message]
2001-05-29 15:03 ` Bakonyi Ferenc
2001-05-29 20:16   ` sduchene
2001-05-29 15:28 ` Nick Papadonis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010529102920.H790@mug.hdqt.valinux.com \
    --to=sduchene@mindspring.com \
    --cc=fero@drama.obuda.kando.hu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=louisg00@bellsouth.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®