Announcement

Collapse
No announcement yet.

Arch Linux Increasing Its vm.max_map_count To Help Steam Play Games & Other Software

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Arch Linux Increasing Its vm.max_map_count To Help Steam Play Games & Other Software

    Phoronix: Arch Linux Increasing Its vm.max_map_count To Help Steam Play Games & Other Software

    Similar to Ubuntu 24.04 LTS, Fedora 39, and other recent Linux distributions increasing its vm.max_map_count default in order to satisfy some Windows games running under Valve's Steam Play (Proton) and other memory-intensive software, Arch Linux is also increasing its default value...


  • #2
    Hmm, on the Arch based EndeavourOS it is already much higher:

    vm.max_map_count = 2147483642

    And the games just simply work.

    Comment


    • #3
      I have /etc/sysctl.d/80-gamecompatibility.conf on arch maybe from wiki or other package

      with
      Code:
      vm.max_map_count = 2147483642
      vm.min_free_kbytes = 1048576​

      Comment


      • #4
        Originally posted by Shtirlic View Post
        I have /etc/sysctl.d/80-gamecompatibility.conf on arch maybe from wiki or other package

        with
        Code:
        vm.max_map_count = 2147483642
        vm.min_free_kbytes = 1048576​
        Me too, had changed it a while ago. Still, nice of them to make it default.

        Comment


        • #5
          Originally posted by Kepsz View Post
          Hmm, on the Arch based EndeavourOS it is already much higher:

          vm.max_map_count = 2147483642
          I'm on EndeavourOS. Where is this set? I don't have such a file in "/etc/sysctl.d/" (only my personal swappiness.conf).

          Comment


          • #6
            I havent had any issues myself. Mine is currently set for 524288, not sure from what

            Comment


            • #7
              still a common issue for new comers having it set way too low. Kind of wish steam had a way to handle this, or wine apps.

              Comment


              • #8
                Originally posted by Kepsz View Post
                Hmm, on the Arch based EndeavourOS it is already much higher:

                vm.max_map_count = 2147483642

                And the games just simply work.
                unless this was a very recent change, it isn't true, cuz i am on an endeavouros installation that is only a handful of months old and...

                Code:
                $ sysctl -a | grep max_map_count
                vm.max_map_count = 65530


                Manjaro on the other hand i recall did have this set higher by default.

                Comment


                • #9
                  Originally posted by rabcor View Post

                  unless this was a very recent change, it isn't true, cuz i am on an endeavouros installation that is only a handful of months old and...

                  Code:
                  $ sysctl -a | grep max_map_count
                  vm.max_map_count = 65530
                  ​.
                  My EndeavourOS is almost half a year old and I have a different setting for this (don't remember touching it ever):

                  Code:
                  $ stat / | awk '/Birth: /{print $2 " " substr($3,1,5)}'
                  2023-09-10 20:10
                  $ sysctl -a | grep max_map_count
                  vm.max_map_count = 1048576

                  Comment


                  • #10
                    Originally posted by rabcor View Post
                    Code:
                    $ sysctl -a | grep max_map_count
                    vm.max_map_count = 65530


                    Manjaro on the other hand i recall did have this set higher by default.
                    Just checked my Manjaro it has 65530 like Arch. Recently installed/KDE edition YMMV.

                    Comment

                    Working...
                    X