CGCookie / retopoflow

A suite of retopology tools for Blender
2.46k stars 249 forks source link

**[BUG]** Tools lag when using Huion Tablet #1063

Open Con-cat-enate opened 2 years ago

Con-cat-enate commented 2 years ago

Retopoflow Version: 3.2.5

Blender Version/Hash: 3.0.0

Platform Version/Distribution: Windows 10 Pro 10.0.19044

Huion Kamvas Pro 13: Drivers uptodate.

 

Issue:

When using my tablet with a pen, tools sometimes need some time loading, meaning ctrl does not work for several seconds. Also, when using Tweak and Relax, the circular focus zone is not showing sometimes (but those tools will still work).

 

How to Reproduce:

 

Video attached showing the lag, during this I am pressing ctrl constantly.

https://user-images.githubusercontent.com/96136345/146054605-7568843f-ce16-4399-8f26-bceb17542baa.mp4

vxlcoder commented 2 years ago

Thanks for the report, @Con-cat-enate.

I have a few questions that will help us debug this issue.

Do the tools work as expected if you use your mouse and not the tablet? If so, then I will dig into the code around tablet. If the mouse is also slow, that gives me more info to work with too.

Are you able to select any geometry when the tools are not working as expected?

Also, would you be able to share your blend file with us? You can send it to retopoflow@cgcookie.com.

Con-cat-enate commented 2 years ago

Thank you for the quick reply.

The issues seem to be limited to my graphics tablet! I really hope you find the bug, as working with a pen would be quite nice and intuitive, but waiting 10-20 seconds after switching tools simply isn't an option so I used my mouse instead and did not notice any issues with that.

I can select and even move geometry when the lag is occurring, only ctrl/ the tool itself is not working then.

I will try to send the file, although I don't think the file itself is the problem.

Thanks so much for your help!

vxlcoder commented 2 years ago

@Con-cat-enate, sorry for the delay on this issue. I'm still not quite sure why this is happening on your machine.

But I have a few questions...

When you use your tablet, is it moving your mouse cursor location?

Does it do this with all the geometry creation tools? (ex: contours, polystrips, polypen, knife ... not relax or tweak)

Can you try using the Updater System to update to branch v3.2.6? It's not (yet) released, so you'll have to use the "Advanced: Commit / Branch" box (see doc). I recently pushed a commit (62f29fd) that changes how RetopoFlow sees modifier presses, and that change might fix your issue...

vxlcoder commented 2 years ago

I wonder if this could be related at all to the lag shown in this video: https://twitter.com/YanSculpts/status/1488891246798114819

jlampel commented 2 years ago

In the comments on that thread, he mentions that "what fixed the issue for me is setting the tablet API in blender to windows ink"

Con-cat-enate commented 2 years ago

Thank you both for the replies, I haven't had the chance to test it again but will try to do so shortly; regarding the video, I guess it could very well be related to some bug in blender 3.0 upwards, but of course I can't definetely confirm this.

vxlcoder commented 2 years ago

Another possible cause of this issue might be other add-ons. in Issue #1085, it's looking like the screencast add-on is interfering with how RF behaves.

So, let's try this: open blender, load factory settings, enable RetopoFlow (only! no other add-ons), and then try to reproduce this issue.

thanks!

a3person commented 1 year ago

Unsure if I should make new issue or not since I have the same issue, I loaded factory settings and also disabled all the official addons as well...

Retopoflow Version: 3.3.0

Blender Version/Hash: Blender 3.3.3

Platform Version/Distribution: Microsoft Windows 10 Home Version 10.0.19045 Build 19045

Tablet: Huion INSPIROY H610PRO V2: Driver's Version Number:v15.6.2.80

Tablet API: Windows Ink slow Tablet API: Wintab is also slow

When tapping A every .5s to select all and deselect its responsive and updates within the interval, but when hovering the pen over the tablet to move cursor it gets alot sllower and doesnt update before the interval.

It only gets alot slower when polystrips, patches, and contours tools are selected, but the other tools continue to stay responsive when hovering the pen over the tablet to move cursor