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

2021-10-13 Thread Steve Langasek
The Precise Pangolin has reached end of life, so this bug will not be
fixed for that release

** Changed in: cairo (Ubuntu Precise)
   Status: Triaged => Won't Fix

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

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2018-08-25 Thread Bug Watch Updater
** Changed in: libcairo
   Status: Confirmed => Unknown

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

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2012-10-22 Thread Maxime D.
On Ubuntu 12.10 which has libcairo2 1.12, the bug come back ! :(

It's OK when downgrading the package to the 1.10 version of Ubuntu
Precise...

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

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-05-21 Thread Daniel Kulesz
Looks like the NX folks have released an update which promises to fix
this issue:

http://www.nomachine.com/news-read.php?idnews=371

Did someone try it already?

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

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-05-21 Thread Maxime D.
It seems to be OK for me, I'm running this new release with native cairo
packages :)

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

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-02-14 Thread Evan Broder
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/682338

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-01-04 Thread Ubuntu Foundation's Bug Bot
The attachment nx_cairo_1.10.2-6ubuntu3.patch of this bug report has
been identified as being a patch.  The ubuntu-reviewers team has been
subscribed to the bug report so that they can review the patch.  In the
event that this is in fact not a patch you can resolve this situation by
removing the tag 'patch' from the bug report and editing the attachment
so that it is not flagged as a patch.  Additionally, if you are member
of the ubuntu-reviewers team please also unsubscribe the team from this
bug report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

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

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-01-04 Thread Sebastien Bacher
** Also affects: cairo (Ubuntu Precise)
   Importance: Low
   Status: Triaged

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

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-01-04 Thread Bug Watch Updater
Launchpad has imported 9 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=32014.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2010-12-01T12:12:12+00:00 Ryan Prichard wrote:

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 first reported this issue against Ubuntu 10.10, but since the problem
is in Cairo (or NX), an Ubuntu maintainer suggested I report it here.
The Ubuntu bug report is at
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/682338.  It has a
video attached demonstrating how much faster gedit is using the old
libcairo2 package.

Both the home and work computer run Ubuntu 10.10.

In addition to the performance drop, I see JPEG artifacts on rendered
text and metacity window decorations.  I'm used to seeing some artifacts
because NX compresses things like icons with JPEG.  NX doesn't normally
compress text, window decorations, etc.  The slow performance and
artifacts suggests that NX is transmitting bitmap data when it should be
transmitting drawing commands.

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 made a Cairo Git checkout and verified that when I built 1.8.10, gedit
was fast, but when I built the newest version, gedit was slow.  git
bisect identified a single commit where the performance problem began:

commit 33be73dfb76c26e3bb0ab59b2f570d00d9c7be62
Author: Chris Wilson ch...@chris-wilson.co.uk
Date:   Fri Sep 11 14:59:58 2009 +0100

[xlib] Fix big-line.

Project lines that exceed the 16.16 limits onto the XFixedLine, as we know
that top/bottom must fit within the confines of the surface and so will be
less than 16 bits.

Sadly this is a run-on patch that also does:
1. Make FillTiled the default for new GCs.
2. Stores extend mode as opposed to repeat, and thereby cleaning up some
inconsistent code.
3. Remove the special casing for unbounded trapezoids, as it is redundant
with the polygon clipping.
4. Tidy the logic for deciding when to use the core protocol
(_categorize_composite_operation)

When I searched the Internet for Ubuntu 10.10 slow NX, I noticed a 
similar-looking problem reported on a forum.
 - http://ubuntuforums.org/showthread.php?t=1625513

Reply at: https://bugs.launchpad.net/libcairo/+bug/682338/comments/3


On 2011-05-09T03:07:04+00:00 Levi Purvis wrote:

I can confirm this bug.  I have the same problem and it is resolved by
downgrading cairo to 1.8.10.

Reply at: https://bugs.launchpad.net/libcairo/+bug/682338/comments/7


On 2011-05-09T13:02:47+00:00 Pavel-sidlo wrote:

I have the same problem. Downgraded Cairo to 1.8.10 too.

