LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: HoLyVieR on December 09, 2009, 01:57:52

Title: Problem with installation
Post by: HoLyVieR on December 09, 2009, 01:57:52
I have download the installation file and ran the test to see if everything was working properly and I got multiple error and problem.

This is what it display me instead of the output it's suppose to normally do :

The following keys are available:
ESCAPE:         Exit test
ARROW Keys:     Move window when in non-fullscreen mode
L:              List selectable display modes
0-8:            Selection of display modes
F:              Toggle fullscreen
SHIFT-F:        Toggle fullscreen with Display.destroy()/create() cycle
Found 96 display modes
Problem retrieving mode with 640x480x24@-1
Problem retrieving mode with 800x600x24@-1
Problem retrieving mode with 1024x768x24@-1


Also, the display window is transparent (the graphic display is just the rendering of the application I have under) and the fullscreen mode is making the test window crash with this error :

org.lwjgl.LWJGLException: Could not make context current
        at org.lwjgl.opengl.WindowsContextImplementation.nMakeCurrent(Native Method)
        at org.lwjgl.opengl.WindowsContextImplementation.makeCurrent(WindowsContextImplementation.java:90)
        at org.lwjgl.opengl.Context.makeCurrent(Context.java:182)
        at org.lwjgl.opengl.Display.makeCurrent(Display.java:714)
        at org.lwjgl.opengl.Display.makeCurrentAndSetSwapInterval(Display.java:866)
        at org.lwjgl.opengl.Display.setDisplayModeAndFullscreenInternal(Display.java:536)
        at org.lwjgl.opengl.Display.setFullscreen(Display.java:499)
        at org.lwjgl.test.WindowCreationTest.handleInput(WindowCreationTest.java:228)
        at org.lwjgl.test.WindowCreationTest.execute(WindowCreationTest.java:128)
        at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:285)
Exception in thread "main" java.lang.NullPointerException
        at org.lwjgl.opengl.GL11.glClearColor(GL11.java:566)
        at org.lwjgl.test.WindowCreationTest.render(WindowCreationTest.java:254)
        at org.lwjgl.test.WindowCreationTest.execute(WindowCreationTest.java:131)
        at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:285)


Note: I got no clue if this could be affecting the librairy, but I have a dual screen setup and both screen have different resolution. I'm running under Windows XP.
Title: Re: Problem with installation
Post by: Fool Running on December 09, 2009, 13:32:53
What graphics card do you have? Have you updated your drivers?

The first thing you posted is normal. The second (the crash) is not normal ;)