> "Tim" <[EMAIL PROTECTED]> writes:
>
> > I just upgraded from TightVNC to RealVNC on Solaris 8 (server) and
Windows
> > XP (client). At least I can compile RealVNC on Solaris as opposed to
> > TightVNC that I had to download precompiled binaries.
> >
> > I am having the same problem that Nicolas is having on SGI ... when
using
> > ZRLE the colors are weird, the blue channel is missing, the whole screen
> > is yellowish. I am running the server at 24 bpp, anything less is not an
> > option :)
> >
> > All other modes work fine, but over a slow connection I would like to be
> > able to use ZRLE.
> >
> > Any patches that fix this problem? Configuration settings that I am
> > missing?

I've finally managed to reproduce this on our Solaris box.  As Nicolas
pointed out, it only happens when the desktop is being viewed from a Windows
viewer with ZRLE and full-colour mode.  It doesn't often show up because on
really slow connections the viewer should be using 8-bit mode so you won't
see it and on fast connections it will be using hextile, so again you won't
see the problem.

It turns out to be a bug in the Windows viewer, which is easy to fix if you
can recompile it.  I enclose a patch at the end of this mail.

Cheers

Tristan



diff -b -c -r1.13 ClientConnection.cpp
*** ClientConnection.cpp 29 Aug 2002 20:13:30 -0000 1.13
--- ClientConnection.cpp 17 Oct 2002 18:31:00 -0000
***************
*** 708,713 ****
--- 708,714 ----

    // Normally we just use the sever's format suggestion
    m_myFormat = m_si.format;
+                 m_myFormat.bigEndian = 0; // always little endian

    // It's silly requesting more bits than our current display has, but
    // in fact it doesn't usually amount to much on the network.
***************
*** 757,763 ****
      spf.format.redMax = Swap16IfLE(spf.format.redMax);
      spf.format.greenMax = Swap16IfLE(spf.format.greenMax);
      spf.format.blueMax = Swap16IfLE(spf.format.blueMax);
-  spf.format.bigEndian = 0;

      WriteExact((char *)&spf, sz_rfbSetPixelFormatMsg);

--- 758,763 ----
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to