Unfixable (?) brush lag

Windows 10
12 GB RAM
Tablet: Huion
Krita 5.1.5

Until yesterday, I was working on Krita 4.1.7. There were brush lags there too, but only after a certain amount of time, when I had more than 1 file opened, and rather at the end of a stroke.
So I thought it was time for a huge update and installed Krita 5.1.5. Now I have brush lags all the time, with only 1 file opened (finally discovered the palette tool - yay! :wink:), and now it happens at the start of every stroke. That is, I place the brush on the canvas beginning to drag - but it doesn’t react for a while as if it was caught on something. When I keep dragging, it either does nothing, or it suddenly jumps forward to a spot I didn’t mean to go to.
I tried them all: played with the Canvas Graphics Acceleration (Direct 3D 11, filtering etc.), even disabling it, the File Size Limit, connected with Windows Ink and disconnected, changed the spacing of every brush … the lagging persists like a devoted afficionado. :unamused:

Here are the specifications of my current file:
2.66 MB, 1845 x 1845 px
brush tip sizes from 2 to 8 px
brushes used: Basic-5 Size, Basic-6 Details, Blender Blur 5 - but that doesn’t seem to matter, because it applies to all the brushes.

Could it possibly be that the file was created in 4.1.7 and imported (or something) to 5.1.5? If so, I would be forced to re-install 4.1.7 again. Yet I would prefer to find another solution.

Any help will be appreciated.

:slight_smile: Hello Angela and welcome to the forum!

It can be that you have ‘brush smoothing’ set to ‘Weighted’ or ‘Stabilizer’ and there you may use too “strong” smoothing. Please try if the lag persists if you choose ‘Basic’ or ‘None’ as setting for your brush smoothing.

The fact that you use a newer version of Krita now does not slow down a file created in earlier versions of Krita.

Michelist

1 Like

For the brushes you’ve mentioned and their sizes, at that canvas size, there should not be a problem with lag.

Can you say which CPU you have in your computer?

Have you tried enabling Instant Preview at View → Instant Preview Mode (Shift+L toggle)?
That speeds up the canvas presentation of a brush stroke but then needs time to finalise it.

2 Likes

@Michelist - well, that was one more of the options I’ve already tried. Set the brush smoothing to none - didn’t help. But it’s comforting to hear that it has nothing to do with the “old” file.

@ AhabGreybeard - CPU is 2.8 GHz, in full length: Intel(R) Core™ i5-8400 @ 2.80 GHz. Yes, I tried Instant Preview before, just not sure if it was in 4.1.7 (didn’t like that lag either), so I enabled it once more now - sad to say, it’s still lagging …

A-ha, one more info: graphics card is Intel(R) UHD Graphics 630.

AND I reduced the number of layers, but … come on, 15-20 layers is nothing, isn’t it? Now I have 6, but that didn’t help anyway.

The Intel UHD Graphics 630 is more than adequate and graphics performance is not important for painting on the canvas. That takes single thread CPU power.

Your i5-8400 @2.80 GHz has a CPU benchmark score of 9263 (single thread: 2394) which is not impressive compared to more modern and i7 CPUs but is more powerful than my 12 year old desktop PC that has a CPU benchmark score of 4616 (single thread: 1285). I don’t have lag with ‘ordinary’ brushes on the canvas size you’re using.

Do you have any third party ‘security’ software running that may be grabbing lots of CPU power and memory access?
Do you have YouTube in a Chrome based browser playing music videos running in the background?
That’s the only sort of thing that I can think of to explain the lag you have.

What does your Task Manager say about total CPU usage while painting?

Your computer seems to be of very reasonable capability for painting with krita.

3 Likes

No, and no. I did have Kaspersky, but de-installed it at the beginning of the Ukraine war. Now it’s only Windows Security running. And though I like to listen to podcasts sometimes while painting (yes, I do use Chrome as a browser), I didn’t do that any time recently. So, nothing else is running but Krita.

