jMonkeyEngine / jMonkeyEngine/jmonkeyengine
printContextInitInfo() prints nulls on Linux
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 1.2k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 14
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at com.jme3.system.lwjgl.LwjglContext.printContextInitInfo and compare the Windows and Linux startup logs shown in the issue. Trace where the graphics adapter and driver version values come from on Linux; done means determining whether those values can be obtained and ensuring the startup output handles the result appropriately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- computer-graphics, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100