[JAVA] [LWJGL] [OPENGL] Fatal Exception Occurs on startup.

Stack: [0x00000000022a0000,0x00000000023a0000], sp=0x000000000239f180, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ig4icd64.dll+0x3ee1f]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.lwjgl.opengl.WindowsContextImplementation.nMakeCurrent(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V+0
j org.lwjgl.opengl.WindowsContextImplementation.makeCurrent(Lorg/lwjgl/opengl/PeerInfo;Ljava/nio/ByteBuffer;)V+7
j org.lwjgl.opengl.ContextGL.makeCurrent()V+46
j org.lwjgl.opengl.DrawableGL.makeCurrent()V+14
j org.lwjgl.opengl.Display.makeCurrent()V+3
j org.lwjgl.opengl.Display.makeCurrentAndSetSwapInterval()V+0
j org.lwjgl.opengl.Display.setDisplayMode(Lorg/lwjgl/opengl/DisplayMode;)V+70
j org.lwjgl.util.Display.setDisplayMode([Lorg/lwjgl/opengl/DisplayMode;[Ljava/lang/String;)Lorg/lwjgl/opengl/DisplayMode;+120
j com.jca2323.BlockWarz.GameMenu.setDisplayMode()Z+98
j com.jca2323.BlockWarz.GameMenu.init()V+1
j com.jca2323.BlockWarz.Client.BlockWarzGame.init()V+93
j com.jca2323.BlockWarz.Client.BlockWarzGame.(ZLjava/lang/String;Ljava/lang/String;)V+53
j com.jca2323.BlockWarz.Main.main([Ljava/lang/String;)V+60
v ~StubRoutines::call_stub

My professional guess is that you’re doing something wrong. =P Post the Java code too or we won’t have any idea why it failed.

I need code for GameMenu.setDisplayMode(), OS version, Java version, and LWJGL version. I will also need to know any LWJGL methods you call before calling Display.setDisplayMode(…)

My professional guess is that your shitty Intel drivers are broken and if you’re lucky you’ll be able to find some updated video drivers that work. Otherwise you’ll probably be out of luck.

Cas :slight_smile:

That’s right, break the news gently :slight_smile:

Activate the debug. Maybe another OpenGL call uses something invalid but the error is only reporter when you try to make current the OpenGL context. Anyway, I fear princec is right. Sorry, Intel hardware is a real nightmare for game programmers, even cheap very low end ATI and NVIDIA graphics chips work better.

Edit.: Please set the org.lwjgl.Sys.debug property to true. princec, is it the good one?

And where did he say he had an Intel card? The only words he’s written are “Fatal Exception Occurs on startup”… >_>

Here:

C  [ig4icd64.dll+0x3ee1f]

:-*

I see. Well, that’s clever I guess. I guess you guys read up on driver file names before going to bed in the same way that I read manga or watch anime…

Or have just seen that driver in error logs so many times that we are warped and twisted by it’s very presence.

I unfortunately have to deal with literally hundreds of these :slight_smile: I think I’ve seen them all now.

Cas :slight_smile: