From: tex@ipf.bau-verm.uni-karlsruhe.de (Stefan Tex)
Subject: X11: Number of colors significant 
Reply-To: tex@ipf.bau-verm.uni-karlsruhe.de
Organization: IPF, University of Karlsruhe
Date: Fri, 20 Nov 1992 09:12:23 GMT

Hello,

I'm running X-Windows on my Linux PC  (0.98 pl4/5) with an ATI
graphics vantage card and the new Xlinux.8514 driver. Everything
works fine ...
BUT: xdpyinfo reports that only 6 bits are significant in color 
     specification. That's sad, because I want to implement and test
     some image processing tools and 256 different colors are absolutely
     necessary for doing this job.

QUESTION: Did I make some configuration mistakes ?? Is the 6 bit significance
          a feature (what a pity) --> the hardware of the graphic card can
          display 256 different colors !!!!

XDPYINFO displays:
  resolution:    75x75 dots per inch
  depths (2):    1, 8
  root window id:    0x29
  depth of root window:    8 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x27
  default number of colormap cells:    256
  preallocated pixels:    black 1, white 0
  options:    backing-store YES, save-unders YES
  current input event mask:    0xd0001d
    KeyPressMask             ButtonPressMask          ButtonReleaseMask
    EnterWindowMask          SubstructureRedirectMask PropertyChangeMask
    ColormapChangeMask
  number of visuals:    6
  default visual id:  0x20
  visual:
    visual id:    0x20
    class:    PseudoColor
    depth:    8 planes
    size of colormap:    256 entries
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x21
    class:    DirectColor
    depth:    8 planes
    size of colormap:    8 entries
    red, green, blue masks:    0x7, 0x38, 0xc0
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x22
    class:    GrayScale
    depth:    8 planes
    size of colormap:    256 entries
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x23
    class:    StaticGray
    depth:    8 planes
    size of colormap:    256 entries
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x24
    class:    StaticColor
    depth:    8 planes
    size of colormap:    256 entries
    red, green, blue masks:    0x7, 0x38, 0xc0
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x25
    class:    TrueColor
    depth:    8 planes
    size of colormap:    8 entries
    red, green, blue masks:    0x7, 0x38, 0xc0
    significant bits in color specification:    6 bits
  number of mono multibuffer types:    6
    visual id, max buffers, depth:    0x20, 0, 8
    visual id, max buffers, depth:    0x21, 0, 8
    visual id, max buffers, depth:    0x22, 0, 8
    visual id, max buffers, depth:    0x23, 0, 8
    visual id, max buffers, depth:    0x24, 0, 8
    visual id, max buffers, depth:    0x25, 0, 8
  number of stereo multibuffer types:    0




Thanks in advance 
Stefan
---

********************** Brain fault (core dumped) **********************
       |^^^^^^|        __________________________________
       |      |       /                                  \
       |      |      | Stefan Tex                         |
       | (o)(o)      | IPF-University of Karlsruhe        |
      @      _)      | Englerstr. 7, D-7500 Karlsruhe     |
       | ,___|     ,,| Phone: +49 721 608 4131            |
       |   /   ..''  | Fax:   +49 721 694 568             |
      /____\         | Internet:                          |
                     |  tex@ipf.bau-verm.uni-karlsruhe.de |
                     |                                    |
                      \__________________________________/