Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again.
@ 2023-10-30 21:27 gc-user
  2023-10-31  2:33 ` oreo639
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: gc-user @ 2023-10-30 21:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2418 bytes --]

New issue by gc-user on void-packages repository

https://github.com/void-linux/void-packages/issues/46975

Description:
As I don't know which package is the culprit, I decided not to create a bug report (aka "Issue") but rather use this free-form report form.

There are reports on GIMP gitlab and reddit to be found that seemingly address this issue.

The other day I re-encountered that issue when trying to use the tablet with GIMP, so I decided to try to get it to work.

First, I tried building the xbps files for the GIMP developer version 2.99.16, but, after adjusting the template and the patch file, it still failed, to I abandoned that idea, as I'm not versed enough to know which build settings to change / create to make it work.

Then I went back to looking for older package of libwacom.

Thanks to zfs, and therefore snapshots, and my own xbps files collections (started years back due to all kinds of regression that showed up in different packages), I had a few versions of that file. And thanks to an older system, I found even more.

Trying to xdowngrade libwacom, I learned that it has dependencies with libinput and kcm-wacomtablet. Trying some older versions with no change, and also trying to downgrade GIMP (the oldest version that worked without having to downgrade a bunch of other dependencies, was 2.10.32), I realized that there are two more packages to consider: xf86-input-libinput and xf86-input-wacom.

Also, the versions of libinput and xf86-input-libinput should be from around the same time frame (as should obviously the others as well), because if they aren't one might end up booting into a system with no keyboard available (internal or external (USB). With zfs and different BEs that's a minor problem, though.

So, after quite a number of reboots, I now found a combination of versions of those packages, that make GIMP work again with my Wacom tablet without any crashes:

libinput: v1.22.0_1
libwacom: v1.12_1
kcm-wacomtablet: v3.2.0_2
xf86-input-libinput: v1.2.1_1
xf86-input-wacom: v1.1.0_1


I don't know which package is ultimately responsible for the crash issue and which ones are just needed in a lower version for the culprit to work.
It might be libwacom or xf86-input-wacomtablet, or both / neither.

Either way, the above setup finally allows me to use GIMP and my tablet again since it stopped working sometime this spring, I guess.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: GIMP crashing when trying to use Wacom tablet - how to make it work again.
  2023-10-30 21:27 [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again gc-user
@ 2023-10-31  2:33 ` oreo639
  2023-11-01 19:00 ` GIMP crashing when trying to use Wacom tablet - here's " gc-user
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: oreo639 @ 2023-10-31  2:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/issues/46975#issuecomment-1786342100

Comment:
If you are familiar with gdb, can you get a gdb backtrace for the gimp crash? (you will need to install `-dbg` packages including `gimp-dbg`)

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: GIMP crashing when trying to use Wacom tablet - here's how to make it work again.
  2023-10-30 21:27 [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again gc-user
  2023-10-31  2:33 ` oreo639
@ 2023-11-01 19:00 ` gc-user
  2023-11-01 19:31 ` oreo639
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gc-user @ 2023-11-01 19:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

New comment by gc-user on void-packages repository

https://github.com/void-linux/void-packages/issues/46975#issuecomment-1789492744

Comment:
I just re-read some search results and my notes.

So, apparently, xf86-input-wacomtablet isn't quite the culprit, but needs downgrading to v1.1.0_1 to get GIMP not crashing with Wacom tablet.

I probably didn't reboot back then when I first tried this a few months back, still had GIMP crashing and gave up. And looking at my notes yesterday, I didn't even think of only downgrading xf86-input-wacomtablet as it would not work according to my notes...

But, according to https://www.reddit.com/r/GIMP/comments/12me5c6/is_gimp_giving_a_fatal_error_for_anyone_else_when/?rdt=63947 and my new tests from now (which, of course, included reboots this time) it does work.

