On Sun, 2008-08-31 at 14:19 +0100, Daniel P. Berrange wrote: > On Sat, Aug 30, 2008 at 08:37:13PM -0600, Eric Anopolsky wrote: > > Hi, > > > > I'm trying to fix a bug in the vinagre VNC client that causes very slow > > performance over the Internet. I think the cause is that vinagre doesn't > > reduce the color depth to conserve bandwidth automatically or give this > > choice to the user. > > > > According to the author, vinagre uses gtk-vnc. Does gtk-vnc allow > > applications to set the color depth at connection time? The wiki is down > > so I can't research this question there. According to the README file in > > the gtk-vnc source, the public API is in vncdisplay.h, and I didn't see > > anything likely in there. > > > > If gtk-vnc does not have this capability, are there any plans to add it? > > If there aren't, how would I go about adding it? > > It doesn't have this ability at the moment. We'd welcome someone doing > the work to enable this. The naive approach most VNC clients take is to > allow the user to select particular VNC encodings / colourdepths. I'm > not a particular fan of allowing users to choose VNC encodings because > it is asking the user to make tradeoffs based on technical details they > really don't know anything about. > > To my mind we really need some kind of API to allow applications to > specify whether they want to priortize accurate / high quality rendering > vs high speed / low bandwidth data rates, and then internally let GTK-VNC > decide the best colordepth/encoding to match this. That said, you should > send a note to the mailing list to discuss ideas like this before doing > implementation, because the other guys on the team may have better ideas. I have to agree. What do you all think? Cheers, Eric
Attachment:
signature.asc
Description: This is a digitally signed message part