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

    (x86) Libretro Dolphin doesnt load games after update

    Scheduled Pinned Locked Moved Help and Support
    x86 ubuntulr-dolphingamecube
    16 Posts 4 Posters 2.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.
    • H
      HoJo215
      last edited by

      So lr-dolphin is just kicking me back to the ui after updating via retropie setup.
      I've updated the script, removed the emu, re-installed it and still nothing.

      I ran it command line and got this:

      '/opt/retropie/emulators/retroarch/bin/retroarch' -L '/opt/retropie/libretrocores/lr-dolphin/dolphin_libretro.so' '/mnt/04BA9770238CCD9E/roms/gc/Bloody Roar - Primal Fury (USA).iso' 
      malloc_consolidate(): invalid chunk size
      Aborted (core dumped)
      
      

      I also noticed its not creating a "dolphin-emu" folder in configs/all/retroarch/config
      Any idea what's going on?

      1 Reply Last reply Reply Quote 0
      • H
        HoJo215
        last edited by

        Can someone upload their working x86 dolphin_libretro.so for me?

        1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator
          last edited by

          Can you add more details about your system, per https://retropie.org.uk/forum/topic/3/read-this-first ?

          Also, please post a complete /dev/shm/runcommand.log log file, with verbose logging enabled, on pastebin.com.

          H 1 Reply Last reply Reply Quote 0
          • H
            HoJo215 @mitu
            last edited by

            @mitu

            x86 Ubuntu
            Retropie 4.5.13

            link text

            I periodically update retroarch myself through script edit and never had any problems running emus before.

            I tried retropie update with the recent setup script, libretro nightly buildbot and even built it from the libretro git.

            I think it just broke on the libretro side since it hasn't been updated in a while.

            Hopefully someone can send me an older working dolphin_libretro.so in the meantime.

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @HoJo215
              last edited by

              x86 Ubuntu

              Which version ?

              I periodically update retroarch myself through script edit and never had any problems running emus before.
              I tried retropie update with the recent setup script, libretro nightly buildbot and even built it from the libretro git.
              I think it just broke on the libretro side since it hasn't been updated in a while.

              Your error is:

              [INFO] [Font]: Using font rendering backend: bitmap.
              [ERROR] GL: Invalid enum.
              [ERROR] [Video]: Cannot open video driver ... Exiting ...
              [ERROR] Fatal error received in: "init_video()"
              malloc_consolidate(): invalid chunk size

              You're running a pre-release version (?) of RetroArch (1.8.5) and a bleeding-edge Mesa version (20.0). I don't think that the core is at stake here - it hasn't been updated since Oct 2019; RetroPie doesn't package 1.8.5, latest version of RetroArch in RetroPie's repository is 1.8.4.

              I'd try rolling back to that version (1.8.4) and also running the distribution provided Mesa packages, instead of the PPA with the Mesa development/latest version.

              H 1 Reply Last reply Reply Quote 0
              • H
                HoJo215 @mitu
                last edited by HoJo215

                @mitu

                Ubuntu 18.04.4

                I reverted retroarch and purged the mesa ppa and it's still not working.

                It's weird that it's the only core not working even with the updates I did have. Flycast, mame, etc. All work fine. Even stand alone dolphin works. It makes no sense other than something went wrong on Libretro's end.

                That's why I would like someone to link me to their working dolphin_libretro.so to rule out my setup.

                1 Reply Last reply Reply Quote 0
                • H
                  HoJo215
                  last edited by

                  Okay so after building multiple git checkouts. The one working on my x86 setup is the last August commit. All the commits in October are borked or something changed.. Either way, I'll just keep the August commit backed up until I know what's going on.

                  M R 2 Replies Last reply Reply Quote 0
                  • M
                    movisman @HoJo215
                    last edited by

                    @HoJo215

                    Curiously, I was playing around with a new installation of 18.04.4 when making additions to an install script, and I experienced exactly the same error on this core. As I was just testing I haven't kept the install - it still works ok on my other machine which runs 18.04.4, but I haven't updated the core packages for a few months possibly (I have updated OS packages and retropie-setup though).

                    Strange one!

                    H 1 Reply Last reply Reply Quote 0
                    • H
                      HoJo215 @movisman
                      last edited by HoJo215

                      @movisman

                      I managed to get the last October commit working now. I switched the video render to vulkan in the Doplhin.cfgs and the dolphin retroarch.cfg

                      The only game not working is Baten Kaitos: Eternal Wings.

                      @mitu

                      On another note.. There are 3 different dolphin "User / sys" folders. Is that supposed to be like that?

                      mituM M 2 Replies Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @HoJo215
                        last edited by

                        @HoJo215 said in (x86) Libretro Dolphin doesnt load games after update:

                        There are 3 different dolphin "User / sys" folders. Is that supposed to be like that?

                        I'm not sure - haven't used Dolphin so far.

                        1 Reply Last reply Reply Quote 0
                        • M
                          movisman @HoJo215
                          last edited by

                          @HoJo215 said in (x86) Libretro Dolphin doesnt load games after update:

                          On another note.. There are 3 different dolphin "User / sys" folders. Is that supposed to be like that?

                          I would say not, if using the Libretro Dolphin emulator it's advised to get the latest 'sys' folder from the Dolphin GitHub and copy the 'sys' folder to: /home/pi/RetroPie/BIOS/dolphin-emu/

                          Can't say i've noticed any other sys folders appearing elsewhere?

                          If using Dolphin standalone installed by RetroPie, there is only one 'sys' folder under /opt/retropie/emulators/dolphin/share/dolphin-emu

                          Cheers

                          1 Reply Last reply Reply Quote 1
                          • R
                            RulerOf @HoJo215
                            last edited by

                            @HoJo215 I'm having the same problem as you, but it's a little unclear how I should go about this reversion. Retropie's build scripts appear to checkout the latest master commit, so it's unclear to me that reverting the retropie-setup repo to an older commit will resolve this problem for me.

                            Or am I interpreting this wrong? Can I just go into detached HEAD on a specific commit and reinstall dolphin?

                            If possible would provide a little more direction and a commit hash that would get me to where I need to go?

                            Thanks.

                            R 1 Reply Last reply Reply Quote 0
                            • R
                              RulerOf @RulerOf
                              last edited by

                              @mitu perhaps you could lend a hand here?

                              Can I downgrade just the core, or do I have to revert the entire of retropie-setup repo and reinstall?

                              As I mentioned before, I'm not confident that this will fix anything because RetroPie appears to always grab the tip of master and build from source, so even the old retropie-setup will still build the broken core.

                              Maybe this is the problem?

                              1 Reply Last reply Reply Quote 0
                              • mituM
                                mitu Global Moderator
                                last edited by

                                @RulerOf said in (x86) Libretro Dolphin doesnt load games after update:

                                @mitu perhaps you could lend a hand here?

                                As I said, I have no experience with Dolphin.

                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  RulerOf @mitu
                                  last edited by

                                  @mitu My question is about how to downgrade a core that's been installed by Retropie-Setup.

                                  It looks like I have to modify the installation script to point to a specific commit. I think. I just didn't want to spend hours walking the bash scripts when two people have clearly already done something very similar in this thread above, but haven't really given enough details for me to figure out what to do.

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    RulerOf
                                    last edited by

                                    I got this resolved on my system (Ubuntu 18.04, Intel i5-3470 iGPU) by installing and using Vulkan rendering. I did not have to download the Sys folder from the Dolphin source repo.

                                    I must note that Vulkan is not supported on any CPU earlier than Ivy Bridge, so this may not be a viable solution for some people. Mine is the earliest possible generation chip this even works on, so I guess I got lucky.


                                    Install Vulkan support and testing application

                                    sudo apt install -y mesa-vulkan-drivers vulkan-utils
                                    

                                    Test Vulkan (successful example):

                                    vulkan-smoketest
                                    

                                    Modify the GC and Wii cores' config files to use Vulkan renderer:

                                    sed -i '$ i\video_driver = "vulkan"' /opt/retropie/configs/wii/retroarch.cfg
                                    sed -i '$ i\video_driver = "vulkan"' /opt/retropie/configs/gc/retroarch.cfg
                                    

                                    After doing this, GC games worked fine. I'll come back and modify this post if necessary whenever I get around to adding Wii to my system.

                                    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.