[Bug 2057792] Re: Some Games are crashing linked to a vm_max_map_count too low

Sebastien Bacher 2057792 at bugs.launchpad.net
Sun Mar 24 07:49:45 UTC 2024


Thanks for the report.

So

- the kernel default and current value is 65530

- Fedora changed to 1048576
(https://src.fedoraproject.org/rpms/systemd/blob/rawhide/f/10-map-
count.conf) which was enough according to their testing

- you are suggesting 2147483642 , which is several order of magnitude
higher

Unsure if there are possible side effects or downside of having a too
high value but it's late in the cycle and 1048576 seems like a more
reasonable default


@Julian I think from a Desktop perspective we are +1 on bumping to at least 1048576, technically that should be done in systemd I think. It that a FFe/change that you/foundations are wanting to work on?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/2057792

Title:
  Some Games are crashing linked to a vm_max_map_count too low

Status in Ubuntu:
  Confirmed
Status in gamemode package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed
Status in procps package in Ubuntu:
  Confirmed

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2057792/+subscriptions




More information about the foundations-bugs mailing list