I can not open scenes in SceneComposer on my laptop with Kubuntu OS. I receive the next warning: “OpenGL not started. Click here to go to troubleshooting web page”. When I click on the warning - it opens the page: troubleshooting :: jMonkeyEngine Docs
When I import a model in JME3 - I can not preview the model.
But the games with the scenes can be launched without any problems - I think the problem is in the SDK.
When I use the same version of JME3 on the same laptop with Windows 11 OS - I can open the scene composer without troubles.
What can be wrong with my Linux or JME3?
1 Like
Sorry, but I didn’t found any solution in the post which can be tried. No described instructions
So the LWJGL 3 didn’t work for you? Or what did you try and what did not work?
I wanted to add:
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia
to the .desktop file, but didn’t understand where this file is located. Does this file lay in the SDK-sources or somewhere in the OS if the SDK installed?
I have also determined that I receive a message:
Could not find GLX 1.3 config from peer info
when I launch the SDK.
About your advice to change the version of the SDK. I have not understood that I need to add only one digit character ‘3’ between
org.jmonkeyengine:jme3-lwjgl
and
:$jmeVersion-$jmeVersionTag", true, true)
It was not so obviously.
Yes, it is really helpful. But I want to know - is it possible to change this parameter in the already installed SDK? Are there some flag in the properties of the SDK or I can change somewhere in the OS a launch.cfg file where this variable can be change to avoid the manual building the SDK?
Does it mean the SDK runs LWJGL2 by default and I have forced set up the using of LWJGL3?
No, it is a compile time thing. Much like your own jME application. You must select it compile time whether you use LWJGL 2 or 3. No different for SDK. SDK is just another jME application. So you would just change the packages you compile the SDK with.
The SDK uses LWJGL 2 by default. Because of Swing. LWJGL 3 and AWT/Swing + especially MacOS aren’t exactly what I would call friends. But the rationale is that the situation is a bit better with jME 3.8, so in theory you could compile SDK against jME 3.8 and LWJGL 3 and that’ll work.
And seems that there is one confirmed success with this.
Sure you can play with prime if you have such configuration. I’ve tried it once with some games , to force the NVIDIA instead of the integrated Intel GPU. It probably works, it is just tricky to do.
Issue in Linux SDK. Its a bug.
I have done things but did’nt worked for me. in end of 2024.
So, now I’m using Windows. its working fine !!