"How To Stop Windows Games From Crashing on Linux - Simple Guide"

Published: 03 February 2024
on channel: Intelligent Gaming
1,379
92

In this video I cover how to change the vm.max_map.count value, a Linux kernel parameter, in order to prevent certain games from crashing whilst using compatibility layers such as Steam Proton.

The vm.max_map.count value is responsible for controlling the maximum number of memory map areas that a process can have.

Or in other words, prevent a single or group of processes from consuming excessive amounts of virtual memory that could lead to performance or system instability.

Step 1. Changing The vm.max_map.count Value.

To change the limit, it will differ slightly depending on your Linux distribution.

For Ubuntu based distributions, you will need to amend the systctl.conf file located at.

/etc/sysctl.conf

This can be done with the following Terminal command.

sudo nano /etc/sysctl.conf

So, with the file open, simply scroll down to the bottom and add the following value.

vm.max_map_count=2147483642

Once done, save the file and reboot the machine.

Alternatively, for Arch based distributions, you will need to edit the 80-gamecompatibility.conf file, located at.

/etc/sysctl.d/80-gamecompatibility.conf

Again, this can be done using the following Terminal command.

sudo nano /etc/sysctl.d/80-gamecompatibility.conf

Once again, scroll down to the bottom and add the following value.

vm.max_map_count=2147483642

Save the file when done, and reboot the machine to apply.

Step 2. Checking The New vm.max_map.count Value.

To check that the new value has been applied, simply run the following Terminal command.

cat /proc/sys/vm/max_map_count

Which should return 2147483642

All done.

#proton #steam #linux

Social Media Links

Discord -   / discord  

Reddit -   / intelligentgaming2020  


Watch video "How To Stop Windows Games From Crashing on Linux - Simple Guide" online without registration, duration hours minute second in high quality. This video was added by user Intelligent Gaming 03 February 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,379 once and liked it 92 people.