[cairo] Performance problems in evince with ATI video cards

Carlos Garcia Campos carlosgc at gnome.org
Sun Aug 12 01:38:52 PDT 2007

El vie, 10-08-2007 a las 11:52 -0400, Jeff Muizelaar escribió:
> On Fri, Aug 10, 2007 at 10:20:52AM +0200, Carlos Garcia Campos wrote:
> > Hi all, 
> > 
> > we have recently ported evince view to cairo, since poppler renders
> > pages into a cairo surface, we avoid conversions from
> > cairo_image_surface to GdkPixbuf by directly using the cairo_surface to
> > paint the page in the evince view. However, since such port to cairo, we
> > have received some complaints about the slowness of evince and the high
> > cpu usage. It seems that the problem is only reproducible with ATI video
> > cards (although, at least, one nvidia user has reported the bug too). 
> > 
> > The problem has been reported here:
> > 
> > http://bugzilla.gnome.org/show_bug.cgi?id=453123
> > 
> > and it seems to be related to this one:
> > 
> > http://bugs.freedesktop.org/show_bug.cgi?id=4320
> > 
> > The problem is not reproducible for me and I even don't know where the
> > problem actually is (cairo, xorg, ati driver, evince, ...), so it's
> > almost impossible to me fixing it.
> I can't reproduce it either and I'm using the open source ati driver on
> a r200. A sysprof or oprofile profile would probably help alot in
> identifying the cause.

I finally managed to reproduce it by using the nv driver, so it's not
ATI specific. Here is the sysprof log:


It seems that XAAComposite in xorg is consuming most of the time. 

I hope it helps . . .

> -Jeff

Carlos Garcia Campos
   elkalmail at yahoo.es
   carlosgc at gnome.org
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
Url : http://lists.cairographics.org/archives/cairo/attachments/20070812/f1d839d5/attachment.pgp 

More information about the cairo mailing list