Published Aug 5th, 2021, 8/5/21 10:09 pm
- 40,667 views, 5 today
- 6
- 5
- 22
14
Ubuntu(Linux) issues with Minecraft 1.17.1
If you are an Ubuntu user and you are having problems launching Minecraft 1.17 on Linux, here is a possible solution.
About the error
GLFW error 65543: GLX: Failed to create context: GLXBadFBConfig.
Is an error that happens specially when you're trying to load Minecraft with Optifine in 1.17.1. The cause of this error is that this Optifine version needs OpenGL 4.3 to create a context apparently called "GLXBadFBConfig".
When I was searching for information about the error I read on a blog that probably the only way to fix it is buying a new graphic card. I started feel dissapointed. But I didn't gave up and still searching for help, so I found another blog that talked about a terminal command that helps some people with old OpenGL versions.
Yes, for some reason this error usually happens on Linux and not on Windows.
How to fix it
To fix it you need to "lie" to your Minecraft saying it that your OpenGL version is 4.3. You can override temporarily the OpenGL version variable with this command in terminal (open the terminal using Ctrl+Alt+T):
But not so fast! After type this on the terminal, you need to run your Minecraft. If you're using the original Minecraft Launcher you just need to run the command this way:
But if this isn't working you need to go to the directory in which you have the Minecraft executable (in the terminal, of course). Use "cd" comand and the directory of the game executable and finally once you're in the directory which has the game executable you just need to type the previous command with some differences:
If your Minecraft executable is a .jar (just like me), you need to execute it this way:
For example, in my case I have Fénix Launcher so I needed to type:
If you are an Ubuntu user and you are having problems launching Minecraft 1.17 on Linux, here is a possible solution.
About the error
GLFW error 65543: GLX: Failed to create context: GLXBadFBConfig.
Is an error that happens specially when you're trying to load Minecraft with Optifine in 1.17.1. The cause of this error is that this Optifine version needs OpenGL 4.3 to create a context apparently called "GLXBadFBConfig".
When I was searching for information about the error I read on a blog that probably the only way to fix it is buying a new graphic card. I started feel dissapointed. But I didn't gave up and still searching for help, so I found another blog that talked about a terminal command that helps some people with old OpenGL versions.
Yes, for some reason this error usually happens on Linux and not on Windows.
How to fix it
To fix it you need to "lie" to your Minecraft saying it that your OpenGL version is 4.3. You can override temporarily the OpenGL version variable with this command in terminal (open the terminal using Ctrl+Alt+T):
MESA_GL_VERSION_OVERRIDE=4.3
But not so fast! After type this on the terminal, you need to run your Minecraft. If you're using the original Minecraft Launcher you just need to run the command this way:
MESA_GL_VERSION_OVERRIDE=4.3 minecraft-launcher
But if this isn't working you need to go to the directory in which you have the Minecraft executable (in the terminal, of course). Use "cd" comand and the directory of the game executable and finally once you're in the directory which has the game executable you just need to type the previous command with some differences:
MESA_GL_VERSION_OVERRIDE=4.3 (your minecraft executable)
If your Minecraft executable is a .jar (just like me), you need to execute it this way:
MESA_GL_VERSION_OVERRIDE=4.3 java -jar (your minecraft executable)
For example, in my case I have Fénix Launcher so I needed to type:
MESA_GL_VERSION_OVERRIDE=4.3 java -jar LauncherFenix-Minecraft-v7.jar
If you're having problems while trying to open your Minecraft Launcher in the correct file adress you can do this:- Right-click on your .jar file
- Click copy
- ctrl+shift+v in terminal
- You'll find a line like file:///home/exaple
- Now copy and paste this line and remove file:// from the line
- And now type:
MESA_GL_VERSION_OVERRIDE=4.3 /home/exaple
REMEMBER: If you have .jar Minecraft Launcher use: MESA_GL_VERSION_OVERRIDE=4.3 java - jar /home/exaple
And it should work, of course, if you have the same problem as me.I hope this was usefull for you and goodbye!
Tags |
5245465
6
Create an account or sign in to comment.
i have tried to find how to be able to use this command on prism launcher, but it has not worked at all.
could you recommend some launchers to me that work on raspberry pi? or maybe tell me how to add the command to prism launcher, if that is possible?
thanks if you reply
Crash report: pastebin.com/bVtFawVd
Error: Unable to access jarfile Tlauncher-2.8.jar