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
    98 Posts 7 Posters 14.9k 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 @DjDiabolik
      last edited by

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

      So... we have found a definiteve solution ? On current UBUNTU we only need to install this DEV version of SDL2 ?

      For now it's just a workaround, the solution is for Ubuntu to patch their SDL2 package in order to get rid of this issue.

      is it that now also the old version of joy2key work whitout need to use the phyton input mode ?

      No, the new version is still present, in fact it's needed because of the Linux kernel changes that triggered the error you have encountered in the beginning.

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

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

        For now it's just a workaround, the solution is for Ubuntu to patch their SDL2 package in order to get rid of this issue.

        ok... but now that I have installed these compiled sdl2 in dev version how can I be useful to you for other tests?

        also in case of any updates of Ubuntu itself can I run into problems?

        and will this "dev" version of sdl2 from now on be updated together with the usual updates from the "retropie setup" script in my case ?

        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:

          also in case of any updates of Ubuntu itself can I run into problems?

          No.

          and will this "dev" version of sdl2 from now on be updated together with the usual updates from the "retropie setup" script in my case ?

          No. Yes, it will be updated if RetroPie updates the sdl2 module.

          EDIT: corrected the update option, I don't know why I said no.

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

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

            No. Yes, it will be updated if RetroPie updates the sdl2 module.

            EDIT: corrected the update option, I don't know why I said no.

            Lol :) It can happen that you make a mistake when writing.

            If you want, the strange thing is that it apparently does not appear among the installed packages.
            Is it perhaps set as a dependency?

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

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

              If you want, the strange thing is that it apparently does not appear among the installed packages.

              Yes, it does, look closer.

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

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

                Yes, it does, look closer.

                Lol... it's very latest package number 237.... and i need to update them. I think this will happen very often. Maybe as often as the arcade cores (like fbneo or mame2003) themselves which have almost daily commits :)

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

                  @mitu at this point i have a question...... for this package now the situation it's:
                  deab04cd-2da9-4324-9829-d1cf088717b6-immagine.png

                  Unable to check update for this package.... ok but every time I do the updates now it recompiles the same version of the 3 DEB files and reinstalls them every time, it also reinstalls all the dependencies. Is this normal? How do I avoid this?

                  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:

                    How do I avoid this?

                    At this time, there's no option for source installs. As it shows on the screen, the script cannot determine/doesn't know if a new version is available, so it always updates/installs it.

                    EDIT: you can delete the /opt/retropie/supplementary/sdl2 folder and the RetroPie script will 'forget' about sdl2 and it will think that it's using the system's SDL2 so it won't try to update it.

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

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

                      EDIT: you can delete the /opt/retropie/supplementary/sdl2 folder and the RetroPie script will 'forget' about sdl2 and it will think that it's using the system's SDL2 so it won't try to update it.

                      Great suggestion... this way I think it's like I never installed this package.

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

                        @DjDiabolik @mitu I owe both of you a debt of gratitude! And @mitu you saved me awhile back too…..

                        So here’s my quick story: I was running 20.04 and it ran well for awhile. But then the BT started acting up with my DualShock 3 controllers. I read awhile back there was a workaround but I couldn’t find it now. Plus the OS was old so I decided to just go ahead and upgrade to 22.04. And then update Retropie along with it, hoping this would repair any corrupt/damaged files. So….my BT issue was resolved. Games, everything running just great. Then I pressed my luck and decided to upgrade to 24.04. Then BOOM. I had all the issues that @DjDiabolik was experiencing! Ugggghhhhh.
                        But I followed your discussion here and all was resolved.

                        You two are the GOAT and I really appreciate all the hard work and testing you did to find this workaround/resolution!☺️

                        PS: I know it’s an old thread but wanted to reply here with my heartfelt THANK YOU!!

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

                          Did this ever get solved? This thread is so large it's very hard to decipher how to solve this. Trying to navigate with a controller in the RetroPie-Setup menu crashes me back to ES.

                          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:

                            Did this ever get solved?

                            No, there's just a workaround posted in the 2nd page (?).

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

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

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

                              Did this ever get solved?

                              No, there's just a workaround posted in the 2nd page (?).

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

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

                              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:

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