Mythruna
March 29, 2024, 03:42:27 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the new forums. See "Announcements" for a note for new users.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Crash on startup  (Read 12272 times)
gb056
Newbie
*
Posts: 5


View Profile
« on: August 04, 2011, 03:16:45 AM »

Hi there, I get a crash when starting the game (build 20110716). I see the settings window and can select a number of settings and hit ok, then before anything else comes up I get the following:

Edit: Oh and the other Nifty test runs fine apart from the weird missing font error seen below.

Code:
04-Aug-2011 01:31:24 com.jme3.system.Natives extractNativeLib
WARNING: Cannot locate native library: windows/bulletjme64.dll
04-Aug-2011 01:31:27 com.jme3.renderer.lwjgl.LwjglRenderer setFrameBuffer
SEVERE: Problem FBO:
FrameBuffer[format=640x480x1, drawBuf=0]
Depth => TextureTarget[format=Depth24]
Color(0) => TextureTarget[format=RGBA8]

04-Aug-2011 01:31:27 com.jme3.app.Application handleError
SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.IllegalStateException: Incomplete draw buffer.
at com.jme3.renderer.lwjgl.LwjglRenderer.checkFrameBufferError(LwjglRenderer.java:1275)
at com.jme3.renderer.lwjgl.LwjglRenderer.setFrameBuffer(LwjglRenderer.java:1523)
at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:1103)
at com.jme3.renderer.RenderManager.render(RenderManager.java:1164)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:264)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:144)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:185)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:218)
at java.lang.Thread.run(Unknown Source)

Just to let you know, cheers
« Last Edit: August 04, 2011, 10:03:51 PM by gb056 » Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #1 on: August 04, 2011, 03:39:41 AM »

Did it dump an error###.log file by any chance?  (where ### is a unique number)

It may have also dumped a similarly timestamped client.log and mythruna.log but the above is the most  important one.

Also, the standard question... are your drivers up to date?
Logged
gb056
Newbie
*
Posts: 5


View Profile
« Reply #2 on: August 04, 2011, 03:49:27 AM »

hmm ok it generated a client.log:

Code:
2011-08-04 01:31:27,718 ERROR [mythruna.MainStart] Unhandled error:Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.IllegalStateException: Incomplete draw buffer.
at com.jme3.renderer.lwjgl.LwjglRenderer.checkFrameBufferError(LwjglRenderer.java:1275)
at com.jme3.renderer.lwjgl.LwjglRenderer.setFrameBuffer(LwjglRenderer.java:1523)
at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:1103)
at com.jme3.renderer.RenderManager.render(RenderManager.java:1164)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:264)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:144)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:185)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:218)
at java.lang.Thread.run(Unknown Source)
2011-08-04 01:31:27,721 ERROR [mythruna.MainStart] Default handling did not exit.

So it seems to be a draw buffer issue rather than the bullet library maybe?

My drivers are up to date but unfortunately I am running on an integrated Intel card, I am just starting to play about with the engine myself and so far things run smoothly for me, but you probably have extra fanciness that my card doesn't support?
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #3 on: August 04, 2011, 07:24:53 PM »

Yeah, the jbullet thing is unrelated.  I don't use bullet for anything and JME complains about it missing whether you use it or not.

The integrated intel graphics cards are notorious for issues.  If you are trying to play with jme directly then you can try running the nifty GUI demos.  It seems to be something related to these if it crashes before you even get to the in-game menus.  Another notorious problem is the post processing effects so you can try those tests/demos as well.

If all of those run and mythruna still doesn't then there will be more to go on.

I was really hoping for an error### file because it would have told me the capabilities of your card.  I need to seal up all of the ways the app can crash without dumping one of those. Tongue
Logged
gb056
Newbie
*
Posts: 5


View Profile
« Reply #4 on: August 04, 2011, 10:03:17 PM »

Hey dave,
When running the tests I get the same error as with Mythruna on the TestNiftyToMesh test.
Here is the output if any of it is helpful (sorry about the wall of text, wanted to make sure everything was there):

