linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* X/CLUT/pixel data format question WRT IMSTT cards
@ 1999-07-30  3:57 charlie buckheit
  1999-07-30  9:15 ` Geert Uytterhoeven
  1999-07-31  3:13 ` Ryuichi Oikawa
  0 siblings, 2 replies; 3+ messages in thread
From: charlie buckheit @ 1999-07-30  3:57 UTC (permalink / raw)
  To: linuxppc-dev


Hi,

I was wondering if someone who understands the Xserver code a little better
can first point me in the direction of the code that sets the CLUT for X,
second if any information on the pixel data formats for the various color
modes is available, and third if the Xserver runs in true color mode or does
it only use the color lookup tables. I'm trying to figure out why the IMSTT
card is still having problems in 16 and 24/32 bpp modes. I pretty much
proved to myself that its not an endian problem (I've got IXMicro provided
code and API manuals for the chipsets) as when I write directly to the video
memory the results on the screen are correct (i.e. in 24/32 bpp writting
0x000000ff to the screen results in blue, 0x0000ff00 green, 0x00ff0000 red,
and 0xff000000 in black as the most significant 8 bits are the alpha data
which is not used). On my computer the greys are correct (telling me that
the RGB registers are probably correct as all three must be the same value
to get greys in true color mode), and images displayed in GIMP are fine
(this can't be pure luck can it???)...its just the gnome/enlightenment stuff
thats messed up...specifically the icons and window borders. So my thought
now is that either the X pixel formats are different then the IMSTT card
expects or the CLUT is not getting set correctly or X doesn't like the true
color mode.

BTW 16bpp is a completely different animal though I think the problems are
related as the colors are correct there also when written manually to the
screen.

Anyway, any help would be greatly appreciated...

VR, Charlie


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

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

end of thread, other threads:[~1999-07-31  3:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-30  3:57 X/CLUT/pixel data format question WRT IMSTT cards charlie buckheit
1999-07-30  9:15 ` Geert Uytterhoeven
1999-07-31  3:13 ` Ryuichi Oikawa

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