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

    Emulationstation Minimized on Autostart (x86 Linux)

    Scheduled Pinned Locked Moved Help and Support
    x86ubuntu 22.04ltsemulationstnautostart help
    22 Posts 7 Posters 3.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.
    • mituM
      mitu Global Moderator @swangdemon
      last edited by

      @swangdemon This seems to be an OS/DM issue, so no solution was implemented in EmulationStation. Other thing I suspect is a libsdl2 bug. What desktop/window manager are you using ?

      Can you manually build a newer SDL version from the 2.26.x branch and try to use it just for EmulationStation ?

      S 1 Reply Last reply Reply Quote 0
      • S
        swangdemon @mitu
        last edited by

        @mitu said in Emulationstation Minimized on Autostart (x86 Linux):

        @swangdemon This seems to be an OS/DM issue, so no solution was implemented in EmulationStation. Other thing I suspect is a libsdl2 bug. What desktop/window manager are you using ?

        Can you manually build a newer SDL version from the 2.26.x branch and try to use it just for EmulationStation ?

        Thanks for the response! I am currently using the default window manager, which I believe is GDM3. Truth be told, I’m only a casual user, so there’s a lot about *nix that I don’t know, which includes libsdl2. Either way, that gives me a good starting point to look into it further. I will report back if/when I hit a brick wall. Worst case I can roll back to a previous version

        Cheers!

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

          @swangdemon said in Emulationstation Minimized on Autostart (x86 Linux):

          Thanks for the response! I am currently using the default window manager, which I believe is GDM3.

          No, gdm3 is the login manager. If you're using the default desktop manager, that would be Gnome/Unity (?) on Ubuntu.
          But try to see if a newer libsdl2 yields a different result.

          S 1 Reply Last reply Reply Quote 0
          • S
            swangdemon @mitu
            last edited by

            @mitu A-ha, I thought it was surely gnome but googled it to make sure and I must have misinterpreted the result. Is it worth trying another, do you think? Might try that if the libdsl route proves unsuccessful.

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

              @swangdemon It might be easier to use XFCE and switch the default session from Gnome to it, then test to see if auto-start has the same issue (the auto-start config should still work even if the desktop env is switched in this case).

              1 Reply Last reply Reply Quote 0
              • K
                kidracer
                last edited by

                Hello,

                I too am having this problem. Did anyone figure this one out?

                With a fresh build using process from https://retropie.org.uk/docs/Debian/
                Ubuntu 22.04 LTS
                Retropie 4.8.2
                Emulationstation V2.11.ORP
                Retroarch 1.12.0

                When manually starting Retropie, it opens EmulationStation and a Terminal session with the EmulationStation program in focus and the Terminal window minimized in the background. All good.

                When using the auto start feature, within Retropie-setup>Configuration/Tools>Autostart, Retropie starts up automatically with system start but with the Terminal window in focus and the EmulationStation program minimized in the background.

                This result is inconstant with this occurring about 50% of the time.

                Any help would be greatly appreciated.

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

                  @kidracer have you tried my advice from the previous post - changing the desktop env to Xfce ?
                  FWIW I've tried replicating the issue with a 22.04 installation, but I couldn't.

                  1 Reply Last reply Reply Quote 0
                  • K
                    kidracer
                    last edited by

                    @mitu I didn't really like the XFCE interface so I went back to Ubuntu 20.04. Autostart works 100% of the time now.
                    The cocktail table is up and working perfectly again.
                    The next time I do an upgrade, I'll test it on one of my spare laptops before I put it on my primary :)

                    Cheers and thanks again for you guidance!

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      swangdemon @kidracer
                      last edited by

                      @kidracer @mitu I didn’t end up finding a fix, though, to be fair, I didn’t really try anything. In the end, I had to reinstall for other reasons, so I took the opportunity to drop down to an earlier version of ubuntu

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        kidracer @swangdemon
                        last edited by

                        @swangdemon said in Emulationstation Minimized on Autostart (x86 Linux):

                        @kidracer @mitu I didn’t end up finding a fix, though, to be fair, I didn’t really try anything. In the end, I had to reinstall for other reasons, so I took the opportunity to drop down to an earlier version of ubuntu

                        @swangdemon Ubuntu 20.04 is supported out to 2025 so were all good there :)

                        1 Reply Last reply Reply Quote 0
                        • W
                          wille
                          last edited by

                          I hade some trouble with this as well so I created a script that keeps the window active and maximized.
                          Hope it can help others :)
                          https://github.com/william-andersson/rpie_run

                          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.