linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Rivafb colors all messed up with 2.5.20-dj2.
@ 2002-06-05  7:25 Miles Lane
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Miles Lane @ 2002-06-05  7:25 UTC (permalink / raw)
  To: linux-fbdev-devel, James Simmons

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-05  8:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-05  7:25 Rivafb colors all messed up with 2.5.20-dj2 Miles Lane
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

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).