Increase vm_max_map_count to boost gaming compatibility

Asked by vinceff

Hello there,

I submit this request to improve the gaming experience in ubuntu for all users.
Today, Hogwarts Legacy, Star Citizen and few more games are crashing or just not starting because the vm_max_map_count is locked at 65530. If we change this value to a value > 200000, all games are working well and there is no bug linked to maps.

Some others distribution like Fedora or Pop OS, have already made the change few month before.

It's time to Ubuntu to makes the change also.

Thanks in advance for applying this request.

How to make this change :

One file to modify :
/etc/sysctl.conf
Add this line :
vm.max_map_count=2147483642
Save
Reboot and enjoy

Best Regards
Vinceff

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug. This may then be set to the default setting in the OS

Revision history for this message
vinceff (vinceff) said :
#2

Thanks for your suggest, i made it !

Can you help with this problem?

Provide an answer of your own, or ask vinceff for more information if necessary.

To post a message you must log in.