Code:
05-Aug-2011 05:59:32 jme3test.TestChooser start
INFO: Composing Test list...
05-Aug-2011 05:59:32 jme3test.TestChooser find
INFO: Searching for Demo classes in "jme3test".
05-Aug-2011 05:59:45 com.jme3.system.JmeSystem initialize
INFO: Running on jMonkey Engine 3 Alpha 0.6
05-Aug-2011 05:59:45 com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #1: file:/C:/Program%20Files/jmonkeyplatform/jmonkeyplatform/libs/
05-Aug-2011 05:59:45 com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #2: C:\Users\l\Documents\jMonkeyProjects\JmeTests
05-Aug-2011 05:59:45 com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #3: C:\Users\l\Documents\jMonkeyProjects\JmeTests
05-Aug-2011 05:59:45 com.jme3.system.lwjgl.LwjglAbstractDisplay run
INFO: Using LWJGL 2.7.1
05-Aug-2011 05:59:45 com.jme3.system.lwjgl.LwjglDisplay createContext
INFO: Selected display mode: 800 x 600 x 0 @0Hz
05-Aug-2011 05:59:45 com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread
INFO: Display created.
05-Aug-2011 05:59:45 com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread
INFO: Adapter: igdumd64
05-Aug-2011 05:59:45 com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread
INFO: Driver Version: 8.15.10.1892
05-Aug-2011 05:59:45 com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread
INFO: Vendor: Intel
05-Aug-2011 05:59:45 com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread
INFO: OpenGL Version: 2.1.0 - Build 8.15.10.1892
05-Aug-2011 05:59:45 com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread
INFO: Renderer: Mobile Intel(R) 4 Series Express Chipset Family
05-Aug-2011 05:59:45 com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread
INFO: GLSL Ver: 1.20  - Intel Build 8.15.10.1892
05-Aug-2011 05:59:45 com.jme3.system.lwjgl.LwjglTimer <init>
INFO: Timer resolution: 1000 ticks per second
05-Aug-2011 05:59:45 com.jme3.renderer.lwjgl.LwjglRenderer initialize
INFO: Caps: [FrameBuffer, FrameBufferMRT, OpenGL20, OpenGL21, ARBprogram, GLSL100, GLSL110, GLSL120, VertexTextureFetch, FloatTexture, FloatColorBuffer]
05-Aug-2011 05:59:45 com.jme3.asset.DesktopAssetManager <init>
INFO: DesktopAssetManager created.
05-Aug-2011 05:59:45 com.jme3.renderer.Camera <init>
INFO: Camera created (W: 800, H: 600)
05-Aug-2011 05:59:45 com.jme3.renderer.Camera <init>
INFO: Camera created (W: 800, H: 600)
05-Aug-2011 05:59:45 com.jme3.input.lwjgl.LwjglMouseInput initialize
INFO: Mouse created.
05-Aug-2011 05:59:45 com.jme3.input.lwjgl.LwjglKeyInput initialize
INFO: Keyboard created.
05-Aug-2011 05:59:46 com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
05-Aug-2011 05:59:46 com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
05-Aug-2011 05:59:46 com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 1
05-Aug-2011 05:59:46 com.jme3.material.MaterialDef <init>
INFO: Loaded material definition: Unshaded
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Gui Node)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (Statistics View) attached to this node (Gui Node)
05-Aug-2011 05:59:46 com.jme3.renderer.Camera <init>
INFO: Camera created (W: 1,024, H: 768)
05-Aug-2011 05:59:46 com.jme3.material.MaterialDef <init>
INFO: Loaded material definition: Default GUI
05-Aug-2011 05:59:46 de.lessvoid.nifty.screen.Screen <init>
INFO: Missing ScreenController for screen [null] using DefaultScreenController() instead but this might not be what you want.
05-Aug-2011 05:59:46 de.lessvoid.nifty.Nifty loadFromFile
INFO: loadFromFile [jme3test/niftygui/hellojme.xml]
05-Aug-2011 05:59:46 de.lessvoid.nifty.loaderv2.NiftyLoader loadNiftyXml
INFO: loading new nifty xml file with schemaId [nifty.nxs]
05-Aug-2011 05:59:46 de.lessvoid.nifty.loaderv2.NiftyLoader loadNiftyXml
INFO: loaded nifty xml file with schemaId [nifty.nxs] took [38 ms]
05-Aug-2011 05:59:46 de.lessvoid.nifty.loaderv2.types.NiftyType create
INFO: debug out [0]
05-Aug-2011 05:59:46 de.lessvoid.nifty.loaderv2.types.NiftyType create
INFO: resourceBundles [0]
05-Aug-2011 05:59:46 de.lessvoid.nifty.loaderv2.types.NiftyType create
INFO: registerStyle [0]
05-Aug-2011 05:59:46 de.lessvoid.nifty.loaderv2.types.NiftyType create
INFO: registerControlDefinition [0]
05-Aug-2011 05:59:46 de.lessvoid.nifty.loaderv2.types.NiftyType create
INFO: registerEffect [0]
05-Aug-2011 05:59:46 de.lessvoid.nifty.loaderv2.types.NiftyType create
INFO: registerSound [0]
05-Aug-2011 05:59:46 de.lessvoid.nifty.loaderv2.types.NiftyType create
INFO: registerMusic [0]
05-Aug-2011 05:59:46 de.lessvoid.nifty.loaderv2.types.NiftyType create
INFO: registerMouseCursor [0]
05-Aug-2011 05:59:46 de.lessvoid.nifty.loaderv2.types.NiftyType create
INFO: registerPopup [0]
05-Aug-2011 05:59:46 de.lessvoid.xml.tools.ClassHelper getInstance
WARNING: class [de.lessvoid.nifty.examples.helloworld.HelloWorldStartScreen] could not be instanziated (java.lang.ClassNotFoundException: de.lessvoid.nifty.examples.helloworld.HelloWorldStartScreen)
05-Aug-2011 05:59:46 de.lessvoid.nifty.screen.Screen <init>
INFO: Missing ScreenController for screen [start] using DefaultScreenController() instead but this might not be what you want.
05-Aug-2011 05:59:46 de.lessvoid.nifty.loaderv2.types.ScreenType create
INFO: internal prepare screen (start) [4]
05-Aug-2011 05:59:46 com.jme3.asset.DesktopAssetManager loadAsset
WARNING: Cannot locate resource: aurulent-sans-17.fnt
java.lang.NullPointerException
at com.jme3.font.BitmapText.<init>(BitmapText.java:64)
at com.jme3.font.BitmapText.<init>(BitmapText.java:56)
at com.jme3.niftygui.RenderFontJme.<init>(RenderFontJme.java:55)
at com.jme3.niftygui.RenderDeviceJme.createFont(RenderDeviceJme.java:116)
at de.lessvoid.nifty.render.NiftyRenderEngineImpl.createFont(NiftyRenderEngineImpl.java:166)
at de.lessvoid.nifty.loaderv2.types.apply.Convert.font(Convert.java:35)
at de.lessvoid.nifty.loaderv2.types.apply.ApplyRenderText.apply(ApplyRenderText.java:23)
at de.lessvoid.nifty.elements.Element.initializeFromAttributes(Element.java:338)
at de.lessvoid.nifty.loaderv2.types.ElementType.applyAttributes(ElementType.java:217)
at de.lessvoid.nifty.loaderv2.types.ElementType.applyStandard(ElementType.java:171)
at de.lessvoid.nifty.loaderv2.types.ElementType.create(ElementType.java:143)
at de.lessvoid.nifty.loaderv2.types.ElementType.applyChildren(ElementType.java:250)
at de.lessvoid.nifty.loaderv2.types.ElementType.applyStandard(ElementType.java:174)
at de.lessvoid.nifty.loaderv2.types.ElementType.create(ElementType.java:143)
at de.lessvoid.nifty.loaderv2.types.ElementType.applyChildren(ElementType.java:250)
at de.lessvoid.nifty.loaderv2.types.ElementType.applyStandard(ElementType.java:174)
at de.lessvoid.nifty.loaderv2.types.ElementType.create(ElementType.java:143)
at de.lessvoid.nifty.loaderv2.types.ScreenType.create(ScreenType.java:71)
at de.lessvoid.nifty.loaderv2.types.NiftyType.create(NiftyType.java:137)
at de.lessvoid.nifty.Nifty.loadFromFile(Nifty.java:468)
at de.lessvoid.nifty.Nifty.fromXml(Nifty.java:369)
at jme3test.niftygui.TestNiftyToMesh.simpleInitApp(TestNiftyToMesh.java:65)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:218)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:138)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:206)
at java.lang.Thread.run(Thread.java:662)
05-Aug-2011 05:59:46 de.lessvoid.nifty.Nifty gotoScreen
INFO: gotoScreen [start]
05-Aug-2011 05:59:46 de.lessvoid.nifty.Nifty gotoScreenInternal
INFO: gotoScreenInternal [start]
05-Aug-2011 05:59:46 de.lessvoid.nifty.screen.Screen <init>
INFO: Missing ScreenController for screen [null] using DefaultScreenController() instead but this might not be what you want.
05-Aug-2011 05:59:46 de.lessvoid.nifty.Nifty gotoScreenInternal
WARNING: screen [start] not found
05-Aug-2011 05:59:46 com.jme3.material.MaterialDef <init>
INFO: Loaded material definition: Plain Texture
05-Aug-2011 05:59:46 com.jme3.material.Material checkSetParam
WARNING: Material parameter m_ColorMap uses a deprecated naming convention use ColorMap instead
05-Aug-2011 05:59:46 com.jme3.scene.Node attachChild
INFO: Child (Box) attached to this node (Root Node)
05-Aug-2011 05:59:46 com.jme3.renderer.lwjgl.LwjglRenderer setFrameBuffer
SEVERE: Problem FBO:
FrameBuffer[format=1024x768x1, drawBuf=0]
Depth => BufferTarget[format=Depth]
Color(0) => TextureTarget[format=RGB8]

