From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9943b425e0c3a4e0,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-03-09 18:23:32 PST Path: bga.com!news.sprintlink.net!cs.utexas.edu!uunet!mozz.unh.edu!hopper.unh.edu!btr From: btr@hopper.unh.edu (Bradford T Ritchie) Newsgroups: comp.unix.osf.osf1 Subject: Xserver TrueColor problem/info Date: 10 Mar 1995 01:33:27 GMT Organization: University of New Hampshire - Durham, NH USA Message-ID: <3joa97$gtn@mozz.unh.edu> NNTP-Posting-Host: hopper.unh.edu Summary: Xserver doesn't display colors correctly for apps using TrueColor Hi, Whenever 'Netscape' displays to the Xserver on my DECstation 3000 running OSF/1 3.0, the colors are not displayed correctly. I am able to run xv, Mosaic and several other graphics applications and the colors look fine. However, when running Netscape, any image (gif or bitmap) that is displayed has a very strong yellow/green appearance. For images which I know contain large areas of white only, these areas appear completely yellow. The only other application I've had trouble with is DEC POLYCENTER Manager on NetView which would not display bitmap images. A contact at DEC suggested editing the /var/X11/Xserver.conf file by adding the following line in the args< > section at the end of the file (then rebuild the kernel and reboot): args< -vclass0 PseudoColor > This solved the NetView problem but the Netscape problem persists (my contact didn't have any answers and couldn't spend the time serching as long as NetView was working). Later I tried re-editing the Xserver.conf file and changing PseudoColor to GrayScale. As expected, the Xserver displayed in GrayScale. However, Netscape continued to display colors (everything including images, bitmaps, background, links, etc.) My only clue that Netscape might be doing something different from other applications came from the "Document Infor- mation" popup item under the File menu in Netscape. This popup contains a "Visual:" field which reads (on just about every single page I tried): 0x20 (TrueColor, depth: 24, cmap: 256) This is a non-default visual. Images are 32 bit truecolor. Unfortunately, my knowledge of X is limited to Xresources and command line options. I don't know much about what a color map is and the difference between TrueColor, PseudoColor, etc. although I've heard that some apps load their own color map which others use colors currently available... but I'm not sure what the significance of this is, either. If anyone understands the situation I've described (and hopefully suggest a solution! :) I would greatly appreciate hearing from them. At the very least, I am interested in finding a "down to earth" introduction to color maps, Xdisplays, PseudoColor vs. TrueColor, etc. that can help me solve the problem myself without my having to know (or be forced to learn) how to program X. Please respond via email to btr@unh.edu Thanks! -- Brad