Input delay when using Stablizier

My very first reply stated the delay occurs no matter what the sliders are set on :
Nothing removes the lag no matter what the sliders are set on and what’s unchecked.
Anyway…

I’ve only been using Krita for the past 5 days, I think I haven’t used 4.4.8.
Will I lose my brush settings if I reinstall with 4.4.8?

EDIT : I’ve run out of replies for the day so I’ll edit this comment.
LunarKreatures, apparently it’s not normal because Grum999 can’t replicate the lag with the exact same settings.
That lag would be normal if delay was enabled but it’s not. At the end of the day, if a tools is causing lag because of the way it’s interacting with a system then it is by nature a problem.

EDIT 2 : 4.4.8 and 4.4.7 didn’t resolve the issue. Must be something on my PC that’s causing it.

You will lose your tags, and if you’ve created brushes with Krita 5, it is possible that these brushes won’t work in Krita 4, depending on the kind of brush. If such brushes use brush-tips or patterns, they will not work, maybe other conditions lead to inoperability too.
And it is always a good idea to make a backup of Kritas resource-folder before such an up or downgrade.

Michelist

One thing that might be causing some confusion is that you seem to expect no delay from the stabilizer cause the other smoothing options don’t have it. However that’s exactly what the stabilizer does, it creates a delay to make the precision better.

Like i said you should try the dynamic brush tool instead of the stabilizer. As it works a bit different but works better than the stabilizer imo.

Honestly going back a version will probably not work cause this seems like the normal behavior

Personally i don’t know cause like i said i don’t use the stabilizer but i know when i used i had a delay and didn’t like it so i started using the dynamic brush tool instead

3 Likes

Hello,

I won’t derail this topic discussing unrelated topics, but let me intervene.

Nothing wrong per se, you can even take @Grum999 take as a positive :rofl:
Maybe using your post as an example of how to record the screen, with the whole Krita screen in focus.
Or the most likely, how it is normal to not know that some good information are displayed in cropped out parts of the screenshot / video. Like in your case you cropped the status bar, where is displayed information like color profile and such.
Also, how it is common to not show some key things that you may overlook. Again in your case, it would be nice to see the Tools Option docker with the color picker selected.

Cheers.

Believe me, @Grum999 and @Daishishi will know how to use such a simple screen recorder, although @Grum999 as far as I know uses another screen recorder. It was not meant to offend you, I’m sure it was only for example.

Michelist

One thing that is making this harder to deduce is if this lag is that lag you experience naturally using the stabilizer or its a bug. can you provide a video where we can see the tip of the pen drawing on the screen?. and maybe a comparison to other like none and smooth. So we can deduce it.

i.e. for me at any of my PC - i cant stand any of the stabilizer lol [Krita or Sai], they make the pen feel heavy for me XD [and i have quite decent spec].

Hello,

Looking again at your videos isn’t much of a delay, but a stutter when the stroke begins. Pretty annoying for sure.

The thing is, I don’t seem to replicate this on my machine (On Linux, didn’t test on Windows). Maybe is a bug, or could be a PC performance bottleneck.
I have an AMD Ryzen 2400g (1st generation Ryzen) and I’m using Pop! OS 21.10. What are your PC specs?

Here a video I recorded using the same stabilizer settings as you. I used a more complex brush at the size 35 px. My cursor is always visible (small dot) and the brush outline is set to disappear while painting. Also my Canvas is being refresh at ~140 fps and I tried (and sucessed?) in record at 120 fps.

https://drive.google.com/file/d/1ADM-s8FBuBv6Ea5LsFFJTO82v--Mq_0K/view?usp=sharing

Cheers

The most curious thing about this case is the fact that the computer with lag is the one recording its own lag. Of course the lag will not be registered due to the sync of lag. I would have recorded with my phone as it is not affected with lag.

The videos for me now seem to have nothing wrong.

There is obvious lag on the start of the stroke (outline lags before stroke appears).

I can only sugest workaround. Turn all krita smoothing to off and try LazyNezumi. This is program that smoothes brush for any drawing app and it offers so much more than built in stabilizers.

It has free trail to test all stabilizers but i use “smooth - subtle” which is free after trail ends.
Maybe you will find something you like. Good luck.

2 Likes

This is exactly how the stabilizer should work without the stutter.
Anyway here’s the specs:

Windows 10 Pro
Intel(R) Xeon(R) CPU E5-1603 v3 @ 2.80GHz
16GB RAM
64-bit OS, x64 processor
Video card : NVIDIA Quadro K2200

I tried using the software on my laptop with the following specs and the stutter is even longer there:

Windows 10
Intel(R) Core™ i7-4720HQ CPU @ 2,60Ghz
8GB RAM
64-bit OS
Video Card : NVIDIA GTX950M

The most curious thing about this case is the fact that the computer with lag is the one recording its own lag. Of course the lag will not be registered due to the sync of lag. I would have recorded with my phone as it is not affected with lag.

The lag occurs only on the Krita canvas and nowhere else on the PC.
I tested this yesterday after I ran out of replies - I ran movies and youtube videos on one half of the screen and stared at them while I applied inputs in Krita on the other half of the screen.
I couldn’t catch a single stutter in the videos while I was making inputs and my screen recorder FPS count didn’t show any FPS drops (which it does when stutters happen in the games i play)
I’m not wasting any more time recording the screen.
The previous two videos display the stutter clear as day, exactly as I see it and feel it happen.

EDIT : I rebooted both the desktop and the laptop with all non-crucial services disabled and the issue persists, so it must be hardware bs.
I’ll try the tool Zer0Frost suggested, I hope it suits the purpose.

Thank you man!
This definitely helps a lot better with smoothing than the weighted brush smoother in Krita.
The rulers are going to be incredibly useful as well, I’m definitely going to buy this!

