We do often include affiliate links to earn us some pennies. See more here.

Ubuntu 24.04 increases vm.max_map_count for smoother Linux gaming

By - | Views: 39,023

At last! Users from Ubuntu 24.04 onwards that's scheduled to release on April 25th should hopefully see a smoother Linux gaming experience.

There's been an issue for quite some time now in various Linux distributions where the value of vm.max_map_count is too low, which is by default set to 65530, and this causes a whole bunch of games to crash. Fedora changed this to a default of 1048576 back with Fedora Linux 39 and now it's the turn for Ubuntu to do the same.

On the bug report, it's been noted that a fix has been committed for Ubuntu 24.04 in the procps package that will now match the value that Fedora is using.

Some of the games that can be affected by it include The Finals, which I actually wrote about with this issue, and others including Counter Strike 2, Hogwarts Legacy, DayZ, and basically anything that might be invoking a lot of mmaps. Some specific games may still need a higher value, but at least bumping up the default will leave room for more games to actually work properly.

It's such a small change, but the benefit will be huge for an overall smoother gaming experience.

Hat tip to OmgUbuntu.

Article taken from GamingOnLinux.com.
Tags: Misc, Ubuntu
21 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 came back to check 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. Find me on Mastodon.
See more from me
15 comments
Page: «2/2
  Go to:

Quoting: BlackBloodRumHmm? While I think it's good to have beneficial defaults was there anything on ubuntu stopping users adjusting this themselves?

I'm just not sure what the big deal is as in my mind this one is just one of those "Oh, that's the issue? Okay, tweak that, done."
I don't use an operating system so I can tweak it.

Back in the day with Fedora and Mandrake I had to mess with stuff all the time to get stuff to work. I hated it. I persevered for political reasons and because Windows sucked pretty hard in its own ways, but it was not my scene. I use an OS for it to work, so I can do things on it without worrying about it. Nowadays I hardly ever have to tweak the OS, and if I do have to I consider it a signal that I should think about switching to something that works.
View PC info
  • Supporter Plus
Quoting: Purple Library Guy
Quoting: BlackBloodRumHmm? While I think it's good to have beneficial defaults was there anything on ubuntu stopping users adjusting this themselves?

I'm just not sure what the big deal is as in my mind this one is just one of those "Oh, that's the issue? Okay, tweak that, done."
I don't use an operating system so I can tweak it.

Back in the day with Fedora and Mandrake I had to mess with stuff all the time to get stuff to work. I hated it. I persevered for political reasons and because Windows sucked pretty hard in its own ways, but it was not my scene. I use an OS for it to work, so I can do things on it without worrying about it. Nowadays I hardly ever have to tweak the OS, and if I do have to I consider it a signal that I should think about switching to something that works.
We are very different people.


Last edited by BlackBloodRum on 26 March 2024 at 3:19 pm UTC
whizse Mar 26
View PC info
  • Supporter
Quoting: BlackBloodRumI'm just not sure what the big deal is as in my mind this one is just one of those "Oh, that's the issue? Okay, tweak that, done."
One less thing on the checklist when you're setting up a new system?
WYW Mar 26
Quoting: Comandante ÑoñardoAnd how to manually do this "vm_max_map_count" increase on Ubuntu 22.04?
Liam wrote about this years ago https://www.gamingonlinux.com/2021/12/more-battleye-titles-for-proton-on-linux-including-dayz-arma-3-now-supported/
Keep seeing "KDE is crashy" around. KDE 6 has honestly been pretty rock solid for me since I started running Fedora 40 (just after it forked from rawhide).
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!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.