Gdk-ERROR **: BadMatch (invalid parameter attributes) Error
On Linux (Fedora and other variants), if you receive the following error while trying to run a graphics application, read on.
This is caused by GDK not being able to make up its mind whether it should run in 32-bit or 24-bit mode since the application and the graphics environment being inconsistent. The solution is simple. Set the environment variable XLIB_SKIP_ARGB_VISUALS to 1 and rerun the application, e.g.
Good luck!
Gdk-ERROR **: BadMatch (invalid parameter attributes)
This is caused by GDK not being able to make up its mind whether it should run in 32-bit or 24-bit mode since the application and the graphics environment being inconsistent. The solution is simple. Set the environment variable XLIB_SKIP_ARGB_VISUALS to 1 and rerun the application, e.g.
$ export XLIB_SKIP_ARGB_VISUALS=1
Good luck!

0 Comments:
Post a Comment
<< Home