Jump to content
You must now use your email address to sign in [click for more info] ×

Vector brush slow on first stroke only


TwoKoalas

Recommended Posts

Hi, I can consistently reproduce an issue with the Vector Brush. 

On a document with multiple layers, the vector brush drawing is extremely slow as the stroke lengthens.
After drawing the shape it takes a few seconds where I watch Designer draw my stroke in low motion. 

After drawing the first stroke, all sequential strokes are buttery smooth and fast.
If I then delete all the strokes and try again, the first stroke is extremely slow again.

Tested on an RTX 2070 Super with and without OpenCL
 

Link to comment
Share on other sites

  • Staff

No problem at all, many thanks for providing that for me!

I can see we have a known issue logged with our development team for the first stroke with the Vector Brush tool when the Stabiliser is enabled - if you untick this on the Context Toolbar does the first stroke now draw quicker?

As mentioned, this is logged as a bug with our developers, so I'll be sure to 'bump' this with our team now :)

Link to comment
Share on other sites

Thanks for that. No change with stabilizer on or off. 
I noticed that it is related to the adjustment layer at the top in my video, or other effect layers if I paint down in the stack.
It's like after the first stroke there is some document caching where the app figures out the placement of the new layer and does some optimization (wild guess)

Link to comment
Share on other sites

  • Staff

Thanks for confirming that for me!

11 minutes ago, TwoKoalas said:

I noticed that it is related to the adjustment layer at the top in my video, or other effect layers if I paint down in the stack.

I agree, from my testing I'm able to replicate this behaviour when using a Vibrance Adjustment, but not with other similar adjustments, such as Levels or HSL - there appears to be a calculation delay in the first stroke drawn above, or any strokes below, when this Vibrance is present, so I'm getting this logged with our devs now as a bug.

In the meantime, temporarily disabling the Adjustment layer whilst drawing your strokes should reduce this issue :)

Link to comment
Share on other sites

That's interesting, thanks for the explanation and for logging it!

On a related question, I'm experiencing slowdowns by disabling all adjustment layers and painting inside a simple shape down in the stack. The speed is not recovering on the second stroke, like it did in the first example. 

I'm not very familiar with Designer and vector brushes, but Is this expected behavior? 

Link to comment
Share on other sites

  • Staff

No problem at all :)

1 hour ago, TwoKoalas said:

Is this expected behavior? 

I suspect this may be related to your FX applied to other layers within this curve, as you draw the Vector Stroke the app will have to calculate and draw this new stroke, whilst continuously recalculating and redrawing the 'master' object and FX.

Out of interest, which FX are enabled for the nested curves please?

Link to comment
Share on other sites

The nested sub shapes have gaussian blur applied. Note that no effects are applied above the inserted/drawn shape.

I stripped down the scene and I did the same test as the original post. Having the top shape selected and painting outside of the group, the first stroke is very slow and the second is much faster.

Painting inside the group it behaves slowly with every stroke. 

Link to comment
Share on other sites

Hello, everybody.

I'm experiencing the same problem myself.

To me the slowdown happens towards the end of the stroke-pencil, a slowdown of even several seconds with fairly long strokes.

Only as I was preparing to record the video, having rebooted Designer I can't replicate the problem!

However it has shown up for me other times (sort of randomly).

I'll post the video when I get a chance.

Link to comment
Share on other sites

Hi Renx-78. That looks similar to what I experience on the slow stroke. The longer you draw, the slower it becomes.
This might be a slightly different issue than the first vs second stroke evaluation depending on layer/stack location.

As a wild guess, I believe some optimizations should be possible on the stroke vs stack evaluation/updates code.

Link to comment
Share on other sites

  • Staff

Thank you for providing those for me! In my testing I see a very slightly delayed first stroke, but nowhere near as noticeable as in your recordings.

Can you both please:

  • Navigate to Edit > Preferences > Performance and provide a screenshot of your settings here.
     
  • Update your GPU drivers to the latest versions, directly from the manufacturers website
     
  • Confirm if you are using a Drawing Tablet, Mouse, or other device for input?
     
  • Before drawing your Vector Brush stroke, create a new Empty Layer from the bottom of the Layers Studio and then try painting.
    image.png
    Does this improve the responsiveness of the first stroke for you?

Many thanks once again :)

Link to comment
Share on other sites

NVIDIA GPU driver is the latest: 516.94 WHQL
Using a Mouse as input device.

Creating a new layer outside of the group speeds up the first stroke.  It only becomes increasingly slower if I create a VERY long stroke.
Creating a new layer inside the group makes no difference. The stroke is slow as in the video. 


Here are my settings. Didn't spot major differences with OpenCL on or off. Might be slightly slower with OpenCL off.

image.png.7fc476ced38bbf02338424ee94d3d39b.png

 

Link to comment
Share on other sites

I noticed that we both have a similar combination of GPU and CPU, however I report my configuration below.

Having therefore the same video card I can confirm that the version of NVIDIA Studio Driver that I have installed at the moment is the most recent: 516.94.

I usually use a Wacom Intuos Pro, but this also happens with the mouse.

In my case if I create a new layer to paint, the problem seems to go away.

The system I'm having the problem with is a PC that I assembled:
CPU - AMD Ryzen 3900X
RAM - 32GB DDR4 3200MHz CL16
GPU - Nvidia RTX 2070 Super
Imput - Logitech MX Master 2S Mouse; Wacom Intuos Pro (2017) Driver 6.3.46-1
OS: Windows 11 v. 22621.457
Video driver: Nvidia Studio 516.94

Use 27 "monitor at native resolution of 3840x2160 60hz interface resizing to 150%

And here are the Designer settings.

AffDes-prestazioni.png

Link to comment
Share on other sites

  • Staff

My sincerest thanks for all of the information provided above - interestingly I could not replicate this easily on my RTX 3060 GPU in the office, however my GTX 1070 at home clearly shows the same issue in your screen recordings and therefore I believe this to be a potential rendering issue on older GPUs - which certainly isn't expected.

Therefore I am logging a new bug report with our developers now, including your screen recordings, documents and system specifications - such that this can hopefully be resolved in a future update :)

On 9/12/2022 at 4:23 PM, TwoKoalas said:

Creating a new layer outside of the group speeds up the first stroke.  It only becomes increasingly slower if I create a VERY long stroke.

On 9/12/2022 at 4:50 PM, Renx-78 said:

In my case if I create a new layer to paint, the problem seems to go away.

In the meantime, creating this new, empty layer is the only workaround I've found to reduce this issue - so I would recommend using this where possible.

I hope this helps!

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.