Which Graphic Tablets Models Work on MyPaint 1.2.0+?

I’ve looked at the digimend support page but it says’ Go to MyPaint>help>debug>GTK but that isn’t an option I do get Help.debug>test input device but that only shows the mouse, not the pen stylus

Ok, so does the pen stylus work at all, or is it a question of e.g. pressure not working?

Which version of MyPaint are you using?

Does the tablet work in GIMP?

It does nothing zipp ! It’s as if it wasn’t connected. I’m a bit of a newbie in graphics and haven’t tried GIMP is it a down load program? Sorry I’m really just finding my feet with this Graphics stuff.

I’m using MyPaint version 1.2.0+gitexport.f62444e ??

Alright, then the problem is further up the chain, so to speak. GIMP is a more complex graphics program, and you should be able to install it from the same place you installed MyPaint. I’m fairly sure it won’t work there either, though, if you can’t move the mouse pointer with the tablet/stylus at all.

Can you paste the output from xinput between three backticks (three backticks before the pasted content, three backticks after)?

pi@raspberrypi:~ $ xinput
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ PixArt USB Optical Mouse                	id=8	[slave  pointer  (2)]
⎜   ↳ HID 256c:006e Pen stylus                	id=9	[slave  pointer  (2)]
⎜   ↳ HID 256c:006e Pad pad                   	id=10	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳   RPI Wired Keyboard 4                  	id=6	[slave  keyboard (3)]
    ↳   RPI Wired Keyboard 4                  	id=7	[slave  keyboard (3)]
    ↳ 10:12:01:45:9D:53                       	id=11	[slave  keyboard (3)]

That didn’t work totally it removed the tabs between id=XX and [Slave pointer]
but I think you get the gist

Yes, that’s why the backticks (```) are needed (I edited your post to add them), although in this case it was readable anyway.

The pad and stylus are indeed listed, though the fact that they have somewhat generic names might suggest that the digimend driver is not actually used (that’s speculation, not fact).

As is suggested in the locating failure page I linked above, you can test a specific device by giving its id: xinput --test id where the id in this case would be 9 (the stylus). If you don’t get a printout of events, that suggests the driver isn’t working correctly. If you do get a list of events I’m not sure what’s going on.

Which distro are you running on the Pi?

EDIT: fixed xinput command

Thanks i tried xinput test 9
and nothing!

no response whatsoever.

Sorry to be such a dork, but what is a “distro”?

distro = distribution, in this case distribution of linux; a particular configuration, usually with associated software repositories (places to fetch/install programs from).

I think Raspbian is a popular choice of distribution for the raspberry pi computers.

Are you sure that you installed digimend drivers correctly, and that the version of the drivers was at least 8?

I can’t give specific instructions on doing that any better than the documentation on the digimend project homepage, I’m afraid, but that is I would try first.

Correction: The xinput command I gave in the previous reply is wrong (I just took it from the digimend help page, it’s either wrong or outdated). The correct way to run the test is to do xinput --test id.

Hence my assumption about the driver not working could very well be wrong.

Ah ha yes I’m using Raspbian straight out of the box, and the digimend drivers were from : digimend-dkms_9_all.deb

I’m an ex UNIX applications software systems designer and haven’t touched a computer for 18 years, so I’m not a total numpty on core Unix stuff but graphics weren’t part of my portfolio.

Right, so assuming that the installation went well, you should get a printout to the terminal when running xinput --test id_of_the_stylus. If you didn’t notice my edit, I gave the wrong command previously (unfortunately the docs on digimend seem generally outdated).

If you do get output with the correct command (when moving the stylus on the tablet), try starting MyPaint from a terminal like this:

GDK_BACKEND=x11 mypaint

If that solves the issue the problem is with Wayland (I’m not sure if raspbian even uses Wayland, but if it does it might be the reason).

Thanks ever so much for you patience, I’ve tried that still nix, I’m beginning to think these digimend headers aren’t installed correctly. the zip .deb downloaded into …downloads I ran install from there and got no errors. So if I look in /usr/sbin/ there’s a dkms.

Not sure what to look for but the README info is written using terms I don’t understand…

I took a look at the digimend github issues: one (or more) of these might be related to your issue:

I’m sorry I can’t be of more help than that.

I’ve had a look thru those but can’t see direct pointers. Does the fact that I can see the pen stylus and pad using xinput mean that the drivers are working, or do I have to compile or “make” anything?

if so where is the source directory? I’m still struggling here.

Thanks

I’m sorry, but my knowledge of kernel modules and device drivers is pretty limited. I would start by checking if any of the systems described in those issues match your system, in terms of kernel version (run uname -r to find out) etc. If you find a match, but don’t find the instructions (if there are any) in the issue to be sufficient, make a comment clearly describing your situation and hopefully you can get some pointers. If none of the issues match, you could consider making a new issue.

I’ve now made sure that the kernel headers are correct, if I go into MyPaint edit>edit preferences>devices it shows both the Pen Stylus and Pad, with full permissions Any Task and Zoom. but they do not register on the Help>debug>test input devices…

So I guess it’s an omission in the digimend software not supporting my tablet.

Thanks for your help anyway.

Correction I’m not sure it’s a digimend problem i can’t see any input from the tablet in evtest or xinput --test either. Yet MyPaint sees both pad and stylus in Edit>Edit Preferences>Devices as do evtest and xinput. Just no output/Input. the tablet works fine on windows 10. So I’m stuffed I will just have to use MS Paint 3D and keep moving stuff between computers… Doh!

I’m sorry to hear you couldn’t get your tablet working on Linux, but note that there are MyPaint installers for both v1.2.1 and v2.0.1 for Windows.

Going to the Compatibility tab in the preferences in v2.0.0+ and changing the default mode to 1.x will make the program work basically the same way as v1.2.1, but with a bunch of new features and more logical handling of drawing on a zoomed/rotated canvas.

I’m using a Huion kamvas pro 20, it works on Linux, I made some finetune settings and try to update this ticket on digimend driver (that manage all kind of tablets but Wacom on Linux) about those settings: Huion Kamvas Pro 20 report · Issue #463 · DIGImend/digimend-kernel-drivers · GitHub