Re: [gtk-vnc-devel] patch to allow use with OS X Screen Sharing
- From: Anthony Liguori <anthony codemonkey ws>
- To: Jin Choi <jsc alum mit edu>
- Cc: gtk-vnc-devel lists sourceforge net
- Subject: Re: [gtk-vnc-devel] patch to allow use with OS X Screen Sharing
- Date: Tue, 01 Apr 2008 19:24:29 -0500
Jin Choi wrote:
On Apr 1, 2008, at 2:58 PM, Daniel P. Berrange wrote:
tightvncviewer probably explicitly asks for a reduced colour depth /
pixel
format rather than accepting the VNC server's default settings. This
can
have a noticable impact over bandwidth limited links
Dan.
That doesn't appear to be what's going on. It is using the default
32bpp format, and a whole-screen load is sub-second with
xtightvncviewer. With vinagre, you can see the screen load in strips,
the whole screen load takes about 10 seconds or so. Window moves lag
about five seconds, whereas with tightvnc there is sub-second lag.
The only possibility would be that tightvnc is using the tight encoding
with lossy jpeg compression. Depending on what your background was,
this could make a very big difference in compression. Please try
gvncviewer with the following patch and let me know if it helps. Try
adjusting the '5' from 1 to 9 and see if how much of a difference that
makes.
diff -r 7fd767383ac8 examples/gvncviewer.c
--- a/examples/gvncviewer.c Wed Mar 19 09:43:33 2008 -0500
+++ b/examples/gvncviewer.c Tue Apr 01 19:23:29 2008 -0500
@@ -348,6 +348,7 @@ int main(int argc, char **argv)
vnc_display_set_keyboard_grab(VNC_DISPLAY(vnc), TRUE);
vnc_display_set_pointer_grab(VNC_DISPLAY(vnc), TRUE);
//vnc_display_set_pointer_local(VNC_DISPLAY(vnc), TRUE);
+ vnc_display_set_lossy_encoding(VNC_DISPLAY, 5);
gtk_signal_connect(GTK_OBJECT(window), "delete-event",
GTK_SIGNAL_FUNC(gtk_main_quit), NULL);
Regards,
Anthony Liguori
It does report that it is "Using shared memory PutImage". Would this
make a difference?
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Gtk-vnc-devel mailing list
Gtk-vnc-devel lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtk-vnc-devel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]