I am using Debian 8 Jessie with the awesome window manager and an nvidia graphics card. I have the proprietary drivers for my card installed.
When trying to start the game using the Airships executable, I get a message that the game "Could not create OpenGL window", and that I should check my graphics drivers.
It will then continue to screw up my resolution, but not launch the game.
This is the console output I get:
config file: [REDACTED]/airships/config.json
jar: [REDACTED]/airships/game.jar
mainClass: com/zarkonnen/airships/Main
vmArg 0: -Djava.library.path=lib/native
vmArg 1: -Xmx1024m
jre: [REDACTED]/airships/jre/lib/i386/server/libjvm.so
Sat Aug 08 22:56:47 CEST 2015 INFO:Slick Build #264
Sat Aug 08 22:56:47 CEST 2015 INFO:LWJGL Version: 2.9.3
Sat Aug 08 22:56:47 CEST 2015 INFO:OriginalDisplayMode: 1920 x 1200 x 24 @59Hz
Sat Aug 08 22:56:47 CEST 2015 INFO:TargetDisplayMode: 800 x 600 x 0 @0Hz
Sat Aug 08 22:56:47 CEST 2015 ERROR:Could not choose GLX13 config
org.lwjgl.LWJGLException: Could not choose GLX13 config
at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
at org.lwjgl.opengl.LinuxDisplayPeerInfo.[HTML_REMOVED](LinuxDisplayPeerInfo.java:61)
at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:828)
at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
at org.lwjgl.opengl.Display.create(Display.java:846)
at org.lwjgl.opengl.Display.create(Display.java:757)
at org.newdawn.slick.AppGameContainer.tryCreateDisplay(AppGameContainer.java:342)
at org.newdawn.slick.AppGameContainer.access$000(AppGameContainer.java:32)
at org.newdawn.slick.AppGameContainer$2.run(AppGameContainer.java:407)
at java.security.AccessController.doPrivileged(Native Method)
at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:388)
at com.zarkonnen.catengine.SlickEngine$MyAppGameContainer.[HTML_REMOVED](SlickEngine.java:105)
at com.zarkonnen.catengine.SlickEngine.setup(SlickEngine.java:95)
at com.zarkonnen.airships.Main.main(Main.java:33)
I also get the same error when I try to launch the game in a Windows VM.
I cannot run the game.jar with my local java installation. If I try to do so, it'll bark java.lang.UnsatisfiedLinkErrors at me for lwjgl64.
Lieutenant
Hi,
I am using Debian 8 Jessie with the awesome window manager and an nvidia graphics card. I have the proprietary drivers for my card installed.
When trying to start the game using the Airships executable, I get a message that the game "Could not create OpenGL window", and that I should check my graphics drivers.
It will then continue to screw up my resolution, but not launch the game.
This is the console output I get:
I also get the same error when I try to launch the game in a Windows VM.
I cannot run the game.jar with my local java installation. If I try to do so, it'll bark java.lang.UnsatisfiedLinkErrors at me for lwjgl64.
Other Java OpenGL games work for me.
Help would be appreciated!
Aerial Emperor
Fun times! Might be related to this issue?
Have you tried launching the game like this:
Lieutenant
Hey,
Sorry for only answering now.
It turns out that I had an issue with my libGL setup.
The fix is described here, although be careful about trying this if you have the same issue - it can break stuff and may not apply to your setup!
With my libGL issues fixed, the ./Airships executable works out-of-the-box.