I think this will solve my problem! :love_you_gesture:

3 Likes

So i did record one with my phone using stabilizer. I dont remember this kind of start stutter before, :thinking: I remember the on draw delay but not to the point i cant even write down my name.

So for weighted the higher the Delay setting the more grave the beginning stutter - and i get that can be annoying.

To the point that at default 15s delay you cant even write letters.

I think a bug report should be filed or something or a feature request to modify the start behavior of it should be done.

Gonna upload the vid for a sec and edit this;

to me it reacts exactly as expected
stabilizer

the start stutter get worse the higher the delay.
Its noticeable even at 1-2 secs.

To be fair i tried it with the default 50 (i think is quite high to be default / and frustrates beginner user alot), in which i tried to write letters to see how long before the line start, before subsequently lowering it. to the amount i’ll most likely use 2s, with smaller radius.

Do note that i dont use stabilizers frequent and just occasional weighted.

but with the Stabilizer it only starts painting after you exit the designated area. hence the lag. it is how supposed to work. if it is not pleasing just calibrate it.

1 Like

I understand now, the stutter is the pen point travelling till the outer radius, it still is glaring and confusing specially to new user who don’t know it function that way and i think not intuitive.
Like you start your line at a point and is starts drawing 10pixel down [suddenly even if its the actual effect] and you can track the difference from when you put the pen down to when it starts to draw. The moment the line pops up you are like eh.

I think a little smoothing on the transition between when you start putting your pen down to draw to when it start drawing [point outside the radius] .

This are my suggestion to make it not glaring:

  • Lower the default value. [I dont think anyone uses 50 secs delay and Radius] Most of us lowers it for sure. [or provide some level preset in there]
  • Make it act like a rubber band? where the smoothing starts from 0 and get closer to 100 effect the closer it approaches the outside radius.

It works like this if I am correct? the delay is the expected and correct result - it works properly after that initial point where your cursor travel from inner circle to the outer circle.

the only issue is that it was quite adrupt.

Edit last: this process of the cursor travelling to the outside circle makes the line appearing abit to adrupt making it look like a stutter?

please do correct me if Im understanding the issue. [Stabilizers are not something I use/ so im not very familiar with them]

@Petresko is this how it is happening for you?

Honestly man, I am getting absolutely sick of repeating myself so I will drop this video here.

I am perfectly aware what the stabilizer is supposed to do. If you look at the stabilizers in the video from Paint tool SAI, S15 would be the stabilizer in Krita without Delay turned on and S-7 would be the stabilizer in Krita with delay turned on.

I will say this for the last time - for me Delay in Krita is always unchecked, disabled, turned off or whatever synonymous term you can think of for something not being turned on.
I understand what the tool is supposed to be doing when it is turned on, that was never the point of this thread.

What is the point of the thread is a micro-stutter, micro-freeze, 0.1 sec lag that occurs as soon as the pen starts an input on the canvas.
It does NOT feel or look like the beginning of a curve in the motion you would get with delay turned on.
It’s just an abrupt stop that happens for a split second before the motion of the cursor resumes with the same speed that it had just before the freeze.
I do not get this freeze in any other software that has a stabilizer.
The Delay of the stabilizer was NEVER the issue, because it has always been turned OFF.
It is the stutter that happens the moment input is applied on the canvas no matter what Sample count I am using.

If this doesn’t spell out the exact nature of the problem then I am out of words and might as well explain jt in another language.
I didn’t want to turn passive aggressive here, but honestly Im sick of posting proof and have it questioned like I am here trying to cheat on a speedrun.

I’m trying to deduce to if its this part that is being caused of the stutter or not.

I’m not dismissing your concern, i took sometime in my morning routine before going to work to look for it myself and explain to other Krita user that this part of how the tool work may need to be look at - because i think it’s a concern that need to address.

That is why I ask you if this is that lag you are talking about, because this is the stutter at the start of the stabilizer that I experience - even at 1s to 2s delay.

If this is what you experience, and this work as intended by Krita. Then maybe it something worth looking into if it need to be.

Yes i know you explain yourself clearly but it would be hard for some to see that it maybe an issue without seeing if its a bug or part of the tool functionality that might need to be look into and possibly change.

Looking into sai [i do have copy of sai / its old but still opens] no matter the delay line draws as soon as you move the pen.

Look I’m in your side, the tool can be improve. I just want to be sure if i should be filing a bug report or a feature request/adjustment.

to me it reacts exactly as expected

stabilizer

I am not experiencing any lag or stuttering like EyeOdin.
Despite the stuttering in his video, it seems he’s not getting freezes upon input on the canvas.
My cursor flows smoothly prior to input and during input with no FPS drops or lag.
The delay you are all describing is not what I am experiencing.
It’s a microsecond stutter that completely throws me off when I’m trying to scribble something on the canvas with Stabilizer on and Delay off.

Looking into sai [i do have copy of sai / its old but still opens] no matter the delay line draws as soon as you move the pen.

This is exactly what I expect from the stabilizer in Krita and it’s exactly how I’ve been trying to get it to behave.
I can’t get rid of the stutter no matter the settings and it’s entirely a stutter within Krita that doesn’t affect anything else on the PC.

1 Like

At the risk of being termed silly or annoying you even more, I wanted to try to to suggest or guess the issue in good faith. (Disclaimer: not denying your issue just trying to understand and offer a suggestion taking my precious time so please please bear with me🙏🏼)

Do you have windows ink enabled. Can you check something called windows flicks is enabled or not? I do know the exact name but windows has this pen and touch feature where if you keep on pressing the left mouse button it enables right click (just guessing) and there is also the double click distance issue. Can you try searching the settings and check if these help.