The problem is this bit:

>    visual id:    0x2a
>    class:    PseudoColor
>    depth:    8 planes
>    size of colormap:    224 entries
>    red, green, blue masks:    0x0, 0x0, 0x0
>    significant bits in color specification:    8 bits

It claims to have 8 planes (bits) but only gives you 224 colormap entries.
As far as I understand it that's just broken.  However I think it should be
possible to fix it in x0vncserver (vncviewer will probably need a similar
fix).  I'll look into implementing it.

Cheers

Tristan

----- Original Message ----- 
From: "Mike Dennison" <[EMAIL PROTECTED]>
To: "Tristan Richardson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 5:26 PM
Subject: RE: Beta 4 x0vncserver on Sparc Solaris 2.5


> Thanks for your response.  Sorry it took me so long to respond, been
> kinda busy.
>
> I am attaching a text file with the xdpyinfo output in it.
>
> Thanks!
>
> -----------------------
> Mike Dennison
> VP of Information Systems
> BC Technical
> 4272 West Nike Drive
> West Jordan, UT 84088
> 801-280-2900
>
>

sunny# /usr/openwin/bin/xdpyinfo
name of display:    :0.0
version number:    11.0
vendor string:    Sun Microsystems, Inc.
vendor release number:    3510
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 0x6000018, revert to Parent
number of extensions:    16
    SUN_ALLPLANES
    Adobe-DPS-Extension
    DPSExtension
    SHAPE
    MIT-SHM
    Multi-Buffering
    XInputExtension
    XInputDeviceEvents
    XTEST
    MIT-SUNDRY-NONSTANDARD
    SUN_DGA
    SolarisIA
    SUN_OVL
    AccessX
    SUN_SME
    X3D-PEX
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1152x900 pixels (325x254 millimeters)
  resolution:    90x90 dots per inch
  depths (3):    1, 8, 24
  root window id:    0x30
  depth of root window:    8 planes
  number of colormaps:    minimum 1, maximum 5
  default colormap:    0x2e
  default number of colormap cells:    224
  preallocated pixels:    black 1, white 0
  options:    backing-store YES, save-unders YES
  current input event mask:    0x150201d
    KeyPressMask             ButtonPressMask          ButtonReleaseMask
    EnterWindowMask          ButtonMotionMask
SubstructureRedirectMask
    PropertyChangeMask       OwnerGrabButtonMask
  number of visuals:    11
  default visual id:  0x2a
  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:    8 bits
  visual:
    visual id:    0x21
    class:    StaticColor
    depth:    8 planes
    size of colormap:    256 entries
    red, green, blue masks:    0x7, 0x38, 0xc0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x22
    class:    StaticGray
    depth:    8 planes
    size of colormap:    256 entries
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x23
    class:    GrayScale
    depth:    8 planes
    size of colormap:    256 entries
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x24
    class:    TrueColor
    depth:    8 planes
    size of colormap:    8 entries
    red, green, blue masks:    0x7, 0x38, 0xc0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x25
    class:    DirectColor
    depth:    8 planes
    size of colormap:    8 entries
    red, green, blue masks:    0x7, 0x38, 0xc0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x26
    class:    StaticGray
    depth:    8 planes
    size of colormap:    256 entries
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2a
    class:    PseudoColor
    depth:    8 planes
    size of colormap:    224 entries
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x27
    class:    TrueColor
    depth:    24 planes
    size of colormap:    256 entries
    red, green, blue masks:    0xff, 0xff00, 0xff0000
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x28
    class:    DirectColor
    depth:    24 planes
    size of colormap:    256 entries
    red, green, blue masks:    0xff, 0xff00, 0xff0000
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x29
    class:    TrueColor
    depth:    24 planes
    size of colormap:    256 entries
    red, green, blue masks:    0xff, 0xff00, 0xff0000
    significant bits in color specification:    8 bits
  number of mono multibuffer types:    11
    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
    visual id, max buffers, depth:    0x26, 0, 8
    visual id, max buffers, depth:    0x2a, 0, 8
    visual id, max buffers, depth:    0x27, 0, 24
    visual id, max buffers, depth:    0x28, 0, 24
    visual id, max buffers, depth:    0x29, 0, 24
  number of stereo multibuffer types:    0
sunny#

> -----Original Message-----
> From: Tristan Richardson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 15, 2003 3:47 AM
> To: Mike Dennison; [EMAIL PROTECTED]
> Subject: Re: Beta 4 x0vncserver on Sparc Solaris 2.5
>
> This sounds like it might be a problem with Sun's multi-depth X server.
> I
> think the error is saying that it can't look up pixel value 224 (0xe0).
> This is bizarre as it appears to have an 8-bit colourmap so any value
> from 0
> to 255 ought to be valid.
>
> What does xdpyinfo say on the two different types of machine?
>
> Cheers
>
> Tristan
> _______________________________________________
> VNC-List mailing list
> [EMAIL PROTECTED]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to