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

    Cannot access RetroArch GUI from RP Setup Utility

    Scheduled Pinned Locked Moved Help and Support
    retroarch guigamemode errordbus error
    14 Posts 2 Posters 1.6k 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.
    • testudoT
      testudo @mitu
      last edited by

      @mitu
      Dang, forgot Google Photos no longer allows for public sharing.

      Here's the copy of the error notice:

      GameMode ERROR: Could not connect to bus: Failed to connect to socket /tmp/dbus-IUtBLGFtPF: Connection refused
      dbus[37395]: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../../dbus/dbus-connection.c line 2822.
      This is normally a bug in some application using the D-bus library.
      
         D-bus not built with -rdynamic so unable to print a backtrace
      Aborted (core dumped) 
      
      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        I wonder if the reason is we start the GUI via sudo (from the RetroPie system).

        Can you exit EmulationStation and run from a terminal

        /opt/retropie/emulators/retroarch/bin/retroarch --verbose --menu --config /opt/retropie/configs/all/retroarch.cfg
        

        and see if the GUI opens up ? If not, then try disabling Game Mode by adding

        gamemode_enable.= "false"
        

        to /opt/retropie/configs/al/retroarch.cfg.

        testudoT 1 Reply Last reply Reply Quote 0
        • testudoT
          testudo @mitu
          last edited by

          @mitu said in Cannot access RetroArch GUI from RP Setup Utility:

          I wonder if the reason is we start the GUI via sudo (from the RetroPie system).

          Can you exit EmulationStation and run from a terminal

          /opt/retropie/emulators/retroarch/bin/retroarch --verbose --menu --config /opt/retropie/configs/all/retroarch.cfg
          

          and see if the GUI opens up ? If not, then try disabling Game Mode by adding

          gamemode_enable.= "false"
          

          to /opt/retropie/configs/al/retroarch.cfg.

          RetroArch GUI does open directly from the terminal command provided.

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

            @testudo Then temporarily you can add

            gamemode_enable = "false"
            

            to retroarch.cfg and use it for now. I'll take a look to see why this isn't working through su, as called from EmulationStation.

            Do you have the gamemode package installed on your system ?

            testudoT 1 Reply Last reply Reply Quote 0
            • testudoT
              testudo @mitu
              last edited by testudo

              @mitu said in Cannot access RetroArch GUI from RP Setup Utility:

              gamemode_enable = "false"

              Thanks. I tried disabling the game mode by adding the provided code to the retroarch.cfg, but no success. Still get the same error.

              I am not aware of intentionally installing the gamemode package on my system. How would I check if it is installed?

              I do have gamemode 1.5.1-0ubuntu3.1 installed.

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

                @testudo said in Cannot access RetroArch GUI from RP Setup Utility:

                How would I check if it is installed?

                Check if you have the gamemode package installed:

                apt show gamemode
                

                If it shows Installed: Yes, then it's installed.

                testudoT 1 Reply Last reply Reply Quote 0
                • testudoT
                  testudo @mitu
                  last edited by

                  @mitu

                  Thanks. Confirming gamemode is installed.

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

                    Thanks for the check. I'll see how we can solve this, seems like a bug somewhere if disabling GameMode still doesn't get RetroArch starting normally (from the menu).

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

                      @testudo Can you try updating the RetroPie-Setup script ? I've added a small modification to fix the RetroArch's error when started from the RetroPie menu.

                      testudoT 1 Reply Last reply Reply Quote 1
                      • testudoT
                        testudo @mitu
                        last edited by testudo

                        @mitu
                        The update to the setup script was a success! Updated the script and I am now able to access the RetroArch GUI from the EmulationStation Retropie menu.

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

                          @testudo Thanks for reporting the bug.

                          testudoT 1 Reply Last reply Reply Quote 0
                          • testudoT
                            testudo @mitu
                            last edited by

                            @mitu
                            Thanks for figuring out and implementing the solution so quickly!

                            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.