jMonkeyEngine shows "org.lwjgl.LWJGLException: Could not create pixel format"

Hi all,

I’m quite new here, also new in gaming and graphic programming.

I’ve got jME few days ago and managing to take the first step, but unfortunately got a problem, like this:

run:
WARNING: GL pipe is running in software mode (Renderer ID=0x1020400)
Dec 09, 2014 11:32:44 AM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.10
Dec 09, 2014 11:32:44 AM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: /Users/TungPT1/Documents/jMonkey/MonkeyBrainsDemoGames/RobotFightGame
Dec 09, 2014 11:32:44 AM com.jme3.app.Application handleError
SEVERE: Failed to create display
org.lwjgl.LWJGLException: Could not create pixel format
	at org.lwjgl.opengl.MacOSXPeerInfo.nChoosePixelFormat(Native Method)
	at org.lwjgl.opengl.MacOSXPeerInfo.choosePixelFormat(MacOSXPeerInfo.java:58)
	at org.lwjgl.opengl.MacOSXPeerInfo.<init>(MacOSXPeerInfo.java:53)
	at org.lwjgl.opengl.MacOSXCanvasPeerInfo.<init>(MacOSXCanvasPeerInfo.java:57)
	at org.lwjgl.opengl.MacOSXDisplayPeerInfo.<init>(MacOSXDisplayPeerInfo.java:48)
	at org.lwjgl.opengl.MacOSXDisplay.createPeerInfo(MacOSXDisplay.java:304)
	at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
	at org.lwjgl.opengl.Display.create(Display.java:846)
	at org.lwjgl.opengl.Display.create(Display.java:757)
	at com.jme3.system.lwjgl.LwjglDisplay.createContext(LwjglDisplay.java:140)
	at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:113)
	at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:207)
	at java.lang.Thread.run(Thread.java:744)

Dec 09, 2014 11:32:44 AM com.jme3.system.lwjgl.LwjglAbstractDisplay run
SEVERE: Display initialization failed. Cannot continue.
BUILD SUCCESSFUL (total time: 9 seconds)

This is RobotFightGame, using MonkeyBrains AI library. My computer is Macbook Pro with Intel HD Graphics 4000, 16GBs of Ram and Intel Core i5 2.5Ghz.

Could you guys pls give me some ideas how to solve this problem? All comments will be appreciated.

Thank you guys for looking through this post.

Dear!

What settings did you try to run with?

@pspeed said: What settings did you try to run with?

Hi pspeed, it’s 640x480, 16bpp with Anti-Aliasing disabled

Windowed or full screen? I think 16 bpp is ignored in windowed mode but you might set it to 24 or 32 or whatever.

I don’t really know anything about running these yucky intel cards on Macs but knowing all of the settings might help jog someone’s memory.

@pspeed said: Windowed or full screen? I think 16 bpp is ignored in windowed mode but you might set it to 24 or 32 or whatever.

I don’t really know anything about running these yucky intel cards on Macs but knowing all of the settings might help jog someone’s memory.

I’d tried both Windowed and Fullscreen, with different settings but still haven’t got no luck. I’m not specialised in graphic hence there’re a lot of pains to me.

Thank you anyway! Still looking forward to others’ helps :(.

Can you run the app with system property “org.lwjgl.util.Debug” set to true?
E.g.
java -Dorg.lwjgl.util.Debug=true -jar YourAppGoesHere.jar

Hi all, I just realised that all the problems are from Mac OSX 10.10 pre-released version. Rolled back to the official one and everything works like a charm.

Thank you all for your help!