RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    total_mem=1023 for free 15MB ram

    Scheduled Pinned Locked Moved Ideas and Development
    ramtotalmemmem
    5 Posts 4 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thelostsoulT
      thelostsoul
      last edited by

      As described here and tested myself https://raspberrypi.stackexchange.com/questions/65835/extra-16m-memory-on-pi2-pi3 I recommend the default option to be enabled for Raspberry Pi 2 and 3:
      total_mem=1023
      This gives extra 15MB ram or gpu ram. There is some technical explanation there, which I don't fully understand why the last 16MB is not seen by the Raspberry Pi. Normally 1024 would be used here, but this makes it unstable for some people. As i understand, there is no tradoff for this, besides some are reporting crashes if 1024 used, but 1023 makes it stable.

      📜 RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

      BuZzB 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @thelostsoul
        last edited by

        @thelostsoul I don't want to change a default that even has a small possibility of issues. There is nothing in RetroPie that would benefit from this.

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • thelostsoulT
          thelostsoul
          last edited by

          I won't say that there is nothing it could benefit. People are changing the gpu_mem, because there are benefits. But I understand that there is some risk and respect it. Whoever want that 15MB can add itself right.

          📜 RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

          dankcushionsD 1 Reply Last reply Reply Quote 0
          • dankcushionsD
            dankcushions Global Moderator @thelostsoul
            last edited by

            @thelostsoul said in total_mem=1023 for free 15MB ram:

            I won't say that there is nothing it could benefit. People are changing the gpu_mem, because there are benefits.

            there isn't: https://github.com/RetroPie/RetroPie-Setup/wiki/Memory-Split

            1 Reply Last reply Reply Quote 0
            • RascasR
              Rascas
              last edited by

              That applies only to a certain kernel version which I don't remember exactly, but I know for sure that the kernel versions on Raspbian Stretch from the beginning doesn't need it anymore, it "sees" all the available memory. You can easily check that for example with free -m and adding the gpu_mem you have configured to that.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.