RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    MKDD Tint Issue RPI5

    Scheduled Pinned Locked Moved Help and Support
    lr-dolphinmkdddoubledashvulkandrivers
    174 Posts 10 Posters 36.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.
    • G
      gvx64 @TPR
      last edited by gvx64

      @TPR OK, first off can you share the contents of the file: "/opt/retropie/configs/gc/emulators.cfg"?

      If you already have previous dolphin builds (as it appears that you do) you should follow the steps from the beginning in my post 42 to re-build from source. Except, I would run the following commands in place of the first five commands in this post:

      cd /home/pi
      sudo mkdir ./dolphin-rpi2/
      cd ./dolphin-rpi2
      sudo git clone https://github.com/gvx64/dolphin-rpi
      cd ./dolphin-rpi
      git submodule update --init --recursive
      

      This just puts the build you're creating inside a totally new directory where there is no chance that you will over-write something accidentally.

      After this point, you can just follow the instructions in post 42 until you finish building (sudo make -j4). At this point, you should then get a binary file called dolphin-emu-qt2 that will be in "/home/pi/dolphin-rpi2/dolphin-rpi/Build/Binaries/" directory (this file was likely not generated in the previous build that you made).

      If you can share your emulators.cfg file with me, I can tell you exactly what you need to enter in this file to get the qt2 emulator to show up on the emulator list that you shared above. Then you just have to run this emulator and follow the steps that I laid out in post 84 to configure your hotkeys.

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

        @gvx64 said in MKDD Tint Issue RPI5:

        @TPR OK, first off can you share the contents of the file: "/opt/retropie/configs/gc/emulators.cfg"?

        Here's what I've got:
        default = "lr-dolphin-pulseaudio"
        dolphin-controller-config = "XINIT-WMC:/opt/retropie/emulators/dolphin/bin/dolphin-emu"
        dolphin = "XINIT-WM:/opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui -e %ROM%"
        dolphin-gui = "XINIT-WM:/opt/retropie/emulators/dolphin/bin/dolphin-emu -b -e %ROM%"
        lr-dolphin = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-dolphin/dolphin_libretro.so --config /opt/retropie/configs/gc/retroarch.cfg %ROM%"
        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%"
        dolphin-rpi = "XINIT-WM:/opt/retropie/emulators/dolphin-rpi/bin/dolphin-emu-nogui -e %ROM% -u /home/pi/DolphinConfig5.0/"
        dolphin-rpi-gui = "XINIT-WM:/opt/retropie/emulators/dolphin-rpi/bin/dolphin-emu -b -e %ROM% -u /home/pi/DolphinConfig5.0/"
        dolphin-rpi-editor = "XINIT-WM:/opt/retropie/emulators/dolphin-rpi/bin/dolphin-emu -u /home/pi/DolphinConfig5.0/"

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

          @TPR OK, so if you were able to successfully generate the dolphin-emu-qt2 binary following the steps that I outlined in the previous post. You should now be able to add it to your emulationstation gamecube launch screen by doing the following.

          First input the following command in your terminal:

          sudo cp /home/pi/dolphin-rpi2/dolphin-rpi/Build/Binaries/dolphin-emu-qt2 /opt/retropie/emulators/dolphin-rpi/bin/
          

          This will put dolphin-emu-qt2 in the same file location as your other dolphin 5.0 emulators. After doing this, you can delete the /home/pi/dolphin-rpi2 folder if you would like free up ~300MB of disc space.

          Next, add the following line to your /opt/retropie/configs/gc/emulators.cfg file:

          dolphin-rpi-configure-hotkeys = "XINIT-WM:/opt/retropie/emulators/dolphin-rpi/bin/dolphin-emu-qt2 -u /home/pi/DolphinConfig5.0/
          

          You should now be able to configure your hotkeys using this new emulator option. When you launch dolphin-rpi-configure-hotkeys within emulationstation you may get a warning message asking you to switch to the WX build. Just ignore the warning and proceed with the qt version. Then just follow the steps I laid out in post 84 to setup your hotkey combos. After that is done, exit the emulator and that should be it.

          As a final check, you can take a look at the time stamp on /home/pi/DolphinConfig5.0/Config/Hotkeys.ini to see if the file has been created/updated by using the following command:

          ls -al /home/pi/DolphinConfig5.0/Config/
          

          Finally, just remember that after configuring, in order for your hotkeys to work you will need to launch your games using the emulator named dolphin-rpi-gui (do not use dolphin-rpi).

          Can you please let me know if all of this works for you?

          TPRT 3 Replies Last reply Reply Quote 0
          • TPRT
            TPR @gvx64
            last edited by

            @gvx64 said in [MKDD Tint Issue RPI5]

            git submodule update --init --recursive

            I got an error trying to do this step:
            git submodule update --init --recursive

            fatal: detected dubious ownership in repository at '/home/pi/dolphin-rpi2/dolphin-rpi'
            To add an exception for this directory, call:

                git config --global --add safe.directory /home/pi/dolphin-rpi2/dolphin-rpi
            
            TPRT 1 Reply Last reply Reply Quote 0
            • TPRT
              TPR @TPR
              last edited by

              @TPR said in MKDD Tint Issue RPI5:
              And then after I did this step:

                  git config --global --add safe.directory /home/pi/dolphin-rpi2/dolphin-rpi
              

              I got another error:
              git submodule update --init --recursive
              error: could not lock config file .git/config: Permission denied
              error: could not lock config file .git/config: Permission denied
              fatal: Failed to register url for submodule path 'Externals/Qt'

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

                @gvx64 said in MKDD Tint Issue RPI5:

                @TPR OK, so if you were able to successfully generate the dolphin-emu-qt2 binary following the steps that I outlined in the previous post. You should now be able to add it to your emulationstation gamecube launch screen by doing the following.

                First input the following command in your terminal:

                sudo cp /home/pi/dolphin-rpi2/dolphin-rpi/Build/Binaries/dolphin-emu-qt2 /opt/retropie/emulators/dolphin-rpi/bin/
                

                This will put dolphin-emu-qt2 in the same file location as your other dolphin 5.0 emulators. After doing this, you can delete the /home/pi/dolphin-rpi2 folder if you would like free up ~300MB of disc space.

                Next, add the following line to your /opt/retropie/configs/gc/emulators.cfg file:

                dolphin-rpi-configure-hotkeys = "XINIT-WM:/opt/retropie/emulators/dolphin-rpi/bin/dolphin-emu-qt2 -u /home/pi/DolphinConfig5.0/
                

                You should now be able to configure your hotkeys using this new emulator option. When you launch dolphin-rpi-configure-hotkeys within emulationstation you may get a warning message asking you to switch to the WX build. Just ignore the warning and proceed with the qt version. Then just follow the steps I laid out in post 84 to setup your hotkey combos. After that is done, exit the emulator and that should be it.

                As a final check, you can take a look at the time stamp on /home/pi/DolphinConfig5.0/Config/Hotkeys.ini to see if the file has been created/updated by using the following command:

                ls -al /home/pi/DolphinConfig5.0/Config/
                

                Finally, just remember that after configuring, in order for your hotkeys to work you will need to launch your games using the emulator named dolphin-rpi-gui (do not use dolphin-rpi).

                Can you please let me know if all of this works for you?

                Ok so I've managed to get to this point:
                Screenshot 2024-11-03 at 3.09.05 PM.png

                But here's the problem I'm having. When I run your build, I get no mouse pointer on the screen. So I can't select anything. When I run the normal version of dolphin, the mouse pointer works just fine. So any idea how I can fix that?

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

                  @gvx64 Ok so I've managed to work blindly without a mouse pointer and get into the hotkeys and I set my "exit" hotkey on the controller to the SELECT button which does seem to work in game. But now I'm getting this on my screen:
                  Pac-Man Screen Shot 11-3-24, 3.14 PM 2.png
                  And the only way to get rid of that seems to have a keyboard connected, which I do not have connected all the time.

                  So the game works without the blue tint.... I can now exit out of the game with the SELECT button... but now I get an error on the screen that requires a keyboard. Any way to fix that last issue?

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

                    @gvx64 Ok I created my own work around!

                    I created a 1 pixel by 1 pixel image and called it dolphin_logo@2x.png and put it in the folder:
                    /usr/local/share/dolphin-emu/sys/Resources

                    Then I got an error saying it was looking for dolphin_logo.png
                    and then it was looking for: Dolphin.png

                    So now I have three files in the folder:
                    /usr/local/share/dolphin-emu/sys/Resources
                    Screenshot 2024-11-03 at 3.21.42 PM.png

                    And now the game loads without any errors!

                    I realize this is a hack, but it works!

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

                      @TPR said in MKDD Tint Issue RPI5:

                      But here's the problem I'm having. When I run your build, I get no mouse pointer on the screen. So I can't select anything. When I run the normal version of dolphin, the mouse pointer works just fine. So any idea how I can fix that?

                      Any idea on how to fix this? Having to go in blind without a mouse pointer really makes it very difficult to do anything.

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

                        Here's another interesting issue...

                        When I put in my roms folder under settings:
                        /home/pi/RetroPie/roms/gc

                        These are the only two games that show up?
                        Screenshot 2024-11-03 at 3.39.35 PM.png

                        Even though my roms folder is fully populated.

                        EDIT: I see... those are the only two .ciso files I have where everything else is an .rvz file. How can I make the rest of the show up like they do in my other Dolphin emulator?

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

                          Trying to load Resident Evil 4 I get this error:
                          Screenshot 2024-11-03 at 3.52.05 PM.png
                          And then this one:
                          Screenshot 2024-11-03 at 3.52.11 PM.png
                          And then it just loads to a black screen.

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

                            Crap, now I just loaded up Mario Kart and I'm also getting this same error:
                            Screenshot 2024-11-03 at 4.07.29 PM.png
                            And the game is running slow as shit.

                            So I'm afraid I might have accidentally checked or unchecked a box somewhere flying blind without a mouse pointer on screen. Any ideas? At this point I might have to start all over again...

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

                              Ok I have tried every possible option here:
                              Screenshot 2024-11-03 at 4.20.08 PM.png
                              And I'm still getting the unrecognizable cpu_core:1 error.

                              I think I'm at the point of giving up. I've been at this a few hours now and not being able to see where my mouse is pointing to is very frustrating and I think that is what is causing most of my problems.

                              I'm not sure I want to start over from square one again.

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

                                @gvx64 OKAY.... I went back to square one and here's what I've figured out and what works for me....

                                1. I installed everything based on your instructions above and that all worked great! Thank you!

                                2. In order to get rid of the "Failure to load image..." error I made the three 1 pixel images and put them in the folder: /usr/local/share/dolphin-emu/sys/Resources as I stated above.

                                3. My error I ran into with the unrecognizable cpu_core and the slowdown is that it seemed that I accidentally checked one of the CPU Emulations Engines under "Advanced Settings" when I was flying blind with the mouse. Leaving all three of those options unchecked seemed to work just fine:
                                  Screenshot 2024-11-03 at 5.59.56 PM.png

                                4. Upon loading Resident Evil 4 I ran across another error:
                                  Screenshot 2024-11-03 at 6.00.50 PM.png

                                5. I was able to fix this by going back into the configuration screen and unchecking the "Use Panic Handlers" box:
                                  Screenshot 2024-11-03 at 6.01.40 PM.png

                                6. I can now confirm that Mario Kart, Resident Evil 4, and Mario Golf all load up just fine without any tint issues or errors that pop up on screen when they load. I also was able to configure SELECt as the exit hotkey on my controller:
                                  mario kart.jpg
                                  Pac-Man Screen Shot 11-3-24, 5.50 PM.png
                                  Pac-Man Screen Shot 11-3-24, 5.52 PM.png

                                Three questions:

                                1. Where is the config file for this version of dolphin kept?
                                2. Is it possible to change the renderer to opengl? I would just like to compare how these games run in gl versus Vulkan.
                                3. Can anything be done about the mouse pointer?

                                Thank you for putting all this together!

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

                                  @TPR I am glad that you were able to get things working OK.

                                  I am not sure why your mouse cursor is not showing up for you in the qt gui. On my build, I have to wiggle the mouse around a bit in order for it to show up but it usually appears after a couple of seconds of movement (no clicking, just back and forth movement). Have you tried moving your mouse around for a bit after it first loads?

                                  Also, I only intended for you to use the dolphin-rpi-configure-hotkeys build to configure your hotkeys. For other configuration settings you can add the following new line to your /opt/retropie/configs/gc/emulators.cfg file:

                                  dolphin-rpi-configure-main = "XINIT-WM:/opt/retropie/emulators/dolphin-rpi/bin/dolphin-emu -u /home/pi/DolphinConfig5.0/
                                  

                                  Please use this for any configurations you are making that are not hotkey-related. Hopefully, the mouse will work better in this gui screen for you, as well.

                                  Note that you should be able to open .rvz files from emulationstation using your dolphin-rpi emulator core or opening them manually inside dolphin-rpi-configure-main. I didn't add any rvz support to the qt interface mainly because I only intended for it to be used to configure hotkeys.

                                  I agree with your approach to disable panic handlers when using the gui version of dolphin. That missing .png image error and the font loading error are nuisance errors and they disappear when you disable panic handlers. That core error could be problematic and you should have "Jit Recomplier" set in the advanced settings but if it is not giving you a problem now maybe it is best to just leave it alone. If you need to make anymore changes to these types of settings please use the dolphin-rpi-configure-main core for this (not the hotkey one).

                                  Just to answer your last two questions:

                                  1. /home/pi/DolphinConfig5.0/Config/Dolphin.ini is your main configuration file. There is a file in there called GFX.ini that has additional graphics settings and there is GCPadNew.ini for your gamepad settings.
                                  2. You can try OpenGL (GLES 3.1) but I am pretty sure that it will run very slowly (let me know if that is not the case). My experience is that it is best to stick with Vulkan on this particular build if you are using a Pi5.

                                  Can you please let me know if you are able to see your mouse in the qt interface screen after moving it around?

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

                                    @gvx64 said in MKDD Tint Issue RPI5:

                                    @TPR I am glad that you were able to get things working OK.

                                    I am not sure why your mouse cursor is not showing up for you in the qt gui. On my build, I have to wiggle the mouse around a bit in order for it to show up but it usually appears after a couple of seconds of movement (no clicking, just back and forth movement). Have you tried moving your mouse around for a bit after it first loads?

                                    Yes and I can see the pointer pop up for a fraction of a second sometimes but then goes away again.

                                    Also, I only intended for you to use the dolphin-rpi-configure-hotkeys build to configure your hotkeys. For other configuration settings you can add the following new line to your /opt/retropie/configs/gc/emulators.cfg file:

                                    dolphin-rpi-configure-main = "XINIT-WM:/opt/retropie/emulators/dolphin-rpi/bin/dolphin-emu -u /home/pi/DolphinConfig5.0/
                                    

                                    Same issue with the mouse pointer here

                                    Just to answer your last two questions:

                                    1. /home/pi/DolphinConfig5.0/Config/Dolphin.ini is your main configuration file. There is a file in there called GFX.ini that has additional graphics settings and there is GCPadNew.ini for your gamepad settings.

                                    Thank you. This is useful.

                                    1. You can try OpenGL (GLES 3.1) but I am pretty sure that it will run very slowly (let me know if that is not the case). My experience is that it is best to stick with Vulkan on this particular build if you are using a Pi5.

                                    You are correct. OpenGL caused lots of issues.

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

                                      @TPR said in MKDD Tint Issue RPI5:

                                      Yes and I can see the pointer pop up for a fraction of a second sometimes but then goes away again.

                                      OK, can you please try launching your configure hotkeys interface using the following command from the bash terminal instead:

                                      sudo xinit /opt/retropie/emulators/dolphin-rpi/bin/dolphin-emu-qt2 -u /home/pi/DolphinConfig5.0/
                                      

                                      All I am trying to do is to get you access to this interface so you can setup your hotkeys and then exit. Again, please try moving your mouse around when it first loads. You don't need to be able to launch games or do anything else from inside this interface.

                                      Please let me know if this works better.

                                      TPRT 1 Reply Last reply Reply Quote 0
                                      • sugarfreeS
                                        sugarfree
                                        last edited by

                                        I haven't found time to test the latest version, so I would like to ask if it supports .m3u files and auto swapping of the disks?

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

                                          @sugarfree m3u (multi-disc) support was added to dolphin in 5.0-9343 (https://dolphin-emu.org/download/dev/1d3e3de44b177eb7bdd07a02afefb83ac9ba5812/ - committed on January 15, 2019). That was about 1.5 years after the commit date for 5.0-4544. So no, dolphin-rpi does not support m3u files at this time.

                                          I might be able to roll the code forward to implement m3u support. Personally, I always found it pretty easy just to swap ISO's the old-fashioned way. That said, if you would like to have .m3u functionality, I will try to add it. Multi-disc support is potentially relevant for RE4 which is one of the games that currently requires this fork of 5.0-4544 on the Pi.

                                          Note that I am currently working on improving RVZ support that I previously introduced. I have discovered that certain Wii RVZ files like The Last Story will not open with the current level of rvz support that I have added to this fork. I need to roll the code ahead further. I would like to fix this issue because I would like to implement the following patch for The Last Story in dolphin-rpi:

                                          https://github.com/mimimi085181/dolphin/commit/4798448cbf6b1c6dab4c82133bcae447b640b0f5#diff-47b51c8ee279a2240221fc346fbd6321c8ac041fd729583f315c0c1bd85096d7R1162

                                          This patch effectively doubles the performance of The Last Story and I can confirm that it brings this game to the cusp of playability even on an aggressively overclocked Pi4. I believe that this patch will do wonders on a Pi5. I can't get this patch to work properly on current builds of dolphin as the code has changed too much but 5.0-4544 just so happens to be from the same vintage as the commit that this patch was originally forked from.

                                          The only problem is that I need to figure out why The Last Story RVZ file will not open. The ISO is 8.5GB and so I know that people will definitely want to be able to play this game in RVZ format. I am hoping that I can find a solution to this problem.

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

                                            @gvx64

                                            In the updated @sugarfree
                                            post, this line is missing:

                                            mv dolphin-emu-qt2 /opt/retropie/emulators/dolphin-rpi/bin/
                                            

                                            I also added (optionnal) :

                                            addSystem "wiiware"
                                            
                                            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.