! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Slow rendering when selecting files
Status:
RESOLVED: FIXED

Comments

Description RPG 2013-05-13 00:11:47 CEST
New thunar uses cairo to render icons, but it's very slow when selecting files. Seems that problem is in cairo: 

  cairo_set_operator (cr, CAIRO_OPERATOR_MULTIPLY);
  cairo_mask (cr, source);

This part of code is the bottleneck. Works with different cairo versions. Maybe, cairo does multiplication mask in some slow way? Btw CAIRO_OPERATOR_ADD works much faster.

I also noticed that Xorg eats my CPU on test cairo example with CAIRO_OPERATOR_MULTIPLY. So maybe Xorg on my machine is very slow.

OS: Mageia Linux 3.4.24-desktop-3.mga2
Xorg: 1.11.4
Cairo: 1.10.2
GPU: Nvidia GeForce 430
Comment 1 Nick Schermer editbugs 2013-05-13 08:32:20 CEST
Created attachment 5038 
CLip context

Does this help?
Comment 2 RPG 2013-05-13 19:14:30 CEST
No, it does not help. Only _ADD mode helps and more likely this is concerned with X. I asked on #cairo IRC but no one was there.
Comment 3 Harald Judt editbugs 2015-02-21 12:17:22 CET
Closing because it is not reproducible and likely has been fixed already.
Comment 4 RPG 2015-02-22 01:43:03 CET
It still exists but I afraid that this is more deep problem with NVidia drivers and Xorg server. Xorg consumes 100% of CPU when I have selected some files in Thunar.

oprofile shows that a lot of time spent in nvidia_drv.so and kernel.

Bug #10082

Reported by:
RPG
Reported on: 2013-05-13
Last modified on: 2015-02-22

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Attachments

CLip context (519 bytes, patch)
2013-05-13 08:32 CEST , Nick Schermer
no flags

Additional information