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.1k 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.
    • akatooshA
      akatoosh @roslof
      last edited by

      @roslof hmm. Strange. I see it during a game once players start moving on the board. As a player rolls and walks on the board the 4 character panels in the corners will flicker.

      akatooshA 1 Reply Last reply Reply Quote 0
      • akatooshA
        akatoosh @akatoosh
        last edited by

        @akatoosh the flickering doesn’t happen constantly. Occasionally it will start and stop.

        1 Reply Last reply Reply Quote 0
        • retropieuser555R
          retropieuser555
          last edited by

          Hey has anyone got any issues with ISS 64? I find with the game there's these big ugly shadows underneath the players. (https://github.com/gonetz/GLideN64/issues/103) tried changing the depthcompare to true but it didn't fix it. Any ideas?

          Pi 5 4GB

          Retroflag GPI with raspberry pi zero 2 w/ wifi

          Retroachievements:- lovelessrapture

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

            @retropieuser555 iirc depth compare doesn't work on the raspberry pi. Don't take that as gospel but that is likely the issue.

            1 Reply Last reply Reply Quote 1
            • quicksilverQ
              quicksilver @George Spiggott
              last edited by quicksilver

              @george-spiggott A bit of a late response here but I just noticed this as well. I just started messing with my pi again after about 6 months or so. It seems standalone mupen64plus-gliden64 also got a nice performance boost. Several games that were very choppy now run much better. The vigilante games, Fighting Force and SOTE all seem to run much better now. Im still testing but I am sure there are more.

              Edit: Can add "destruction derby" to the list of games with improved performance. This another one that was a choppy mess but seems full speed now.

              dankcushionsD 1 Reply Last reply Reply Quote 2
              • dankcushionsD
                dankcushions Global Moderator @quicksilver
                last edited by

                @quicksilver great! maybe it was this? i didn't see any improvements in games but i barely benchmarked it other than what i wrote in the PR

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

                  @dankcushions Perhaps so! Is there a good method for benchmarking? Id like to get around to doing that in an effort to see what overclocking the pi 4 actually does to improve performance and by how much.

                  EDIT: so after some additional testing I have found that the vast majority of the n64 library is playable on a raspberry pi 4 with good performance and accuracy now. This is really exciting!

                  Something interesting I have noticed is that some of the games that still perform poorly, only do so for the first minute or two of the game and then they become full speed or nearly so for the rest of the play session. A couple examples are killer instinct, quake 2, and excite bike. All three games (there may be more) are initially very slow and choppy. During this time you can see that memory usage on the pi is steadily climbing. After the game finishes loading whatever it is into the RAM the game smooths out and works well. I wonder if this is something that could be optimized to work better on the pi?

                  1 Reply Last reply Reply Quote 0
                  • B
                    billymild
                    last edited by

                    Do different emulators have different smoothing capabilities? I have noticed some games that work with different emulators have very smooth graphics while others are pixelated.

                    Does the resolution make a difference in performance or appearance for emulation? 1920x1080 vs. 640x320.

                    Besides basic overclocking, is there anything else to get good performance and graphics?

                    It is amazing how great dreamcast works but N64 struggles.

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

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

                      Do different emulators have different smoothing capabilities? I have noticed some games that work with different emulators have very smooth graphics while others are pixelated.

                      by default we try and set up the n64 emulators (and all systems, for the most part) to run at native resolution - so for n64 this is around 320x240. there are options to run at higher resolution - eg mupen64plus-gliden64-highres. additionally you could adjust the options within the emulators, or their config files.

                      Does the resolution make a difference in performance or appearance for emulation? 1920x1080 vs. 640x320.

                      yes. typically fairly drastic on a pi system.

                      Besides basic overclocking, is there anything else to get good performance and graphics?

                      this thread has lots of info.

                      It is amazing how great dreamcast works but N64 struggles.

                      n64 has a proto-3d accelerator that is complex to emulate, especially with good performance on such weak hardware as pi systems. dreamcast is in some ways fairly similar to current technology, so is 'easier' to emulate.

                      B 1 Reply Last reply Reply Quote 1
                      • B
                        billymild @dankcushions
                        last edited by

                        @dankcushions thank you for the information.

                        On the topic of resolution, what is gained by going to higher resolution if the original media is of a lower resolution?

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

                          @billymild on 2d games a higher resolution doesn't really have a benefit, but on 3d games it increases the detail (less jagged edges).

                          busywaitB 1 Reply Last reply Reply Quote 0
                          • busywaitB
                            busywait @dankcushions
                            last edited by

                            @dankcushions @billymild
                            Some parts of some games have 640x480 2-D assets, and would have originally been put on the screen at 480i.

                            For example the "Multiplayer" (4 player) option inside the Bust-a-Move '99 game are obviously for 640x480 - you can barely read the text in 320x240.

                            I found the game can play perfectly smoothly (very few small audio glitches moving through the menus) in lr-mupen64plus-next with the 640x480 core option set as long as I don't have an overlay on the screen. (I also have the "Threaded renderer" core option off in this game).

                            I don't spend much time with this core or platform, but have learned that it's helpful to create a new core options file for each ROM instead of relying on a single core options configuration.

                            (Installing the experimental RetroPie on the beta Raspberry Pi 64-bit OS, lr-mupen64plus-next is even smoother, and I can have the overlay switched on too for Bust-A-Move '99 with the same configuration).

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

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

                              @dankcushions @billymild
                              Some parts of some games have 640x480 2-D assets, and would have originally been put on the screen at 480i.

                              For example the "Multiplayer" (4 player) option inside the Bust-a-Move '99 game are obviously for 640x480 - you can barely read the text in 320x240.

                              yep, hence i wrote

                              by default we try and set up the n64 emulators (and all systems, for the most part) to run at native resolution - so for n64 this is around 320x240

                              to be clear, mupen64plus-gliden64 and lr-mupen64plus-next are set to use native resolution, so they use whatever resolution the game originally was, which is typically around 320x240 but can be more or less. when you set it to '-highres' is simply doubles that native resolution.

                              (the other n64 emulators are a mixed bag)

                              I found the game can play perfectly smoothly (very few small audio glitches moving through the menus) in lr-mupen64plus-next with the 640x480 core option set as long as I don't have an overlay on the screen. (I also have the "Threaded renderer" core option off in this game).

                              -next's pre-set core resolution options can conflict with the native resolution setting if you move them from default (which is actually 640x480 anyway). i forget how they interact now - really the setting should be ignored when using native resolution but i believe it isn't (i always recommend gliden64 standalone for this and other reasons). you can adjust native resolution core option to 2x for a more accurate way of increasing resolution.

                              busywaitB 1 Reply Last reply Reply Quote 0
                              • busywaitB
                                busywait @dankcushions
                                last edited by busywait

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

                                by default we try and set up the n64 emulators (and all systems, for the most part) to run at native resolution - so for n64 this is around 320x240

                                to be clear, mupen64plus-gliden64 and lr-mupen64plus-next are set to use native resolution, so they use whatever resolution the game originally was, which is typically around 320x240 but can be more or less. when you set it to '-highres' is simply doubles that native resolution.

                                Thanks - is there a quick way to ensure the core options for n64 are defaults (I thought they were already), because lr-mupen64plus-next was not showing the 480i detail for me - probably because I misinterpreted advice to set the default resolution to 320x240, which I might have done in the core options.

                                I don't see a "native resolution" core option - is that in another config file, or compiled in?

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

                                  @busywait

                                  is there a quick way to ensure the core options for n64 are defaults (I thought they were already), because lr-mupen64plus-next was not showing the 480i detail for me - probably because I misinterpreted advice to set the default resolution to 320x480, which I might have done in the core options.

                                  delete all entries in /opt/retropie/configs/all/retroarch-core-options.cfg prefixed with mupen64plus-next- then immediately reinstall lr-mupen64plus-next (do NOT run it before reinstall otherwise it will implement the emulator's defaults, not retropie's, which are suboptimal).

                                  there are plans to automate this process at some point.

                                  I don't see a "native resolution" core option - is that in another config file, or compiled in?

                                  same file:

                                  mupen64plus-next-EnableNativeResFactor = "1"
                                  

                                  it will be in the core options menu under a similar name.

                                  George SpiggottG 1 Reply Last reply Reply Quote 2
                                  • George SpiggottG
                                    George Spiggott @dankcushions
                                    last edited by

                                    @dankcushions Thanks, I've just followed this guide and it all seems to be working as expected. Good to see this long awaited feature added.

                                    I was hoping that this would resolve Worms Armageddon's problem but it doesn't seem to. Does anyone know what causes the graphical misalignments in Worms?

                                    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)

                                    quicksilverQ retropieuser555R 2 Replies Last reply Reply Quote 0
                                    • quicksilverQ
                                      quicksilver @George Spiggott
                                      last edited by

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

                                      I was hoping that this would resolve Worms Armageddon's problem but it doesn't seem to. Does anyone know what causes the graphical misalignments in Worms?

                                      Is this the issue you're referencing? https://github.com/gonetz/GLideN64/pull/1847

                                      Looks like it should have been fixed a while back so either there has been a regression or the pis gpu isn't able to perform the proper function to fix the issue.

                                      1 Reply Last reply Reply Quote 0
                                      • retropieuser555R
                                        retropieuser555 @George Spiggott
                                        last edited by

                                        @george-spiggott Not an answer to the n64 version but have you tried the Dreamcast version of Worms Armageddon or World Party? They're pretty solid versions

                                        Pi 5 4GB

                                        Retroflag GPI with raspberry pi zero 2 w/ wifi

                                        Retroachievements:- lovelessrapture

                                        George SpiggottG 1 Reply Last reply Reply Quote 0
                                        • George SpiggottG
                                          George Spiggott @retropieuser555
                                          last edited by George Spiggott

                                          @quicksilver I don't think so, the issue is that the white lines surrounding any on screen text bubbles e.g. worm names, health and power bars are oddly cropped and misaligned on the right and lower sides. It also affects the US flag on the menu screen where the flag's 'bars' are misaligned.

                                          [edit] I have sort of fixed this by setting 'Background Mode' to 'Stripped'. all the graphics are fixed but now the game is very slow, going down to 24fps in places. So I've found the cause I just need to get the speed back up.

                                          This is what it is supposed to look like.

                                          @retropieuser555 They are but they are WinCE games so they don't currently run on the Pi. The PS1 version is also rock solid and supports widescreen (rare for a PS1 game).

                                          Unrelated to this there are still options for fixed screen resolutions and the default is 640x480. Do they do anything any more?

                                          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)

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

                                            @george-spiggott said in Getting the best N64 experience on a Pi 4:
                                            Are you using gliden64 or mupen-next for worms? I get very good performance using gliden64 except during parts of the game were the screen shakes.

                                            They are but they are WinCE games so they don't currently run on the Pi.

                                            On a side note WinCE support is coming to redream sometime next week. So get some games ready to test!

                                            George SpiggottG A 2 Replies Last reply Reply Quote 1
                                            • 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.