Page MenuHomeSolus

Gimp 2.10 dosen't detect wacom tablet.
Closed, ResolvedPublic

Description

My wacom tablet isn't recognized from gimp 2.10.
The tablet gets detected and works fine in krita, 3dcoat etc...

Device reported from lsusb cmd:
Bus 002 Device 007: ID 056a:00b8 Wacom Co., Ltd PTK-440 [Intuos4 (4x6)

Event Timeline

ni-code created this task.May 7 2018, 6:51 PM

Today I installed the gimp2.10 flatpak version, and the wacom tablet gets detected and and the pressure works as intended.
So to summarize:
Gimp2.10 flatpak -> wacom gets detected and pressure works.
Gimp2.10 solus repos -> wacom dosen't get detected (can still use it like a "mouse pointer") pressure dosen't work.

joebonrichie changed the task status from Open to In Progress.May 10 2018, 4:57 PM
joebonrichie triaged this task as Normal priority.
joebonrichie edited projects, added Software; removed Lacks Project.
joebonrichie added a subscriber: joebonrichie.

I have a wacom tablet can confirm this issue. Will do some digging.

joebonrichie changed the task status from In Progress to Open.May 10 2018, 4:57 PM
joebonrichie moved this task from Backlog to Package Fixes on the Software board.

For clarity, this is also an issue for inkscape. Edit -> input devices doesn't show wacom as an option.

ok, I was a few days young and naive. This also affects 3dcoat, tablet pressure dosen't work in there, sorry.
Although the pressure works inside krita and blender, I tripled checked this time.

I have a Wacom Bamboo. xsetwacom --list devices shows the right things…

Wacom Bamboo 2FG 6x8 Pen stylus 	id: 14	type: STYLUS    
Wacom Bamboo 2FG 6x8 Pen eraser 	id: 15	type: ERASER    
Wacom Bamboo 2FG 6x8 Finger touch	id: 16	type: TOUCH     
Wacom Bamboo 2FG 6x8 Pad pad    	id: 17	type: PAD

But the Wacom Tablet settings panel shows “No stylus found” even when I’m using the stylus as a mouse! No tablet appears as an input device in Gimp, Krita or Inkscape.

That's the thing, wacom tablets work out of the box on our gnome based iso's and plasma. If i had to guess it's due to a stateless config or a missing build option somewhere in the stack.

ni-code added a comment.EditedMay 17 2018, 3:32 PM

I wish I could help more to solve this issue... but I'm not a developer. The strange thing in here is that the pressure in gimp flatpak works while the gimp from solus repos doesn't. Maybe that's a good hint to check for the issue?

Edit: I'm on Solus budgie btw

Riokei added a subscriber: Riokei.May 18 2018, 12:24 PM

I've got the same issue in GIMP but I have a Huion tablet.

kungpaogao added a subscriber: kungpaogao.EditedJun 28 2018, 3:48 AM

I have the same issue as well with a Huion H610 Pro tablet/pen. It shows up with xsetwacom --list devices , but it is unrecognized in GIMP. However, pressure sensitivity does work in Krita.

Is anyone able to provide an strace of the repo and flatpak versions so I may review them? (no idea how well this would work with the flatpak version)

I would include launching the program, going to the wacom tablet settings, going to the wacom tablet settings in program, and then immediately closing GIMP so that the strace length is minimized.

@sunnyflunk

sunnyflunk added a comment.EditedJun 30 2018, 12:20 AM

Here's a quick rundown of what I saw as the differences (i.e. what Solus was missing)

This is likely what needs to be fixed as libXi provides an X Window System client interface to the XINPUT extension
/# Something isn't linked against these #/

  1. libXi.so.6
  2. libXdmcp.so.6

Other notables

/# EXR support missing in GEGL#/

  1. exr-load.so
  2. exr-save.so
  3. libIlmImf-2_2.so.22
  4. libHalf.so.12
  5. libIex-2_2.so.12
  6. libIlmThread-2_2.so.12

/# jasper support missing in GEGL#/
libjasper.so.1

/# GEGL isn't built with edit this is actually suitesparse which is linked to BLAS#/

  1. matting-levin.so
  2. libumfpack.so.5.7.1
  3. libblas.so.3
  4. libamd.so.2.4.1
  5. libcholmod.so.3.0.6
  6. libsuitesparseconfig.so.4.4.6
  7. liblapack.so.3
  8. libcolamd.so.2.9.1
  9. libcamd.so.2.4.1
  10. libccolamd.so.2.9.1

/# No idea what this is, or why it's a separate file in the snap #/
libgimp-2.0.so.0

Anyone have a direct link to the flatpak/snap of gimp so I can take a peek?

Alright, figured it out. We need to explicitly enable xinput support in gtk2. Thanks for the help debugging and for pointing me on the right track @sunnyflunk.

@joebonrichie correct, it is libgtk-2 that needs fixing (libgdk-x11 is the lib that didn't have it and needs it according to the strace). So if you want to give it a crack, I'm not around till Monday.

One step ahead of you ;) haha

Well I had been meaning to post that it was libgtk-2, just got pulled away before I hit send.

next gimp release should fully drop gtk2

joebonrichie added a comment.EditedJun 30 2018, 2:13 PM

I know, similar inkscape functionality was also broken by this, so we'll keep it around.

kungpaogao added a comment.EditedJul 1 2018, 2:27 AM

Sorry for being such a noob, but when can we expect to see this fix implemented? Will it be an update in the Software Center?

To get it now, will look to get it synced with firefox

sudo eopkg install https://packages.solus-project.com/unstable/libg/libgtk-2/libgtk-2-2.24.31-22-1-x86_64.eopkg

Awesome, thank you so much! I will report back with my results.

I am happy to report that it works perfectly (at least for the simple stuff I'm doing) with a Huion H610 Pro tablet/pen (with DIGImend drivers) in Inkscape, GIMP, and Krita. Yay! Thank you devs :)