And according to https://gitlab.gnome.org/GNOME/gimp/-/issues/9385 the real culprit is GIMP. Which wouldn't be surprising, because Krita never crashed when xf86-input-wacom v1.1.0_1 was installed.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: GIMP crashing when trying to use Wacom tablet - here's how to make it work again.
  2023-10-30 21:27 [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again gc-user
  2023-10-31  2:33 ` oreo639
  2023-11-01 19:00 ` GIMP crashing when trying to use Wacom tablet - here's " gc-user
@ 2023-11-01 19:31 ` oreo639
  2023-11-01 19:31 ` oreo639
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: oreo639 @ 2023-11-01 19:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 414 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/issues/46975#issuecomment-1789534724

Comment:
You can test that by downloading this patch and placing it in the patches folder:
https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/935.patch
https://github.com/void-linux/void-packages/tree/master/srcpkgs/gimp/patches

Then build it using `./xbps-src pkg gimp`


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: GIMP crashing when trying to use Wacom tablet - here's how to make it work again.
  2023-10-30 21:27 [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again gc-user
                   ` (2 preceding siblings ...)
  2023-11-01 19:31 ` oreo639
@ 2023-11-01 19:31 ` oreo639
  2023-11-01 19:32 ` oreo639
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: oreo639 @ 2023-11-01 19:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/issues/46975#issuecomment-1789534724

Comment:
You can test that by downloading this patch and placing it in the patches folder:
https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/935.patch
https://github.com/void-linux/void-packages/tree/master/srcpkgs/gimp/patches

Then build it using `./xbps-src pkg gimp`
If it works, feel free to submit a PR with the patch.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: GIMP crashing when trying to use Wacom tablet - here's how to make it work again.
  2023-10-30 21:27 [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again gc-user
                   ` (3 preceding siblings ...)
  2023-11-01 19:31 ` oreo639
@ 2023-11-01 19:32 ` oreo639
  2023-11-01 20:39 ` gc-user
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: oreo639 @ 2023-11-01 19:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 540 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/issues/46975#issuecomment-1789534724

Comment:
You can test that by downloading this patch and placing it in the patches folder:
https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/935.patch
https://github.com/void-linux/void-packages/tree/master/srcpkgs/gimp/patches

Then build it using `./xbps-src pkg gimp`
If it works, feel free to submit a PR with the patch.
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: GIMP crashing when trying to use Wacom tablet - here's how to make it work again.
  2023-10-30 21:27 [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again gc-user
                   ` (4 preceding siblings ...)
  2023-11-01 19:32 ` oreo639
@ 2023-11-01 20:39 ` gc-user
  2023-11-01 20:54 ` oreo639
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gc-user @ 2023-11-01 20:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 610 bytes --]

New comment by gc-user on void-packages repository

https://github.com/void-linux/void-packages/issues/46975#issuecomment-1789644922

Comment:
Thanks for your help!

Actually, I tried to build the new version (v2.99.16), but they changed to much that simple adjusting the template file and the patches for v2.10.34 isn't enough. So, that's beyond my capabilities.

But applying the patch you suggested to v2.10.34 worked fine and the resulting package / version doesn't crash anymore with the latest version of xf86-input-wacomtablet.

So, thanks again for the hint.

I'll try to commit the changes...

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: GIMP crashing when trying to use Wacom tablet - here's how to make it work again.
  2023-10-30 21:27 [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again gc-user
                   ` (5 preceding siblings ...)
  2023-11-01 20:39 ` gc-user
@ 2023-11-01 20:54 ` oreo639
  2023-11-01 20:55 ` oreo639
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: oreo639 @ 2023-11-01 20:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/issues/46975#issuecomment-1789670258

Comment:
`v2.99.16` is a beta release for GIMP 3.0.x

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: GIMP crashing when trying to use Wacom tablet - here's how to make it work again.
  2023-10-30 21:27 [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again gc-user
                   ` (6 preceding siblings ...)
  2023-11-01 20:54 ` oreo639
@ 2023-11-01 20:55 ` oreo639
  2023-11-01 21:06 ` gc-user
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: oreo639 @ 2023-11-01 20:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/issues/46975#issuecomment-1789670258

Comment:
`v2.99.16` is a beta release for GIMP 3.0.0

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: GIMP crashing when trying to use Wacom tablet - here's how to make it work again.
  2023-10-30 21:27 [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again gc-user
                   ` (7 preceding siblings ...)
  2023-11-01 20:55 ` oreo639
@ 2023-11-01 21:06 ` gc-user
  2023-11-01 21:07 ` gc-user
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gc-user @ 2023-11-01 21:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

New comment by gc-user on void-packages repository

https://github.com/void-linux/void-packages/issues/46975#issuecomment-1789686233

Comment:
Yeah, I got fooled... :-). It looked so "official" on [Gitlab](https://gitlab.gnome.org/GNOME/gimp/-/releases), no "pre-release" label or anything, like on Github...
And my thought was: better a beta that doesn't crash than a stable that does... :-)

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: GIMP crashing when trying to use Wacom tablet - here's how to make it work again.
  2023-10-30 21:27 [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again gc-user
                   ` (8 preceding siblings ...)
  2023-11-01 21:06 ` gc-user
@ 2023-11-01 21:07 ` gc-user
  2023-12-21 20:33 ` gc-user
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gc-user @ 2023-11-01 21:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 181 bytes --]

New comment by gc-user on void-packages repository

https://github.com/void-linux/void-packages/issues/46975#issuecomment-1789687575

Comment:
PR is out and waiting for approval...

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: GIMP crashing when trying to use Wacom tablet - here's how to make it work again.
  2023-10-30 21:27 [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again gc-user
                   ` (9 preceding siblings ...)
  2023-11-01 21:07 ` gc-user
@ 2023-12-21 20:33 ` gc-user
  2023-12-21 20:35 ` gc-user
  2024-02-04  7:50 ` [ISSUE] [CLOSED] " oreo639
  12 siblings, 0 replies; 14+ messages in thread
From: gc-user @ 2023-12-21 20:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

New comment by gc-user on void-packages repository

https://github.com/void-linux/void-packages/issues/46975#issuecomment-1789492744

Comment:
I just re-read some search results and my notes.

So, apparently, xf86-input-wacomtablet isn't quite the culprit, but needs downgrading to v1.1.0_1 to get GIMP not crashing with Wacom tablet.

I probably didn't reboot back then when I first tried this a few months back, still had GIMP crashing and gave up. And looking at my notes yesterday, I didn't even think of only downgrading xf86-input-wacomtablet as it would not work according to my notes...

But, according to https://www.reddit.com/r/GIMP/comments/12me5c6/is_gimp_giving_a_fatal_error_for_anyone_else_when/?rdt=63947 and my new tests from now (which, of course, included reboots this time) it does work.

And according to https://gitlab.gnome.org/GNOME/gimp/-/issues/9385 the real culprit is GIMP. Which wouldn't be surprising, because Krita never crashed when xf86-input-wacom v1.2.0_1 was installed.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: GIMP crashing when trying to use Wacom tablet - here's how to make it work again.
  2023-10-30 21:27 [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again gc-user
                   ` (10 preceding siblings ...)
  2023-12-21 20:33 ` gc-user
@ 2023-12-21 20:35 ` gc-user
  2024-02-04  7:50 ` [ISSUE] [CLOSED] " oreo639
  12 siblings, 0 replies; 14+ messages in thread
From: gc-user @ 2023-12-21 20:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]

New comment by gc-user on void-packages repository

https://github.com/void-linux/void-packages/issues/46975#issuecomment-1866898780

Comment:
Update:

Gimp 2.10.36 is out since Nov 5th, it fixes this wacom issue.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [ISSUE] [CLOSED] GIMP crashing when trying to use Wacom tablet - here's how to make it work again.
  2023-10-30 21:27 [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again gc-user
                   ` (11 preceding siblings ...)
  2023-12-21 20:35 ` gc-user
@ 2024-02-04  7:50 ` oreo639
  12 siblings, 0 replies; 14+ messages in thread
From: oreo639 @ 2024-02-04  7:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2595 bytes --]

Closed issue by gc-user on void-packages repository

https://github.com/void-linux/void-packages/issues/46975

Description:
As I don't know which package is the culprit, I decided not to create a bug report (aka "Issue") but rather use this free-form report form.

There are reports on GIMP gitlab and reddit to be found that seemingly address this issue.

The other day I re-encountered that issue when trying to use the tablet with GIMP, so I decided to try to get it to work.

First, I tried building the xbps files for the GIMP developer version 2.99.16, but, after adjusting the template and the patch file, it still failed, to I abandoned that idea, as I'm not versed enough to know which build settings to change / create to make it work.

Then I went back to looking for older package of libwacom.

Thanks to zfs, and therefore snapshots, and my own xbps files collections (started years back due to all kinds of regression that showed up in different packages), I had a few versions of that file. And thanks to an older system, I found even more.

Trying to xdowngrade libwacom, I learned that it has dependencies with libinput and kcm-wacomtablet. Trying some older versions with no change, and also trying to downgrade GIMP (the oldest version that worked without having to downgrade a bunch of other dependencies, was 2.10.32), I realized that there are two more packages to consider: xf86-input-libinput and xf86-input-wacom.

Also, the versions of libinput and xf86-input-libinput should be from around the same time frame (as should obviously the others as well), because if they aren't one might end up booting into a system with no keyboard available (internal or external (USB). With zfs and different BEs that's a minor problem, though.

So, after quite a number of reboots, I now found a combination of versions of those packages, that make GIMP work again with my Wacom tablet without any crashes:

libinput: v1.22.0_1
libwacom: v1.12_1
kcm-wacomtablet: v3.2.0_2
xf86-input-libinput: v1.2.1_1
xf86-input-wacom: v1.1.0_1


I don't know which package is ultimately responsible for the crash issue and which ones are just needed in a lower version for the culprit to work.
It might be libwacom or xf86-input-wacomtablet, or both / neither.

Either way, the above setup finally allows me to use GIMP and my tablet again since it stopped working sometime this spring, I guess.


[Update:]

Downgrading xf86-input-wacom to v1.1.0_1 should suffice. Seems to work fine with the other packages being at their respective current version.

[/Update]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-02-04  7:50 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-30 21:27 [ISSUE] GIMP crashing when trying to use Wacom tablet - how to make it work again gc-user
2023-10-31  2:33 ` oreo639
2023-11-01 19:00 ` GIMP crashing when trying to use Wacom tablet - here's " gc-user
2023-11-01 19:31 ` oreo639
2023-11-01 19:31 ` oreo639
2023-11-01 19:32 ` oreo639
2023-11-01 20:39 ` gc-user
2023-11-01 20:54 ` oreo639
2023-11-01 20:55 ` oreo639
2023-11-01 21:06 ` gc-user
2023-11-01 21:07 ` gc-user
2023-12-21 20:33 ` gc-user
2023-12-21 20:35 ` gc-user
2024-02-04  7:50 ` [ISSUE] [CLOSED] " oreo639

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).