Hi,

I'm running an app that requires 8-plane depth, and am having some trouble.
When I display it on a Solaris box running 24-plane depth, it automatically
selects an 8-plane visual to run in, and everything is great.  When I try to
display it under XFree86 running 24-plane depth, it can't find an 8-plane
visual, and crashes.  I'd really like to avoid having to run 8-plane depth.

I'm far from knowledgable when it comes to X visuals, but I dug up the
following.  Here's the pertinent (I think) output from xdpyinfo on the Solaris
box:

name of display:    unix:0.0
version number:    11.0
vendor string:    Sun Microsystems, Inc.
vendor release number:    3610
maximum request size:  262140 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, MSBFirst, 32
image byte order:    MSBFirst
number of supported pixmap formats:    3
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 132
focus:  window 0x540000d, revert to Parent
number of extensions:    27
    AccessX
...
...
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1920x1200 pixels (541x338 millimeters)
  resolution:    90x90 dots per inch
  depths (3):    1, 8, 24
  root window id:    0x37
  depth of root window:    8 planes
  number of colormaps:    minimum 1, maximum 5
  default colormap:    0x34
  default number of colormap cells:    256
  preallocated pixels:    black 1, white 0
  options:    backing-store YES, save-unders YES
  largest cursor:    64x64
  current input event mask:    0x58003d
    KeyPressMask             ButtonPressMask         
ButtonReleaseMask        
    EnterWindowMask          LeaveWindowMask         
SubstructureNotifyMask   
    SubstructureRedirectMask PropertyChangeMask       
  number of visuals:    16
  default visual id:  0x20
  visual:
    visual id:    0x20
    class:    PseudoColor
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x21
...

The significant difference (once again, I think) that I see between this and
the same output on the box running XFree86 is:

  number of colormaps:    minimum 1, maximum 1

on the XFree86 box, instead of:

  number of colormaps:    minimum 1, maximum 5

on the Solaris box.


#1  Is this the problem, and if so how do I set the maximum to higher than 1?

#2  If this is not the problem, what is, and how can I fix it?


Thanks in advance,

Russ
-- 

=======================================================================
=       Russ E Radke              =     (970)206-5855                 =
=       Analog Design Engineer    =     (970)206-5260 FAX             =
=       LSI Logic                 =     [EMAIL PROTECTED]           =
=======================================================================
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to