Hi.  There are several problems with this, as implemented, and now that
I think about the problem in more detail, I am remembering some of the
reasons why I implemented ALR on the server side.  Probably the biggest
reason is what I call the "blinking cursor dilemma."  There are some
ill-behaved window managers out there that continuously update their
taskbar widgets using small XCopyArea operations, and similarly, if you
have a console window open, it will create a similar phenomenon because
of the blinking cursor.  Thus, the default ALR behavior is currently to
only make PutImage() operations eligible for ALR, and the only way to do
that is to hook into the PutImage handler in the server-side VNC code.
Additionally, ALR maintains a list of tiles and only sends lossless
updates for the ones that were previously sent using JPEG.  That could
potentially be done from the client side as well, but it would be
problematic on high-latency networks, because it would require a round
trip (potentially several, because we might have to send a new
framebuffer update request for each JPEG tile for which we're requesting
a lossless copy.)

I'm being paid to come up with an automatic lossless refresh solution
for TigerVNC, so I'll be revisiting some of these assumptions over the
next few months.  At the moment, my inclination is to leave TurboVNC as-is.


On 5/12/11 5:07 AM, Arthur Huillet wrote:
> Hi,
> 
> The attached patch implements ALR, based on a Xt timeout that is reset after
> each framebuffer update.
> 
> I have added -alrjpeg to enable use of JPEG Q95 for "ALR", because in some
> cases I do not want to use truly lossless (low bandwidth).
> 
> If you're happy, please apply.
> 
> Next in line: add both options to the F8 menu, and factorize the code with the
> "request ALR" feature.
> 

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
VirtualGL-Devel mailing list
VirtualGL-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-devel

Reply via email to