[FIXED] Cairo performance regression?
Hi, as stated here: [url]http://www.nvnews.net/vbulletin/showthread.php?p=2418346[/url] The cairo-1.10.0-buggy_gradients.patch shouldnt be needed anymore, but i tried unpatched cairo 1.12.8 with nvidia drivers 310.14(beta), 304.60 and 304.51. With those drivers gtk applications are very slow, even firefox is slow when scrolling pages using native widgets. Applying the cairo patch OR using nouveau make things smooth again. [b]Users complaining:[/b] [url]https://bbs.archlinux.org/viewtopic.php?id=152212[/url] [b]Bug report rejected by Arch developers:[/b] [url]https://bugs.archlinux.org/task/32491[/url] [b]Nvidia bug report[/b] [url]http://wpage.unina.it/aorefice/sharevari/nvidia-bug-report.log.gz[/url]
Hi, as stated here:
http://www.nvnews.net/vbulletin/showthread.php?p=2418346
The cairo-1.10.0-buggy_gradients.patch shouldnt be needed anymore,
but i tried unpatched cairo 1.12.8 with nvidia drivers 310.14(beta),
304.60 and 304.51.
With those drivers gtk applications are very slow, even firefox is
slow when scrolling pages using native widgets.
Applying the cairo patch OR using nouveau make things smooth again.

Users complaining:
https://bbs.archlinux.org/viewtopic.php?id=152212

Bug report rejected by Arch developers:
https://bugs.archlinux.org/task/32491

Nvidia bug report
http://wpage.unina.it/aorefice/sharevari/nvidia-bug-report.log.gz

#1
Posted 11/06/2012 05:14 PM   
Please, i'd like to have a word on this issue by an nvidia developer. No answer here, no answer to the email i sent to the nvidia linux-bugs@nvidia.com.
Please, i'd like to have a word on this issue by an nvidia developer.
No answer here, no answer to the email i sent to the nvidia linux-bugs@nvidia.com.

#2
Posted 11/13/2012 03:47 PM   
Shameless bump ;) Any information about this issue would be great. I've made a simple presentation showing the difference for Phoronix forum user, and I was requested to post it here. [url]http://www.youtube.com/watch?v=D1B2hqEOGJ8[/url] Best regards.
Shameless bump ;) Any information about this issue would be great.

I've made a simple presentation showing the difference for Phoronix forum user, and I was requested to post it here.

Best regards.

#3
Posted 12/18/2012 05:48 PM   
The driver accelerates gradients whenever possible, but certain gradient configurations can't be easily accelerated and fall back to software. I filed a bug to look into exactly why that's happening and whether there's something we can do to improve it, but Cairo could help the situation dramatically by sticking to gradients that the GPU can render.
The driver accelerates gradients whenever possible, but certain gradient configurations can't be easily accelerated and fall back to software. I filed a bug to look into exactly why that's happening and whether there's something we can do to improve it, but Cairo could help the situation dramatically by sticking to gradients that the GPU can render.

Aaron Plattner
NVIDIA Linux Graphics

#4
Posted 12/18/2012 10:32 PM   
@Aaron Thanks for replying. Since patched cairo (that relies entirely on the cpu) is much faster,maybe the "fallback to software" doesn't work that good. I've much better performance when using (underclocked/no reclocked) the same card via nouveau driver. Even an old Sapphire Radeon 9500SE with 'radeon' driver performs better.
@Aaron
Thanks for replying.

Since patched cairo (that relies entirely on the cpu) is much faster,maybe the "fallback to software" doesn't work that good.

I've much better performance when using (underclocked/no reclocked) the same card via nouveau driver.
Even an old Sapphire Radeon 9500SE with 'radeon' driver performs better.

#5
Posted 12/19/2012 02:53 PM   
Yes, there are improvements we could make in the speed of the software fallbacks, but it will never be as fast as the fully hardware-accelerated path.
Yes, there are improvements we could make in the speed of the software fallbacks, but it will never be as fast as the fully hardware-accelerated path.

Aaron Plattner
NVIDIA Linux Graphics

#6
Posted 12/19/2012 03:55 PM   
I may be missed it, but has this thing been investigated/fixed? Thanks.
I may be missed it, but has this thing been investigated/fixed?
Thanks.

#7
Posted 06/29/2013 12:06 PM   
This should have been improved in the 319.* timeframe.
This should have been improved in the 319.* timeframe.

Aaron Plattner
NVIDIA Linux Graphics

#8
Posted 08/01/2013 01:49 AM   
Ops, i missed your reply, sorry. I just come here to say thanks, because after installing 325.15 and testing with a benchmark with 100 buttons and gradients in a scrollview, plain cairo scrolled them in 14.7 seconds; while the patched cairo that bypasses any acceleration performed in 20 seconds, while it was faster than plain cairo in the past. Firefox scrolling is ok too.
Ops, i missed your reply, sorry.
I just come here to say thanks, because after installing 325.15 and testing with a benchmark with 100 buttons and gradients in a scrollview,
plain cairo scrolled them in 14.7 seconds; while the patched cairo that bypasses any acceleration performed in 20 seconds, while it was faster than plain cairo in the past.
Firefox scrolling is ok too.

#9
Posted 08/06/2013 11:45 AM   
Hello Nvidia developers, I am new to this forum, because I encountered a problem with a new Linux-PC. As other users noted, sometimes the scrolling (eg. special HTML-pages in firefox) is done VERY slow and the XServer completely frozen for up to 1 Minute!!! I see with 'top' that Xorg consumes up to 100% cpu then. This was never the case before on other PCs. I use the newest NVidia driver version 2.1.20-3.1.1 (build time 27.1.2013) and x11-video-nvidiaG03 version 319.32-15.1 (build time 28.6.2013) Could you please fix it!!!
Hello Nvidia developers,
I am new to this forum, because I encountered a problem with a new Linux-PC.
As other users noted, sometimes the scrolling (eg. special HTML-pages in firefox)
is done VERY slow and the XServer completely frozen for up to 1 Minute!!!
I see with 'top' that Xorg consumes up to 100% cpu then.

This was never the case before on other PCs.

I use the newest NVidia driver version 2.1.20-3.1.1 (build time 27.1.2013)
and x11-video-nvidiaG03 version 319.32-15.1 (build time 28.6.2013)

Could you please fix it!!!

#10
Posted 08/14/2013 11:14 AM   
An easy test for whether Cairo's "buggy gradients" patch is faster, is to open a new blank tab in firefox, and measure with our eyes how long it takes the "preview windows" (or whatever they're called) to be drawn (I get 9 of them, arranged as 3x3 rectangles). This is still noticeably slower with Nvidia and unpatched Cairo.
An easy test for whether Cairo's "buggy gradients" patch is faster, is to open a new blank tab in firefox, and measure with our eyes how long it takes the "preview windows" (or whatever they're called) to be drawn (I get 9 of them, arranged as 3x3 rectangles). This is still noticeably slower with Nvidia and unpatched Cairo.

#11
Posted 08/14/2013 02:20 PM   
Scroll To Top