Summary: | 28 times slower than 1.8.10 | ||
---|---|---|---|
Product: | cairo | Reporter: | wbrana |
Component: | general | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED NOTOURBUG | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | critical | ||
Priority: | medium | CC: | brebs, nucleo |
Version: | 1.10.0 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | patch |
Description
wbrana
2010-09-09 07:23:43 UTC
Urm, fix the applications to use not gdk_draw_layout() and then they will many times faster in 1.8.10 as well. If you do choice to bypass all the caches both Pango and Cairo offer, and to use filled paths instead of sub-pixel rendered glyphs... <ickle> go and call me an idiot in the bug report. Gtk is using pango_cairo_show_glyphs() which surely makes use of Cairo's caching awesomeness, so this is not a problem. It's something else. I suppose the reporter is using nvidia drivers? Also, what GTK theme do you use? I'm using nvidia drivers 260.19.04 and built-in theme (Raleigh?) with changed colors. Cairo 1.10.0 with patch which disabled HW gradients is much faster GtkPerf 0.40 - Starting testing: Sat Sep 11 15:43:48 2010 GtkEntry - time: 0.14 GtkComboBox - time: 2.83 GtkComboBoxEntry - time: 1.70 GtkSpinButton - time: 0.27 GtkProgressBar - time: 0.12 GtkToggleButton - time: 0.34 GtkCheckButton - time: 0.29 GtkRadioButton - time: 0.56 GtkTextView - Add text - time: 9.93 GtkTextView - Scroll - time: 1.73 GtkDrawingArea - Lines - time: 4.11 GtkDrawingArea - Circles - time: 4.30 GtkDrawingArea - Text - time: 1.88 GtkDrawingArea - Pixbufs - time: 0.05 --- Total time: 28.27 It looks like a defect in the drivers. Should this bug be closed and a bug report be filed to nvidia? Is there a known workaround for this? nvidia drivers 275.09.07 still have this problem, and software is starting to have hard dependencies on cairo newer than 1.8. Created attachment 48732 [details] [review] patch Distros are already using this patch. I'm still having this problem. I guess you don't care about your users? Reopening because 1. obviously it's not going to fix itself, and 2. to generate attention to this bug. It is not a bug in cairo though. cairo-1.8.8: GtkEntry - time: 0.00 GtkComboBox - time: 0.67 GtkComboBoxEntry - time: 0.49 GtkSpinButton - time: 0.07 GtkProgressBar - time: 0.03 GtkToggleButton - time: 0.07 GtkCheckButton - time: 0.07 GtkRadioButton - time: 0.13 GtkTextView - Add text - time: 0.42 GtkTextView - Scroll - time: 0.13 GtkDrawingArea - Lines - time: 0.70 GtkDrawingArea - Circles - time: 0.68 GtkDrawingArea - Text - time: 0.44 GtkDrawingArea - Pixbufs - time: 0.03 --- Total time: 3.93 cairo-1.12.14: GtkEntry - time: 0.00 GtkComboBox - time: 0.76 GtkComboBoxEntry - time: 0.48 GtkSpinButton - time: 0.07 GtkProgressBar - time: 0.03 GtkToggleButton - time: 0.07 GtkCheckButton - time: 0.07 GtkRadioButton - time: 0.11 GtkTextView - Add text - time: 0.43 GtkTextView - Scroll - time: 0.13 GtkDrawingArea - Lines - time: 0.73 GtkDrawingArea - Circles - time: 0.69 GtkDrawingArea - Text - time: 0.37 GtkDrawingArea - Pixbufs - time: 0.03 --- Total time: 3.97 Complaining here about a bug in the nvidia driver which is meant to have been fixed last year is not going to help. |
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.