Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LWJGL NVIDIA Driver Issue

I have a GeForce GT 650M, and I recently updated to the 335.23 Driver (latest version). Doing so sort of messed up my LWJGL engine I have been making. First of all when I include this line: org.lwjgl.opengl.ARBTextureStorage.glTexStorage2D(GL_TEXTURE_2D (int)(Math.log(Math.max(decoder.getHeight(), decoder.getWidth()))/Math.log(2))+1, GL_RGBA8, decoder.getWidth(), decoder.getHeight());

I get this error:

Exception in thread "main" java.lang.IllegalStateException: Function is not supported
    at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
    at org.lwjgl.opengl.GL42.glTexStorage2D(GL42.java:238)
    at org.lwjgl.opengl.ARBTextureStorage.glTexStorage2D(ARBTextureStorage.java:22)
    at util.GLUtil.setUpTexture(GLUtil.java:255)

So I tried removing the parts that used this, and things still don't work. My SSAO component is plain white noise, my G-Buffer is black everywhere, and the final scene either looks like this:screenshot

I should mention that roughly the same thing happened with a driver update about two months ago. The previous time I could actually make out the scene, the only things wrong were the 5fps framerate, broken shadows, and inverted lighting. A new version was released in a few weeks and it was fixed. No OpenGL components of the engine have been changed for around 3 months. Could someone tell me what's going on here? I put a decent amount of work into this and I would prefer not to lose it all.

like image 346
Abaab Avatar asked Apr 17 '26 10:04

Abaab


1 Answers

Have your tried rolling back your graphics driver? Does this clear up the problem?


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!