The HelloWorld program JME and LWJGL generates following exception on Windows Vista Beta 2. I tried runing JSR-231 JOGL demo program of gears on Windows Vista Beta 2 , which works fine. I would like to find solution for this, if this is really a problem, but if somebody knows solution to this, it will stop me searching more.
I am using JME 0.10 and LWJGL 1.0 beta 2
Nov 19, 2006 5:23:33 PM com.jme.app.BaseGame start
INFO: Application started.
Nov 19, 2006 5:23:34 PM com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
Nov 19, 2006 5:23:34 PM com.jme.system.PropertiesIO load
INFO: Read properties
Nov 19, 2006 5:24:32 PM com.jme.input.joystick.DummyJoystickInput <init>
INFO: Joystick support is disabled
Nov 19, 2006 5:24:32 PM com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
Nov 19, 2006 5:24:32 PM com.jme.system.PropertiesIO save
INFO: Saved properties
Nov 19, 2006 5:24:32 PM com.jme.app.BaseSimpleGame initSystem
INFO: jME version 0.11 beta
Nov 19, 2006 5:24:32 PM com.jme.app.BaseSimpleGame initSystem
INFO: Running on: ialmrnt5
Driver version: 6.14.10.4440
Nov 19, 2006 5:24:33 PM com.jme.system.lwjgl.LWJGLDisplaySystem initDisplay
SEVERE: Cannot create window
java.lang.Error: Cannot create window: Could not find a valid pixel format
at com.jme.system.lwjgl.LWJGLDisplaySystem.initDisplay(LWJGLDisplaySystem.java:427)
at com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(LWJGLDisplaySystem.java:135)
at com.jme.app.BaseSimpleGame.initSystem(BaseSimpleGame.java:332)
at com.jme.app.BaseGame.start(BaseGame.java:52)
at jmetest.TutorialGuide.HelloWorld.main(HelloWorld.java:51)
Nov 19, 2006 5:24:33 PM com.jme.app.BaseSimpleGame cleanup
INFO: Cleaning up resources.
Nov 19, 2006 5:24:33 PM com.jme.app.BaseGame start
INFO: Application ending.
Thanks,
Yogesh
This is happening on a Vista Final Release machine at work as well. We'll be looking into as we can.
Just in case anyone encounters this same problem, as I did with a Vista PC:
The machine in qusestion had an ATI9800xt card and was using the drivers that ship with Vista, therefore I don't think it had OpenGL drivers. Downloading and installing the Vista drivers from the ATI site fixed the issue.
Rich.
Ah ATI, we love you guys…
I am also having the same problem.
Yesterday I upgraded my machine to Vista from XP-SP2. JME shows the display creation error (not valid pixel format).
I am using Java 1.6 update 1 and Vista business edition. I tried Blender and is working fine, which means is not an issue between windows and GL.
Any help is greatly appreciated.
William.
I started running Vista x64 last week. I initially had the same problem and upgraded my NVidia drivers from the default that came with Vista to the latest off the website.
Everything works great now.
Thank you Guurk for your quick answer.
Tonight I will look to upgrade my drivers. I have a 945 intel video card on my machine, so let's hope everything works properly.
William.
Hm, had this issue today. Any other ideas?
I updated the drivers with the CD that came from the laptop manufacturer along with Vista installers and solved my problems with jME