[TEMP SOLUTION FOUND] Linux crashes when trying to enter map from menu

Background Info
Source 2 in Proton exceeds Linux's default virtual memory max limit of 65530 or about 512MB.
We can confirm this if we run the command sudo sysctl vm.max_map_count or cat /proc/sys/vm/max_map_count and we should get a value of 65530.
Our goal here is to increase your maximum virtual memory limit!

Solution
For this solution I used 1048576 or 8GB of virtual memory as it's the becoming the new default on many Linux Systems.
To permanently change your virtual memory limit you must edit a system file that you will need escalated privileges for.
We will be editing sysctl.conf but depending on your system's configuration you might need to change a different file.

Open the file via the editor of your choice with sudo. For example sudo nano /etc/sysctl.conf and add the line vm.max_map_count=1048576 to the bottom of the file and reboot your machine. If it doesn't work check if you have another configuration file that could be causing conflicts. As the higher the number the later it makes the change to your system. So sysctl.conf will run before 99-sysctl.conf.

Notes
  • We can temporarily achieve this by the following command: sudo sysctl -w vm.max_map_count=1048576.
  • You can read about the vm max map count parameter in the documentation provided in the sources.
  • As per this message from Yoshi a proper Linux build or further proton support is not planned.
Credit
⚧Vixy the braixen⚧
Adler
Xinaydered
Arch Linux Update Post
OpenSuse Docs
Kernel Docs
Linux guide for A Hat In Time (Outdated)
This solution worked for me too and I think it should be a sticky thread for the Linux players.
 
Solution worked for me too. Was crashing at matchmaking, works now.
I still have a long "processing vulkan shaders", but potentially unrelated to this thread. Thank you.

Distro: Linux Mint 21.3
Kernel: 6.8.0-40-Generic
Resolution: 2560x1440
CPU: AMD Ryzen 9 3900X
GPU: NVIDIA GeForce RTX 3090
 
Back
Top