Org.lwjgl.LWJGLException: Pixel format not accelerated

Hi everyone  :?



I followed as close as I can for making it work with Netbeans but I get this weird error that I can figure out.



I think it's something to do with GraphicCard on my laptop. My gc is a intel GM945





I dont know what to do now :frowning: so I askinf for help





init:
deps-jar:
compile:
run:
11-Oct-2008 6:07:55 PM jmetest.TestChooser start
INFO: Composing Test list...
11-Oct-2008 6:07:55 PM jmetest.TestChooser find
INFO: Searching for Demo classes in "physics".
11-Oct-2008 6:07:57 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
11-Oct-2008 6:07:59 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
11-Oct-2008 6:08:04 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
11-Oct-2008 6:08:05 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
11-Oct-2008 6:08:06 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
11-Oct-2008 6:08:07 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
11-Oct-2008 6:08:34 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
11-Oct-2008 6:08:41 PM com.jme.system.lwjgl.LWJGLDisplaySystem initDisplay
SEVERE: Cannot create window
11-Oct-2008 6:08:41 PM class com.jme.system.lwjgl.LWJGLDisplaySystem initDisplay()
SEVERE: Exception
org.lwjgl.LWJGLException: Pixel format not accelerated
       at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)
       at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)
       at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:177)
       at org.lwjgl.opengl.Display.createWindow(Display.java:299)
       at org.lwjgl.opengl.Display.create(Display.java:781)
       at org.lwjgl.opengl.Display.create(Display.java:733)
       at com.jme.system.lwjgl.LWJGLDisplaySystem.initDisplay(LWJGLDisplaySystem.java:422)
       at com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(LWJGLDisplaySystem.java:143)
       at com.jme.app.BaseSimpleGame.initSystem(BaseSimpleGame.java:363)
       at com.jmex.physics.util.SimplePhysicsGame.initSystem(SimplePhysicsGame.java:84)
       at com.jme.app.BaseGame.start(BaseGame.java:67)
       at com.jmetest.physics.TestBasicJoints.main(TestBasicJoints.java:131)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at jmetest.TestChooser.start(TestChooser.java:465)
       at com.jmetest.physics.TestChooser.main(TestChooser.java:47)
11-Oct-2008 6:08:41 PM com.jme.app.BaseSimpleGame initSystem
SEVERE: Could not create displaySystem
com.jme.system.JmeException: Cannot create window: Pixel format not accelerated
       at com.jme.system.lwjgl.LWJGLDisplaySystem.initDisplay(LWJGLDisplaySystem.java:440)
       at com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(LWJGLDisplaySystem.java:143)
       at com.jme.app.BaseSimpleGame.initSystem(BaseSimpleGame.java:363)
       at com.jmex.physics.util.SimplePhysicsGame.initSystem(SimplePhysicsGame.java:84)
       at com.jme.app.BaseGame.start(BaseGame.java:67)
       at com.jmetest.physics.TestBasicJoints.main(TestBasicJoints.java:131)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at jmetest.TestChooser.start(TestChooser.java:465)
       at com.jmetest.physics.TestChooser.main(TestChooser.java:47)
Java Result: 1
BUILD SUCCESSFUL (total time: 47 seconds)

I had the same issue because I was running it using remote desktop. so its most likey a Driver Issue so update the drivers on your laptop and that should fix the issue. If that dont work its more then likely a Graphics Card Issue (but i think thats unlikly).


Ross said:

Hi everyone  :?

I followed as close as I can for making it work with Netbeans but I get this weird error that I can figure out.

I think it's something to do with GraphicCard on my laptop. My gc is a intel GM945


I dont know what to do now :( so I askinf for help



init:
deps-jar:
compile:
run:
11-Oct-2008 6:07:55 PM jmetest.TestChooser start
INFO: Composing Test list...
11-Oct-2008 6:07:55 PM jmetest.TestChooser find
INFO: Searching for Demo classes in "physics".
11-Oct-2008 6:07:57 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
11-Oct-2008 6:07:59 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
11-Oct-2008 6:08:04 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
11-Oct-2008 6:08:05 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
11-Oct-2008 6:08:06 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
11-Oct-2008 6:08:07 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
11-Oct-2008 6:08:34 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
11-Oct-2008 6:08:41 PM com.jme.system.lwjgl.LWJGLDisplaySystem initDisplay
SEVERE: Cannot create window
11-Oct-2008 6:08:41 PM class com.jme.system.lwjgl.LWJGLDisplaySystem initDisplay()
SEVERE: Exception
org.lwjgl.LWJGLException: Pixel format not accelerated
       at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)
       at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)
       at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:177)
       at org.lwjgl.opengl.Display.createWindow(Display.java:299)
       at org.lwjgl.opengl.Display.create(Display.java:781)
       at org.lwjgl.opengl.Display.create(Display.java:733)
       at com.jme.system.lwjgl.LWJGLDisplaySystem.initDisplay(LWJGLDisplaySystem.java:422)
       at com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(LWJGLDisplaySystem.java:143)
       at com.jme.app.BaseSimpleGame.initSystem(BaseSimpleGame.java:363)
       at com.jmex.physics.util.SimplePhysicsGame.initSystem(SimplePhysicsGame.java:84)
       at com.jme.app.BaseGame.start(BaseGame.java:67)
       at com.jmetest.physics.TestBasicJoints.main(TestBasicJoints.java:131)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at jmetest.TestChooser.start(TestChooser.java:465)
       at com.jmetest.physics.TestChooser.main(TestChooser.java:47)
11-Oct-2008 6:08:41 PM com.jme.app.BaseSimpleGame initSystem
SEVERE: Could not create displaySystem
com.jme.system.JmeException: Cannot create window: Pixel format not accelerated
       at com.jme.system.lwjgl.LWJGLDisplaySystem.initDisplay(LWJGLDisplaySystem.java:440)
       at com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(LWJGLDisplaySystem.java:143)
       at com.jme.app.BaseSimpleGame.initSystem(BaseSimpleGame.java:363)
       at com.jmex.physics.util.SimplePhysicsGame.initSystem(SimplePhysicsGame.java:84)
       at com.jme.app.BaseGame.start(BaseGame.java:67)
       at com.jmetest.physics.TestBasicJoints.main(TestBasicJoints.java:131)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at jmetest.TestChooser.start(TestChooser.java:465)
       at com.jmetest.physics.TestChooser.main(TestChooser.java:47)
Java Result: 1
BUILD SUCCESSFUL (total time: 47 seconds)