Created attachment 61077 [details] Cairo trace for chromium With more tabs containing complex content (reproducible eg. with 4 tabs with cnn.com), switching between tabs takes 1-2 seconds. I was hoping it's for the same reason as in Bug 48395, but this problem persists with nVidia 302.07 beta driver too. Related bug report in Chromium bug tracker: http://code.google.com/p/chromium/issues/detail?id=121624 Cairo-perf-trace output with nVidia driver 302.07: $ cairo-perf-trace chromium.18279 [ # ] backend test min(s) median(s) stddev. count [ 0] xcb chromium 1.973 1.987 0.62% 6/6 [ 0] xlib chromium 3.840 3.870 0.35% 6/6 [ # ] image: pixman 0.24.4 [ 0] image chromium 0.073 0.075 1.37% 6/6 [ # ] image16: pixman 0.24.4 [ 0] image16 chromium 0.089 0.090 0.51% 6/6
Created attachment 61078 [details] Xorg log
Hmm, whilst the only usage of cairo within chromium is for the actual rendering of the gtk elements (the tabs), that the xlib/xcb performance is 20-40x times slower is indicative of a problem at least. Can you please make a slightly longer trace? If you can grab 0.5s worth of image replay, such a trace will be a nice addition to the perf suite.
Created attachment 61080 [details] Slightly longer trace This one takes about 44s for xcb, and 0.2s for image.
I have the same problem with 302.11. Here are trace results for resizing of a gvim window with some text: [ # ] backend test min(s) median(s) stddev. count [ 0] xcb gvim 4.082 4.199 1.15% 6/6 [ 0] xlib gvim 4.202 4.214 0.26% 5/6 [ # ] image: pixman 0.24.4 [ 0] image gvim 0.605 0.610 0.50% 5/6 [ # ] image16: pixman 0.24.4 [ 0] image16 gvim 0.611 0.617 0.42% 6/6 I can attach the trace itself if it will help.
For reference I've added the slightly longer chromium trace to cairo-traces.git (cairo-traces/benchmark/chromium-tab), thanks.
Hi all, Can you please test this against the newly-released 304.30 NVIDIA driver? The issue should be resolved with this driver; I'll mark the bug resolved as soon as it's confirmed. Sorry for the inconvenience and thanks a lot for the bug report! - Pierre-Loup
Thanks, the tabs in Chromium now switch instantly.
Marking CLOSED, since the fix was verified and shipped.
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.