After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 485204 - Configurable color depth support
Configurable color depth support
Status: RESOLVED FIXED
Product: vinagre
Classification: Applications
Component: VNC
git master
Other All
: Normal normal
: ---
Assigned To: Jonh Wendell
vinagre-maint
: 523817 530446 539204 562894 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-10-09 21:24 UTC by Kevin Verma
Modified: 2010-10-15 11:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to support lossy encoding option (19.00 KB, patch)
2009-07-24 09:22 UTC, David Fraser
none Details | Review

Description Kevin Verma 2007-10-09 21:24:27 UTC
Please add support to adjust color depth of session within Vinagre. 

Far remote systems running VNC sessions are more manageable & usable over lower depth rate. Client side configuration option adds flexibility to VNC client users to adjust depth depending on their requirement or bandwidth limitations per session. 

Thanks for Vinagre
Comment 1 Mart Raudsepp 2008-02-25 07:18:45 UTC
Some packing configuration would be nice too...
Until there is a way to make a remote connection (WAN) work fine with less bandwidth over a ssh tunnel, vinagre is unfortunately completely unusable to me
Comment 2 Jonh Wendell 2008-03-23 18:53:28 UTC
*** Bug 523817 has been marked as a duplicate of this bug. ***
Comment 3 gnomebugs 2008-04-21 18:30:35 UTC
It would be nice to have options for both low and high bandwidth connections. I'm using a VNC server on a local gigabit LAN, and performance seems to be more sluggish than it does using raw encoding in a different vnc client (i.e. computer performance is more of an issue than network performance).

As an aside, I'm so glad this is being shipped with the new gnome. The old VNC options were massively inferior to this one!
Comment 4 Jonh Wendell 2008-04-28 21:20:30 UTC
*** Bug 530446 has been marked as a duplicate of this bug. ***
Comment 5 pt3 2008-05-07 09:28:32 UTC
I don't think it's just the color depth that is causing the problems. It's also how the data is being encoded/compressed. 
I also don't see any options in Vinagre apart from window height and size.
Comment 6 Jonh Wendell 2008-06-20 01:49:07 UTC
*** Bug 539204 has been marked as a duplicate of this bug. ***
Comment 7 Jonh Wendell 2008-12-11 19:57:55 UTC
*** Bug 562894 has been marked as a duplicate of this bug. ***
Comment 8 Mantas Kriaučiūnas 2009-01-27 15:33:13 UTC
Other Linux VNC clients works fine in both low and high bandwidth connections, look for example at tsclient (http://sourceforge.net/projects/tsclient ). I'm using tsclient instead of vinagre for about 2 years in Ubuntu and Debian distributions, as vinagre works terribly slowly with majority internet connections in our country (Lithuania), except local LAN.
Comment 9 Mantas Kriaučiūnas 2009-01-27 15:36:58 UTC
Look at https://launchpad.net/bugs/203782 for more info from Vinagre users
Comment 10 Kevin Verma 2009-01-29 08:32:14 UTC
Hi, is there any work in progress for this feature ? 

Regards,
Comment 11 Shahar Or 2009-04-15 11:48:48 UTC
Dear friends,

I was happy to see vino and vinagre in Ubuntu and surprised that vinagre doesn't have any image quality settings to enable higher speeds. As it is, without this feature, vinagre is not usable for me as it is too slow over the internet.

I am sure many will find this feature valuable.

Many blessings.
Comment 12 John OBrien 2009-06-11 16:12:15 UTC
Could the features from TightVNC be incorporated into vino? 
Comment 13 David Fraser 2009-07-24 08:03:44 UTC
Wouldn't the underlying change first have to be made in gtk-vnc? Should we file a feature request there?
Comment 14 David Fraser 2009-07-24 09:12:37 UTC
(In reply to comment #13)
> Wouldn't the underlying change first have to be made in gtk-vnc? Should we file
> a feature request there?
> 

Apparently not. As a start, I've created a patch that allows setting the lossy encoding, which gtk-vnc supports. This could be extended/altered to select different encoding types...
Comment 15 David Fraser 2009-07-24 09:22:21 UTC
Created attachment 139137 [details] [review]
Patch to support lossy encoding option

Added a patch to support lossy encoding. This is mostly because it seemed the easiest bandwidth-lowering option from gtk-vnc, and I was trying to find my way round the code. Should be easily adjusted to support color depth etc.

In the vinagre developers' eyes, would it be best to have an option mirroring each gtk-vnc option, or to have a single "Low bandwidth" switch?
Comment 16 David Fraser 2009-07-24 09:59:17 UTC
Hmmm it seems the key change would actually be to alter gtk-vnc to support a different preferred pixel format (currently it chooses true color in on_get_preferred_pixel_format)
Comment 17 Jonh Wendell 2009-10-02 12:50:39 UTC
I just committed the fix in "depth" branch, as it depends on gtk-vnc trunk. Once a new gtk-vnc tarball is released, I'll merge the fix into master.
Comment 18 Shahar Or 2009-10-02 16:35:43 UTC
Wow, Jonh.

That is great!
Comment 19 Jan Claeys 2010-10-15 11:14:47 UTC
You might want to test with different typical bandwidths (LAN, public WiFi, broadband, not-so-broadband, etc.) and see what combination of settings works best with each of them.  Something like "low bandwidth" is a bit abstract & subjective...

Even better would be to dynamically adapt to available bandwidth of course.  ;-)