• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.4k 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.
  • T
    testudo
    last edited by 15 Mar 2022, 23:40

    Hardware: x86_64 Laptop running Ubuntu 20.04
    RetroPie Version: 4.8
    Built From: On top of existing OS
    USB Devices connected: Game Pad, Epson Scanner
    Controller used: Playstation compatible Gamepad
    Error messages received: GameMode ERROR Could not connect to bus:

    After updating RetroPie 4.8, when trying to access the RetroArch (v1.10.0) GUI from the RetroPie Setup Utility in Emulation Station as well as standalone, I encounter the following error and RetroArch closes before ever opening:

    alt text

    I can access RetroArch GUI from the Keyboard hot key, but using the gamepad hot keys is hit or miss, mostly miss. Confirmed dbus and python dbus are the most recent, and no errors in the SetUp log. Any help is appreciated.

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 16 Mar 2022, 05:24

      The screenshot you posted is not visible without a Google account, can you make it public so that we can see it ?

      T 1 Reply Last reply 16 Mar 2022, 14:00 Reply Quote 0
      • T
        testudo @mitu
        last edited by 16 Mar 2022, 14:00

        @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
        • M
          mitu Global Moderator
          last edited by 16 Mar 2022, 16:57

          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.

          T 1 Reply Last reply 16 Mar 2022, 18:04 Reply Quote 0
          • T
            testudo @mitu
            last edited by 16 Mar 2022, 18:04

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

            M 1 Reply Last reply 16 Mar 2022, 20:03 Reply Quote 0
            • M
              mitu Global Moderator @testudo
              last edited by 16 Mar 2022, 20:03

              @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 ?

              T 1 Reply Last reply 17 Mar 2022, 16:15 Reply Quote 0
              • T
                testudo @mitu
                last edited by testudo 17 Mar 2022, 16:15

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

                M 1 Reply Last reply 17 Mar 2022, 16:21 Reply Quote 1
                • M
                  mitu Global Moderator @testudo
                  last edited by 17 Mar 2022, 16:21

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

                  T 1 Reply Last reply 17 Mar 2022, 16:41 Reply Quote 0
                  • T
                    testudo @mitu
                    last edited by 17 Mar 2022, 16:41

                    @mitu

                    Thanks. Confirming gamemode is installed.

                    1 Reply Last reply Reply Quote 0
                    • M
                      mitu Global Moderator
                      last edited by 17 Mar 2022, 16:47

                      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
                      • M
                        mitu Global Moderator
                        last edited by 21 Mar 2022, 04:22

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

                        T 1 Reply Last reply 22 Mar 2022, 16:12 Reply Quote 1
                        • T
                          testudo @mitu
                          last edited by testudo 22 Mar 2022, 16:12

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

                          M 1 Reply Last reply 22 Mar 2022, 22:36 Reply Quote 1
                          • M
                            mitu Global Moderator @testudo
                            last edited by 22 Mar 2022, 22:36

                            @testudo Thanks for reporting the bug.

                            T 1 Reply Last reply 22 Mar 2022, 22:37 Reply Quote 0
                            • T
                              testudo @mitu
                              last edited by 22 Mar 2022, 22:37

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

                              1 Reply Last reply Reply Quote 0
                              14 out of 14
                              • First post
                                14/14
                                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.

                                This community forum collects and processes your personal information.
                                consent.not_received