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

    Dolphin / Gamecube / Wiiware / Wii Compatibility on Pi 5

    Scheduled Pinned Locked Moved General Discussion and Gaming
    dolphingamecubewiiwiiware
    105 Posts 18 Posters 73.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.
    • mituM
      mitu Global Moderator
      last edited by mitu

      @TPR said in Dolphin / Gamecube / Wiiware / Wii Compatibility on Pi 5:

      @mitu So further testing...

      I've done almost no testing and my input in this topic is minimal, tagging me and expecting an answer is not going to yield the desired effect.
      If you want my advice, then ditch the Libretro core since it's outdated and buggy, and do your testing with the standalone emulator.

      TPRT 1 Reply Last reply Reply Quote 0
      • TPRT
        TPR @mitu
        last edited by

        @mitu Appreciate the response either way! Thank you!

        TPRT 1 Reply Last reply Reply Quote 0
        • TPRT
          TPR @TPR
          last edited by TPR

          In case anyone is interested, here are more of my findings....

          I copied the Retroarch version 1.16.0 to my build and then switching my audio output to "pulse" I was able to load the game (NFL Blitz 2003 (USA).rvz) 22 times in a row without it crashing at startup.

          I switched back over to RA 1.19.1 and ASLA audio output and the game crashed on the very first load, and then it crashed again on 3 out of the 5 times I loaded. I do not appear to have the option to switch to "pulse" on RA 1.19.1 and I'm not sure why as the audio system is installed on my Pi.

          Switched back over to 1.16.0 and with pulse and have now loaded it another 11 times without it crashing.

          So I have added this older version of RA to my folder:
          /opt/retropie/emulators/retroarch/bin

          and renamed it retroarch_gc and created a new entry in my emulators.cfg to point to it:

          lr-dolphin-pulseaudio = "/opt/retropie/emulators/retroarch/bin/retroarch_gc -L /opt/retropie/libretrocores/lr-dolphin/dolphin_libretro.so --config /opt/retropie/configs/gc/retroarch.cfg %ROM%"

          I have NO IDEA AT ALL why this seems to be working, but this is the only thing I have found to make lr-dolphin more stable. In fact, in my last couple of hours of testing, I have not had the emulator core crash once on me since making this change.

          I hope this is helpful to someone.

          TPRT 1 Reply Last reply Reply Quote 2
          • TPRT
            TPR @TPR
            last edited by

            Even further testing....

            I've now loaded up about 50 GC games at random, and played each one for about 3-5 minutes and I have not had a single one of them crash yet using the configuration I posted about above. Some other interesting tweaks...

            I'm underclocking most games to a CPU setting of 40% - 70% and I'm seeing similar performance as the standalone build.

            I have tried both the vulkan and gl video drivers and they seem to give about the same results. No obviously noticeable differences.

            Some games, like Spongebob Revenge of the Flying Dutchman loaded up to an almost unplayable slow state, but then after underclocking it to CPU 30% it seems to play just fine.

            I have no idea why an older version of RetroArch combined with using the Pulseaudio driver seems to be a working solution for making this core more stable, but it IS working for me.

            I know a lot of people have said "use the standalone version of Dolphin" which I do have and I have used, but personally I just like the familiarity of the libretro cores and the consistency of the menus and having controllers be automatically configured, which is why I wanted to find a more stable solution for lr-dolphin

            Hope this helps someone.

            DTEAMD 1 Reply Last reply Reply Quote 0
            • DTEAMD
              DTEAM @TPR
              last edited by DTEAM

              @TPR
              If you want to play GameCube or Wii at fullspeed on a Pi5. You must use Dolphin standalone.
              You just need to set your controller once and create hotkeys like lr-Dolphin and it will be like the lr-dolphin with the same hotkeys.

              1 Reply Last reply Reply Quote 0
              • sugarfreeS sugarfree referenced this topic on
              • M
                maliclandrea @retropieuser555
                last edited by

                @retropieuser555 how does one run Dolphin standalone? I've only figured out to run it through EmulationStation

                1 Reply Last reply Reply Quote 0
                • A
                  AWiiEnthusiast
                  last edited by

                  How did you get Mario Kart Wii to work? Whenever I load it up it says that it could not read or write to Wii system memory, asks me to make a new file, and says that the save data is corrupted.

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

                    @AWiiEnthusiast not sure, I suspect similar to your Mario Party 5 problem there's some issue with your config files or your roms in some way.

                    Unrelated but I'm gonna leave this here. The most recent update on Dolphin gives access to Retroachievements when using allowed cheat codes, such as 16:9 wide-screen & 60fps modes

                    https://dolphin-emu.org/blog/2025/03/10/dolphin-progress-report-release-2503/

                    Pi 5 4GB

                    Retroflag GPI with raspberry pi zero 2 w/ wifi

                    Retroachievements:- lovelessrapture

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

                      Apologies bumping my own thread but I noticed in the Mesa 25.1 release notes the fix for dual source blending has been implemented in v3d driver

                      https://docs.mesa3d.org/relnotes/25.1.0.html

                      I'll give this a go in a few days when I have some time, but chances are this will fix a few specific graphical errors that happen on GameCube, psp etc like the mario kart double dash blue screen

                      Edit: Okay I build mesa 25.1.0 direct from gitlab, have to install a bucket ton of dependancies for building and use OpenGL rather than Vulkan as the video backend, but Mario Kart DD and Resident Evil 4 both work perfectly now. Even one of my favourite Wii games: Zack & Wiki, is working perfectly compared to the graphical mess it has before.

                      I've done and further testing and it appears this is the best way to play gamecube/Wii now, it does more than just fixes the graphical glitches in the handful of games.

                      Using mesa 25.1.0, various problem games such as Star Fox Adventures, Mario Sunshine, Luigi Mansion, the frame rate is now better than Vulkan, which in itself was a boost compared to original open GL with the stock mesa version that comes as standard with the pi 5.

                      I'll go through and test some other games that are in the yellow or orange on the spreadsheet. But I do feel that Mesa 25.1.0 with Open GL is the best default option to use (of course some games still require other tweaks, such as fast disc access for Simpsons Hit & Run; even my fast MacBook needs that)

                      If you install mesa and get an error and emulationstation won't load, make sure you've installed vc4 as well as v3d.

                      sudo apt install mesa-vulkan-drivers mesa-va-drivers mesa-vdpau-drivers \
                      build-essential meson ninja-build \
                      libdrm-dev libx11-dev libxext-dev libxdamage-dev libxfixes-dev \
                      libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxss-dev \
                      libxcomposite-dev libxrender-dev libxkbcommon-dev libwayland-dev \
                      wayland-protocols libexpat1-dev libglvnd-dev glslang-tools \
                      libvdpau-dev python3-yaml python3-mako \
                      libclang-dev libclang-15-dev llvm-15-dev \
                      libgbm-dev libudev-dev libegl1-mesa-dev libgles2-mesa-dev \
                      libxcb-randr0-dev libxcb1-dev libxcb-dri2-0-dev libxcb-dri3-dev \
                      libxcb-present-dev libxcb-glx0-dev libxcb-shm0-dev libxcb-sync-dev \
                      libxshmfence-dev
                      
                      
                      wget https://archive.mesa3d.org/mesa-25.1.0.tar.xz
                      tar -xf mesa-25.1.0.tar.xz
                      cd mesa-25.1.0
                      
                      meson setup builddir --prefix=/usr -Dbuildtype=release \
                        -Dgallium-drivers=vc4,v3d \
                        -Dvulkan-drivers=broadcom \
                        -Dplatforms=x11 \
                        -Degl-native-platform=drm \
                        -Dllvm=true
                      
                      ninja -C builddir
                      sudo ninja -C builddir install
                      
                      

                      Pi 5 4GB

                      Retroflag GPI with raspberry pi zero 2 w/ wifi

                      Retroachievements:- lovelessrapture

                      DTEAMD S 3 Replies Last reply Reply Quote 2
                      • DTEAMD
                        DTEAM @retropieuser555
                        last edited by DTEAM

                        @retropieuser555

                        No change on my side (I used the backports)

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

                          @DTEAM I'll take a look, debian bookworm backports is 25.0.4 right? The commit I'm looking at is on 25.1, so might need to wait a few days for backports to be updated

                          https://packages.debian.org/source/bookworm-backports/mesa

                          Edit : actually it seems backports is around a month or so behind based on when 25.0.4 was released in April

                          Pi 5 4GB

                          Retroflag GPI with raspberry pi zero 2 w/ wifi

                          Retroachievements:- lovelessrapture

                          DTEAMD 1 Reply Last reply Reply Quote 1
                          • DTEAMD
                            DTEAM @retropieuser555
                            last edited by

                            @retropieuser555 said in Dolphin / Gamecube / Wiiware / Wii Compatibility on Pi 5:

                            @DTEAM I'll take a look, debian bookworm backports is 25.0.4 right? The commit I'm looking at is on 25.1, so might need to wait a few days for backports to be updated

                            https://packages.debian.org/source/bookworm-backports/mesa

                            Also 25.0.4-1 for me

                            G 1 Reply Last reply Reply Quote 0
                            • DTEAMD
                              DTEAM @retropieuser555
                              last edited by

                              @retropieuser555 said in Dolphin / Gamecube / Wiiware / Wii Compatibility on Pi 5:

                              Edit: Okay I build mesa 25.1.0 direct from gitlab, have to install a bucket ton of dependancies for building and use OpenGL rather than Vulkan as the video backend, but Mario Kart DD and Resident Evil 4 both work perfectly now. Even one of my favourite Wii games: Zack & Wiki, is working perfectly compared to the graphical mess it has before.

                              I'll wait for the Bookworm-Backports update. I saw a similar bug (white screen) on aethersx2 (PS2) with God of War II (Pegasus race just before Temple of Lahkesis). I'll check if that update will change something.

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

                                @DTEAM said in Dolphin / Gamecube / Wiiware / Wii Compatibility on Pi 5:

                                I'll wait for the Bookworm-Backports update. I saw a similar bug (white screen) on aethersx2 (PS2) with God of War II (Pegasus race just before Temple of Lahkesis). I'll check if that update will change something.

                                It might not do much for aethersx2 as Open GL doesn't work for that for some reason, only Vulkan. Maybe if a dev comes along and works on arm64/aarch64 support for PCSX2 someday

                                Pi 5 4GB

                                Retroflag GPI with raspberry pi zero 2 w/ wifi

                                Retroachievements:- lovelessrapture

                                1 Reply Last reply Reply Quote 0
                                • G
                                  gvx64 @DTEAM
                                  last edited by

                                  @DTEAM I was just curious, what command(s) are you using to install your new MESA drivers via backports on your Pi? I tried manually compiling 25.1 on my Pi4 but I am getting a compiler error and I think it would just be easier to go with the backport route for when these new drivers become available.

                                  I am really excited to hear about the performance improvements with the 25.1 drivers. I would really like to try this out on the Pi4 and see just how much of a boost it can provide for Gamecube/3DS emulation.

                                  DTEAMD 1 Reply Last reply Reply Quote 1
                                  • DTEAMD
                                    DTEAM @gvx64
                                    last edited by DTEAM

                                    @gvx64

                                    Follow the instruction on my last post here

                                    If you use sudo apt install -t bookworm-backports mesa-va-drivers MESA will not be broken. With this, you don't have to play with dependancies.

                                    Edit: For now, Bookworm Backports = mesa (25.0.4-1~bpo12+1) and not 25.1.

                                    DTEAMD 1 Reply Last reply Reply Quote 2
                                    • S
                                      Scapps @retropieuser555
                                      last edited by

                                      @retropieuser555

                                      Sorry to bump an old post, but I was wondering if you could share how you got RE4 to work on the Pi5? I have Mesa installed, but it’s still washed out in game and I’m not sure what I’m doing wrong.

                                      If I choose Vulcan, the game is slow and washed out. If I choose OpenGL it is the right speed, but washed out.

                                      Thanks in advance.

                                      RapidEdwin08R 1 Reply Last reply Reply Quote 0
                                      • RapidEdwin08R
                                        RapidEdwin08 @Scapps
                                        last edited by

                                        @Scapps You need to use that dolphin-rpi fork based on 0lder version of dolphin for RE4 on the Pi.
                                        See here

                                        Raspberry Pi B, Pi B+, Pi2 B, Pi3 B, Pi3 B+, Pi Zero W, Pi4 (4GB/8GB), Pi5 (8GB/16GB), Pi Zero 2 W, GPi V1, minisforum GK50 / RetroPie 4.8.x

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

                                          @RapidEdwin08 said in Dolphin / Gamecube / Wiiware / Wii Compatibility on Pi 5:

                                          @Scapps You need to use that dolphin-rpi fork based on 0lder version of dolphin for RE4 on the Pi.
                                          See here

                                          That's one option, however there is an easier way using that newer version of Mesa imo. @Scapps when dolphin starts what does it say in the top left corner in yellow? It should mention mesa25.1 something. Raspberry pi OS has Mesa by default but the newer version of Mesa has the dual source blending support that are needed for a bunch of games that handle textures slightly differently

                                          Pi 5 4GB

                                          Retroflag GPI with raspberry pi zero 2 w/ wifi

                                          Retroachievements:- lovelessrapture

                                          S 1 Reply Last reply Reply Quote 1
                                          • S
                                            Scapps @retropieuser555
                                            last edited by

                                            @retropieuser555

                                            Thanks for the response.

                                            So, I didn't have 25.1 installed, so I got that done and the wash out is going, but now I have a ton of glitching when I move in the game: textures dropping in and out and the like. I am running it on OpenGL. If I switch to Vulkan, the wash out returns.

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