Lwjgl 2.9.0 is out, please test nightly!

Hey monkeys,

lwjgl 2.9.0 is out, promising to solve many of our current issues. Mainly the engine and SDK now work on OSX/Java7 and there should be less “strange” issues with the SDK especially when running other OpenGL applications alongside of it. Also the applet support should be more stable on OSX and generally on all platforms.

A build with the latest lwjgl version is running as I write this so all who don’t have to maintain stability for a project in their local build setup are very welcome to test the nightly and check the stability of the SDK and engine.

Cheers,
Normen

5 Likes

woop woop, will test when i get home :slight_smile:

Just a quick test confirms it works on OS X 10.8.3 with java

java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)

Both the SDK and projects run =)

Bye bye java6!

1 Like

I get this error when testing 3089 on Windows, 64-bit:

[java]Thread: LWJGL Renderer Thread
Version: v0.47a

com.jme3.renderer.RendererException: compile error in:ShaderSource[name=Common/MatDefs/Misc/Unshaded.vert, defines, type=Vertex, language=GLSL100] error:Error: Preprocessor error
Error: failed to preprocess the source.

at com.jme3.renderer.lwjgl.LwjglRenderer.updateShaderSourceData(LwjglRenderer.java:1015)
at com.jme3.renderer.lwjgl.LwjglRenderer.updateShaderData(LwjglRenderer.java:1038)
at com.jme3.renderer.lwjgl.LwjglRenderer.setShader(LwjglRenderer.java:1104)
at com.jme3.material.Material.render(Material.java:1064)
…[/java]

The console log shows:

[java]Apr 22, 2013 10:51:28 AM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.0 RC2
Apr 22, 2013 10:51:28 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo

INFO: Lwjgl context running on thread LWJGL Renderer Thread
Apr 22, 2013 10:51:28 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo

INFO: Adapter: vm3dum64
Apr 22, 2013 10:51:28 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo

INFO: Driver Version: 7.14.1.50
Apr 22, 2013 10:51:28 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo

INFO: Vendor: VMware, Inc.
Apr 22, 2013 10:51:28 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo

INFO: OpenGL Version: 2.1 Mesa 7.7.1-DEVEL
Apr 22, 2013 10:51:28 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo

INFO: Renderer: Gallium 0.3 on SVGA3D; build: RELEASE;
Apr 22, 2013 10:51:28 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo

INFO: GLSL Ver: 1.20[/java]

Seems to work good on MacOSX & Linux (both 64-bit).

1 Like
@phr00t said: I get this error when testing 3089 on Windows, 64-bit:

[java]Thread: LWJGL Renderer Thread
Version: v0.47a

com.jme3.renderer.RendererException: compile error in:ShaderSource[name=Common/MatDefs/Misc/Unshaded.vert, defines, type=Vertex, language=GLSL100] error:Error: Preprocessor error
Error: failed to preprocess the source.

at com.jme3.renderer.lwjgl.LwjglRenderer.updateShaderSourceData(LwjglRenderer.java:1015)
at com.jme3.renderer.lwjgl.LwjglRenderer.updateShaderData(LwjglRenderer.java:1038)
at com.jme3.renderer.lwjgl.LwjglRenderer.setShader(LwjglRenderer.java:1104)
at com.jme3.material.Material.render(Material.java:1064)
…[/java]

I wonder if this one is related to the hardware skinning changes.

1 Like

Windows 7 64 Bit working great

1 Like
@wezrule said: Windows 7 64 Bit working great
really? mine doesn't work at all well i guess i messed too much with my installation... anyway that's good to know!
1 Like

installation? :smiley: I just downloaded nightly updates, I had to do something else?

@wezrule said: installation? :D I just downloaded nightly updates, I had to do something else?
no, no, that's what you have to do.

I just hope a re-install will fix it because I’m out of options :frowning:

ok cool, i’m using Java 6 if that helps

Since I’m crazy, I ripped out all references to the standard Unshaded.j3md shader & wrote my own, simplified one without the hardware skinning stuff. I even had to modify the BitmapFontLoader to use my SimpleUnshaded shader instead of the Unshaded.j3md, and now Windows 64 works for me :stuck_out_tongue: Anyway, looks like that was the culprit.

EDIT: Just references that I was using, not throughout all of jME3 :stuck_out_tongue:
DOUBLE EDIT: I’m using Java 7

1 Like

If there is any problem I haven’t seen it.

Win7 x64 + Java 7.

1 Like

Ah the correlation becomes clear now, it appears to only work for cool people out the box

2 Likes

So glad they finally released a new version to fix it. I learned that jme + lwjgl didn’t work on osx + java7 the hard way. Thanks normen!