Re: Colormap issues with 24bpp on big-endian system

Michel Dänzer <[email protected]>
Newsgroups gmane.comp.xfree86.expert
Organization Debian, XFree86
Message-ID <1038170903.1361.489.camel@thor>
On Son, 2002-11-03 at 21:15, [email protected] wrote: 
> 
> I submitted a bug report to the xdvi team about problems with wrong
> colors on my PowerBook G4 (PowerPC platform). After some testing Paul
> Vojta suggested the below:
> 
> > At this point I suspect a server bug.  I've enclosed a test program,
> > pmtest.c, with Makefile.  When I run it on a Sun Ultra 5 (24 bpp,
> > blackpixel 0, whitepixel 16777215, big-endian) it shows (correctly)
> > a hollow box in the middle of the window.  In black, with a white
> > background.  I suspect it'll show something different in your case.
> > I also suspect that if you change GXand to GXcopy or ZPixmap to XYPixmap,
> > then it might work correctly.
> > 
> > Please let me know how it turns out.
> > 
> > If it is in fact a server bug, you can send the test program to
> > [email protected] (or their official bug address).
> > 
> > --Paul Vojta, [email protected]
> 
> I tried to program, and the results are shown in the 2 attached
> screenshots, respectively using GXand and GXcopy. Using GXcopy there
> does not seem to be a problem, but GXand produces yellow instead of
> white.

I have the same hardware AFAICT, and I can't reproduce the problem with
current CVS.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.