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 fails to launch

    Scheduled Pinned Locked Moved Help and Support
    linux
    28 Posts 4 Posters 4.1k 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 @Johnston
      last edited by

      @johnston Looks to me that not only EmulationStation has issues. Is accelerated GL supported with the new drivers ?

      J 1 Reply Last reply Reply Quote 0
      • J
        Johnston @mitu
        last edited by

        @mitu said in emulationstation fails to launch:

        Looks to me that not only EmulationStation has issues.

        What makes you say that? glxgears works fine, Phoronix test suite ran the unigine-heaven test no problems. The GLmark2 test also shows up nothing untoward. Kodi plays HEVC better. Retroarch runs no bother. Basically everything I have tested works except emulationstation.

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

          @johnston said in emulationstation fails to launch:

          What makes you say that?

          What you said in your post:

          .. But some other things just weren't working as well.

          J 1 Reply Last reply Reply Quote 0
          • J
            Johnston @mitu
            last edited by

            @mitu said in emulationstation fails to launch:

            .. But some other things just weren't working as well.

            That was without the drivers. Thats why I reinstalled the drivers, there were a few things that were annoying.

            Basically without installing the AMD drivers from their site, just relying on the standard Kernel stuff only. ES works but other things are just sub-par. Like MPV opens with Graphical glitches for a few seconds.

            With the amd drivers installed everything else runs smoother but ES doesn't start.

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

              No idea why it's not working - ES uses libSDL as provided by Ubuntu or the Linux distro where it's installed, which in turn relies on the OpenGL support provided by X.org (GLX).

              J 1 Reply Last reply Reply Quote 0
              • J
                Johnston @mitu
                last edited by

                @mitu Do you know if there is a commandline to call the output of libsdl the same way ES does?

                Maybe compare the AMD, Nvidia, Nouvea, Standard outputs?

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

                  Usually glxinfo should show if accelerated OpenGL is supported. For SDL, you could download the library and compile the tests folder - there are specific OpenGL tests that can be run to test libSDL.

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Johnston @mitu
                    last edited by Johnston

                    @mitu

                    Heres the output from glxinfo AMD driver ES not working
                    https://pastebin.com/FQqDbjmC

                    EDIT: From a fresh install & updated no AMD drivers ES working. https://pastebin.com/xjcZ52Fd

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

                      @johnston Can you try installing the emulationstation-dev package from the experimental section and see if it works with the proprietary drivers ?

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Johnston @mitu
                        last edited by

                        @mitu Unless it has had an attempt at a fix in the mean time, the Dev version did the exact same thing.

                        But ATM I'm back on the standard drivers.

                        If there's been an attempt at a fix I'll give it a go and reinstall but I don't want to do that if there hasn't because I've found to get back to 100% stock it takes a fresh install.

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

                          @johnston said in emulationstation fails to launch:

                          @mitu Unless it has had an attempt at a fix in the mean time, the Dev version did the exact same thing.

                          There was, that's why I asked. There was a modification on the master branch, not the stable, hence the emulationstation-dev installation.

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Johnston @mitu
                            last edited by Johnston

                            @mitu I shall give that a go then

                            EDIT: We have a fix for the AMD side at least

                            Jan 29 14:14:08 lvl3: 	fireEvent: game-end  
                            Jan 29 14:14:08 lvl2: 	Creating window...
                            Jan 29 14:14:08 lvl2: 	Created window successfully.
                            Jan 29 14:14:08 lvl2: 	GL vendor:   X.Org
                            Jan 29 14:14:08 lvl2: 	GL renderer: Radeon RX 580 Series (POLARIS10, DRM 3.38.0, 5.8.0-7630-generic, LLVM 10.0.1)
                            Jan 29 14:14:08 lvl2: 	GL version:  4.6 (Compatibility Profile) Mesa 20.1.6
                            Jan 29 14:14:08 lvl2: 	Checking available OpenGL extensions...
                            Jan 29 14:14:08 lvl2: 	 ARB_texture_non_power_of_two: ok
                            
                            
                            mituM 1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @Johnston
                              last edited by

                              @johnston Thanks for the follow-up, let's hope this will fix similar issues in the future.

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                darkblaster77 @mitu
                                last edited by

                                @mitu

                                I am having this similar issue. Wondering if there is way to run EmulationStation with Nvidia proprietary driver.

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

                                  @darkblaster77 Have you tried the solution from this topic ?

                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    darkblaster77 @mitu
                                    last edited by

                                    @mitu

                                    I am not mistaken, the solution is for AMD graphic card.

                                    My setup is as follows
                                    Processor: Intel Core2Duo T6600
                                    RAM: 4GB
                                    Graphic: Nvidia GeForce G105M
                                    O/S: Ubuntu 20.04.2 LTS
                                    RetroPie Version: 4.7.11

                                    My current workaround is to use the Nouveau display driver.

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

                                      @darkblaster77 said in emulationstation fails to launch:

                                      I am not mistaken, the solution is for AMD graphic card.

                                      Nobody said it's just for AMD cards. Try installing the -dev package and see if it works.

                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        darkblaster77 @mitu
                                        last edited by

                                        @mitu
                                        Tried running on emulationstation-dev. It is still not working for me.

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

                                          @darkblaster77 said in emulationstation fails to launch:

                                          Tried running on emulationstation-dev. It is still not working for me.

                                          Run EmulationStation with the --debug parameter, then get the log from $HOME/.emulationstation/es_log.txt and post it on pastebin.com.

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            darkblaster77 @mitu
                                            last edited by

                                            @mitu

                                            Please see the es_log.txt at the link below
                                            https://pastebin.com/6MrtX2AN

                                            Not sure if it is useful. It displays the following errors.

                                            Mar 17 21:45:13 lvl2: 	EmulationStation - v2.10.0rp-dev, built Mar 17 2021 - 21:35:43
                                            Mar 17 21:45:13 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation-dev/resources/mamenames.xml"...
                                            Mar 17 21:45:13 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation-dev/resources/mamebioses.xml"...
                                            Mar 17 21:45:13 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation-dev/resources/mamedevices.xml"...
                                            Mar 17 21:45:13 lvl2: 	Creating window...
                                            X Error of failed request:  BadValue (integer parameter out of range for operation)
                                              Major opcode of failed request:  152 (GLX)
                                              Minor opcode of failed request:  3 (X_GLXCreateContext)
                                              Value in failed request:  0x0
                                              Serial number of failed request:  87
                                              Current serial number in output stream:  88
                                            
                                            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.