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
Created attachment 5038 CLip context Does this help?
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.
Closing because it is not reproducible and likely has been fixed already.
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.