Bug 71833 - Cairo 1.12+ very slow on Windows
Summary: Cairo 1.12+ very slow on Windows
Alias: None
Product: cairo
Classification: Unclassified
Component: win32 backend (show other bugs)
Version: 1.12.0
Hardware: x86 (IA32) All
: medium major
Assignee: cairo-bugs mailing list
QA Contact: cairo-bugs mailing list
Depends on:
Reported: 2013-11-20 11:27 UTC by Nicolas Dufour
Modified: 2018-08-25 13:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Nicolas Dufour 2013-11-20 11:27:37 UTC
I'm currently updating some libraries for Inkscape on win32, and notice a serious UI slowdown when updating the Cairo libs. Everything works as expected with Cairo-1.11.2 (the dll we provide with the latest stable Inkscape version, 0.48.4), but the Inkscape UI becomes very slow when drawing or moving objects on canvas with a more recent Cairo version (tested with 1.12.0, 1.12.8, 1.12.14, 1.12.16 and yesterdays git version). I've also updated Pixman to 0.32.4, but noticed no regression with the Pixman update as long as I don't update Cairo too.
I've tried with different compilers (TDM-GCC-4.5, TDM-GCC-4.6 and TDM-GCC-4.8.1) with no difference.

Other operating systems are not affected (tested on Debian stable with Cairo-1.12.2 and Pixman-0.26, but other Inkscape users confirmed it's ok with recent Ubuntu and OS-X versions).
Comment 1 Nicolas Dufour 2013-11-21 07:54:08 UTC
Tested again on another computer with an nvidia GeForce 210 (GT218) and found out it is not affected (Windows XP Virtualboxed on Debian stable).
IIRC the affected computers were all running Intel graphic cards. I'm going to investigate and give details on the affected GPUs later today.
Comment 2 Nicolas Dufour 2013-11-21 21:57:05 UTC
I can reproduce the bug with two computers with the following graphic cards:
* Intel HD Graphics 2500 (Dell Optiplex 3010),
* Intel GMA 4500 (Dell Optiplex 780).
Comment 3 Nicolas Dufour 2013-12-23 06:39:46 UTC
Also reproduced with Intel 82945G Express.

NOT reproduced with
* ATI Mobility Radeon HD 4500 Series;
* NVidia Quadro 1000M;
* NVIDIA GeForce GTX 660 Ti;
* Intel HD 3000 (integrated).

See the Inkscape-devel mailing list thread for details (http://inkscape.13.x6.nabble.com/Devlibs-46-too-slow-tt4966631.html#none).
Comment 4 Bryce Harrington 2014-10-01 23:46:02 UTC
1.12.0 was released March 23, 2012, so if the performance was due to changes to cairo, it would show up in the changelog for prior to this period.

And in fact I notice that in Feb/Mar of that year there was a considerable amount of work done in src/win32 when the win32 code was split out and rebased to the new compositor infrastructure.  I don't see any noteworthy perfomance work done in win32 subsequent to March 23rd.  So, guessing maybe there was some unfinished performance work, at least for certain breeds of hardware?
Comment 5 GitLab Migration User 2018-08-25 13:30:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/37.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.