Help needed with X vncviewer
Adam
asn "at" mediaone.net
Wed, 27 Oct 1999 00:17:45 +0000
Mike Miller wrote:
> Using default colormap and translating from BGR233. Pixel format:
> 8 bits per pixel.
> True colour: max red 7 green 7 blue 3, shift red 0 green 3 blue 6
> Got 242 exact BGR233 colours out of 256
It seems that you are running the viewer on an 8 bit pseudo-color
display (many suns are). The vncserver is sending truecolor to the
viewer, but the best the viewer can do is to squeeze the 32 bit into 8
bits (BGR233 means 2 bits for blue, 3 for green and red). Moreover,
since the local display is pseudo-color, even the reduced precision
colors may not be represented correctly by the display's colormap. In
your case, 242/256 colors will be correct (or close), but 14 of them
could be WAY off. If you start the viewer with "-owncmap", it should be
able to do a decent job with all 256 colors, but you'll notice that the
colormap will flash as you move the mouse into or out of the vncviewer
window.
You could also run the vnc server in 8 bit mode. That would cause
applications to select colors more suitable to your REAL display, but
you would still have the colormap issue.
Hope that explains it...it's not a bug as far as i can tell, just a
limitation of the display hardware.
-Adam
>
> So why does it not show full color? If I use the -truecolor switch it
> totally flips out and gives completely wrong colors.
>
> I'm sure there is a bug in the program. It happened when I use the
> Solaris 2.5 precompiled binaries, so I built vncserver and Xvnc both
> myself for my Solaris 2.6 OS and it still does the same thing.
>
> I hope someone will take a look at it.
>
> Thanks much.
>
> Mike
>
> --
> Michael B. Miller, M.S., Ph.D., M.P.E.
> Department of Psychology
> 210 McAlester Hall
> University of Missouri--Columbia
> Columbia, MO 65211
> Phone: (573) 882-5671
> Fax: (573) 882-7710
> e-mail: mbmiller "at" taxa.psyc.missouri.edu
> web: http://taxa.psyc.missouri.edu/~mbmiller/
>
> ---------------------------------------------------------------------
> The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
--
qwerty keyboards make it very easy to type qwerty...
---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------