Hello everyone!
I'm getting this error when I start megabasterd:
$ megabasterd
Picked up _JAVA_OPTIONS: -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 72 (X_PutImage)
Serial number of failed request: 190
Current serial number in output stream: 200
I first suspected _JAVA_OPTIONS so I tried removing the existing GTK option:
$ _JAVA_OPTIONS="" megabasterd
Picked up _JAVA_OPTIONS:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 72 (X_PutImage)
Serial number of failed request: 190
Current serial number in output stream: 200
Same error.
I did a lot of searching and I started to think this is because I use 10-bit color under Linux. I haven't had many issues with using 10-bit color but it seems that the "fix" for many Java programs is to use -Dsun.java2d.opengl=true in _JAVA_OPTIONS.
$ _JAVA_OPTIONS="-Dsun.java2d.opengl=true" megabasterd
Picked up _JAVA_OPTIONS: -Dsun.java2d.opengl=true
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 72 (X_PutImage)
Serial number of failed request: 190
Current serial number in output stream: 200
Same error.
One last try:
java -jar -Dsun.java2d.opengl=true /usr/share/java/megabasterd/megabasterd.jar
Picked up _JAVA_OPTIONS: -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dsun.java2d.opengl=true
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 72 (X_PutImage)
Serial number of failed request: 190
Current serial number in output stream: 200
Looks like a common fix for other Java programs does not work for megabasterd.
Hello everyone! I'm getting this error when I start
megabasterd
:I first suspected
_JAVA_OPTIONS
so I tried removing the existing GTK option:Same error.
I did a lot of searching and I started to think this is because I use 10-bit color under Linux. I haven't had many issues with using 10-bit color but it seems that the "fix" for many Java programs is to use
-Dsun.java2d.opengl=true
in_JAVA_OPTIONS.
Same error. One last try:
Looks like a common fix for other Java programs does not work for
megabasterd
.Does anyone know how to fix this? Thanks!