JME3 game crashes on MAC

doesn’t work for me. Finishes loading tries to open a new window and then crashes (everything black, EVERYTHING, except the dinosaur and the letters.



MacOSX 10.6.7 August 2008 Macbook Model 2GB mem



[java]

Aug 13, 2011 10:04:46 PM com.jme3.scene.Node attachChild

INFO: Child (Marker) attached to this node (Root Node)

Aug 13, 2011 10:04:46 PM com.jme3.material.MaterialDef <init>

INFO: Loaded material definition: Pre Shadow

Aug 13, 2011 10:04:46 PM com.jme3.material.MaterialDef <init>

INFO: Loaded material definition: Post Shadow

Aug 13, 2011 10:04:46 PM com.jme3.renderer.Camera <init>

INFO: Camera created (W: 1,024, H: 1,024)

Aug 13, 2011 10:04:46 PM com.jme3.app.Application handleError

SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]

java.lang.RuntimeException: Unable to find fullscreen display mode matching settings

at com.jme3.system.lwjgl.LwjglDisplay.createContext(LwjglDisplay.java:86)

at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:177)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:218)

at java.lang.Thread.run(Thread.java:680)



[/java]

OK, so fullscreen is giving those problems. I removed fullscreen, and it should now create a window the size of the screen. Does this work for anyone?

http://dl.dropbox.com/u/11215358/btc.zip

http://oi55.tinypic.com/o7n2b4.jpg

Seems to work not crash , you have some lighting issues though, if its not supposed to be a dark room, also nore framerate.

Wow…are every macs shipped with a big boobs wallpaper?

@Normen now I understand why you’re such mac fanboy :wink:

19 fps?! This can’t be normal… It’s giving 60fps on my computer, and 200 when I don’t let it synchronize with my screen.



It still doesn’t seem to fully work, however: the window should be the same size than the screen. And about the lighting: It’s the same on my computer. I can’t get the lights I added in the scenecomposer to show up in-game.



btw: Nice wallpaper :wink:

it’s pretty normal for a nvidia 9200m, even my own ‘game’ drops to < 20 on occasions (though that may be because my landscape is 1024^2 wu )

If you develop on a high end card then you can’t really expect to get the same performance on low-end cards.

I tried using Toolkit instead of GraphicsEnvironement to get the screen size. Could anyone try this to see if it also works on other computers?

http://dl.dropbox.com/u/11215358/btc.zip

EDIT: I also tryed to do fullscreen again.