The moment I click Play it crashes. I haven't had this issue before today on this system or this OS, my guess is it was something in an update to the OS.
I have tried this with 1.12, 1.13 and 1.11
Description: Initializing game
java.lang.IllegalStateException: GLFW error 65543: GLX: Failed to create context: BadValue (integer parameter out of range for operation)
at cfs.b(SourceFile:217)
at org.lwjgl.glfw.GLFWErrorCallbackI.callback(GLFWErrorCallbackI.java:36)
at org.lwjgl.system.JNI.invokePPPP(Native Method)
at org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:1649)
at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1827)
at cfs.<init>(SourceFile:98)
at cfr.a(SourceFile:79)
at cfi.am(SourceFile:436)
at cfi.a(SourceFile:377)
at net.minecraft.client.main.Main.main(SourceFile:144)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at cfs.b(SourceFile:217)
at org.lwjgl.glfw.GLFWErrorCallbackI.callback(GLFWErrorCallbackI.java:36)
at org.lwjgl.system.JNI.invokePPPP(Native Method)
at org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:1649)
at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1827)
at cfs.<init>(SourceFile:98)
at cfr.a(SourceFile:79)
at cfi.am(SourceFile:436)
-- Initialization --
Details:
Stacktrace:
at cfi.a(SourceFile:377)
at net.minecraft.client.main.Main.main(SourceFile:144)
Linked issues
is duplicated by 5
Comments 18
I had the same error launching Minecraft on Ubuntu 18.04, but just managed to resolve it by installing an updated version of the (NVidia proprietary) drivers for my graphics card. I was using the (current) standard version from the Ubuntu repo (390.48), but was able to install a more recent one (390.87) from the graphics-drivers/ppa.
I just had the same issue with ubuntu 18.10 and nvidia 390.87
(new computer that was running for 2 day's, yesterday minecraft was starting normal)
After reboot the problem was gone
I suspect a long running timer? if I see it coming back I will report more details
EDIT: works with NVIDIA 430.26 !
Same problem on Ubuntu 18.04, OpenGL version string: 4.6.0 NVIDIA 418.87.01, Minecraft 1.14.4.
Snapshot 19w42a fails the same way except that it says "java.lang.IllegalStateException: GLFW error 65543: GLX: Failed to create context: BadMatch" (instead of BadValue)
See this thread and my comment: https://bugs.mojang.com/browse/MC-169500?focusedCommentId=779710&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-779710
This worked for me and I was able to run the game (release 1.16.1) on "Linux kondenzator 5.3.0-59-generic #53~18.04.1-Ubuntu SMP Thu Jun 4 14:58:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux"
Crash report from @unknown in duplicate MC-137360, in case it helps:
https://pastebin.com/PQPBc28C