Skip to content

"Couldn't find matching GLX visual" during LWJGL v3 display initialization #2823

Description

@stephengold

I tested JMonkeyEngine v3.10.0-alpha5 by plugging it into my VhacdTuner app. Something fails during display initialization:

May 27, 2026 12:18:29 PM com.jme3.app.LegacyApplication handleError
SEVERE: Failed to create display
java.lang.RuntimeException: Failed to create SDL window: Couldn't find matching GLX visual
	at com.jme3.system.lwjgl.LwjglWindow.createContext(LwjglWindow.java:338)
	at com.jme3.system.lwjgl.LwjglWindow.initInThread(LwjglWindow.java:693)
	at com.jme3.system.lwjgl.LwjglWindow.run(LwjglWindow.java:1105)
	at java.base/java.lang.Thread.run(Thread.java:1583)

May 27, 2026 12:18:30 PM com.jme3.system.lwjgl.LwjglWindow run
SEVERE: Display initialization failed. Cannot continue.

This is with jme3-lwjgl3 on Linux. With jme3-lwjgl (that is, LWJGL v2) the app runs normally.

The same app ran normally with v3.10.0-alpha3, so I think this is a recent regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    tracked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions