LWJGL Error: failed to create drawable

Started by n4pgamer, April 09, 2013, 13:38:59

Previous topic - Next topic

n4pgamer

Hello,

I'm having trouble to run my application on an older Linux distribution. I don't have all infos on that system.

org.lwjgl.LWJGLException: X Error - disp: 0x78b09be0 serial: 91 error: BadGC (invalid GC parameter) request_code: 60 minor_code: 0
	at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:316)
	at org.lwjgl.opengl.LinuxKeyboard.nSetDetectableKeyRepeat(Native Method)
	at org.lwjgl.opengl.LinuxKeyboard.setDetectableKeyRepeat(LinuxKeyboard.java:152)
	at org.lwjgl.opengl.LinuxKeyboard.destroy(LinuxKeyboard.java:163)
	at org.lwjgl.opengl.LinuxDisplay.destroyKeyboard(LinuxDisplay.java:1190)
	at org.lwjgl.input.Keyboard.destroy(Keyboard.java:349)
	at org.lwjgl.opengl.Display.destroyWindow(Display.java:349)
	at org.lwjgl.opengl.Display.access$400(Display.java:62)
	at org.lwjgl.opengl.Display$5.destroy(Display.java:860)
	at org.lwjgl.opengl.Display.create(Display.java:880)
	at org.lwjgl.opengl.Display.create(Display.java:782)
	at org.lwjgl.opengl.Display.create(Display.java:764)
	at myPackage.Visualizer.loop(Visualizer.java:124)
	at myPackage.Visualizer.main(Visualizer.java:178)


It's using only GL11 (OpenGL 1.1 right ?) and Input via Keyboard the rest is pure Java.
(jinput.jar, lwjgl.jar, lwjgl_utils.jar, libjinput-linux.so, libjinput-linux64.so, liblwjgl.so, liblwjgl64.so)
It's running fine on Windows 7 and different Linux distro but fails at the one.

What would you do in order to solve the problem ? Can anything else but bad graphics driver be the problem ?

  • Update graphics driver
  • ?

Fool Running

It almost looks to me like a really old version of the X display server that is not supported by LWJGL. You probably just need to require a certain version of X or maybe the Kernel (maybe the LWJGL devs know which versions are required?)
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D