LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Sormuras on July 20, 2004, 07:23:53

Title: No Screen Error - Notebook Graphic Chips
Post by: Sormuras on July 20, 2004, 07:23:53
Hello!

Similar to the "White Screen Error", I have problems running applications using LWJGL on my notebook. The graphics chip is a:

Trident Cyberblade 1i AGP (8520-83)

The new (and old) Display class reports some (13?) different and valid possible modi. When a game starts, I see it tries to switch the mode... but after a second I'm back in Windows. Sometimes, it complains about not enough color bits. I tried 8, 16 and 32 depths.

I'll attach a more detailed description later.

Is there any debug switches (VM params) I can set to get more info from the library why it crashes?
Title: No Screen Error - Notebook Graphic Chips
Post by: Sormuras on July 20, 2004, 09:39:16
WindowCreationTest says:

Found 12 display modes
java.lang.UnsatisfiedLinkError: nLoadOpenGLLibrary
at org.lwjgl.opengl.GLContext.nLoadOpenGLLibrary(Native Method)
at org.lwjgl.opengl.GLContext.loadOpenGLLibrary(GLContext.java:375)
at org.lwjgl.opengl.Display.create(Display.java:542)
at org.lwjgl.opengl.Display.create(Display.java:521)
at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:58)
Exception in thread "main"

...on Windows 2000, btw...
Title: No Screen Error - Notebook Graphic Chips
Post by: jglover13 on July 20, 2004, 16:25:03
It looks to me like you don't have some library that the code needs to run.  If I was to guess, I would say it was the OpenGL library.  Did you try the -Djava.library.path= option when running the test as described in the installation section of the website?

On another note, you can have valid display modes detected by lwjgl and still not have them work.  I've had this happen on my notebook with a Rage Mobility card.
Title: No Screen Error - Notebook Graphic Chips
Post by: princec on July 20, 2004, 17:54:36
That error is caused by having a mismatched LWJGL jar and .dll

Cas :)