[Bug 682338] Re: GTK programs in Ubuntu 10.10 are sluggish over NX

Evan Broder evan at ebroder.net
Tue Feb 14 09:23:52 UTC 2012


Unfortunately it's a little more complicated than just which X server
Ubuntu 12.04 contains. If you were to, say, X-forward an application
from an Ubuntu 12.04 machine to a machine with an old server, you could
crash that X server. Ideally, we would patch cairo to specifically
detect the NX agent's X server, but I haven't been able to come up with
a way to do that.

After consulting with Sebastien, I've come up with the attached patch,
which still disables the workaround for buggy repeat, but only for the
specific X version that that the NX agent advertises. While our best
judgement is that the NX agent is likely to be significantly more common
than X-forwarding to an X server from 7 years ago, I'd still like to
limit the scope of the change.

I've uploaded a test build with this patch to my PPA
(http://launchpad.net/~broder/+archive/ubuntu-tests); it should build
and be available shortly. I'll attempt to test it, but if people who
actively use NX could test it as well, that would be appreciated.
Assuming no snags, I'll plan to upload it to the archive in the next few
days.

(In the mean time, I'm going to go ahead and unsubscribe ubuntu-
sponsors, but I'll keep an eye on the bug myself)

** Patch added: "cairo_1.10.2-6.1ubuntu3.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/682338/+attachment/2737941/+files/cairo_1.10.2-6.1ubuntu3.debdiff

** Patch removed: "nx_cairo_1.10.2-6ubuntu3.patch"
   https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/682338/+attachment/2656561/+files/nx_cairo_1.10.2-6ubuntu3.patch

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/682338

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

Status in libcairo  -  cairo vector graphics library:
  Confirmed
Status in “cairo” package in Ubuntu:
  Triaged
Status in “cairo” source package in Precise:
  Triaged

Bug description:
  I use NX to connect to a work computer from home, over the Internet.
  I recently upgraded to Ubuntu 10.10, and I noticed that GTK programs
  became very sluggish.

  I currently have 1.10.0-1ubuntu3 of libcairo2 installed.  If I
  override this with the Ubuntu 10.04 version of libcairo2,
  1.8.10-2ubuntu1, performance is restored.  I used LD_LIBRARY_PATH to
  run GTK programs with the old libcairo2 package.

  I'll attach a video demonstrating how much faster gedit is using the
  old libcairo2 package.

  Both my home and work computer run Ubuntu 10.10.

  The work computer has these NX packages installed:
  nxclient-3.4.0-7
  nxnode-3.4.0-14
  nxserver-3.4.0-14

  The home computer only has the nxclient-3.4.0-7 package installed.

  The ping times from my home computer to work computer are about 35ms.

  I suspect this issue is related to, or a duplicate of, bug #595845.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: libcairo2 1.10.0-1ubuntu3
  ProcVersionSignature: Ubuntu 2.6.35-22.35-generic-pae 2.6.35.4
  Uname: Linux 2.6.35-22-generic-pae i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  Date: Sun Nov 28 03:23:50 2010
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: cairo

To manage notifications about this bug go to:
https://bugs.launchpad.net/libcairo/+bug/682338/+subscriptions



More information about the Ubuntu-sponsors mailing list