Todays jme (CVS) execution error

Hi,



I was setting up Eclipse to build jME like shown in the tutorial. After the CVS checkout and configuration of my eclipse project i try to run the demo-chooser. Then when i choose one i got the following error after the jME startup screen:

27.05.2008 10:24:44 jmetest.TestChooser start
INFO: Composing Test list...
27.05.2008 10:24:44 jmetest.TestChooser find
INFO: Searching for Demo classes in "jmetest".
27.05.2008 10:24:44 com.jme.scene.Node <init>
INFO: Node created.
27.05.2008 10:24:56 com.jme.app.BaseGame start
INFO: Application started.
27.05.2008 10:24:56 com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
27.05.2008 10:24:56 com.jme.system.PropertiesIO load
WARNUNG: Could not load properties. Creating a new one.
27.05.2008 10:24:58 com.jme.input.joystick.DummyJoystickInput <init>
INFO: Joystick support is disabled
27.05.2008 10:24:58 com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
27.05.2008 10:24:58 com.jme.system.lwjgl.LWJGLDisplaySystem getValidDisplayMode
INFO: Selected DisplayMode: 512 x 384 x 24 @58Hz
27.05.2008 10:24:58 com.jme.system.PropertiesIO save
INFO: Saved properties
27.05.2008 10:24:58 com.jme.app.BaseSimpleGame initSystem
INFO: jME version 1.0
27.05.2008 10:24:58 com.jme.system.lwjgl.LWJGLDisplaySystem getValidDisplayMode
INFO: Selected DisplayMode: 512 x 384 x 24 @58Hz
27.05.2008 10:25:05 com.jme.system.lwjgl.LWJGLDisplaySystem initDisplay
SCHWERWIEGEND: Cannot create window
27.05.2008 10:25:05 class com.jme.system.lwjgl.LWJGLDisplaySystem initDisplay()
SCHWERWIEGEND: Exception
org.lwjgl.LWJGLException: X Error - serial: 1882, error_code: BadMatch (invalid parameter attributes), request_code: 147, minor_code: 4
   at org.lwjgl.opengl.LinuxDisplay.nCreateWindow(Native Method)
   at org.lwjgl.opengl.LinuxDisplay.createWindow(LinuxDisplay.java:368)
   at org.lwjgl.opengl.Display.createWindow(Display.java:260)
   at org.lwjgl.opengl.Display.create(Display.java:757)
   at org.lwjgl.opengl.Display.create(Display.java:709)
   at com.jme.system.lwjgl.LWJGLDisplaySystem.initDisplay(LWJGLDisplaySystem.java:439)
   at com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(LWJGLDisplaySystem.java:145)
   at com.jme.app.BaseSimpleGame.initSystem(BaseSimpleGame.java:341)
   at com.jme.app.BaseGame.start(BaseGame.java:65)
   at jmetest.terrain.TestTerrainLighting.main(TestTerrainLighting.java:77)
   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:461)
   at jmetest.TestChooser.main(TestChooser.java:440)
27.05.2008 10:25:05 com.jme.app.BaseSimpleGame initSystem
SCHWERWIEGEND: Could not create displaySystem
com.jme.system.JmeException: Cannot create window: X Error - serial: 1882, error_code: BadMatch (invalid parameter attributes), request_code: 147, minor_code: 4
   at com.jme.system.lwjgl.LWJGLDisplaySystem.initDisplay(LWJGLDisplaySystem.java:457)
   at com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(LWJGLDisplaySystem.java:145)
   at com.jme.app.BaseSimpleGame.initSystem(BaseSimpleGame.java:341)
   at com.jme.app.BaseGame.start(BaseGame.java:65)
   at jmetest.terrain.TestTerrainLighting.main(TestTerrainLighting.java:77)
   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:461)
   at jmetest.TestChooser.main(TestChooser.java:440)



Its not the first time i use jme, and i'm shure everything is configured as needed.

I also had an older CVS checkout of jme (can't remember the date, maybe 5-6 Month ago), and with that i have no problems to run the demos and the game i wrote. (both jme projects are side by side in the same workspace, it seems not to be a problem of my OS)

I use Debian Linux (lenny/testing), jdk1.6, Eclipse 3.3, NVIDIA Quadro NVS140 Mobile with newest driver from nvidia.

with a look at this

Cannot create window: X Error - serial: 1882, error_code: BadMatch (invalid parameter attributes), request_code: 147, minor_code: 4


the problem seems that lwjgl uses the X Window api in a wrong way. When i replace the old and new lwjgl.jar in my projects build path the project has errors (LWJGLTextureState.java has an error because its using "ARBTextureEnvCombine.GL_SUBTRACT_ARB", and thats not found in the old jar)
When i run ignoring the errors the window starts up, but crashed (like expected) on texturing the models.

Any suggestion how to fix this ? or what the problem is ?

thanks
knecht