Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428358 - x11-libs/cairo-1.12 still needs cairo-1.10.0-buggy_gradients.patch for nvidia binary drivers (slow performance with chromium)
Summary: x11-libs/cairo-1.12 still needs cairo-1.10.0-buggy_gradients.patch for nvidia...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-07-27 19:05 UTC by Ferdinand Hübner
Modified: 2012-07-30 06:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,4.85 KB, text/plain)
2012-07-27 19:07 UTC, Ferdinand Hübner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ferdinand Hübner 2012-07-27 19:05:32 UTC
x11-libs/cairo-1.12 still needs cairo-1.10.0-buggy_gradients.patch when using nvidia binary drivers. Otherwise, the performance of certain applications (e.g. tab-switching in chromium) suffers considerably. 

There are bugs filed upstream:
- cairo: https://bugs.freedesktop.org/show_bug.cgi?id=49534
- chromium: http://code.google.com/p/chromium/issues/detail?id=121624#c24

Applying cairo-1.10.0-buggy_gradients.patch to x11-libs/cairo-1.12.2-r2 brings chromium back to life. 

See https://bugs.gentoo.org/show_bug.cgi?id=336696#c0 for the initial description of this bug by Samuli Suominen.

I am using nvidia-drivers-302.17. I did not test an unpatched cairo with the hard-masked nvidia-drivers (304.22), so I cannot tell if nvidia has fixed the problem with their drivers.
Comment 1 Ferdinand Hübner 2012-07-27 19:07:12 UTC
Created attachment 319432 [details]
emerge --info
Comment 2 Mark R. Pariente 2012-07-28 07:49:47 UTC
Can confirm this bug as well. Seeing significant performance regression with Chromium with cairo-1.12.2-r2 with a GeForce GTX 570 running nvidia-drivers 302.44. I've tried with older nvidia-drivers as well and the issues remain. Reverting back to cairo-1.10.2-r2 solves the issue.
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2012-07-30 06:04:24 UTC
+*cairo-1.12.2-r3 (30 Jul 2012)
+
+  30 Jul 2012; Ben de Groot <yngwin@gentoo.org> +cairo-1.12.2-r3.ebuild:
+  Reapply buggy_gradients.patch that got inadvertently dropped

Thanks for reporting!