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

    How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability

    Scheduled Pinned Locked Moved General Discussion and Gaming
    98 Posts 21 Posters 84.3k 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.
    • dankcushionsD
      dankcushions Global Moderator
      last edited by

      reading the output, 189MB of your 256 vram memory split (236 effective) is free whilst running a game, so the game itself is taking up less than 50MB.

      that's what I mean - the one-size-fits-all solution is the default of 256mb (on a pi 2/3). there's no need to change it.

      RiverstormR 1 Reply Last reply Reply Quote 0
      • RiverstormR
        Riverstorm @dankcushions
        last edited by Riverstorm

        @dankcushions said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

        reading the output, 189MB of your 256 vram memory split (236 effective) is free whilst running a game, so the game itself is taking up less than 50MB.

        that's what I mean - the one-size-fits-all solution is the default of 256mb (on a pi 2/3). there's no need to change it.

        I believe what you're saying but to throw a twist into the mix I have 600 split set through the raspi-config from that original article. I plan to lower it now after this discussion. Here's the snip from my /boot/config.txt. Maybe you can shed some light on why those numbers are those number by chance? The 236MB I mean with these settings. Is the line gpu_mem_1024=256 overriding the gpu_mem=600? It's a straight load of RetroPie 3.7 with the overclock sections thrown in. The first 3 lines are part of the default config.txt the 4th was added after changing the gpu_mem to 600 through the raspi-config tool. Unrelated I had a crash and bumped my overvolt to 6 to see if that's more stable. 5 is good but hoping for complete stability.

        gpu_mem_256=128
        gpu_mem_512=256
        gpu_mem_1024=256
        overscan_scale=1
        gpu_mem=600
        
        #Overclock Settings
        arm_freq=1350
        over_voltage=6
        temp_limit=80
        core_freq=500
        
        #GPU Based
        h264_freq=333
        avoid_pwm_p11=1
        gpu_mem=600
        v3d_freq=500
        
        #RAM Overclock
        sdram_freq=588
        sdram_schmoo=0x02000020
        over_voltage_sdram_p=6
        over_voltage_sdram_i=4
        over_voltage_sdram_c=4
        
        #Sound Fix
        hdmi_drive=2
        
        dankcushionsD 1 Reply Last reply Reply Quote 0
        • dankcushionsD
          dankcushions Global Moderator @Riverstorm
          last edited by

          @Riverstorm said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

          @dankcushions said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

          reading the output, 189MB of your 256 vram memory split (236 effective) is free whilst running a game, so the game itself is taking up less than 50MB.

          that's what I mean - the one-size-fits-all solution is the default of 256mb (on a pi 2/3). there's no need to change it.

          I believe what you're saying but to throw a twist into the mix I have 600 split set through the raspi-config from that original article. I plan to lower it now after this discussion. Here's the snip from my /boot/config.txt. Maybe you can shed some light on why those numbers are those number by chance? The 236MB I mean with these settings. Is the line gpu_mem_1024=256 overriding the gpu_mem=600?

          it's all in the documentation: http://elinux.org/RPiconfig#Memory
          on a pi2/3, gpu_mem_1024 overrides gpu_mem

          RiverstormR 1 Reply Last reply Reply Quote 0
          • RiverstormR
            Riverstorm @dankcushions
            last edited by

            @dankcushions said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

            @Riverstorm said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

            @dankcushions said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

            reading the output, 189MB of your 256 vram memory split (236 effective) is free whilst running a game, so the game itself is taking up less than 50MB.

            that's what I mean - the one-size-fits-all solution is the default of 256mb (on a pi 2/3). there's no need to change it.

            I believe what you're saying but to throw a twist into the mix I have 600 split set through the raspi-config from that original article. I plan to lower it now after this discussion. Here's the snip from my /boot/config.txt. Maybe you can shed some light on why those numbers are those number by chance? The 236MB I mean with these settings. Is the line gpu_mem_1024=256 overriding the gpu_mem=600?

            it's all in the documentation: http://elinux.org/RPiconfig#Memory
            on a pi2/3, gpu_mem_1024 overrides gpu_mem

            I know I am coming full circle with what you said a while ago. So do any emulators use more than the 256 or does that pretty much cover them all? I don't know RetroPie's total emulator count but it's a boatload and I surely haven't played them all. I suppose it's only the latter emulators that might use more memory but I don't know what ones they would be. So 256 it is? :) Minus what mrbwa1 was saying on potentially texture packs using more on the N64.

            M 1 Reply Last reply Reply Quote 0
            • M
              mrbwa1 @Riverstorm
              last edited by

              @Riverstorm said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

              @dankcushions said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

              @Riverstorm said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

              @dankcushions said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

              reading the output, 189MB of your 256 vram memory split (236 effective) is free whilst running a game, so the game itself is taking up less than 50MB.

              that's what I mean - the one-size-fits-all solution is the default of 256mb (on a pi 2/3). there's no need to change it.

              I believe what you're saying but to throw a twist into the mix I have 600 split set through the raspi-config from that original article. I plan to lower it now after this discussion. Here's the snip from my /boot/config.txt. Maybe you can shed some light on why those numbers are those number by chance? The 236MB I mean with these settings. Is the line gpu_mem_1024=256 overriding the gpu_mem=600?

              it's all in the documentation: http://elinux.org/RPiconfig#Memory
              on a pi2/3, gpu_mem_1024 overrides gpu_mem

              I know I am coming full circle with what you said a while ago. So do any emulators use more than the 256 or does that pretty much cover them all? I don't know RetroPie's total emulator count but it's a boatload and I surely haven't played them all. I suppose it's only the latter emulators that might use more memory but I don't know what ones they would be. So 256 it is? :) Minus what mrbwa1 was saying on potentially texture packs using more on the N64.

              I don't believe anything uses more than 256MB for the GPU. In fact, I have had best performance with 128MB (never thought to try 64MB). The processing is going on mainly in the CPU (emulating the original hardware) so setting the memory split too high will rob ram from the CPU.

              The difference between the default of 256 and the suggestion of 128MB is likely splitting hairs as far as performance goes on my Pi2. The CPU would need to be using all of the remaining 896MB of RAM before issues came up. The 128MB split came about when people were running Pis with only 256MB of RAM or even 512MB max. Some of the folks with 256MB Pis have even gone with 64MB splits.

              You are better off leaving the splt at default unless you can find evidence of paging (or have a 256BM Pi version) rather than upping it for retropie. You can set the split down to 128M, but that probably won't make a difference.

              1 Reply Last reply Reply Quote 0
              • RiverstormR
                Riverstorm
                last edited by

                Ok, thanks guys. I am going to leave it at the default. Funny thing is when I changed it through the raspi-config tool it did nothing as the default entries where overriding it to 256.

                It seems like possible bug in that unless you modify config.txt directly it really isn't changed through the raspi-config tool.

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

                  @Riverstorm said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

                  Ok, thanks guys. I am going to leave it at the default. Funny thing is when I changed it through the raspi-config tool it did nothing as the default entries where overriding it to 256.

                  yeah, the default in raspian is for these gpu_mem_X overrides to not be set (see https://www.raspberrypi.org/documentation/configuration/config-txt.md) so the raspi-config tool would normally work fine.

                  however, i think retropie has these defaults to create a sensible split for the different pi models. see https://github.com/RetroPie/RetroPie-Setup/issues/490

                  i've added a note to the wiki to this effect: https://github.com/RetroPie/RetroPie-Setup/wiki/Memory-Split

                  M RiverstormR dankcushionsD 3 Replies Last reply Reply Quote 0
                  • M
                    mrbwa1 @dankcushions
                    last edited by

                    @dankcushions Thanks for the update. I double-checked mt setup on the RPi2 and indeed gpu_mem_1024=256 is present, so my 128MB tweak wasn't even being used.

                    I may try settng gpu_mem_1024=128 at some point, but I really don't think it's going to make a big difference performance wise. The bottleneck isn't really RAM; It's the processing power (especially with N64 emulation).

                    Since the default GPU split n Raspbian is 64MB, I can see why people were bumping UP to 128MB on older builds.

                    1 Reply Last reply Reply Quote 0
                    • RiverstormR
                      Riverstorm @dankcushions
                      last edited by Riverstorm

                      @dankcushions said

                      i've added a note to the wiki to this effect: https://github.com/RetroPie/RetroPie-Setup/wiki/Memory-Split

                      Thanks Dank, I added this my RetroPie build bookmarks.

                      @mrbwa1
                      You'll have to let us know if you run across any issues at 128.

                      @Twitch0815
                      I was a bit distraught to see Midway's Greatest Arcade Hits and Namco Museum 64 crashed in the spreadsheet. I tried them both to the same effect.

                      1 Reply Last reply Reply Quote 0
                      • Predator04P
                        Predator04
                        last edited by

                        So sorry for noob question but wanted to know where we put all the config info:
                        #Overclock Settings
                        arm_freq=1400
                        #(Try 1350 if 1400 does not work)
                        over_voltage=6
                        temp_limit=80
                        core_freq=500

                        etc etc at? What file do we edit? Thanks!

                        RiverstormR 1 Reply Last reply Reply Quote 0
                        • RiverstormR
                          Riverstorm @Predator04
                          last edited by

                          @Predator04 said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

                          So sorry for noob question but wanted to know where we put all the config info:
                          #Overclock Settings
                          arm_freq=1400
                          #(Try 1350 if 1400 does not work)
                          over_voltage=6
                          temp_limit=80
                          core_freq=500

                          etc etc at? What file do we edit? Thanks!

                          You can append it to the end of the /boot/config.txt file, reboot and you should be good to go. Hold down left shift if it won't boot to bypass the overclock settings and make tweaks.

                          Predator04P 1 Reply Last reply Reply Quote 0
                          • Predator04P
                            Predator04 @Riverstorm
                            last edited by

                            @riverstorm

                            Thanks.. So normally to get to the pi I use..
                            \10.90.xx.xx
                            hot do I get to the boot folder? Thanks :P

                            RiverstormR 1 Reply Last reply Reply Quote 0
                            • RiverstormR
                              Riverstorm @Predator04
                              last edited by

                              @Predator04 said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

                              @riverstorm

                              Thanks.. So normally to get to the pi I use..
                              \10.90.xx.xx
                              hot do I get to the boot folder? Thanks :P

                              I think there's more than one to do it but I usually boot my Pi, exit Emulationstation and

                              sudo nano /boot/config.txt

                              Make changes
                              Press 'ctrl-x' to exit
                              Press 'y' to save changes
                              Press 'enter' to accept

                              Predator04P 2 Replies Last reply Reply Quote 0
                              • Predator04P
                                Predator04 @Riverstorm
                                last edited by

                                @Riverstorm
                                yea i can do it that way. Thanks again!!

                                1 Reply Last reply Reply Quote 0
                                • Predator04P
                                  Predator04 @Riverstorm
                                  last edited by

                                  @Riverstorm
                                  error Permission Denied

                                  RiverstormR 1 Reply Last reply Reply Quote 0
                                  • RiverstormR
                                    Riverstorm @Predator04
                                    last edited by Riverstorm

                                    @Predator04 said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

                                    @Riverstorm
                                    error Permission Denied

                                    Hmmm...did you use 'sudo' in front of the editor, if not it will not work.

                                    Predator04P 1 Reply Last reply Reply Quote 0
                                    • Predator04P
                                      Predator04 @Riverstorm
                                      last edited by

                                      @Riverstorm
                                      crap I might not have. My bad... lol

                                      1 Reply Last reply Reply Quote 0
                                      • RionR
                                        Rion @Twitch0815
                                        last edited by Rion

                                        @Twitch0815 said in How to use Overclock and Mupen Core Options to significantly increase 64 game playability, quality, and stability:

                                        I also truly believe that the pi 3 can hold to a better overclock then 1400 and I mean I think it can be pushed to 2000 but I need to get a 5.1 v 3000 or 3500 ma power supply and the only ones I have found are in china and shipping is going to take 2-3 weeks till I have one in my hand unless I try to build one from scratch. Heat just has not been a problem with proper heatsinks applied properly and active fan cooling.

                                        Why not just go for something like this instead?

                                        5V 10A switching power supply
                                        MicroUSB to 5.5/2.1mm DC Barrel Jack Adapter

                                        FBNeo rom filtering
                                        Mame2003 Arcade Bezels
                                        Fba Arcade Bezels
                                        Fba NeoGeo Bezels

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Twitch0815
                                          last edited by

                                          @Rion
                                          Absolutely worth a try

                                          Think just a normal laptop power supply would work with the 1.95 adapter sure if it was 5v switching it would probably work.
                                          Awesome man thanks I appreciate it giving me somewhere to go with the power problem.

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            mrbwa1
                                            last edited by

                                            Laptop power supply bricks can be a bit finicky. I have a 12V 5A one for my Lipo battery charger and it gets hot when charging 32 batteries at the 2-2.5 amp settings.

                                            I would be tempted to go for this design for heat dissipation reasons:

                                            http://www.amazon.com/uxcell-AC110-Switching-Supply-Adapter/dp/B0076UJZX0

                                            Might have to cut and strip an old usb cord to get the power to the Pi

                                            Z 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.