05-Aug-2011 05:59:46 com.jme3.app.Application handleError
SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,6,main]
java.lang.IllegalStateException: Incomplete draw buffer.
at com.jme3.renderer.lwjgl.LwjglRenderer.checkFrameBufferError(LwjglRenderer.java:1135)
at com.jme3.renderer.lwjgl.LwjglRenderer.setFrameBuffer(LwjglRenderer.java:1381)
at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:701)
at com.jme3.renderer.RenderManager.render(RenderManager.java:739)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:249)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:158)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:203)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:221)
at java.lang.Thread.run(Thread.java:662)
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #5 on: August 04, 2011, 10:29:09 PM »

(the name is Paul by the way, not dave)...

Anyway... so it sounds like there are more fundamental issues with JME running on your graphics card.  Does TestNiftyExamples run?
Logged
gb056
Newbie
*
Posts: 5


View Profile
« Reply #6 on: August 04, 2011, 10:34:18 PM »

haha sorry was doing that completely from memory, I apologise.

I don't seem to have TestNiftyExamples, I have TestNiftyGUI (which runs) and TestNiftyToMesh (which has the FB error). Can you perhaps post the .java and I'll try and run it?

Sorry to be a pain, if it turns out to be my card then I won't be surprised, but just want to make sure (more for your sake) that it's not something you can fix.
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #7 on: August 05, 2011, 01:05:51 AM »

