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
    104 Posts 17 Posters 73.0k 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.
    • 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
                            • retropieuser555R
                              retropieuser555 @Scapps
                              last edited by retropieuser555

                              @Scapps interesting, is that the case in other dual source games? Such as Double Dash or Battalion Wars? Can you post your settings for gfx.ini and dolphin.ini from the config folders? Also do you have any RE4 game specific ini settings?

                              Also yeah, the correct in Mesa 25.1, the dev has corrected it for OpenGL's driver, not Vulkan (yet anyway, I think they have a ticket open to work on that)

                              Pi 5 4GB

                              Retroflag GPI with raspberry pi zero 2 w/ wifi

                              Retroachievements:- lovelessrapture

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

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

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

                                mesa (25.0.7-2~bpo12+1) is now available for the Bookworm stable-backport

                                1 Reply 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.