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

Krita + non-wacom tablets

Tags: None
(comma "," separated)
Graphy
Registered Member
Posts
3
Karma
0

Re: Krita + non-wacom tablets

Fri Oct 25, 2013 2:00 pm
I'm not sure that it was clear enough - the wacom driver works fine with my tablet and I've got pen pressure in krita. My problem is How to identify my tablet in the drivers to restrict working area of the tablet - because aspect ratio of the tablet doesnt match aspect ratio of the monitor - when i draw exact circel it draws oval (or when I draw a square I have a rectagle on my monitor) - I know that many users even don't notice but it is important for me.
Here is one article about it
http://sapphirepaw.blogspot.cz/2011/02/ ... buntu.html

what I need to know is the name of my device - I tried some names like " 9x12 Tablet pad" but than it wasn't possible to boot up and I had to delete the conf file in rescue mode :(
For now I'm going to switch back to edev and gimp 2.6.
I like krita a lot (especialy its brush engine) but now I have not the time to play with drivers so I wish you the best with the program
viktoria.s
Registered Member
Posts
40
Karma
1
OS

Re: Krita + non-wacom tablets

Fri Oct 25, 2013 5:49 pm
@Graphy
According your callibration issues this page http://sourceforge.net/apps/mediawiki/l ... alibration night help.
Or may be these pages:
http://sourceforge.net/apps/mediawiki/l ... gory:HOWTO
http://sourceforge.net/apps/mediawiki/d ... nput-wacom
But I have one problem. I have noticed this:
Code: Select all
~$ xsetwacom --list devices
                9x12 Tablet stylus   id: 11   type: STYLUS   
                9x12 Tablet stylus   id: 13   type: STYLUS
It seems to me the wacom driver creates 2 tablets! Will you please post the output of the xinput command with the evdev driver and the wacom driver?
Graphy
Registered Member
Posts
3
Karma
0

Re: Krita + non-wacom tablets