Hmmm... I wonder if that test has been removed or something.

Are you running stock Alpha 4 of JME or a nightly build?  If you run from JMP it's pretty easy to turn on nightly builds in the update center.  Otherwise it's just a different download, I guess.

Though my suspicion is that the test may have been removed in an even newer version of JME than what I'm running. Smiley  I build from subversion and only update periodically when I have time to review the commits.  I'm paranoid.

When the problems get low level like this, I start to get out of my depth.  Since there is a JME test that fails, if you feel extra ambitious you could also try posting to the JME forums.  Maybe someone has seen this problem before... and if it turns out to be a JME bug then maybe Mythruna gets fixed magically with the next update. Smiley
Logged
gb056
Newbie
*
Posts: 5


View Profile
« Reply #8 on: August 05, 2011, 01:39:23 AM »

Righto, I've looked around on the JME forums, other people have similar problems but no solutions seem present. I'll start a topic specific to mine and see what comes up.

I'll let you know the result. Thanks for your help! It's a shame I can't get in-game, it looks like you've done sterling work, congrats.
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #9 on: August 05, 2011, 02:07:17 AM »

Thanks for the kind words.  I wish I could get it to run on more cards but at some point it's just too hard.

In this case, if you can't even bring up the nifty GUI screens (and it turns out to be an unfixable GPU issue) then it's not even like I could nerf anything and just have uglier visuals.

So we'll just have to keep our fingers crossed.  If only I could afford to upgrade everyone's GPU... Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!