Open Gymnasiast opened 8 years ago
This has been fixed with 1dbca8b6236768793cf3c52702625ece7c3c3992 However, Minecraft seems to use an older nightly version from February 2015. There is newer build which does contain this fix. Maybe @grum can help?
I know this is a little old but if you are using MCP 1.8.9 or any other Minecraft version that uses legacy lwjgl, you can like cause it to launch on wayland/other resolutions by just downloading the xrandr package and then attempting to launch.
I still get an error but it launches :P
org.lwjgl.LWJGLException: Could not choose GLX13 config
at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:61)
at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:828)
at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
at org.lwjgl.opengl.Display.create(Display.java:846)
at org.lwjgl.opengl.Display.create(Display.java:757)
at net.minecraft.src.Config.checkDisplaySettings(Config.java:1895)
at net.minecraft.src.Config.initDisplay(Config.java:163)
at net.minecraft.client.renderer.OpenGlHelper.initializeTextures(OpenGlHelper.java:98)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:390)
at net.minecraft.client.Minecraft.run(Minecraft.java:327)
at net.minecraft.client.main.Main.main(Main.java:117)
at Start.main(Start.java:11)
I did a search on the bug tracker first, but could only find closed issues. Minecraft 1.8.9 seems to use LJWGJL 2.9.4 nightly, so I think this is a separate problem.
My situation is as follows: I play on a laptop with an external screen connected, and I have my internal screen disabled. The output of
xrandr -q
is as follows:This seems to trip up LWJGL, as it causes a NullPointerException:
I did a test where I hacked XRandR's output to show LVDS-1-0 is disconnected. When I do this, LWJGL works correctly. So it seems to be unable to handle LVDS-1-0 being connected but not enabled.
Environment: Ubuntu 15.10 AMD64 / 16.04 AMD64, Java 7, 8 and 9.
x11-xserver-utils
at version7.7+5ubuntu1
.