From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,a1e6fccd7c979180 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-09-06 12:45:18 PST Path: supernews.google.com!sn-xit-02!sn-east!sn-xit-uk!supernews.com!193.162.153.122.MISMATCH!news.tele.dk!134.222.94.5!npeer.kpnqwest.net!nmaster.kpnqwest.net!blackbush.xlink.net!news-kar1.dfn.de!news-fra1.dfn.de!aconews.univie.ac.at!news.tu-graz.ac.at!not-for-mail From: Tom Leitner Newsgroups: comp.unix.tru64 Subject: Re: "Cannot allocate color map entry" error Date: 6 Sep 2000 19:33:51 GMT Organization: Technische Universitaet Graz, Austria Message-ID: <8p666v$mdl$1@fstgss02.tu-graz.ac.at> References: <39AD6880.47DFF872@usa.alcalel.com> <8ojqu6$d9nh$1@lead.zk3.dec.com> <39AE7E9D.8F9C31A1@usa.alcalel.com> <8oojdr$4gk$2@mailint03.im.hou.compaq.com> <8p0j77$65p$1@nnrp1.deja.com> <8p3gik$6mq$1@nnrp1.deja.com> <8p3msq$7s9i$1@lead.zk3.dec.com> NNTP-Posting-Host: finwal01.tu-graz.ac.at X-Trace: fstgss02.tu-graz.ac.at 968268831 22965 129.27.138.63 (6 Sep 2000 19:33:51 GMT) X-Complaints-To: news@zid.tu-graz.ac.at NNTP-Posting-Date: 6 Sep 2000 19:33:51 GMT User-Agent: tin/1.5.6-20000803 ("Dust") (UNIX) (OSF1/V4.0 (alpha)) Xref: supernews.google.com comp.unix.tru64:294 Eric Bennett 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