GIMP: X Window System error

Hi All,

Gimp has been acting up (crashing) since “last week” not sure on the exact CLx version, I first noticed this when trying to crop/cut images amongst other activities. This is the error message (both Wayland and Xorg, even with the Flatpak app):

Warning: Unknown input_id: -1 for input: surfacemap_x
Warning: Unknown input_id: -1 for input: surfacemap_x
Warning: Unknown input_id: -1 for input: surfacemap_x
Warning: Unknown input_id: -1 for input: surfacemap_x
Warning: Unknown input_id: -1 for input: surfacemap_x
Warning: Unknown input_id: -1 for input: surfacemap_x
Warning: Unknown input_id: -1 for input: surfacemap_x
Warning: Unknown input_id: -1 for input: surfacemap_x
Warning: Unknown input_id: -1 for input: surfacemap_x
Warning: Unknown input_id: -1 for input: surfacemap_x
Warning: Unknown input_id: -1 for input: surfacemap_x
Warning: Unknown input_id: -1 for input: surfacemap_x
GIMP-Message: Some fonts failed to load:
-/usr/share/gimp/2.0/fonts/
The program ‘gimp’ received an X Window System error.
This probably reflects a bug in the program.
The error was ‘BadWindow (invalid Window parameter)’.
(Details: serial 56812 error_code 3 request_code 18 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
(script-fu:2165): LibGimpBase-WARNING **: 00:41:26.516: script-fu: gimp_wire_read(): error

This is not something I am knowledgeable on, anybody know what is going on? :innocent:


UPDATE:
Updated to Clear Linux 33140 and now it won’t launch!
Screenshot from 2020-05-20 20-12-51

There’s a section here on solving the exact error message you see.

I suggest opening a bug report on GitHub in the meantime.

1 Like

Same problem here. Using flatpak version seems like a temporary solution :smile:

I’m having a similar issue related to GEGL when I try to open gnome-photos.

I think it started in CL 33140.

Thanks @doct0rHu I got it to start with export GEGL_PATH=$usr/lib64/gegl-0.4 However, in operation, the ‘BadWindow (invalid Window parameter)’ still persists.

I have since opened a bug report here.

1 Like

You have not considered using “Glimpse Image Editor” instead https://glimpse-editor.org/
It works under CL ver 33180

1 Like

I decided to try it out, downloaded the Flatpak then at launch this:

Gtk-Message: 17:27:33.862: Failed to load module “canberra-gtk-module”
glimpse: mypaint-mapping.c:88: mypaint_mapping_set_n: Assertion `input >= 0 && input < self->inputs’ failed.
glimpse: fatal error: Aborted

Ok, I installed from software, and it works

Clear Linux 33210, and GIMP now launches successfully! Thank you!!

1 Like