RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    RPi 4 N64 performance (again)

    Scheduled Pinned Locked Moved Help and Support
    n64pi4performance
    27 Posts 6 Posters 15.8k 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.
    • quicksilverQ
      quicksilver @Wolf64
      last edited by

      @Wolf64 said in RPi 4 N64 performance (again):

      Speaking of settings, before I forget, I wanted to ask if there's a way to reduce audio lag/stutter/crackling for some n64 games? The lag probably is due to performance in general but especially the crackling is very annoying. The latter just seems to happen when using gliden64 though, but not on the lr-cores, so it's either better performance or decent sound. Any fixes for sound crackling under gliden64?

      Yes this was actually previously fixed but then somehow got reverted when mupen64plus made the jump to the pi 4. Youll need to check two files. The first is located at /opt/retropie/configs/all/autoconf.cfg. Make sure that mupen64plus_audio = "0" if it already is then proceed to the next step. If its not, then change it to 0 and then launch and exit a N64 game using mupen64plus-gliden64 before proceeding to the next step (this will populate the SDL audio section of the next config). Next navigate to /opt/retropie/configs/n64/mupen64plus.cfg and go to the [Audio-SDL] section near the top. Look for the line RESAMPLE = and change it to RESAMPLE = "trivial" This will get rid of the audio popping/crackling and great reduce audio latency as well.

      W ayekayeA 2 Replies Last reply Reply Quote 1
      • W
        Wolf64 @quicksilver
        last edited by

        @quicksilver Awesome, thanks a bunch! Now it's a much better experience overall.

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

          PAL version of zelda 64 ran at 17fps, so make sure you're at least using the NTSC version.

          W 1 Reply Last reply Reply Quote 0
          • W
            Wolf64 @dankcushions
            last edited by

            @dankcushions I see, makes sense then for my measurements as I do have the PAL version. But I'll stick to that. If there's a way to uncap the fps it won't matter anymore anyway. Thanks for the info though.

            1 Reply Last reply Reply Quote 1
            • NakynawN
              Nakynaw
              last edited by

              @quicksilver , I have read a couple of people are taking audio latency from 64 to 512 to help with crackling noises... Is that of any use according to you? If the resample option is already to trivial, it should be enough, right?

              PI4B 8GRAM (Canakit Extreme) - Retropie 4.6.7 (my first Pi ever : september 2020)
              OC : arm=2k, v3d=830, hdmi4kp60=1, turbo=1, OV=6

              quicksilverQ 1 Reply Last reply Reply Quote 0
              • quicksilverQ
                quicksilver @Nakynaw
                last edited by

                @Nakynaw setting the audio resampler to trivial was enough for me. Took care of the audio crackle and excessive audio latency. You just need to make sure that you are using sdl for audio. Check /opt/retropie/configs/all/autoconf.cfg/ and make sure mupen64plus audio is set to "0".

                1 Reply Last reply Reply Quote 1
                • ayekayeA
                  ayekaye @quicksilver
                  last edited by

                  @quicksilver any time I make the change to "trivial" or anything else for that matter, it gets changed right back when I restart emulation station. Anyone know why?

                  -AK

                  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.