Hey guys, so after a long break, I decided to work on my jME projects again. I hadn’t touched my current project since I changed to Ubuntu, so I was surprised that, when i tried to launch in full screen, it gave me the following error:
SEVERE: Failed to create display
java.lang.RuntimeException: Unable to find fullscreen display mode matching settings
at com.jme3.system.lwjgl.LwjglDisplay.createContext(LwjglDisplay.java:79)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:113)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:211)
at java.lang.Thread.run(Thread.java:745)
nov 11, 2017 6:47:53 PM com.jme3.system.lwjgl.LwjglAbstractDisplay run
SEVERE: Display initialization failed. Cannot continue.
Hoping that this error was due to my incredibly dirty code, I tried to create a new project (the default one with the blue cube), but it still gave me that error.
I did realize it was giving me a weird resolution option: 3046x1050. I soon realized that was the resolution of my two monitors combined, so I decided to turn off one of them and see if it would work. It didn’t. (Although the maximum resolution i could pick this time was 1366x768, which is the resolution of the primary monitor.
I also tried picking other lower resolutions, to no avail.
Has anyone experienced this error? I’m using Ubuntu 16.04, jMonkey 3.1 stable and my graphics card’s drivers are updated.