gtk-vnc is unusable slow compared to tightvncviewer

Bug #910058 reported by Ralf Spenneberg on 2011-12-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk-vnc (Ubuntu)
Medium
Unassigned

Bug Description

Ubuntu Precise with all updates
gtk-vnc: libgtk-vnc-1.0-0 0.5.0-1ubuntu1
vinagre: 3.3.3-0ubuntu1
xtightvncviewer: 1.3.9-6.2
qemu-kvm: 1.0+noroms-0ubuntu2
Virtual guest with Windows 7 32bit

When using Qemu-kvm to virtualize guests the virt-viewer and vinagre (both based on gtk-vnc) are very slow.
The first drawing of a desktop of 1024x768 takes about 5 seconds. The mouse behaves very sluggish and you can actually move the mouse faster than displayed. When the physical mouse movement stopped the mouse pointer will still be moving for several seconds.

Using vncviewer from the xtightvncviewer package does not have this problem. The initial screen is drawn in less than a second. The mouse movement is fast.

Unfortunately xtightvncviewer is no alternative, since the keymaps are not mapped correctly.

datube (datube) wrote :

Hi,

Although I know that this one is an old one, we experiencing the same problem with virt-manager. The console is unusable slow to be usefull. To get back to the "console speed" I was used to in Lucid, in Precise I did the following:

- downloaded the following files: libgtk-vnc-1.0-0_0.3.10-2ubuntu2.2_i386.deb & python-gtk-vnc_0.3.10-2ubuntu2.2_i386.deb
- from python-gtk-vnc: boldy copied /usr/lib/python2.6/dist-packages/gtkvnc.so over /usr/lib/python2.7/dist-packages/gtkvnc.so
- downgraded libgtk-vnc: dpkg -i --force-all libgtk-vnc-1.0-0_0.3.10-2ubuntu2.2_i386.deb

After that I gained back the usability for virt-manager and I'm able to watch htop (for example) on a guest as I expected. Hopefully this will be resolved. Thanks in advance.

Thanks for reporting this bug. I've personally not seen this.

Would you be able to bisect this using git://git.gnome.org/gtk-vnc?
Something like

 git clone git://git.gnome.org/gtk-vnc
 git clone
 git bisect bad
 git co v0.3.10
 git bisect good

 importance: medium

Changed in gtk-vnc (Ubuntu):
importance: Undecided → Medium
datube (datube) wrote :

Hi,

I would help you if I was able to understand what you mean. Can you give me some more directions or can I help in another way?

Thanks

Serge Hallyn (serge-hallyn) wrote :

Do you see this only with windows guests? (I dont' have access to those right now) Is there a linux distribution/release with which you can reproduce this (both slow with new package and fast with old)?

datube (datube) wrote :

* Do you see this only with windows guests?
No, most of our KVM machines are Debian and/or Ubuntu. I didn't yet tried a Windows guest.

* Is there a linux distribution/release with which you can reproduce this?

Distribution/release which works as expected:

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Codename: lucid

virt-manager (0.3.10-2ubuntu2.2)
libgtk-vnc-1.0-0 (0.3.10-2ubuntu2.2)
python-gtk-vnc (0.3.10-2ubuntu2.2)

Distribution which works slow:
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise

virt-manager (0.9.1-1ubuntu5.1)
libgtk-vnc-1.0-0 (0.5.0-1ubuntu1)
libgtk-vnc-2.0-0 (0.5.0-1ubuntu1)
python-gtk-vnc (0.5.0-1ubuntu1)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers