pixel format is out of sync, after refreshing and suddenly changing pixel format

Peter Rosin peda "at" lysator.liu.se
Thu Dec 13 12:51:01 2007


On Thu, Dec 13, 2007 at 12:40:11PM -0000, James Weatherall wrote:
> Peter,
> 
> It is a limitation of the RFB 3.x protocol, which requires that update
> requests are required to be matched 1-to-1 by framebuffer updates, although
> this isn't strictly required if the pixel format isn't going to change.  It
> therefore affects VNC Free Edition & software based upon it.

Hi Wez,

Indeed, but to reiterate a previously unanswered question:

When the solution is a simple as introducing a pseudo-encoding that
gets sent (if requested of course) as an empty rect before any rect
with the new pixfmt is sent, why not introduce that?

(i.e. similar to the DesktopSize pseudo-encoding)

Cheers,
Peter