Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* HELP! X colormap table full (DEC 3000/300)
@ 1995-06-23  4:00 Jean MAUPAS
  1995-06-23  4:00 ` oberman
  1995-06-23  4:00 ` Dan Pop
  0 siblings, 2 replies; 3+ messages in thread
From: Jean MAUPAS @ 1995-06-23  4:00 UTC (permalink / raw)


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 ???

Thanx for any advice,
Jean
-- 
Jean MAUPAS                        email: JM@upcl.univ-lyon1.fr
Clinical Pharmacology Service      phone: (33) 72 11 52 32
162, avenue Lacassagne             fax:   (33) 78 53 10 30
BP 3041                            telex: PHACLI 900 444 F  
69394 Lyon Cedex 3                 web:   http://alp1.univ-lyon1.fr/users/jm
France




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

* Re: HELP! X colormap table full (DEC 3000/300)
  1995-06-23  4:00 HELP! X colormap table full (DEC 3000/300) Jean MAUPAS
  1995-06-23  4:00 ` oberman
@ 1995-06-23  4:00 ` Dan Pop
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Pop @ 1995-06-23  4:00 UTC (permalink / raw)


In <3sdvrn$2sc@cismsun.univ-lyon1.fr> Jean MAUPAS <jm@upcl.univ-lyon1.fr> writes:

>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 ???

The size of the colormap table is imposed by your graphics hardware
(256 colours in your case).  If you want more, get a true colour 
graphics card (one for TurboChannel, of course).

Another solution is to try to start the "offending" application in its
own colourmap, if possible.  This might give you genuine headaches,
however (experiment with xv or netscape, which have this capability).
 
Dan
--
Dan Pop
CERN, CN Division
Email: Dan.Pop@mail.cern.ch 
Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland



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

* RE: HELP! X colormap table full (DEC 3000/300)
  1995-06-23  4:00 HELP! X colormap table full (DEC 3000/300) Jean MAUPAS
@ 1995-06-23  4:00 ` oberman
  1995-06-23  4:00 ` Dan Pop
  1 sibling, 0 replies; 3+ messages in thread
From: oberman @ 1995-06-23  4:00 UTC (permalink / raw)


In Article <3sdvrn$2sc@cismsun.univ-lyon1.fr>
Jean MAUPAS <jm@upcl.univ-lyon1.fr> 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



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

end of thread, other threads:[~1995-06-23  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-23  4:00 HELP! X colormap table full (DEC 3000/300) Jean MAUPAS
1995-06-23  4:00 ` oberman
1995-06-23  4:00 ` Dan Pop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox