linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Miles Lane <miles@megapathdsl.net>
To: linux-fbdev-devel@lists.sourceforge.net,
	James Simmons <jsimmons@transvirtual.com>
Subject: Rivafb colors all messed up with 2.5.20-dj2.
Date: Wed, 05 Jun 2002 00:25:24 -0700	[thread overview]
Message-ID: <3CFDBCE4.9050807@megapathdsl.net> (raw)

For a long time, I have had messed up colors when I use rivafb.
In the past, just the penguin logo has been obviously messed up
(all purple).  Now, all the colors are off.  By running
"fbset -a 1600x1200-76" I am able to get the framebuffer colors
correctly set.  Also, running this command gives me the 
desired refresh rate.  I suspect I am using an incorrect
boot parameter value.  Can someone tell me what value to use
to get 1600x1200 @ 76Hz and 16-bit color?

From the kernel log:

rivafb: RIVA MTRR set to ON
Console: switching to colour frame buffer device 200x75
rivafb: PCI nVidia NV10 framebuffer ver 0.9.3 (GeForce-DDR, 32MB @ 0xE8000000)

"lspci -v" gives:

01:05.0 VGA compatible controller: nVidia Corporation GeForce 256 DDR (rev 10) (prog-if 00 [VGA])
	Subsystem: VISIONTEK: Unknown device 000b
	Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11
	Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e8000000 (32-bit, prefetchable) [size=128M]
	Expansion ROM at feaf0000 [disabled] [size=64K]
	Capabilities: [60] Power Management version 1
	Capabilities: [44] AGP version 2.0

My append= line includes "video=riva:1600x1200-16"

fbset -a (initial state at boot time with whacked colors):

mode "1600x1200-60"
     # D: 162.022 MHz, H: 75.010 kHz, V: 60.008 Hz
     geometry 1600 1200 1600 1200 16
     timings 6172 304 64 46 1 192 3
     hsync high
     vsync high
     accel true
     rgba 5/11,6/5,5/0,0/0
endmode

After running "fbset -a 1600x1200-76" (command gives desired state)
I have:

mode "1600x1200-76"
     # D: 197.981 MHz, H: 95.183 kHz, V: 76.146 Hz
     geometry 1600 1200 1600 1200 8
     timings 5051 304 40 42 3 136 5
     accel true
     rgba 8/0,8/0,8/0,0/0
endmode



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

             reply	other threads:[~2002-06-05  7:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-05  7:25 Miles Lane [this message]
2002-06-05  8:18 ` 2.5.20 + latest fbdev patch -- Rivafb appears to hang machine Miles Lane
2002-06-05  8:19 ` Rivafb colors all messed up with 2.5.20-dj2 Geert Uytterhoeven

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=3CFDBCE4.9050807@megapathdsl.net \
    --to=miles@megapathdsl.net \
    --cc=jsimmons@transvirtual.com \
    --cc=linux-fbdev-devel@lists.sourceforge.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;
as well as URLs for NNTP newsgroup(s).