[Bug 1606122] Re: Cairo drawing coordinates are broken w/nouveau (affects xfwm4)

2017-05-10 Thread Ryan Prichard
Xubuntu 16.04.2 LiveCD ==> bug does not reproduce
Xubuntu 16.04 LiveCD ==> bug reproduces

Downgrading the kernel on the 16.04.2 installation didn't reintroduce
the bug.

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

Title:
  Cairo drawing coordinates are broken w/nouveau (affects xfwm4)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1606122/+subscriptions

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


[Bug 1606122] Re: Cairo drawing coordinates are broken w/nouveau (affects xfwm4)

2017-05-10 Thread Ryan Prichard
The bug doesn't reproduce anymore.  Both the extracted-from-xfwm4.c test
program and xfwm4 now work, on my Ubuntu 16.04 machine with the NVIDIA
GeForce 750 Ti card.  I configured it back to nouveau and enabled
compositing.

I'm guessing an update fixed it?

$ lsb_release -rd
Description:Ubuntu 16.04.2 LTS
Release:16.04

$ uname -a
Linux atom 4.4.0-77-generic #98-Ubuntu SMP Wed Apr 26 08:34:02 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux

$ apt-cache policy xorg
xorg:
  Installed: 1:7.7+13ubuntu3
  Candidate: 1:7.7+13ubuntu3
  Version table:
 *** 1:7.7+13ubuntu3 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status

$ apt-cache policy xserver-xorg-video-nouveau
xserver-xorg-video-nouveau:
  Installed: 1:1.0.12-1build2
  Candidate: 1:1.0.12-1build2
  Version table:
 *** 1:1.0.12-1build2 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status

(I suppose I should have included libcairo2 originally?)

$ apt-cache policy libcairo2
libcairo2:
  Installed: 1.14.6-1
  Candidate: 1.14.6-1
  Version table:
 *** 1.14.6-1 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status

(The xfmw4 version number is bogus -- I'm using my own patched version
to work around an incompatibility with VirtualBox.)

$ apt-cache policy xfwm4
xfwm4:
  Installed: 4.12.3-9ubuntu2
  Candidate: 4.12.3-9ubuntu2
  Version table:
 *** 4.12.3-9ubuntu2 100
100 /var/lib/dpkg/status
 4.12.3-1ubuntu2 500
500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

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

Title:
  Cairo drawing coordinates are broken w/nouveau (affects xfwm4)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1606122/+subscriptions

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


[Bug 1606122] Re: Cairo drawing coordinates are broken w/nouveau (affects xfwm4)

2016-07-25 Thread Ryan Prichard
Here's what the test program's output *should* look like, using the
NVIDIA driver.

$ apt-cache policy nvidia-361
nvidia-361:
  Installed: 361.42-0ubuntu2
  Candidate: 361.42-0ubuntu2
  Version table:
 *** 361.42-0ubuntu2 500
500 http://us.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
100 /var/lib/dpkg/status


** Attachment added: "correct-nvidia.png"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1606122/+attachment/4706859/+files/correct-nvidia.png

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

Title:
  Cairo drawing coordinates are broken w/nouveau (affects xfwm4)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1606122/+subscriptions

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


[Bug 1606122] Re: Cairo drawing coordinates are broken w/nouveau (affects xfwm4)

2016-07-25 Thread Ryan Prichard
Here's the test program's output with the nouveau driver.

** Attachment added: "broken-nouveau.png"
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1606122/+attachment/4706860/+files/broken-nouveau.png

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

Title:
  Cairo drawing coordinates are broken w/nouveau (affects xfwm4)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1606122/+subscriptions

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


[Bug 1606122] [NEW] Cairo drawing coordinates are broken w/nouveau (affects xfwm4)

2016-07-25 Thread Ryan Prichard
Public bug reported:

I'm using xfwm4 with Xubuntu 16.04.  With compositing enabled, and when
I cycle through windows with Alt-Tab, xfwm4 draws an opaque rectangle
bordering a candidate window, and it fills that rectangle with a semi-
transparent blue color.  When I use the nouveau driver, the filled
rectangle is clipped.  The problem does not reproduce with the
proprietary nvidia driver.

It seems as though a drawing command should be issued using a window-
relative coordinate, but sometimes is instead issued using a screen-
relative coordinate.

I extracted relevant bits of xfwm4 into a small test program that
reproduces the problem.  The test program creates a transparent XWindow
at (100,100) with size (210,210).  It draws six rectangles centered
inside the window of varying parameters.  Two of them are drawn at the
wrong place.

xfwm4 should be off-the-hook, I think, unless it's doing something wrong
(e.g. unspecified/undefined behavior).

$ lsb_release -rd
Description:Ubuntu 16.04.1 LTS
Release:16.04

$ apt-cache policy xserver-xorg-video-nouveau
xserver-xorg-video-nouveau:
  Installed: 1:1.0.12-1build2
  Candidate: 1:1.0.12-1build2
  Version table:
 *** 1:1.0.12-1build2 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status

$ apt-cache policy xfwm4
xfwm4:
  Installed: 4.12.3-1ubuntu2
  Candidate: 4.12.3-1ubuntu2
  Version table:
 *** 4.12.3-1ubuntu2 500
500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status

I created a video demonstrating the problem in xfwm4:
https://www.youtube.com/watch?v=8dZN80tMA6M.  If you look closely, you
can see that the opaque blue border is positioned correctly, while the
semi-transparent overlay isn't.

FWIW, I'm using an NVIDIA GeForce GTX 750 Ti card.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xorg 1:7.7+13ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
Uname: Linux 4.4.0-31-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: XFCE
Date: Mon Jul 25 00:50:21 2016
InstallationDate: Installed on 2016-07-19 (6 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: xorg (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug xenial

** Attachment added: "extracted-from-xfwm4.c"
   
https://bugs.launchpad.net/bugs/1606122/+attachment/4706853/+files/extracted-from-xfwm4.c

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

Title:
  Cairo drawing coordinates are broken w/nouveau (affects xfwm4)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1606122/+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

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] [NEW] GTK programs in Ubuntu 10.10 are sluggish over NX

2010-11-28 Thread Ryan Prichard
Public bug reported:

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

** Affects: cairo (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386 maverick

-- 
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