From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f92d7859628e6e72 X-Google-Attributes: gidfee84,public From: oberman@icaen.llnl.gov Subject: RE: HELP! X colormap table full (DEC 3000/300) Date: 1995/06/23 Message-ID: <3sel5t$k6j@lll-winken.llnl.gov>#1/1 X-Deja-AN: 104877152 references: <3sdvrn$2sc@cismsun.univ-lyon1.fr> organization: Lawrence Livermore National Laboratory newsgroups: comp.unix.osf.osf1 In Article <3sdvrn$2sc@cismsun.univ-lyon1.fr> Jean MAUPAS writes: >Hi, >we have experienced the following problem, using X applications on a DEC >3000/300 running OSF V3.2: > >X Toolkit Warning: Cannot allocate colormap entry for "tan1" >Cannot allocate colormap entry for "#e5e5e5" >Cannot allocate colormap entry for default background > >and some colors are missing on the screen... > >How to increase the size of this colormap table ??? This table is tied hardware and is (for most graphics boards) exactly 256 entries long. Unless you choose to install a private color map for an application, all applications running at any time share the 256 slots in the color table. Some, like Netscape and Mosaic, tend to grab most everything available. I always run Netscape with the -install qualifier so it uses a separate color space and does not interfere with everything else. The down-side of installing a private colormap for an app is that the colormap is only loaded into the hardware colormap when the application is the active one. The rest of the time the colors in my Netscape window look pretty much random. Any application displaying a full-color image is likely to use most, if not all available slots in the color table and may not be able to allocate everything it wants. Some tools, such as xv, go to great length to make things look fairly good by "borrowing" colors used by other applications or using similar colors when needed. But, once you have loaded an image, odds are that the colormap is completely full and any application that tries to start up while the image is being displayed will be unable to allocate colors. R. Kevin Oberman Energy Sciences Network (ESnet) National Energy Research Supercomputer Center (NERSC) Lawrence Livermore National Laboratory (LLNL) Internet: koberman@llnl.gov +1 510-422-6955