Thread (8 messages) 8 messages, 3 authors, 2004-12-14

Re: Voyager GX color mapping

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2004-12-14 17:19:51

On Tue, 14 Dec 2004, Clemens Koller wrote:
quoted
quoted
well, my version of the Silicon Motion SM501 driver works now
quite well on the PowerMac (after some data integrity problems
with the card having in a dusty PCI slot. :-(( )

Only one thing is missing: The color mapping in the
32bit mode doesn't fit with X. The fb memory map has a BGRA
color mapping but X11 writes it in RGBA.

I have tried to change the fb_var_screeninfo.fb_bitfield
You should indeed make sure the fb_var_screeninfo.fb_bitfield values are
correct.  BTW, have you tried fbtest to verify the correctness of your
driver?
You can check it out from CVS on SourceForge.
I got fbset already... thanks.
I wrote `fbtest', not `fbset' ;-)
Well, whenever I change the (yet hardcoded) structs in the driver,
fbset -fb /dev/fb2 shows me the correct (changed) values.
But there is no change in X at all if I play around with the values.
Is it possible that X doesn't get my fb_var_screeninfo? Maybe I need
to check xorg.cfg again...
X may try to change the values again. If you're driver allows that (like it
seem to do, as per your description above), it may become confusion. Please
don't allow to change the bitfields in your driver, only allow the values that
the hardware does support.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help