Reply at: https://bugs.launchpad.net/libcairo/+bug/682338/comments/8


On 2011-06-18T19:39:42+00:00 Steven Robertson wrote:

This appears to be due to having 'display-buggy_repeat' set in
_cario_xlib_device_create(). NX (3.5, at least) presents itself as an
X.Org server with version 6090, which trips the 'buggy_repeat' flag.

'buggy_repeat' is set on X.Org 6.9 to avoid a bug which will crash the X
server. On NX 3.5, running the 'extend-reflect' test case after forcing
the buggy_repeat flag to FALSE on git rev ced061124d0b402c did not crash
the X server, so it is possible this bug does not need to be worked
around on NX servers. (The test application crashes on svg11 and svg12
test modes, and fails on others, but it doesn't crash the X server
itself. Plus, NX fails many other tests, and other tests *will* crash
the server; not exactly a bastion of correctness.)

Cairo will use software compositing for some operations, preventing NX
from doing its X11 protocol compression magic to send text in an
efficient manner. The commit indicated by Ryan Prichard causes more
operations than before to use software compositing. I'm not sure if this
was intentional or not.

I see three reasonable solutions:

* Get NoMachine to update NX's reported version number. My current
employer makes extensive use of NX; I'll try to have someone talk to
them about this.

* Detect 

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

2012-01-03 Thread Levi Purvis
This issue still persists in Ubuntu 11.10.  Please consider adding the
patch suggested at the end of comment 3 on the freedesktop.org bug
report to the Ubuntu patch set, as it simply comments out a check for a
buggy_repeat flag against X.org 6.9.  Since Ubuntu distributes a newer
X.org, the buggy_repeat check is unnecessary.  I verified the patch
against the cairo 1.10.2-6ubuntu3 source package (had to adjust the line
offsets) -- it resolves the issue with NX.

https://bugs.freedesktop.org/show_bug.cgi?id=32014#c3

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

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-01-03 Thread Levi Purvis
Attaching above referenced patch adjusted for Ubuntu 11.10.


** Patch added: 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/682338

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-03-28 Thread Bug Watch Updater
** Changed in: libcairo
   Status: Unknown = Confirmed

** Changed in: libcairo
   Importance: Unknown = Medium

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

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-03-24 Thread Sebastien Bacher
** Changed in: cairo (Ubuntu)
   Status: New = Triaged

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

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-03-23 Thread Zoide
Thanks Ryan for finding the guilty library!  I have posted instructions
for a workaround in the Ubuntu forum thread.  I'm sure you already
figured that out for yourself, but please let me know if there's
anything I missed or can be improved ;)

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

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-03-23 Thread Zoide
Here is the link to the workaround I posted:
http://ubuntuforums.org/showpost.php?p=10590940postcount=5

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

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-03-23 Thread Jorge O. Castro
** Also affects: libcairo via
   http://bugs.freedesktop.org/show_bug.cgi?id=32014
   Importance: Unknown
   Status: Unknown

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

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2010-12-01 Thread Ryan Prichard
I reported a bug against Cairo,
https://bugs.freedesktop.org/show_bug.cgi?id=32014.


** Bug watch added: freedesktop.org Bugzilla #32014
   http://bugs.freedesktop.org/show_bug.cgi?id=32014

-- 
GTK programs in Ubuntu 10.10 are sluggish over NX
https://bugs.launchpad.net/bugs/682338
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2010-11-30 Thread Sebastien Bacher
Thank you for your bug report. The issue is an upstream one and it would
be nice if somebody having it could send the bug the to the people
writting the software

** Changed in: cairo (Ubuntu)
   Importance: Undecided = Low

-- 
GTK programs in Ubuntu 10.10 are sluggish over NX
https://bugs.launchpad.net/bugs/682338
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2010-11-28 Thread Ryan Prichard

** Attachment added: out-5.ogv
   https://bugs.launchpad.net/bugs/682338/+attachment/1747649/+files/out-5.ogv

-- 
GTK programs in Ubuntu 10.10 are sluggish over NX
https://bugs.launchpad.net/bugs/682338
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs