SceneViewer freezes

Hi! I’ve got linux ubuntu 64 bit at home and the SceneViewer Window freezes when I open JMP. It happens when I’ve got opened at least one java class or material. But when I’ve got only the scene viewer it loads. Also I tested it on Netbeans 6.9 and the sceneviewer freezes netbeans!!!



Also, I tested JMP on Windows 7 and there was no such a problem.



Log when Scene Viewer freezes:



Running on jMonkey Engine 3 Alpha 0.6

Extraction Directory #1: file:/home/mifth/jmonkeyplatform/jmonkeyplatform/modules/ext/

Extraction Directory #2: /home/mifth/.jmonkeyplatform

Extraction Directory #3: /home/mifth/Документы

EDT: Creating OGL thread.

Using LWJGL 2.5

Valid jMP project, extending with ProjectAssetManager

Failed to parent canvas to display

Display created.

Adapter: null

Driver Version: null

DesktopAssetManager created.

Failed to create display

Add locator:/home/mifth/jMonkeyProjects/raven_track/assets/

Checking extension…

Found assets-impl.xml





Log when Scene Viewer loads:



Running on jMonkey Engine 3 Alpha 0.6

Extraction Directory #1: file:/home/mifth/jmonkeyplatform/jmonkeyplatform/modules/ext/

Extraction Directory #2: /home/mifth/.jmonkeyplatform

Extraction Directory #3: /home/mifth/Документы

EDT: Creating OGL thread.

Using LWJGL 2.5

Display created.

Adapter: null

Driver Version: null

Vendor: NVIDIA Corporation

OpenGL Version: 3.3.0 NVIDIA 260.19.06

Renderer: GeForce GTS 250/PCI/SSE2

GLSL Ver: 3.30 NVIDIA via Cg compiler

Timer resolution: 1000 ticks per second

Caps: [FrameBuffer, FrameBufferMRT, FrameBufferMultisample, TextureMultisample, OpenGL20, OpenGL21, OpenGL30, OpenGL31, OpenGL32, ARBprogram, GLSL100, GLSL110, GLSL120, GLSL130, GLSL140, GLSL150, VertexTextureFetch, TextureArray, TextureBuffer, FloatTexture, FloatColorBuffer, FloatDepthBuffer, PackedFloatTexture, SharedExponentTexture, PackedFloatColorBuffer, TextureCompressionLATC, MeshInstancing, VertexBufferArray]

DesktopAssetManager created.

Valid jMP project, extending with ProjectAssetManager

Camera created (W: 640, H: 480)

Camera created (W: 640, H: 480)

Mouse created.

Keyboard created.

DesktopAssetManager created.

Add locator:/home/mifth/jMonkeyProjects/raven_track/assets/

AudioRenderer supports 64 channels

Audio effect extension version: 1.0

Audio max auxilary sends: 2

Camera created (W: 120, H: 120)

Loaded material definition: Unshaded

Child (BitmapFont) attached to this node (null)

Child (null) attached to this node (Stats Gui Node)

Child (BitmapFont) attached to this node (null)

Child (null) attached to this node (Statistics View)

Child (BitmapFont) attached to this node (null)

Child (null) attached to this node (Statistics View)

Child (BitmapFont) attached to this node (null)

Child (null) attached to this node (Statistics View)

Child (BitmapFont) attached to this node (null)

Child (null) attached to this node (Statistics View)

Child (BitmapFont) attached to this node (null)

Child (null) attached to this node (Statistics View)

Child (BitmapFont) attached to this node (null)

Child (null) attached to this node (Statistics View)

Child (BitmapFont) attached to this node (null)

Child (null) attached to this node (Statistics View)

Child (BitmapFont) attached to this node (null)

Child (null) attached to this node (Statistics View)

Child (BitmapFont) attached to this node (null)

Child (null) attached to this node (Statistics View)

Child (BitmapFont) attached to this node (null)

Child (null) attached to this node (Statistics View)

Child (BitmapFont) attached to this node (null)

Child (null) attached to this node (Statistics View)

Child (BitmapFont) attached to this node (null)

Child (null) attached to this node (Statistics View)

Child (BitmapFont) attached to this node (null)

Child (null) attached to this node (Statistics View)

Child (Statistics View) attached to this node (Stats Gui Node)

Loaded material definition: Wire Color

Checking extension…

Found assets-impl.xml

Ties in with this issue I guess: http://code.google.com/p/jmonkeyengine/issues/detail?id=142

Yes, exactly. I hope it will be able to fix in future.

I can see errors in the log like:

[java]Failed to parent canvas to display



Failed to create display[/java]

But the accompanying exception is not there(?)

Is it just not printed out?

Its your workaround momoko, the thing is it tries to start the opengl context when the window is opened but not visible (SceneViewer not in front)

@mifth: Can you try running one of the jME3 tests from the nightly builds? Its most likely an issue with your system

Yes, of course… I downloaded that one:

JME3_01-30-2011.zip 30-Jan-2011 00:02 62M



I pressed jMonkeyEngine3.jar in file manager and tests work correctly. For instance, TestBumpModel.



I also tried it in JMP. Here is log:



init:

Deleting: /home/mifth/jMonkeyProjects/JmeTests3/build/built-jar.properties

deps-jar:

Updating property file: /home/mifth/jMonkeyProjects/JmeTests3/build/built-jar.properties

compile:

run:

31.01.2011 1:05:02 jme3test.TestChooser start

INFO: Composing Test list…

31.01.2011 1:05:02 jme3test.TestChooser find

INFO: Searching for Demo classes in “jme3test”.

31.01.2011 1:05:17 com.jme3.system.JmeSystem initialize

INFO: Running on jMonkey Engine 3 Alpha 0.6

31.01.2011 1:05:17 com.jme3.system.Natives extractNativeLibs

INFO: Extraction Directory #1: file:/home/mifth/jmonkeyplatform/jmonkeyplatform/libs/

31.01.2011 1:05:17 com.jme3.system.Natives extractNativeLibs

INFO: Extraction Directory #2: /home/mifth/jMonkeyProjects/JmeTests3

31.01.2011 1:05:17 com.jme3.system.Natives extractNativeLibs

INFO: Extraction Directory #3: /home/mifth/jMonkeyProjects/JmeTests3

31.01.2011 1:05:17 com.jme3.system.lwjgl.LwjglAbstractDisplay run

INFO: Using LWJGL 2.5

31.01.2011 1:05:17 com.jme3.system.lwjgl.LwjglDisplay createContext

INFO: Selected display mode: 640 x 480 x 0 @0Hz

31.01.2011 1:05:18 com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread

INFO: Display created.

31.01.2011 1:05:18 com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread

INFO: Adapter: null

31.01.2011 1:05:18 com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread

INFO: Driver Version: null

31.01.2011 1:05:18 com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread

INFO: Vendor: NVIDIA Corporation

31.01.2011 1:05:18 com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread

INFO: OpenGL Version: 3.3.0 NVIDIA 260.19.06

31.01.2011 1:05:18 com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread

INFO: Renderer: GeForce GTS 250/PCI/SSE2

31.01.2011 1:05:18 com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread

INFO: GLSL Ver: 3.30 NVIDIA via Cg compiler

31.01.2011 1:05:18 com.jme3.system.lwjgl.LwjglTimer

INFO: Timer resolution: 1000 ticks per second

31.01.2011 1:05:18 com.jme3.renderer.lwjgl.LwjglRenderer initialize

INFO: Caps: [FrameBuffer, FrameBufferMRT, FrameBufferMultisample, TextureMultisample, OpenGL20, OpenGL21, OpenGL30, OpenGL31, OpenGL32, ARBprogram, GLSL100, GLSL110, GLSL120, GLSL130, GLSL140, GLSL150, VertexTextureFetch, TextureArray, TextureBuffer, FloatTexture, FloatColorBuffer, FloatDepthBuffer, PackedFloatTexture, SharedExponentTexture, PackedFloatColorBuffer, TextureCompressionLATC, MeshInstancing, VertexBufferArray]

31.01.2011 1:05:18 com.jme3.asset.DesktopAssetManager

INFO: DesktopAssetManager created.

31.01.2011 1:05:18 com.jme3.renderer.Camera

INFO: Camera created (W: 640, H: 480)

31.01.2011 1:05:18 com.jme3.renderer.Camera

INFO: Camera created (W: 640, H: 480)

31.01.2011 1:05:18 com.jme3.input.lwjgl.LwjglMouseInput initialize

INFO: Mouse created.

31.01.2011 1:05:18 com.jme3.input.lwjgl.LwjglKeyInput initialize

INFO: Keyboard created.

31.01.2011 1:05:18 com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread

INFO: AudioRenderer supports 64 channels

31.01.2011 1:05:18 com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread

INFO: Audio effect extension version: 1.0

31.01.2011 1:05:18 com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread

INFO: Audio max auxilary sends: 2

31.01.2011 1:05:18 com.jme3.material.MaterialDef

INFO: Loaded material definition: Unshaded

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Gui Node)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (Statistics View) attached to this node (Gui Node)

31.01.2011 1:05:19 com.jme3.scene.plugins.ogre.MeshLoader applyMaterial

WARNING: Material Signpost/SOLID/TEX/signpost_color.jpg not found. Applying default material

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (Sign Post-geom-1) attached to this node (Sign Post-ogremesh)

31.01.2011 1:05:19 com.jme3.material.MaterialDef

INFO: Loaded material definition: Phong Lighting

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

INFO: Child (Sign Post-ogremesh) attached to this node (Root Node)

31.01.2011 1:05:19 com.jme3.scene.Node attachChild

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

31.01.2011 1:05:19 com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform m_UseMaterialColors is not declared in shader.

31.01.2011 1:05:19 com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform m_VertexColor is not declared in shader.

31.01.2011 1:05:23 com.jme3.input.lwjgl.LwjglMouseInput destroy

INFO: Mouse destroyed.

31.01.2011 1:05:23 com.jme3.input.lwjgl.LwjglKeyInput destroy

INFO: Keyboard destroyed.

31.01.2011 1:05:23 com.jme3.system.lwjgl.LwjglAbstractDisplay deinitInThread

INFO: Display destroyed.

BUILD SUCCESSFUL (total time: 22 seconds)

You just need to update jMP via the update center to the latest nightly (see jMP manual), no need to download a nightly zip.

Ok, i did so.

Nightly build svn Last Check: 31.01.11 2:01

The same log…

And this is on the machine where Scene Viewer freezes, right?

yes, right. linux ubuntu 64. JMP alpha 3.

Hello,

I started getting this issue with the Sceneviewer freezing at 14% after Installing the Blender OgreXML. I have a windows 7 machine. It was working up until a few minutes ago after have the Blender install. I closed all projects, reinstalled jME and it still hangs.



This is all I’m getting:

Running on jMonkey Engine 3 Alpha 0.6

Extraction Directory #1: file:/C:/Users/John/AppData/Roaming/.jmonkeyplatform/dev/modules/ext/

Extraction Directory #2: C:UsersJohn.jmonkeyplatform

Extraction Directory #3: C:Program Filesjmonkeyplatform

DesktopAssetManager created.



Nothing that indicates a specific error. I’ve unloaded all projects and having nothing going on. Rebooted the computer, reinstalled jME…grr

Hi.



1 reset all windows. It will freeze JMP - just kill JMP.

2 undock scene viewer and close it. Open the scene viewer only when you need to make something with models.



hope it will help.

@mifth

Thank you! Worked like a charm, didn’t even have to restart. JMP didn’t freeze. Noted for future window issues

o’ and I’ve been using it while working on a heightmap for a basic terrian.