Fri Oct 25, 2013 6:38 pm
Yes its truth - I'm not sure but one may be for stylus and second for mouse - and this is probably the problem that both have the same name and cannot be distinguished in configuration file - just guessing.
As I said I'm back on edev and here is xinput
Code: Select all
~$ xinput
⎡ Virtual core pointer                       id=2   [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                 id=4   [slave  pointer  (2)]
⎜   ↳                 9x12 Tablet                id=8   [slave  pointer  (2)]
⎜   ↳                 9x12 Tablet                id=9   [slave  pointer  (2)]
⎜   ↳                 9x12 Tablet                id=10   [slave  pointer  (2)]
⎜   ↳ Generic USB Keyboard                       id=12   [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                      id=13   [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                      id=14   [slave  pointer  (2)]
⎣ Virtual core keyboard                      id=3   [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                id=5   [slave  keyboard (3)]
    ↳ Power Button                               id=6   [slave  keyboard (3)]
    ↳ Power Button                               id=7   [slave  keyboard (3)]
    ↳ Generic USB Keyboard   

I'll try to find time to make xinput with wacom driver as soon as possible
p.s. the IDs has changed because I'm on another motherboard for some reasons
viktoria.s
Registered Member
Posts
40
Karma
1
OS

Re: Krita + non-wacom tablets

Fri Oct 25, 2013 7:14 pm
Hi,

one more thing came to my mind. Around a year ago someone has similar issue with this tablet on ubuntu forums: http://ubuntuforums.org/showthread.php?t=1984743. And in this post Favux gave some instruction how to disable one of the 9x12 items: http://ubuntuforums.org/showthread.php? ... st12123598. I thought I post it just in case it helps.
User avatar
Storm
Registered Member
Posts
77
Karma
0
OS

Re: Krita + non-wacom tablets

Mon Dec 02, 2013 12:22 pm
Greetings.

I spent two and a half weeks trying to make my UC-Logic WP8060U have pressure either in Krita or under Wine (for Photoshop) but with no success. I1m entirely tired of this nonsense and I'm actually considering switching back to Windows after years of Linux, because I'm unable to work under Linux without pressure. You people here are my last hope.

I read this thread, and read hundreds of other forum and mailing list posts already. The only thing I didn't try yet is patching Qt, since my Linux knowledge is basic, and all I read about Qt patching seems to me like it was written in an alien language... so I really hope there is another way. Also because my system is critical, I CAN NOT just break it and reinstall... if it breaks, I'm screwed big time.

So...

Are there any news on this?

I saw it mentioned that new dev versions of Krita have tablet handling - what's up with that? Is it out? Does it support evdev? Will it?

Thanks in advance.


"Sic itur ad astra per aspera."
dkazakov
Registered Member
Posts
64
Karma
1

Re: Krita + non-wacom tablets

Mon Dec 02, 2013 12:37 pm
Hi, Storm!

If you are on Ubuntu-like system, please check the latest Krita package in Krita Lime:

http://dimula73.blogspot.ru/2013/05/kri ... sions.html

For other distributions, you will need to build Krita yourself:

Either of the two manuals (the former one is a bit newer):
http://www.davidrevoy.com/article193/bu ... x-for-cats
http://community.kde.org/Calligra/Building

You can also try to wait a couple of days until upcoming Krita 2.8 Alpha1 will appear in your distribution, but that may demand some major system updates.
User avatar
Storm
Registered Member
Posts
77
Karma
0
OS

Re: Krita + non-wacom tablets

Mon Dec 02, 2013 2:30 pm
Hi!

You are Dmitry, right, the guy who coded the tablet support? :D Thank you very much for your work! This is something Krita really needed, so finally not only Wacom owners but the rest of the world can use it too. :P If I understand right, from 2.8 everything that works with GIMP etc. will work in Krita too?

I'm on Arch, which is rolling release so in theory things come out the moment they are ready. But not sure if there will be an alpha package. I think I just try to build it from master. I love the first tutorial you linked! :)


Now the only big issue that needs to be fixed in Krita is that it lags to the nine hells on the same computer that can run Photoshop CS6 smoothly... Things like loading all brushes into the RAM even when not used, and other nonsense that MIGHT give an INSIGNIFICANT boost to people who can afford a power plant, but make Krita a painful, super-slow, laggish nightmare for the rest of the World. :( I had to delete most of the default brushes to be able to do anything at all without lagging.


"Sic itur ad astra per aspera."
User avatar
Storm
Registered Member
Posts
77
Karma
0
OS

Re: Krita + non-wacom tablets

Tue Dec 03, 2013 7:35 am
Hi!

I just finished building and installing Krita from master.

STILL NO PRESSURE SENSITIVITY!!! :(

So what now?


"Sic itur ad astra per aspera."
dkazakov
Registered Member
Posts
64
Karma
1

Re: Krita + non-wacom tablets

Tue Dec 03, 2013 8:04 am
Hi, Storm!

Could you check two things:

1) paste the output of 'xinput' with the tablet connected to the machine;

2) make a log of tablet events in Krita: start Krita in Terminal, press Ctrl+Shift+T, save the terminal output to a file and paste here (don't forget to activate unlimited scrollback in the terminal :) )
User avatar
Storm
Registered Member
Posts
77
Karma
0
OS

Re: Krita + non-wacom tablets

Tue Dec 03, 2013 10:20 am
So it still works in GIMP, just not in Krita. According to xinput it's recognized properly:

Code: Select all
Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ UC-LOGIC Tablet WP8060U                   id=8    [slave  pointer  (2)]
⎜   ↳ UC-LOGIC Tablet WP8060U                   id=9    [slave  pointer  (2)]
⎜   ↳ USB Optical Mouse                         id=10   [slave  pointer  (2)]


I'm using the "wizardpen" driver.

Here is the event log:
http://pastebin.com/FJRhmKcy

Thanks in advance!


"Sic itur ad astra per aspera."
User avatar
Storm
Registered Member
Posts
77
Karma
0
OS

Re: Krita + non-wacom tablets

Fri Dec 06, 2013 8:37 am
Any news?

Would it help if I try to build it again from master?


"Sic itur ad astra per aspera."
dkazakov
Registered Member
Posts
64
Karma
1

Re: Krita + non-wacom tablets

Fri Dec 06, 2013 9:40 am
Hi, Storm!

It seems like your X11 server does not recognize the tablet and doesn't report it as a tablet to Krita. Theoretically, I can prepare a patch that would add some more debug information about what the server reports to us (and whether it reports anything), but I'm a bit busy right now and will be able to do it not earlier that Sunday or Monday.

For now you can try to play with your driver and X11 configuration. Btw, does the pressure work in other applications, like Gimp and MyPaint?
User avatar
Storm
Registered Member
Posts
77
Karma
0
OS

Re: Krita + non-wacom tablets

Fri Dec 06, 2013 12:39 pm
Hi!

I appreciate any help! :) If you get around making that patch, let me know. And I understand there are more important things that come first.

Yes, it works in GIMP and MyPaint. Actually, it does also works with no specific driver installed at all, I only use the Wizardpen (driver for Genius tablets that are technically rebranded UC-LOGICs) because position detection around the tablet's edges is a bit glitchy and that driver allowed me to define my working area.

What I'm going to do now is remove Wizardpen, modify the config file to set it with evdev, and copy-paste the same coordinates, and we will see if it works. I will post the result here. If it works in other apps, bit still not in Krita, I will keep it anyway so I will be on the officially supported river then, which probably makes things easier.

Thanks all the help!


"Sic itur ad astra per aspera."
viktoria.s
Registered Member
Posts
40
Karma
1
OS

Re: Krita + non-wacom tablets

Sun Dec 08, 2013 2:11 pm
Hi,

I have done some testing with Genius MousePen i608X and the Krita Lime package on Xubuntu 13.10 64bit on a VM. First I tested the evdev driver. MyPaint was working well, but Krita didn't. There was no pressure with the tablet. :( (I couldn't test the tablet in Gimp because of this bug: https://bugzilla.gnome.org/show_bug.cgi?id=674253).
Then I tried the wacom driver too. (This tablet working with the wacom driver too :)) And there was pressure in all applications :) including Krita :)
If you need outputs from this tablet too please let me know.
User avatar
Storm
Registered Member
Posts
77
Karma
0
OS

Re: Krita + non-wacom tablets

Sun Dec 08, 2013 5:27 pm
Sorry for slow response, I had unrelated issues keeping me busy.

So I just built the latest Krita Alpha from source 1-2 hours ago. Still no pressure, everything seems the same. with both evdev and wizardpen:

Pressure works in GIMP and MyPaint, NOT in Krita.

xinput:
Code: Select all
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ UC-LOGIC Tablet WP8060U                   id=8    [slave  pointer  (2)]
⎜   ↳ UC-LOGIC Tablet WP8060U                   id=9    [slave  pointer  (2)]
⎜   ↳ USB Optical Mouse                         id=10   [slave  pointer  (2)]

Tablet event log:
http://pastebin.com/LR4yzpHX

And the wacom driver workaround doesn't work with UC-LOGICs (I tried regardless, to no avail).

I ran out of ideas, all I can do is waiting for either Dmitry making that patch, or any suggestions on what could I try. According to Dmitry, the X server reports my tablet pen to Krita as a mouse, rather than a pen.


"Sic itur ad astra per aspera."


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], rockscient, Yahoo [Bot]