CPU usage while painting is 14%, 3 GHz. Plus 183 processes and 2183 threads (whatever that means).

That’s not a big load of course. My CPU goes up to between 30% and 40% if I paint a large textured stroke quickly.

That’s also Windows 10 doing its thing and organising/monitoring stuff all the time.

I really can’t think why the lag is happening to you :frowning:
I hope that someone else can have more ideas about this.

1 Like

Yeah, sigh … :sleepy:

Anyway, thank you both for trying to help me! Hopefully there will be more ideas coming up.

1 Like

It sounds like you’ve only tried this with a specific file you were working on before. Have you tried creating a new document and seeing if the problem exists there too?

If it’s just the document you’re working on, how many layers is it, and does it happen on every layer? Your description feels like something I’ve experienced before, and I seem to remember it was some issue with a layer, like a filter or layer style is causing an issue, but it’s been a long time, so I don’t remember exactly. Either way, if the problem doesn’t exist in new documents, it might be worth creating a new document, and then copying over the layers one by one and checking after each one is added if the problem comes back.

Good luck, and let us know if you find the culprit!

1 Like

Okay, I’ve tried it on several different layers now plus in a new file. On the whole the brush seems to behave a tad better, but it does so on the first layer too (there are 7 layers at this point) - maybe because I just began to draw?
However, what I noticed when doing big quick and dynamic strokes with a bigger brush tip (I had thought it might be because I’m used to work much too small-sized) is, that the first little part of each stroke always snaps off, if that makes sense. For clarity, I am attaching a small file so you can see what I mean.
On top of that, I just can’t get any fading strokes to work, no matter which brush settings I use.

probe

Might it possibly be that the whole mess has to do with my stylus / Huion tablet? :sweat:

I don’t think so, Huion’s are reliable tablets, I use one too. Okay, even the best hardware can age and break over time if it is used, some even unused. That can happen even if the hardware has been treated carefully over the years.
But a broken tablet won’t produce lag for my understanding of technic.

If you used larger brushes, then you would have the possibility to activate the “Instant Preview”-Feature in the brush editor, but the sizes you use are below the threshold (that could be lowered, but I don’t think that makes sense, otherwise: who knows before a try). To be honest, I’m more or less clueless regarding your issue.

Michelist

1 Like

By George, I’VE GOT IT!!! :dancer: :boom: :smiley:

The culprit was the setting “WinTab” under Configure Krita > Tablet Settings. Just switched to “Windows 8+ Pointer Input (Windows Ink)” at a whim, did a re-start - and my strokes are smooth and fading and whatnot as can be!!! :smiley: :smiley: :smiley:

Here’s the proof:

geschafft

@Michelist @AhabGreybeard @Voronwe13
Thank you so much for going beyond your limits to help me out! You guys are stunners! :heart_eyes: :heart_eyes: :heart_eyes:

4 Likes

He he, and we all ruled it out because mentioned in your opening post to have checked all these settings.
:joy: :rofl:

Dann bleibt mir nur noch dir viel Freude mit Krita und deinen Stickmustern zu wĂźnschen und natĂźrlich Happy Painting! :+1:

Michelist

2 Likes

He he, and we all ruled it out because mentioned in your opening post to have checked all these settings.

That’s right, I checked it - just not in Krita, but in the Windows settings, as some guy in a youtube video was demonstrating. :upside_down_face:

Dann bleibt mir nur noch dir viel Freude mit Krita und deinen Stickmustern zu wĂźnschen und natĂźrlich Happy Painting!

Danke! :heart_eyes: Du meinst aber nicht das Forum, oder? (gibt’s das überhaupt noch?) :thinking:

1 Like

Das Forum gibt es immer noch, doch ich wĂźnsche niemandem ein Forum.
:rofl:
Dergleichen sollte man sich nur aus freien Stücken “antun”.

Michelist

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.