wrong colours with a 16 depth
Frederic Dumas
fdumas "at" ina.fr
Wed, 01 Mar 2000 16:54:23 +0000
Hello,
I am running vnc server from a linuc pc with:
vncserver -depth 16 -geometry 1280x1024
When the viewer is set with a 16 depth, I do not get all the colours
right. It only works well with a 24 depth, which is slower and weird, as
the server only uses a 16 depth. I have tried to play with the command
options and did not succeed in having a 16 depth with all colours. I
have tried to follow FAQ suggestions with no result. Does anyone have a
hint on this problem?
Thanks for any help,
Frederic
--
PS:
- I use the following versions:
vnc-3.3.3r1_unixsrc.tgz
vnc-3.3.3r1_x86_linux_2.0.tgz
- I run the viewer on an sgi workstation (Irix 5.3). I have removed (!)
the usleep lines in the source as it is not known by Irix 5.3 (I do not
think it could be the problem?)
- 'vncviewer -truecolour -depth 24' gives the right colours and produces
the following output:
VNC authentication succeeded
Desktop name "fdumas's X desktop (pc1.ina.fr:1)"
Connected to VNC server, using protocol version 3.3
VNC server default format:
16 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 63 green 31 blue 31, shift red 0 green 6 blue 11
Using TrueColor visual, depth 24. Pixel format:
32 bits per pixel.
Most significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 0 green 8 blue
16
- 'vncviewer -truecolour -depth 16' gives wrong colours and produces the
following output:
Connected to VNC server, using protocol version 3.3
VNC server default format:
16 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 63 green 31 blue 31, shift red 0 green 6 blue 11
Couldn't find a matching TrueColor visual.
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 149 exact BGR233 colours out of 256
Using 20 existing shared colours
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------