This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Krita + non-wacom tablets

Tags: None
(comma "," separated)
hvfrancesco
Registered Member
Posts
9
Karma
0

Re: Krita + non-wacom tablets

Fri Nov 07, 2014 2:44 pm
Hello Dmitry,
Sorry for last post, I had submitted it without previously refreshing the page so I had not seen your patch yet.
I've cleaned the source (I had already reverted to unpatched Qt for cleaner testing), applied your patch and it works.
I still have blocked events on the log, but usually when the pen is overing over the tablet and not during painting, the painting action seems quite good.

thanks for your help,
francesco
dkazakov
Registered Member
Posts
64
Karma
1

Re: Krita + non-wacom tablets

Fri Nov 07, 2014 3:09 pm
Hi, Francesco!

It is great that the patch works! Do you have a commit rights in KDE repository or I should push the patch for you?
hvfrancesco
Registered Member
Posts
9
Karma
0

Re: Krita + non-wacom tablets

Fri Nov 07, 2014 3:13 pm
no, I have no commit rights, so it would be great if you can push the commit.
Thanks a lot again for your help and for your great work on Krita.

best, francesco
dkazakov
Registered Member
Posts
64
Karma
1

Re: Krita + non-wacom tablets

Mon Nov 10, 2014 12:01 pm
Hi, Francesko!

I've pushed the patch today! You can check :)
hvfrancesco
Registered Member
Posts
9
Karma
0

Re: Krita + non-wacom tablets

Mon Nov 10, 2014 2:10 pm
thank you very much :)
hvfrancesco
Registered Member
Posts
9
Karma
0

Re: Krita + non-wacom tablets

Tue Nov 11, 2014 1:47 pm
I'm leaving this as a side note, in case it might be of interest for others Aiptek tablets users:

Although my Aiptek Hyperpen 12000U is using aiptek kernel module and aiptek xorg driver on Ubuntu 14.04, today I' ve been experimenting with dropping aiptek xorg driver and letting evdev take control directly with the catchall tablet directive.
I thought it was a good test to do, as the aiptek driver in xorg tree is unmaintained and I expect it to be dropped or stop working anytime soon in future xorg releases.

The aiptek kernel driver does its job, and the tablet under evdev sends correct informations for all the axes, pressure included, and it works quite well in Krita, it just needed a little tweaking of the calibration settings.
The problem arises with applications using gtk2 as Gimp or Mypaint, because, although the device is reported correctly as a tablet, the pressure values seems to be ignored by gdk.
Using the last development code for Mypaint, built with gtk3 libraries, the pressure works perfectly again, so it seems it is some kind of gtk2 related problem with evdev and my tablet on Ubuntu.
As a bonus, the tablet has on the upper border 24 function buttons, and while they are not recognized as a keyboard using the aiptek xorg driver, they are detected and work perfectly with evdev driver.
jgladney
Registered Member
Posts
2
Karma
0

Re: Krita + non-wacom tablets

Tue Jan 20, 2015 6:44 pm
Hi,

Am another windows7 / monoprice pen tablet user. The monoprice (and I assume the equivalent Huion model) driver does not seem to relay pen pressure data to any application, though the data is displayed in the driver task bar console. I am investigating writing an app to extract the raw HID pen data. My question is, is there a way can I get this data into Krita?

Fantastic job on the App, by the way.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Krita + non-wacom tablets

Tue Jan 20, 2015 6:54 pm
If tablet doesn't show pressure in any application, the driver likely is horrifically broken -- you could install debugview, connect the tablet, start Krita, create an image, press ctrl-shift-t, do a stroke and check the log in debugview. Lower-level than that is really hard, because that's info that comes straight from the wintab driver.
Pesoptim
Registered Member
Posts
1
Karma
0

Re: Krita + non-wacom tablets

Fri Jan 23, 2015 1:58 am
I too have a Huion H610 and have had no success with pressure on the 64 bit version. However, pressure works fine on the 32 bit version for some reason.
jgladney
Registered Member
Posts
2
Karma
0

Re: Krita + non-wacom tablets

Tue Feb 03, 2015 3:34 am
boudewijn ,

Thanks for the reply,

The driver seems to be working beautifully,

When I run HHD Device Monitoring Studio,
in HID mode, it displays:

002295: Report Arrived (UP), 02.02.2015 19:24:54.392 +0.004
Report Name:Pen
Tip Switch: 0
Barrel Switch: 0
Erasser: 0
Invert: 0
In Range: 1
X[0..27136]/[0..27136]: 21396
Y[0..15360]/[0..15360]: 7246
Tip Pressure[0..1023]/[0..1023]: 0

in raw mode, i get:

01 00 67 50 de 19 00 00 01 00 67 50 de 19 00 00

I assume the first digits are the tip and barrel switches. Next is X, then Y, then Pressure.
It responds beautifully to the actual pen input.
EscapedNight
Registered Member
Posts
16
Karma
0
OS

Re: Krita + non-wacom tablets

Sat Mar 28, 2015 11:13 pm
I wrote to this forum long ago. That time Krita didn't have any support for evdev drivers. I had a UC- Logic tablet (WP8060U) which didn't work, so I had to stick to Gimp and MyPaint. Overtime, I completely gave it up. Recently I read krita changed the FAQ section and mentioned UC-Logic tablets. So I casually tried out...
And pressure sensitivity worked ! Finally worked... :') !
After all these years !

I used Krita 2.9.0 from dimula73 ppa and used Linux Mint 17.1 cinnamon. It worked out of the box. No patching or tweaking codes. It just worked.

However, in low resolution page, the brush or pencil tool (I'm still not familiar with Krita) doesn't move. I don't know it is supposed to be like that or driver error. But it works nicely on above 2500px pages with >300dpi.

Screenshot of Pressure sensitivity worked out of box in UC-Logic tablet -

Image
Beardbotnik
Registered Member
Posts
2
Karma
0

Re: Krita + non-wacom tablets

Tue Apr 07, 2015 10:57 pm
Hello, I just got a Huion 1060Pro+ and while pressure sensitivity works on pretty much all of my programs. For some reason both the 32 bit and 64 bit versions of Krita only give me pen pressure on the first attempt at launching any specific version. If I close the program and re-open it the pressure no longer works. This happens with FireAlpaca and Pencil2D as well. So I guess this is another quirk of Qt? It's odd that pressure would work the first time but not after that.This is on Windows 8.1
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Krita + non-wacom tablets

Wed Apr 08, 2015 8:13 am
It sounds like a bug in the drivers: Krita actually doesn't use Qt's tablet support on Windows or Linux, we open the wintab dll ourselves and get the entry points and things. Wintab drivers are, if possible, even buggier than opengl drivers...
Beardbotnik
Registered Member
Posts
2
Karma
0

Re: Krita + non-wacom tablets

Thu Apr 09, 2015 10:13 pm
Update from me. With my Huion 1060Pro+ it seems that I need to open some programs using my usb mouse before I switch to the pen in order to have pen pressure. So I imagine it is just a problem with the tablet drivers and the mouse fighting to be detected by the software or something.

But once I open programs with the mouse they work as expected including Krita 64-bit! :D
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Krita + non-wacom tablets

Fri Apr 10, 2015 7:35 am
Ha! That's interesting -- and it definitely points towards a driver issue!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed