Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Tom Leitner <tom@radar.tu-graz.ac.at>
Subject: Re: "Cannot allocate color map entry" error
Date: 6 Sep 2000 19:33:51 GMT	[thread overview]
Message-ID: <8p666v$mdl$1@fstgss02.tu-graz.ac.at> (raw)
In-Reply-To: ericb-1DA3F2.03210206092000@newsstand.cit.cornell.edu

Eric Bennett <ericb@pobox.com> wrote:

> That command reports the following for our machines (PowerStorm 350):

> screen #0:
>   dimensions:    1280x1024 pixels (280x236 millimeters)
>   resolution:    116x110 dots per inch
>   depths (6):    1, 4, 8, 12, 24, 32
>   root window id:    0x32
>   depth of root window:    24 planes
>   number of colormaps:    minimum 1, maximum 10
>   default colormap:    0x20
>   default number of colormap cells:    256

> But there are still problems with running out of colors.  Is it possible 
> to change the "default number of colormap cells" to something larger 
> than 256?  I assume not, but if it is possible it would be nice to know.  

[...] You haven't posted the most important information: The supported
and configured visual list! This hardware apparently supports different
colour depths. Now it depends on the configuration which color depth
(or visual) is the default. Many (older) programs programs can only work
with the default visual. If your default visual is 8-bit PseudoColor, you
still run into "out of color" problems. Newer programs either look for
the most appropriate visual for themselves or can be told which visual
to use. For instance netscape has the command line option "-visual"
to dell it which visual to use. So if your hardware supports multiple
visuals and the default is PSeudoColors, your best bet is to start 
netscape with "netscape -visual xx" when XX is the visual number
of some TrueColor visual as listed in "xdpyinfo".

BTW: The default visual can be changed with

X -vclass TrueColor -depth 16

I recommend a default depth of 16 because everything higher requires 
too much memory for pixmaps and does not pay you much in terms of 
the number of available colors.

All this can be set in /etc/dt/config/Xservers (copy from 
/usr/dt/config/Xservers if it doesn't exist yet).

Tom
-- 
Dr. Tom Leitner             Dept. of Communications, Graz Univ. of Technology,
tom@radar.tu-graz.ac.at     Inffeldgasse 12, A-8010 Graz / Austria / Europe
PGP public key @ http://wiis.tu-graz.ac.at/people/tom.html


  reply	other threads:[~2000-09-06 19:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-30  4:00 "Cannot allocate color map entry" error Mike Cooley
2000-08-30  4:00 ` Jeff Donsbach
2000-08-31 15:49   ` Mike Cooley
2000-09-01 15:53     ` Daniel Schunneman
2000-09-01 21:31       ` Mike Cooley
2000-09-02  4:15       ` Eric Bennett
     [not found]       ` <8p0j77$65p$1@nnrp1.deja.com>
2000-09-05 19:12         ` waco_johnny_d
2000-09-05 21:00           ` Jeff Donsbach
2000-09-06  7:21             ` Eric Bennett
2000-09-06 19:33               ` Tom Leitner [this message]
2000-09-11 14:59                 ` Adriano Prado
2000-09-11 17:04                   ` Joerg-Uwe Tessmer
read-only archive

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