[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

16-bit TrueColor visual unfriendly to rgbi colorspace



On Fri, May 11, 2001 at 11:40:18AM +0200, Christian Hammers wrote:
> This features is broken on my screen:
> 	xeniac:/etc/X11/app-defaults# xterm
> 	xterm: Cannot allocate color rgbi:0.2/0.2/1.0
> This error appears when it first tries to e.g. list a directory where I 
> use blue color for. When I exchange this string by "blue" it works.
[...]
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits

I find it very surprising that you're getting color allocation problems in
a TrueColor visual, since there is no palette.

If true, this makes some of the screaming complaints I've been getting a
little more understandable.

What color is the X server electing to give you?  (I don't actually know
how to find this out.)  It shouldn't be very far off.  I find it rather
amazing that the server is having trouble; if you limit yourself to one
significant digit in the rgbi space, there are only 1000 possible colors,
which is a pretty small portion of even a 15-bit colorspace.

I'm Cc'ing this to the Xpert mailing list so that a cluebat can be
appropriately applied to my head.

-- 
G. Branden Robinson             |         Yesterday upon the stair,
Debian GNU/Linux                |         I met a man who wasn't there.
branden@debian.org              |         He wasn't there again today,
http://www.debian.org/~branden/ |         I think he's from the CIA.

Attachment: pgp7T0Cj9ok8W.pgp
Description: PGP signature


Reply to: