Every article tag can be clicked to get a list of all articles in that category. Every article tag also has an RSS feed! You can customize an RSS feed too!
We do often include affiliate links to earn us some pennies. See more here.

If you're using the open source Mesa drivers on Linux (mostly AMD/Intel) and you're a fan of Minecraft, the next Mesa release is going to give you a big performance uplift.

Mesa has a feature that allows certain applications to use threaded OpenGL, which can give a pretty good performance improvement. This feature "mesa_glthread" is only used by default for approved applications listed in a configuration file, as it can (in certain cases) cause issues. The simple change done recently by AMD developer Marek Olšák simply turns this on for the official Minecraft launcher.

You can actually turn it on yourself for anything to test using this command:

mesa_glthread=true application-name

There's quite a few applications that already have it enabled by default now including Alien Isolation, Civilization 5 / 6, various Saints Row games, American Truck Simulator, Euro Truck Simulator and many more. You can see a file list in this file as of the recent change.

Article taken from GamingOnLinux.com.
23 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
The comments on this article are closed.
6 comments

Rafii2198 Dec 2, 2021
Does it only work with official launcher? Or can I use 3rd party launcher like MultiMC just fine?
anth Dec 2, 2021
It is probably worth noting that this is for the vanilla Minecraft shaders and may cause problems for others.

I'm using MultiMC so Mesa doesn't turn this feature on by default. If I add it for vanilla Mincraft that runs fine, I'm guessing better than normal but I've not checked. If I add it for the Fabulously Optimized modpack which includes the Iris mod and turn on an alternate shader it crashes immediately, though I think in that case there is multithreading anyway so there wouldn't be any benefit.
MayeulC Dec 3, 2021
Quoting: Rafii2198Does it only work with official launcher? Or can I use 3rd party launcher like MultiMC just fine?

As long as the executable is called minecraft-launcher it should work, AFAIK? You can force it on or off if you want, as highlighted in the article.

I have to test whether it helps minetest or not.
MakingItWork Dec 3, 2021
Great to hear!
Tasenova Dec 30, 2021
Quoting: MayeulC
Quoting: Rafii2198Does it only work with official launcher? Or can I use 3rd party launcher like MultiMC just fine?

As long as the executable is called minecraft-launcher it should work, AFAIK? You can force it on or off if you want, as highlighted in the article.

I have to test whether it helps minetest or not.

Hey did you test this? How do I get multiMC to use this command? "mesa_glthread=true application-name"
MayeulC Jan 2, 2022
Quoting: Tasenova
Quoting: MayeulC
Quoting: Rafii2198Does it only work with official launcher? Or can I use 3rd party launcher like MultiMC just fine?

As long as the executable is called minecraft-launcher it should work, AFAIK? You can force it on or off if you want, as highlighted in the article.

I have to test whether it helps minetest or not.

Hey did you test this? How do I get multiMC to use this command? "mesa_glthread=true application-name"

I tried it, I think it might help a bit, but my test was relatively inconclusive, I should test on less powerful hardware... Threading probably helps in CPU-limited cases, I think.

Minetest has relatively poor performance with higher draw distance, so I was thinking of writing a LOD implementation for it instead
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.