Re: slow display


> But AFAICS this is not related to GNOME Shell at all... ;-)

Well not sure. The patch is not mine (find it attached to this message).
If you look at the code in cairo-xlib-display.c you'll find many
conditionals to workaround limitations into X server version and drivers.

Looks like this problem is present in the current combination in Debian
sid. I've just built again latest libcairo with this patch and my
slowness is over.

I send this message as it may help others working around this slowness
which makes the desktop quite "annoying".



--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|  -
--| "The best way to travel is by means of imagination"
--| gpg --keyserver --recv-key F949BD3B

>From 5cd5a15e89bca98353e46b0e540cf4d370a475ef Mon Sep 17 00:00:00 2001
From: Pascal Obry <pascal obry net>
Date: Sat, 30 Apr 2011 18:38:41 +0200
Subject: [PATCH] Workaround slowness in Debian due to nVidia driver.

 src/cairo-xlib-display.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/cairo-xlib-display.c b/src/cairo-xlib-display.c
index dd60484..ed6fba1 100644
--- a/src/cairo-xlib-display.c
+++ b/src/cairo-xlib-display.c
@@ -353,11 +353,7 @@ _cairo_xlib_device_create (Display *dpy)
     /* Prior to Render 0.10, there is no protocol support for gradients and
      * we call function stubs instead, which would silently consume the drawing.
     display->buggy_gradients = TRUE;
-    display->buggy_gradients = FALSE;
     display->buggy_pad_reflect = FALSE;
     display->buggy_repeat = FALSE;

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]