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 260.2k 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 @tommy86
      last edited by

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

      [INFO] [GL]: Detecting screen resolution 1360x768.

      is there are any particular reason you're running at this resolution when your screens supports 1080p? the lower the resolution the more scaling artifacts you'll get.

      Another thing i read about is framebuffer. It seems to be suggested to be disabled, but if i do so, there is a major glitch at the bottom of the screen.

      it is not suggested to be disabled by me.

      note that by default n64 via -next will be rendered at native n64 resolution - ie, 320x240 or thereabouts. it is a low resolution console and it's normal for it to look ugly. if you want to try at a higher resolution, you can adjust the native resolution scale factor via https://retropie.org.uk/docs/RetroArch-Core-Options/, but note that it will likely tank performance.

      T 1 Reply Last reply Reply Quote 0
      • J
        Jod
        last edited by

        Somewhat related, but for the Piboy the mapping can be a bit weird.

        I actually tried to mimic the exact locations for the original N64 gamepad.

        I disabled autoConfig (mode=0) and changed the mapping in the mupen64plus.cfg to the following values. I am using the Analog stick button as the quit button and Select as the Z-Trigger, but might
        switch those at some point. You could also try to flip the C-Buttons and the A/B-Buttons.

        DPad R = "button(14)"
        DPad L = "button(13)"
        DPad D = "button(11)"
        DPad U = "button(12)"
        Start = "button(9)"
        Z Trig = "button(10)"
        B Button = "button(5)"
        A Button = "button(2)"
        C Button R = "button(0)"
        C Button L = "button(4)"
        C Button D = "button(1)"
        C Button U = "button(3)"
        R Trig = "button(6)"
        L Trig = "button(7)"
        

        n64mapping.png

        retropieuser555R 1 Reply Last reply Reply Quote 1
        • retropieuser555R
          retropieuser555 @Jod
          last edited by

          @quicksilver did you ever figure out your issues you had loading games with lr-parallel-n64? Oddly that emulator works quite on my Mac for some stuff (seems to be the of the only ways to use rice on retroarch too), but nearly everything I've tried to boot crashes except Mario 64 & Goldeneye.

          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 it doesn't seem to be optimised for use with a raspberry pi. There are much better n64 emulator options if your using a pi.

            1 Reply Last reply Reply Quote 2
            • T
              tommy86 @dankcushions
              last edited by

              @dankcushions The TV is HD-ready so it's actually only 720p and the 1360x768 is the native resolution.

              For curiosity i started playing around with the RetroArch settings. Long story short: USA region roms run pretty nice in -next with framebuffer disabled, while EU region roms (since i am austrian) seem to relay on that framebuffer thing, as they get the glitch at the bottom i mentioned earlier when turned off. I got myself a USA rom of LoZ:OoT and with framebuffer off it looks exactly the same like the EU with framebuffer on but native resolution scale factor 2x. And yeah, that takes the game to an unplayable state. Too sad parallel doesn't take it all. Goldeneye looks NUTS with it.

              1 Reply Last reply Reply Quote 0
              • P
                Pi-nerd84
                last edited by Pi-nerd84

                Hi together,

                Yesterday I tried Pilotwings 64 again with version 4.7.1 on my Pi 4.
                (it runs well on my Pi 3 with rice plugin in 640x480)

                It ran best with rice plugin, but still with slowdowns and stuttering.
                With other/newer plugins I get even more issues. Especially shadow problems and stuttering.

                Does somebody has an idea, or optimization options, if it would be playable without stuttering and glitches?

                1 Reply Last reply Reply Quote 0
                • sergioadS
                  sergioad @quicksilver
                  last edited by

                  @quicksilver nowadays with a 2100 mhz overclock how KI gold runs? It is one of the games I am looking for the most, I know I could play the KI 1 & 2 arcade versions but TBH I play fighting games for their training / practice mode more than for Vs or Arcade mode

                  Z ? 2 Replies Last reply Reply Quote 0
                  • Z
                    Zering @sergioad
                    last edited by

                    @sergioad According to @roslof's compatibility list :

                    'Using Rice prevents some textures from rendering, but it has the best framerate. Not good. Per @quicksilver, best to use mupen64plus-GLideN64. Title Screen will stutter badly, and gameplay will be sluggish for awhile, but it will soon recover. Thanks for the reminder @AdamBeGood (RetroPie Forumns)'

                    sergioadS 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @George Spiggott
                      last edited by

                      @george-spiggott I don't have any experience with the N64 emulators on the Pi 4, however based on some videos I've seen I would suggest a moderate overclock with some good active cooling, plugins only help at the software level and they can do nothing about hardware limitations.

                      Btw not that you noticed but I decided to come back for a little while with a different account as I thought I'd share some useful advise.

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @sergioad
                        last edited by

                        @sergioad How common is the 2.1ghz overclock though? I mean stable ones? it seems you need an Ice Tower or something similar to it to achieve those kinds of stable OC's on the P4. I could be wrong but I haven't seen it being done on smaller or less expensive coolers.

                        Z sergioadS 2 Replies Last reply Reply Quote 0
                        • Z
                          Zering @A Former User
                          last edited by

                          @agtrigormortis In any case you are right, overclocking does not do much for N64 emulation.
                          Using the right plugins for each game, and configuring them appropriately goes a long way however.

                          ? 1 Reply Last reply Reply Quote 1
                          • ?
                            A Former User @Zering
                            last edited by

                            @zering it does help a little though, of course you need a suitable plugin but if PS1 emulation is troublesome on the Pi 4 then I can't see N64 emulation being much better, whether the correct plugins were used or not.

                            and clearly this has nothing to do with how much RAM the Pi's have, the P4 1gb is easily enough. But I can see why some problems are caused by the low clock speed of the CPU. It was hard enough doing it on native hardware, emulation is much harder because you're having a different architecture mimic other hardware while trying to keep the latency down. Native hardware can get away with lower specs because it isn't spending a significant amount of its resources trying to behave like other computers.

                            dankcushionsD Z 2 Replies Last reply Reply Quote 0
                            • dankcushionsD
                              dankcushions Global Moderator @A Former User
                              last edited by

                              @agtrigormortis it's not the CPU. the N64 emulator we use, mupen64plus, has had a decent dynamic recompiler for ARM since before RetroPie, and if you run top from an SSH session whilst an N64 game is running you should see plenty of CPU to spare. last time i checked, even the pi2 had headroom on the CPU front.

                              the issue is the GPU and system bandwidth requirements increasing as the emulation gets more accurate. the pi series aren't dedicated gaming machines, so they're lagging behind quite badly here. however, there are constantly efforts to eek more out of what we have, via software tweaks.

                              CPU overclocks should be largely pointless for N64 unless they also provide some benefit to system bandwith, which is possible. i would have thought GPU, RAM and core overclocks would be a better bet.

                              George SpiggottG 1 Reply Last reply Reply Quote 0
                              • Z
                                Zering @A Former User
                                last edited by

                                @agtrigormortis PS1 emulation is troublesome on the Pi 4?? Since when?

                                ? 1 Reply Last reply Reply Quote 1
                                • ?
                                  A Former User @Zering
                                  last edited by

                                  @zering since it was advised to OC the PI 4 to give it the extra performance it needed to run the emulators to be stable and responsive. If the CPU was fast enough at stock speeds there wouldn't have been any need for OCing it, period, that isn't up for debate.

                                  For the Super Nintendo, Sega Genesis, Sega CD, as was mentioned by the user Spawn Wave on Youtube those are taken care of, and I would say the Pi 4 is overkill for that considering it was already done without issue on the earlier systems especially Pi 3, but you can benefit from a mild overclock on Pi 4 Dreamcast, N64 and PS1 titles. RAM amount on the Pi 4 versions to some extent doesn't matter because the systems being emulated do not use a lot of system memory to start with so a 1gb model would suffice.

                                  Even then you're still not quite at the point where you can turn frame skip off and remain comfortable, dankcushions makes a good point about the other bottlenecks in the system though, they all need to be removed and hopefully Pi Foundation improves the bandwidth as well as the GPU and CPU speed on Pi5, if there will be one.

                                  To get accurate emulation you need optimized software as well as hardware that meets the requirement and as been said we're not quite there with N64 and PS1 yet. We won't be there until the games can all be comfortably ran at 60fps with frame skip turned off and not stutter with almost no glitches.

                                  Z 1 Reply Last reply Reply Quote 0
                                  • Z
                                    Zering @A Former User
                                    last edited by

                                    @agtrigormortis I'm not disagreeing with anything you're saying in particular but your assessment of PS1 emulation on the Pi seems grossly mistaken to me. The PS1 is my most played system, and I was running it at full speed with no frameskip even on the stock Pi 3.
                                    A few games do not work. Maybe two or three in my experience. It's hardly what I would call troublesome.
                                    As for the N64, tinkering with the different plugins I was able to run just about every game on a stock Pi 4 with no issue. My later overclock did not affect most N64 games.

                                    Maybe we have different expectations from what is in the end a 30 pounds single board computer?

                                    ? 1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User @Zering
                                      last edited by

                                      @zering I see what you're saying, although it is worth mentioning that the 8gb version of the Pi 4 cost about 70 pounds which is the one I have. The RAM is overkill for the RetroPie but I want to be able to use the system for more things than just retro gaming.

                                      The Pi Foundation have been making improvements to their product and it is getting to a point where it can be used as a general purpose computer.

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

                                        @dankcushions I've seen a few people mention system bandwidth, what is meant by this phrase is this instance?

                                        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)

                                        ? dankcushionsD 2 Replies Last reply Reply Quote 0
                                        • ?
                                          A Former User @George Spiggott
                                          last edited by

                                          @george-spiggott It means there is a bottleneck, the RAM is not fast enough for the CPU and GPU to work together at their peak. I'm not at all surprised if that is the case because we are talking about a cheap PCB made for computer learning and basic tasks. Also integrated GPU's are known for sucking at gaming performance because they have to share the main RAM, they do not have their own memory.

                                          But since there is a market for retro gaming the Pi Foundation do have a good reason to cater to them, so the Pi 5 is likely to happen soon, hopefully with DDR4 and a much faster GPU.

                                          George SpiggottG 1 Reply Last reply Reply Quote 0
                                          • George SpiggottG
                                            George Spiggott @A Former User
                                            last edited by

                                            @agtrigormortis It was possible to modify the RAM speed on a Pi3. Is this still possible on a Pi4? Has anyone experimented with this (up or down) and got any noticeable results?

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