This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Issue with brush performance - Linux

Tags: None
(comma "," separated)
SReid
Registered Member
Posts
5
Karma
0
OS
Hey everyone!

First off really loving Krita atm, but I'm a bit confused about the performance of some brushes in the program (in linux).

I have a pretty good setup and most of the brushes work raelly fast and smooth, but when I pick the Block_paint_Dirty_Square brush, it really trails behind what i'm trying to draw. Granted I'm working at 300dpi on a 2601x1463 image, but other brushes just as big work far smoother.

The CPU cores also don't max out completely while its calculating this. I have OpenGL on, but not tri-linear, changing from these settings makes it even slower. Maybe its because I'm using an FX-6100 Bulldozer?

I'm not really complaining because its manageable and I don't use these brushes that often, I'm just wondering why some are super fast and others really slow, even at the same sizes, and why it isn't using 100% of my cores?

Thanks xD
valerievk
Registered Member
Posts
181
Karma
1
OS
I've noticed this too. Basically:
- The similar-looking block-paint preset uses a square autobrush
- Block_paint_Dirty_Square brush, however, uses a Predefined Brush as brush tip, with very low spacing (0.02). Most other moderately complicated predefined brushes have spacing between 0.20 or 0.40, so there is no similar slow-down.

Set the spacing to say... 0.05 or higher. It won't look exactly the same, but you'll notice an immediate speed-up.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Hi!

Check the spacing of the brush. In some versions of Krita, we shipped a version of that preset which had a ridiculously low spacing setting, and that would bring any workstation to its knees. Predefined brushes also aren't scaled in separate threads, so that explains why your cpu cores aren't maxed out.

For the opengl card, it's hard to figure out what's going on. Some opengl drivers are fine with the tri-linear settings, others aren't... It's a matter of experimentation.
User avatar
Deevad
Registered Member
Posts
451
Karma
1
OS
I guess the feedback of SReid is about the 2.5 version .
Now on the development version with the 'precision' sliders and VC progress , my performances changed a lot. Positively.
I just wanted to let SReid know progress were made in this field for the next versions.


SReid
Registered Member
Posts
5
Karma
0
OS
Wow! Thanks for the quick reply everyone. I wasn't even aware of the spacing setting of the brushes, still learning as I go here! I just set that brush setting from 0.02 to 0.05, it looks pretty much the same output but its super smooth! ;)

@Deevad: You are right I am using 2.5.2. I've been terrible in the past for constantly trying to get the dev versions of everything and it just gives me a headache! I realised I don't know 2% of whats in the 2.5.2 version of krita, and its more than capable of doing what I want atm, so until I'm up to speed and need more, I'll stick with the release versions. :)

@Boudewijn: You mentioned the predefined brushes don't scale for all cores? Interesting. So...how do I select ones that do? Do you mean when I open the brush editor and customise a brush, those ones are scaled properly?

Sorry if I'm not understanding that correctly, my main question was answered tho so thanks again everyone!
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Only the autobrush -- that's the first tab of the brush mask settings page -- are calculated with all cores/using vectorization.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan