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

Getting the best N64 experience on a Pi 4

Scheduled Pinned Locked Moved General Discussion and Gaming
mupen64pluspi4 bnintendo 64
365 Posts 41 Posters 243.9k 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.
  • Q
    quicksilver @George Spiggott
    last edited by 8 Apr 2020, 16:51

    @George-Spiggott are you sure that is your mupen64plus.cfg? It's not fully populated. That looks more like mupen64plus.cfg.rp-dist.

    G 1 Reply Last reply 8 Apr 2020, 16:56 Reply Quote 0
    • G
      George Spiggott @quicksilver
      last edited by 8 Apr 2020, 16:56

      @quicksilver Oops yes it is. Fixed the link above.

      Currently running:
      Retropie 4.8.9 on a Pi Zero 2W (Overclock Settings: CPU 1400Mhz)
      ES-DE on a GMKtec K6 (Windows 11, 32GB RAM)

      1 Reply Last reply Reply Quote 0
      • Q
        quicksilver
        last edited by 8 Apr 2020, 17:12

        In the audio-sdl section change resample to "trivial" that should help with the audio issues.

        Are you running in 4k mode?

        G 2 Replies Last reply 8 Apr 2020, 17:14 Reply Quote 1
        • G
          George Spiggott @quicksilver
          last edited by George Spiggott 4 Aug 2020, 18:42 8 Apr 2020, 17:14

          @quicksilver Will check the audio settings. TV is 1080p. Mupen is running in 320x240.

          I don't understand why the audio cuts out when there is so much spare processing time. I assumed that audio is processed by the CPU.

          Currently running:
          Retropie 4.8.9 on a Pi Zero 2W (Overclock Settings: CPU 1400Mhz)
          ES-DE on a GMKtec K6 (Windows 11, 32GB RAM)

          D 1 Reply Last reply 8 Apr 2020, 17:49 Reply Quote 0
          • D
            dankcushions Global Moderator @George Spiggott
            last edited by 8 Apr 2020, 17:49

            @George-Spiggott said in Getting the best N64 experience on a Pi 4:

            @quicksilver Will check the audio settings. TV is 1080p. Mupen is running in 320x240.

            I don't understand why the audio cuts out when there is so much spare processing time. I assumed that audio is processed by the CPU.

            if the gpu can't deliver frames in time, it bottlenecks everything else. cpu power is mostly irrelevant with n64 on raspberry pi. even the rpi 2 has enough grunt most of the time.

            1 Reply Last reply Reply Quote 1
            • G
              George Spiggott @quicksilver
              last edited by 9 Apr 2020, 22:44

              @quicksilver I went for a variation on your suggestion, I had a look at the audio settings for lr-mupen64plus-next and increased Audio Latency (ms) to 512 (from 64). It seems to have smoothed out most of the audio issues I have. The game still doesn't run at 100% speed but it is well playable.

              I have also pretty much completely turned off my CPU overclock. I am tempted to see how far I can push the GPU to iron out the frame rate issues on N64 and PSP.

              @dankcushions thanks for the explanation.

              Currently running:
              Retropie 4.8.9 on a Pi Zero 2W (Overclock Settings: CPU 1400Mhz)
              ES-DE on a GMKtec K6 (Windows 11, 32GB RAM)

              1 Reply Last reply Reply Quote 0
              • G
                George Spiggott @dankcushions
                last edited by George Spiggott 4 Dec 2020, 16:23 12 Apr 2020, 15:21

                @dankcushions I found a list of the games that dk benefit from 16:9. There seems to be about half a dozen of them.

                https://www.google.com/amp/gametyrant.com/news/n64-games-that-had-widescreen-support-part-1-anamorphic-widescreen%3Fformat=amp

                The only one I have is Perfect Dark. It will take advantage of 16:9 adjusted. You have to have a fairly sharp eye to notice the difference e.g the moon is actually a cirle at the start of level 1. Nice to find a game with that option though.

                Currently running:
                Retropie 4.8.9 on a Pi Zero 2W (Overclock Settings: CPU 1400Mhz)
                ES-DE on a GMKtec K6 (Windows 11, 32GB RAM)

                1 Reply Last reply Reply Quote 0
                • G
                  George Spiggott
                  last edited by 26 Apr 2020, 12:37

                  Does anyone know how to gwt Mario Cart 64 to run in 640x480 without the graphics breaking up on the character select screen?

                  Currently running:
                  Retropie 4.8.9 on a Pi Zero 2W (Overclock Settings: CPU 1400Mhz)
                  ES-DE on a GMKtec K6 (Windows 11, 32GB RAM)

                  Q D 2 Replies Last reply 26 Apr 2020, 13:17 Reply Quote 0
                  • Q
                    quicksilver @George Spiggott
                    last edited by 26 Apr 2020, 13:17

                    @George-Spiggott can you post a screenshot? Often times there are issues with 2D objects having lines in them when you increase the resolution beyond the original render resolution of that system. This happens with a number of emulators, not just mupen64plus.

                    1 Reply Last reply Reply Quote 1
                    • D
                      dankcushions Global Moderator @George Spiggott
                      last edited by 26 Apr 2020, 14:01

                      @George-Spiggott i belive:

                      # Render 2D texrects in native resolution to fix misalignment between parts of 2D image. (0=Off, 1=Optimized, 2=Unoptimized)
                      EnableNativeResTexrects = 0
                      

                      to

                      # Render 2D texrects in native resolution to fix misalignment between parts of 2D image. (0=Off, 1=Optimized, 2=Unoptimized)
                      EnableNativeResTexrects = 1
                      

                      in /opt/retropie/configs/n64/mupen64plus.cfg

                      or the equiv core option in lr-mupen.

                      Q 1 Reply Last reply 26 Apr 2020, 14:28 Reply Quote 1
                      • Q
                        quicksilver @dankcushions
                        last edited by 26 Apr 2020, 14:28

                        @dankcushions I had not noticed that option before. Do you know if there a performance hit for using it?

                        D 1 Reply Last reply 26 Apr 2020, 18:37 Reply Quote 0
                        • D
                          dankcushions Global Moderator @quicksilver
                          last edited by 26 Apr 2020, 18:37

                          @quicksilver there presumably will be otherwise it would default on.

                          1 Reply Last reply Reply Quote 1
                          • G
                            George Spiggott
                            last edited by George Spiggott 26 Apr 2020, 19:10

                            @dankcushions Thanks that solved it. There were a few N64 games that ran well on a stock Pi3B+ I think most of these will be good candidates to run at 640x480 on a Pi4. So far Mario Cart 64 and Donkey Kong Racing are the only ones I have tried. I also managed to fix my Worms Armageddon problem by running the game in Mupen64plus in 640x480.

                            This is the graphical error in Mario Cart 64 so people know what to look out for.

                            Mario Kart 64 (U)-200426-182759.png

                            Currently running:
                            Retropie 4.8.9 on a Pi Zero 2W (Overclock Settings: CPU 1400Mhz)
                            ES-DE on a GMKtec K6 (Windows 11, 32GB RAM)

                            R 1 Reply Last reply 4 May 2020, 00:52 Reply Quote 0
                            • P
                              Pi-nerd84
                              last edited by 29 Apr 2020, 05:55

                              Hello together,

                              First of all, thanks for the efforts to bring a first release out for the RPI4.
                              I tried to run Goldeneye and Pilotwings 64 on first official RPI4 release.
                              Currently, I got weaker performance as on my RPI3 with old rice core for these two titles.

                              Pilotwings rans nearly at 100 per cent on RPI3.
                              On RPI4, i tried all cores. At most of the time it stuckes and there are artefacts and glitches on the screen.

                              Goldeneye rans also i would say only 70 per cent of speed.

                              Addititional, I tried also lakka in the past on RPI4, with nearly same behaviour.
                              I guess the emulator cores and/or gpu drivers are currently not very optimized so far.

                              I will ask some questions in the round, which I currently do not know, maybe one of you have here already more background info:

                              • Are there any improvements possible, what could be said by today?

                              • Would a coming vulkan gpu driver help for better N64 performance?

                              • is there any ongoing optimization for the N64 emulators/cores, especially for the RPI4?

                              D Q 2 Replies Last reply 29 Apr 2020, 09:07 Reply Quote 0
                              • D
                                dankcushions Global Moderator @Pi-nerd84
                                last edited by 29 Apr 2020, 09:07

                                @Pi-nerd84 said in Getting the best N64 experience on a Pi 4:

                                Hello together,

                                First of all, thanks for the efforts to bring a first release out for the RPI4.
                                I tried to run Goldeneye and Pilotwings 64 on first official RPI4 release.
                                Currently, I got weaker performance as on my RPI3 with old rice core for these two titles.

                                Pilotwings rans nearly at 100 per cent on RPI3.
                                On RPI4, i tried all cores. At most of the time it stuckes and there are artefacts and glitches on the screen.

                                Goldeneye rans also i would say only 70 per cent of speed.

                                i can definitely see some nasty regression in goldeneye speed. i'm bisecting right now to see where it changed.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dankcushions Global Moderator
                                  last edited by 29 Apr 2020, 10:01

                                  tagging @quicksilver - I just compiled standalone mupen64plus-GLideN64 from the beginning of the year and it's getting hammered in the intro (spinning nintendo logo) and presumably beyond, whereas lr-mupen64plus-next seems fine. not sure what the discrepancy can be? has it always been like this? very strange!

                                  Q 1 Reply Last reply 29 Apr 2020, 12:51 Reply Quote 1
                                  • Q
                                    quicksilver @dankcushions
                                    last edited by quicksilver 29 Apr 2020, 12:51

                                    @dankcushions which game are you testing? I just did a source update a few days ago and everything has been working fine for me. (Was working fine before that as well)

                                    Edit: let me restore my mupen64plus.cfg back to default before I confirm anything though and I'll report back.

                                    D 1 Reply Last reply 29 Apr 2020, 12:55 Reply Quote 0
                                    • D
                                      dankcushions Global Moderator @quicksilver
                                      last edited by dankcushions 29 Apr 2020, 12:55

                                      @quicksilver Goldeneye on pi4 - the intro seems very slow, when my memory of it on the pi3 is that it would slow down during the 'gun barrel walk' part, but not before that. i didn't get further than that.

                                      Q 1 Reply Last reply 29 Apr 2020, 14:15 Reply Quote 0
                                      • Q
                                        quicksilver @dankcushions
                                        last edited by quicksilver 29 Apr 2020, 14:15

                                        @dankcushions I restored my mupen64plus.cfg to default settings (afaik) and tested GoldenEye. Feels the same as I remember it. A little bit of slowdown on the gunbarrel part of the intro and the menu select screen. But Nintendo logo and the rest "feel" right to me.

                                        Do you have issues with the latest build from source or binary install (not sure when binaries were last updated)

                                        D 1 Reply Last reply 29 Apr 2020, 15:25 Reply Quote 0
                                        • Q
                                          quicksilver @Pi-nerd84
                                          last edited by quicksilver 29 Apr 2020, 14:28

                                          @Pi-nerd84 generally you shouldn't be using gles2rice as a first choice on the pi 4. Pilot wings should work fine with gliden64. Gliden64 still has active development and is much more accurate. The reason you are having issues with gles2rice is because it's rendering everything 640x480 on the pi4 and it was 320x240 on the pi 3. The mupen64plus.sh script which controlled mupen64plus render res on the pi 3 isnt functional at this time. You should be able to edit the mupen64plus.cfg and change res from 640x480 to 320x240.

                                          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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received