Jump to content

Recommended Posts

Hello, I'm trying to use my Huion Tablet G10T in Affinity Designer but it does not work properly. The problem is that it has a lag or delay that does not let draw the stokes/lines well. Also when one moves something with the tablet Pen, it continues moving by itself without direction and no stopping (it stops only when I changed the pen for the mouse).
I recently changed the Driver for the last one available on the Huion website -HuionTablet_MacDriver_v14.3.10.181225 (beta)
I'm using: MacOS High Sierra 10.13.6
The Tablet works well in Illustrator and Photoshop, but not in Affinity Designer. Any suggestion?

Share this post


Link to post
Share on other sites

Hello, GabrielM

No, I had the same problem, but I only tried it once in affinity before making the driver change.

When I use it on Pixel persona, it works better at least to be able to use texture brushes. But in Vector Persona it is impossible to use the tablet Pen.

 

Share this post


Link to post
Share on other sites

Thanks. Does it work fine with a standard, round brush with no texture? Does it work fine with he mouse, using the same textured brush? 

Share this post


Link to post
Share on other sites

The behavior of the pen has been inconsistent. There are times when lagging is more or less the same with the standard round brush. Today is better, not perfect but better than with the textures brushes.
Using the textures brushes with the mouse behaves better, although it also has a slight lagging.

Share this post


Link to post
Share on other sites

I'm testing the Beta version now. When I'm in Vector persona the basic brushes work very well. When I try with brushes with textures, lagging returns. If I draw short lines it is usable, but if I try long lines the lagging increases to the point that the brush goes to the front as by an inch of difference from the current line.
Neither gives me control to use the pen to move things or to use properly the forms like the square, they continue moving once I get the shape where I want.
When I try brushes on Pixel persona, it is better and usable.

Share this post


Link to post
Share on other sites

I had issues with another HUION and AP...  but all get solved, after i restart the WHOLE compi with disconnected HUION-cable. But i had general huion-issues - but however, maybe the "magic of restart" will help??? Try it! My workaround:

1. Close all huion (driver/setup). Disconnect huion cable.

2. Restart

3. Open/close AP

4. Connect huion (but first take care the pencil is wide away)

5. open huion-app (do your settings)

6. Start AP

----------------------

Same action helped for my XP-pen, in my girlfriend flat/compi. The XP had other issues--- but it seems, this last century windows95 "restart-magic" is for tablets still necessary, even on modern macs! 


OSX 10.13.5  / iMac Retina 27" / AMD Radeon R9 M380

Share this post


Link to post
Share on other sites
On 2/4/2019 at 11:04 PM, Pablo Montes said:

Hello, I'm trying to use my Huion Tablet G10T in Affinity Designer but it does not work properly. The problem is that it has a lag or delay that does not let draw the stokes/lines well. Also when one moves something with the tablet Pen, it continues moving by itself without direction and no stopping (it stops only when I changed the pen for the mouse).
I recently changed the Driver for the last one available on the Huion website -HuionTablet_MacDriver_v14.3.10.181225 (beta)
I'm using: MacOS High Sierra 10.13.6

Pnr Status TextNow VPN
The Tablet works well in Illustrator and Photoshop, but not in Affinity Designer. Any suggestion?

 

A bit more info:
Forgot to mention I'm on Arch, kernel 4.8.13-1

Comparing usbhid-dump stream to my H610 I can see some specific things I would have to change for the G10T, but I'm not sure how to go about getting the driver to load for it in the first place. I'm thinking I have to change something in `uclogic_enable_tablet` to get valid tablet parameters.

I've attached the dmesg output of plugging in the H610 then plugging in the G10T.
[dmesg.txt](https://github.com/DIGImend/digimend-kernel-drivers/files/721838/dmesg.txt)

And the output of `$ sudo cat /sys/kernel/debug/usb/devices` for the 2 devices. Different revision # and # of interfaces are probably causing a lot of trouble.
[usb-debug.txt](https://github.com/DIGImend/digimend-kernel-drivers/files/721841/usb-debug.txt)

Now, from what I see Huion is once again abusing USB spec and reuses the VID/PID pair, but now it goes further and does that with a completely different, incompatible model. Otherwise so far it seems a great product and one worth making drivers for.

I see from the report descriptor that it is not actually representing real device capabilities and sets the logical extents at 32767, squishing the horizontal resolution and stretching the vertical resolution. This is likely done for compatibility with the dumb Windows generic HID driver. The actual logical extents should be 50800x31750, if the company description is to be believed.

From here, you have two options, or two work stages, if you'd like. First is to make the driver work with the default, basic interface with impaired resolution, and the hard-coded key combinations from the buttons. The second, is to reverse-engineer the tablet protocol used to enable the fully functional mode, that the Windows driver uses, getting the full resolution and likely abstract, easily re-mappable buttons. I can't say anything about the touchpad protocol at this moment, though.

For any of the options/stages you'd need a way to tell this tablet apart from other tablets with the same VID/PID. Reverse-engineering the protocol will likely give us a way. Otherwise you might want to look at the device and interface descriptors for possible ways to identify this tablet.

After that, for the first option/stage you'll simply need to take the original report descriptor, amend it a little, and make the driver supply it to the kernel. Sure, resolution won't be as good, and buttons will likely need some messing with, but the tablet will work more-or-less.

For the second option/stage you will need Windows running natively or in a VM. You'll need to capture USB traffic with Wireshark (either running on Windows, or on Linux which hosts the VM), and look into patterns and try to figure out what happens there, reproduce some of the USB communication under Linux and try to find the sequence that switches the tablet into the fully-functional mode, and also a response which lets us identify the tablet, those are likely to be the same thing.

Your choice now. I'll be able to help you a little with both of these. For the start I would also like to see the `lsusb -v` output for the tablet.

Share this post


Link to post
Share on other sites

Hello, Polygonius, even though I had already done several restarts and installed the new Huion driver with its settings, I decided to try your suggestion without much hope. To my surprise after doing everything you say, it began to work much better! Then I wanted to test if giving another restart the fix could be maintained. Unfortunately not, it showed a similar problem as before. I've done multiple restarts with modifications to see if I simplify the process, but I have nothing yet to be consistent - sometimes it works and sometimes it doesn't. For now, I'm going to have to keep doing from point 1 to 6 every time I use the Huion tablet. Thanks for the help.

Share this post


Link to post
Share on other sites

Hello kingbily, thank you very much for your time in trying to help me with this issue. I do not understand very well because of the technicalities that you mention (my bad) and I get confused when you mention "running Windows natively" because the problem is with my MacOs. I'm going to reread it tomorrow to see if I understand what you suggest better. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×