GLSL and OpenGL2 is required for the LW JGL renderer!

I tryed to launch tests from here http://www.jmonkeyengine.com/showcase/webstart/#1



I have this exception:

[java]

java.lang.UnsupportedOperationException: GLSL and OpenGL2 is required for the LW

JGL renderer!

at com.jme3.renderer.lwjgl.LwjglRenderer.initialize(LwjglRenderer.java:1

85)

at com.jme3.system.lwjgl.LwjglContext.internalCreate(LwjglContext.java:7

2)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstract

Display.java:134)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.j

ava:184)

at java.lang.Thread.run(Unknown Source)



C:Documents and SettingsricciDesktopSimonetmp>

[/java]



This on Windows and with various grafic cards, with recent drivers.

On Ubuntu 9.10 and 10.04 it works well.

What are the various graphic cards you are talking about?

Your graphic card and drivers have to support opengl2

  1. Geforce 470 GTX 1280MB
  2. nvidia geforce 9300 m gs
  3. amd hd3850

seems like you need to install drivers, all of them should support it.



ati.com

nvidia.com

should both have a support/drivers downloadsite

Latest drivers are already installed.



Maybe problem with Windows Vista/7 ?

I have a amd 3750 and it works without problems.

So it is not the grafficcard

and you say it is not the driver either.

I also use win7 x64 and x86 both work without problems.



It might be a configuration issu then.

Maybe you installed the internal windows drivers instead of the drivers from nvidia/ati?

official drivers from nvidia/ati.

@normen even the windows drivers on 7 support opengl2 ^^

I tryied in several other system (with Windows 7/XP or Ubuntu) and the situation is the same.



At hendor.sixware.it first link is the example i tryied.

Hi, I got the same message. Could it be connected with instalation of nvidia CUDA developers drivers? http://developer.nvidia.com/cuda-toolkit-41 (ver. 285.05.33)



because in windows (at the same computer) I have jMonkey instaled and it’s working fine, but here on ubuntu 11.10 I instaled CUDA (with new graphics drivers) and than jMoneky, and I got the message

java.lang.UnsupportedOperationException: GLSL and OpenGL2 is required for the LWJGL renderer!

( while CUDA nad OpenCL are working fine )



I tried also If I can run OpenGL in processing ( http://processing.org/ ) with this drivers, and answer is YES, but it found some driver mismatch

[java]Error: API mismatch: the NVIDIA kernel module has version 285.05.33,

but this NVIDIA driver component has version 280.13. Please make

sure that the kernel module and all NVIDIA driver components

have the same version.

[/java]

and also framerate is pure, so maybe it’s runing on software mesa



so probably the question is, what should I edit to inform java about the new drivers?

Or, maybe could help to install Oracle-JDK instead of open-JDK