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
    99 Posts 7 Posters 21.3k 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 @rom11617
      last edited by

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

      @mitu I'm not sure how to further clarify the stock terminal app from ubuntu, sorry.

      It's most likely gnome-terminal if you have a standard Ubuntu desktop installation, which comes with Gnome. Is this a standard Ubuntu Desktop installation ? Is it a new installation or upgrade to an existing one ?

      The log doesn't show any error, though it's strange that's taking 20 sec to just go back to EmulationStation from - unsuccesfully - trying to launch the setup script.

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

        @mitu Brand new install. I copied over some of the files from my 18.04 build of emulationstation so I wouldn't have to scrape all new media and stuff like that, I wonder if there is some config file somewhere creating conflict.

        What would be the least dramatic way to reinstall everything retropie wize? I can always make backups of my gamelists to keep the image and video files and drop them back in where they go...

        Would I just delete the /opt/retropie folder as well as the etc/emulationstation folder?

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

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

          I wonder if there is some config file somewhere creating conflict.

          No, not for this part.

          What would be the least dramatic way to reinstall everything retropie wize? I can always make backups of my gamelists to keep the image and video files and drop them back in where they go...

          As a possible workaround, try using an Xorg session, instead of Wayland, just to see if you encounter the same issue. I'll try to reproduce the error, but it will take a bit of time until I do so.

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

            @mitu You assume I'm way more knowledgeable in Linux that I actually am...lol.
            I'll try a google search to try and figure out what you're asking me to do. ha ha. Thank you for your help.

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

              Same behavior unfortunately. Here's the log file. There's something about a theme conflict but I can't imagine that could be the problem, could it?

              Jul 25 07:48:37 lvl1: requested mismatched theme type for [video.md_lastplayed] - expected "datetime", got "text"
              Jul 25 07:48:37 lvl1: requested mismatched theme type for [video.md_lastplayed] - expected "datetime", got "text"
              Jul 25 07:48:37 lvl1: requested mismatched theme type for [video.md_lastplayed] - expected "datetime", got "text"
              Jul 25 07:48:37 lvl2: Added known joystick 'Xbox One S Controller' (instance ID: 0, device index: 0)
              Jul 25 07:48:37 lvl2: Added known joystick 'Xbox One S Controller' (instance ID: 0, device index: 0)
              Jul 25 07:48:58 lvl2: req sound [detailed.launch]
              Jul 25 07:48:58 lvl2: (missing)
              Jul 25 07:48:58 lvl2: Attempting to launch game...
              Jul 25 07:48:59 lvl2: sudo /home/emulationstation/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/emulationstation/RetroPie/retropiemenu/rpsetup.rp </dev/tty >/dev/tty
              Jul 25 07:49:25 lvl2: Creating window...
              Jul 25 07:49:26 lvl2: Created window successfully.
              Jul 25 07:49:26 lvl2: GL vendor: Intel
              Jul 25 07:49:26 lvl2: GL renderer: Mesa Intel(R) HD Graphics 530 (SKL GT2)
              Jul 25 07:49:26 lvl2: GL version: 4.6 (Compatibility Profile) Mesa 24.0.9-0ubuntu0.1
              Jul 25 07:49:26 lvl2: Checking available OpenGL extensions...
              Jul 25 07:49:26 lvl2: ARB_texture_non_power_of_two: ok
              Jul 25 07:49:26 lvl2: Added known joystick 'Xbox One S Controller' (instance ID: 1, device index: 0)
              Jul 25 07:49:26 lvl1: requested mismatched theme type for [detailed.md_lastplayed] - expected "datetime", got "text"
              Jul 25 07:49:27 lvl2: Added known joystick 'Xbox One S Controller' (instance ID: 1, device index: 0)
              Jul 25 07:49:36 lvl2: Added/Updated 1 entities in '/home/emulationstation/.emulationstation/gamelists/retropie/gamelist.xml'
              Jul 25 07:49:36 lvl2: Saved gamelist.xml for system "retropie" in 0 ms
              Jul 25 07:49:36 lvl2: EmulationStation cleanly shutting down.

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

                I've updated by 22.04 install to 24.04, but I can't reproduce this issue. I'm using the default (Wayland session) Gnome session and EmulationStation is started from the RetroPie shortcut (rpie.desktop), so running under gnome-terminal, and there's no issue with runcommand or RetroPie-Setup being started/working.

                Is sudo set-up for your user so as to not require a password ? That could explain why RetroPie-Setup doesn't work from EmulationStation.

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

                  @mitu I believe so. That's where you change the ALL:ALL ALL NOPASSWD or something like that in terminal, correct?

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

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

                    . That's where you change the ALL:ALL ALL NOPASSWD

                    Yes, that would be it.

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

                      @mitu yeah, I've done that. Out of the gate. So weird.

                      V 1 Reply Last reply Reply Quote 0
                      • V
                        V0rt3x667 @rom11617
                        last edited by V0rt3x667

                        @rom11617 Hi, I had the same issue and this fixed it for me. In the file scriptmodules/supplementary/retropiemenu.sh try changing the line:

                        From:

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

                        To:

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

                        Then install the retropiemenu from the setup script.

                        R StonedEdgeS 2 Replies Last reply Reply Quote 0
                        • R
                          rom11617 @V0rt3x667
                          last edited by

                          @V0rt3x667 Dude this worked! However, I still cannot get runcommand to function. I press the button 0 on the controller after the game launches but the game just loads.

                          I have joysticks enabled, menu art disabled, runcommand menu enabled. Any ideas?

                          V 1 Reply Last reply Reply Quote 0
                          • V
                            V0rt3x667 @rom11617
                            last edited by

                            @rom11617 I think it is an issue with pysdl2. Prior to Retropie switching over to it I never experienced the controller not working on the runcommand launch screen. It also seems to be an issue that only effects x11 or Wayland users. If you run in KMS (no display manager or compositor running) there is no issue. I will see what else I can find out to help.

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

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

                              I think it is an issue with pysdl2.

                              Sure, it migh be, but that doesn't explain why the setup script works fine outside of EmulationStation - pysdl2 is used in that case also for joy2key.

                              V 1 Reply Last reply Reply Quote 0
                              • V
                                V0rt3x667 @mitu
                                last edited by V0rt3x667

                                @mitu @rom11617 Sorry one thing I forgot to mention is to try using a different terminal emulator like alacritty, kitty and I think the Gnome project has a newer terminal out it is called gnome-console.

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

                                  @V0rt3x667 I installed kitty and set as the default terminal emulator. However when Emulationstation loads, I still get the purple colored terminal screen, it doesn't look like kitty. No change to being able to launch runcommand and change the emulators...

                                  V 1 Reply Last reply Reply Quote 0
                                  • V
                                    V0rt3x667 @rom11617
                                    last edited by V0rt3x667

                                    @rom11617 Just to clarify did you launch EmulationStation directly from kitty? If you use the RetroPie shortcut it will still launch via gnome-terminal. Thanks.

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

                                      @V0rt3x667 I did launch through retropie shortcut. Duh...I'll try and report back.

                                      V 1 Reply Last reply Reply Quote 0
                                      • V
                                        V0rt3x667 @rom11617
                                        last edited by

                                        @rom11617 Hi did you have any luck getting the launch menu working with a controller? Thanks

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

                                          And i have just now found i have problably the same issue......... problably also a very similar issue explained here:
                                          https://retropie.org.uk/forum/topic/35461/controller-not-working-in-retropie-setup-runcommand-etc/12
                                          And here on this thread.

                                          I have updated my Mini PC Intel to UBUNTU 24.04.1 LTS..... Emulationstation working.... but if i try to open Retropie Setup or for example the Runcommands setup it's not accept anythigs command!
                                          No moviment at all if i use my Controller....... and if i press one button on KEYBOARD all it's crash and it's bring back emulationstation.

                                          For example if i open Retropie_setup it's be launch.. but when i touch a button on keyboard all crash and emulationstation bring back on the screen.

                                          Apparently if i open retropie_setup script from terminal joy2key works and i can move inside all menĂ¹.... retropie_setup for example crash only if i launch it from emulationstation.

                                          EDIT
                                          @mitu the strange things it's every it's be need to run on terminal by Emulationstation goes in crash after a lot seconds.
                                          I have also tryed to open ESThemes.... RunCommand option... Show IP... Config Editor..

                                          Every Terminal operation it's opened apparently it's not accept any pressed button from keyboard and from Joystick (so it's joy2key not work??) and the terminal windows crash whitout any apparently error.

                                          When you launch a game if you use a keyboard you can change options from runcommand but runcommand not show if i press one button on joystick....

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

                                            hi @mitu about 1 minutes ago i have obtain this errors on my PC... look:
                                            93e70ac2-ccb3-4412-96d3-152cface163f-immagine.png

                                            When i try to open a games i have tryed to open the runcommand menĂ¹.... and this errors it's appears.

                                            Open the details apparently i can't use copy/paste... need other screenshot:
                                            e806d8a5-7dfc-4ad3-942a-af4fe191d2cb-immagine.png

                                            Or full image:
                                            dd6bf883-6f4b-4d4a-b992-04b77b2d0dd0-immagine.png

                                            Scroll down:
                                            79ddd5ec-1f1a-499b-878e-9c0cd42cdb8c-immagine.png

                                            Also here can provide full screen image:
                                            3703d7f5-a683-4d4f-94c7-6354e219184b-immagine.png

                                            among the many lines one says:
                                            This package does not appear to be installed correctly

                                            But it's related to phyton... joy2key himself or again the current kernel ?
                                            Onestly i don't have the necessary knowledge to understand that.

                                            The strange issue you can't reproduce the issue.. really ?

                                            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.