Page MenuHome

XP-PEN Artist 12 Pro Does not detect pencil pressure
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.89

Blender Version
Broken: version: 2.92.0 Beta, branch: master, commit date: 2021-01-13 23:55, hash: rB5804bf25bdfe
Worked: 2.91.0 branch: master, commit date: 2020-11-25 08:34, hash: 0f45cab862b8

Short description of error
XP-PEN Artist 12 Pro Does not detect pencil pressure

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

Event Timeline

Did you test on both versions of blender on the same day? It is possible that it was because of some driver update.
It would also be good to check with factory setings (File -> Defaults -> Load Factory Settings) to make sure it is not a configuration.

I have tested both versions at the same time. The problem comes in the configuration of the "Tablet API", in automatic mode it does not detect the tablet. Changing the setting to "Wintab" within "Tablet API" the tablet works fine. In 2.91 automatic mode works well.

So the problem is that the "automatic mode" configuration no longer detects the tablet.
This looks like a regression.

@Nicholas Rishel (nicholas_rishel), since you are more familiar with this area, do you know what may be happening?

@Daniel Molina Marchán (Theodet) could you repeat the bug in this build, copy the system console to this link, and link the paste in a reply to this report?

Most likely the driver is not correctly reporting the number of connected devices.

Nicholas Rishel (nicholas_rishel) changed the task status from Needs Triage to Needs Information from User.Jan 15 2021, 11:48 PM

In this build it also gives the same bug. For it to detect the tablet correctly, you have to change the "Tablet API" to "Windows Ink" and then back to "Automatic" or "Wintab".

https://developer.blender.org/P1902

Nicholas Rishel (nicholas_rishel) added a project: Restricted Project.
Nicholas Rishel (nicholas_rishel) moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

In this build it also gives the same bug. For it to detect the tablet correctly, you have to change the "Tablet API" to "Windows Ink" and then back to "Automatic" or "Wintab".

My guess at the moment is that the context is enabled before the window has fully initialized, leading to bad behavior which is fixed when it is later disabled/enabled.

Triaging note - Wintab was modified to check if the context is enabled before enabling itself. The Wintab implementation may be falsely returning that it is enabled, thus we never enable it.

This should be resolved by rB2e81f2c01ab, if the issue is still present after tonight's daily build please let me know and I'll reopen the issue. If the daily build is earlier than Feb 17, the above change has not yet taken effect.