jmonkeyengine
jmonkeyengine copied to clipboard
printContextInitInfo() prints nulls on Linux
jMonkeyEngine application startup messages on Windows 7:
Jul 02, 2019 10:08:03 AM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.3-alpha2
* Branch: HEAD
* Git Hash: 3f1f2e8
* Build Date: 2019-05-22
Jul 02, 2019 10:08:04 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: LWJGL 2.9.3 context running on thread jME3 Main
* Graphics Adapter: nvd3dumx,nvwgf2umx,nvwgf2umx
* Driver Version: 23.21.13.8873
* Scaling Factor: 1
When I boot Linux Mint 19.1 on the same hardware, the graphics adapter and driver version are described as null
:
Jul 02, 2019 10:13:54 AM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.3-alpha2
* Branch: HEAD
* Git Hash: 3f1f2e8
* Build Date: 2019-05-22
Jul 02, 2019 10:13:56 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: LWJGL 2.9.3 context running on thread jME3 Main
* Graphics Adapter: null
* Driver Version: null
* Scaling Factor: 1
This has been true since at least JME 3.1. Is there some way we can obtain this information on Linux?
Does it also happen with LWJGL3?
I also get null
for the graphics adapter and driver version when running on LWJGL2 on Linux Mint but it works fine when running on LWJGL3.
On my Linux system, LWJGL3 doesn't print a driver version (or scaling factor), but it does print adapter information:
Jul 02, 2019 10:56:16 AM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.3-alpha2
* Branch: HEAD
* Git Hash: 3f1f2e8
* Build Date: 2019-05-22
Jul 02, 2019 10:56:17 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: LWJGL 3.2.1 build 12 context running on thread main
* Graphics Adapter: GLFW 3.3.0 X11 GLX EGL clock_gettime evdev shared
Jul 02, 2019 10:56:17 AM com.jme3.renderer.opengl.GLRenderer loadCapabilitiesCommon