Submitting this for someone as it seems account creation is disabled right now.
I'm having trouble launching minecraft after updating it to 1.18. I'm on ubuntu 20.10 with up-to-date video drivers.
The errors given by the console log are as follows:
Failed to create window:
drp$a: GLFW error 65543: GLX: Failed to create context: BadValue (integer parameter out of range for operation)
at drp.b(SourceFile:218)
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:1714)
at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1897)
at drp.<init>(SourceFile:92)
at eqa.a(SourceFile:21)
at dxo.<init>(SourceFile:476)
at net.minecraft.client.main.Main.main(SourceFile:197)
thanks, <REDACTED>
Check with Community Support for assistance with technical issues. You may refer to this report as MC-243633 there.