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

    Retropie setup menu/Runcommand crashing in ES on Ubuntu

    Scheduled Pinned Locked Moved Help and Support
    help
    100 Posts 8 Posters 26.7k 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 @StonedEdge
      last edited by

      @StonedEdge said in Retropie setup menu/Runcommand crashing in ES on Ubuntu:

      This one here? I tried editing and re-installing the binary, but the issue persists for me.

      The workaround is not integrated into Retropie-Setup, it's something you have to do manually.

      StonedEdgeS 1 Reply Last reply Reply Quote 0
      • StonedEdgeS
        StonedEdge @mitu
        last edited by StonedEdge

        @mitu

        Sorry what do you mean? I made the changes, and reinstalled the binary from the menu as instructed. The controller works fine to navigate the runcommand menu after launching a game, but does not work when navigating the RetroPie Setup from emulationstation. Indeed, it works fine when running sudo ./retropie_setup.sh from a terminal though. Do you mean I need to compile it manually?

        Here’s a video of the issue:

        Check out my build logs below:
        Wii SPii (Wii in a GBA SP Shell)
        https://bitbuilt.net/forums/index.php?threads/the-wii-spii.3347/
        Retro Lite CM4
        https://bitbuilt.net/forums/index.php?threads/retro-lite-cm4-a-stonededge-and-dmcke5-collaboration.3934/

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

          @StonedEdge said in Retropie setup menu/Runcommand crashing in ES on Ubuntu:

          Sorry what do you mean?

          Not sure what more to explain ? The issue still exists and it's not fixed in the latest version, you have to work-around it with the modifications posted in this topic.

          StonedEdgeS 1 Reply Last reply Reply Quote 0
          • StonedEdgeS
            StonedEdge @mitu
            last edited by

            @mitu Right, there are about 100 posts from @DjDiabolik in this thread. Can you recall which one worked for him? If not, I'll filter through all the posts and try each one I guess.

            Check out my build logs below:
            Wii SPii (Wii in a GBA SP Shell)
            https://bitbuilt.net/forums/index.php?threads/the-wii-spii.3347/
            Retro Lite CM4
            https://bitbuilt.net/forums/index.php?threads/retro-lite-cm4-a-stonededge-and-dmcke5-collaboration.3934/

            1 Reply Last reply Reply Quote 0
            • StonedEdgeS
              StonedEdge @V0rt3x667
              last edited by StonedEdge

              @V0rt3x667 said in Retropie setup menu/Runcommand crashing in ES on Ubuntu:

              setESSystem "RetroPie" "retropie" "$rpdir" ".rp .sh" "sudo $scriptdir/retropie_packages.sh retropiemenu launch %ROM%" "" "retropie"

              I already tried this fix. Ran sudo ./retropie_setup.sh. Re-installed retropiemenu "binary" from the menu. And yeah, after moving my DPAD/joystick, I get kicked back to emulationstation, even after making the change.

              I just figured there might have been a simple fix for this already, but I guess either (a) I am not implementing the correct fix or (b) I need to dig deeper into the code.

              Check out my build logs below:
              Wii SPii (Wii in a GBA SP Shell)
              https://bitbuilt.net/forums/index.php?threads/the-wii-spii.3347/
              Retro Lite CM4
              https://bitbuilt.net/forums/index.php?threads/retro-lite-cm4-a-stonededge-and-dmcke5-collaboration.3934/

              StonedEdgeS 1 Reply Last reply Reply Quote 0
              • StonedEdgeS
                StonedEdge @StonedEdge
                last edited by

                @mitu

                Nevermind, the </command> within es_systems.cfg under retropiemenu needed to be changed as well. All fixed now.

                Check out my build logs below:
                Wii SPii (Wii in a GBA SP Shell)
                https://bitbuilt.net/forums/index.php?threads/the-wii-spii.3347/
                Retro Lite CM4
                https://bitbuilt.net/forums/index.php?threads/retro-lite-cm4-a-stonededge-and-dmcke5-collaboration.3934/

                DjDiabolikD 1 Reply Last reply Reply Quote 0
                • DjDiabolikD
                  DjDiabolik @StonedEdge
                  last edited by DjDiabolik

                  @StonedEdge sorry for late answer... but if i remember all issue it's disappears after the installation/compilation of package 'sdl2' ...

                  @mitu Is there a way to find out the previous version to date and check if any new version has been released after all this time?
                  In the meantime, Ubuntu has also undergone a version step forward to 24.04.2 LTS and i have no idea if the previous deb sdl2package installed from retropie setup it's been maintained..--

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

                    @DjDiabolik said in Retropie setup menu/Runcommand crashing in ES on Ubuntu:

                    @mitu Is there a way to find out the previous version to date and check if any new version has been released after all this time?

                    Not yet, it's in the proposed-updates queue - https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/2085140

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

                      The fixed libsdl2 package in Ubuntu has been released a couple of week ago, after the bug/regression has been reported last year. If you have used the workaround of installing the RetroPie's SDL2 package, you can now un-pin the package and use the distro's package instead.

                      Changelog at https://changelogs.ubuntu.com/changelogs/pool/main/libs/libsdl2/libsdl2_2.30.0+dfsg-1ubuntu3.1/changelog. Even though the fix was added in Jan 2025, the updated package was added to the updates repositories on 29 Apr 2025.

                      1 Reply Last reply Reply Quote 0
                      • E
                        eXim82
                        last edited by

                        Hello

                        In Ubuntu 25.04 i had the same issue. Took me a long time to manage to fix like as mentioned because i suspected the sdl2 module first. Thanks to you for helping. Just to summarize:

                        Change the line is es_systems.cfg to:
                        <command>sudo /home/xxx/RetroPie-Setup/retropie_packages.sh retropiemenu launch %ROM%</command>

                        And in /home/xxx/RetroPie-Setup/scriptmodules/supplementary/retropiemenu.sh following line to:

                        setESSystem "RetroPie" "retropie" "$rpdir" ".rp .sh" "sudo $scriptdir/retropie_packages.sh retropiemenu launch %ROM% " "" "retropie"

                        Can someone explain why this is not fixed? Or do i missing something?

                        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.