DIGImend / digimend-kernel-drivers

DIGImend graphics tablet drivers for the Linux kernel
GNU General Public License v2.0
1.17k stars 173 forks source link

Huion Kamvas GT191 #169

Open SreckoM opened 6 years ago

SreckoM commented 6 years ago

Have issue with Huion Kamvas. Drivers are installed and it is version 8. Tablet is recognized and using Wacom drivers to setup buttons. But when using Wacom drivers I have cursor offset few mm to the right from where I have pen. If I do not add entry in xorg than there are no offset but do not have pressure sensitvity in some of the apps for sculpting, like Blender and 3dCoat. Also interesting is that in login window offset is ok, when I log in, offset is changed. I am using Linux Deepin 15.6 (Debian). Any help?

TheJackiMonster commented 6 years ago

On the one side, I am really glad this driver works for me too now. But the offset is a little annoying, so if you have problems with it, you can check out the custom user-driver I have written: https://gitlab.com/TheJackiMonster/HuionGT191LinuxDriver

You will need a few packages to use it, but it works pretty fine using a neuronal-network for advanced calibration. It automaticly catches the correct screen to map the cursor and every software recognizes it correctly so far.

spbnick commented 6 years ago

@SreckoM this seems like a misbehaving Wacom driver setting. The kernel driver cannot have such an effect. Check what you're configuring and if anything else changes its settings. Ask Wacom driver developers.

SreckoM commented 6 years ago

@TheJackiMonster Thanks for comment, I figured out that if I unload and load drivers, offset is gone. Only thing is that I miss pressure in some of the apps I use, but I guess that is up to apps not drivers. Probably not supporting evdev. Will try this for sure, I already tried few python drivers and those work nice too, but also without pressure being recognized in some of the apps.

TheJackiMonster commented 6 years ago

@SreckoM Wait.. do you have zero offset? Because I tested with the kernel drivers and I just mapped the projection to the right screen like the example said and I had this offset which increases more close to the borders. I had the same problem at the beginning of my custom driver but fixed it mostly using a projection matrix which does not just translate and scale the values to map it to the screen. Is there a solution using the wacom drivers?

SreckoM commented 6 years ago

@TheJackiMonster Yes, slight offset especially on borders is still there. But this is way better than 1 inch offset I had :D Did not have time to try your drivers yet. Now it is most important to figure why I some of apps are not picking pressure.

TheJackiMonster commented 6 years ago

@SreckoM Some apps require the device to have the substring “pen“ or “stylus“ in its name to recognize them as pen with pressure and not as simple cursor/mouse. Krita is one of that apps for example.. had that bug with my driver to before I fixed it.

SreckoM commented 6 years ago

@TheJackiMonster Krita works for me. What does not work is scultping app 3dcoat, which was mentioned in issues here I think. Also Foundry app MODO does not recognize pressure. Will try ur driver when I grab some time, probably next week.