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

    (SOLVED) Error Updating ES From Source

    Scheduled Pinned Locked Moved Help and Support
    emultionstationupdate failedsource
    31 Posts 9 Posters 9.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.
    • ?
      A Former User
      last edited by

      It seems my problem is definitely an issue of running out of memory. I don't know why this would be happening.

      My system boots into EmulationStation. I am quitting EmulationStation right away and going to the command prompt.

      Up top it shows my available resources. I only have around 550MB of memory free. I have no idea what is taking up the rest of the RAM.

      Any advice on killing processes or what could be taking up all of my RAM?

      BuZzB 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @A Former User
        last edited by

        @LiveFastCyYoung what's your GPU split in /boot/config.txt ?

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @BuZz
          last edited by

          @BuZz

          My setup is a RPi3, 1TB WD Labs HD, 16GB MicroSD card.

          gpu_mem_256=128
          gpu_mem_512=256
          gpu_mem_1024=256
          overscan_scale=1

          I was able to get the free RAM up to 700MB by clearing the RAM caches. Update still failed but did get a little further.

          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @A Former User
            last edited by

            @LiveFastCyYoung Is there a way I can download an ES update to an SD card and update it from there?

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              It seems by getting to 88% or so, my ES is mostly updated. However this is now causing issues. :(

              There are a couple routes I am curious about going down:

              1. If I remove ES using RetroPie_Setup.sh and install it again while in there from binary, what's the worst that could happen? It wouldn't delete my RetroPie folder would it?

              2. Is there a way to get ES from source on my computer and install it via an SD card?

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @A Former User
                last edited by

                @LiveFastCyYoung Any advice for the last two questions?

                1 Reply Last reply Reply Quote 0
                • fluffypillowF
                  fluffypillow
                  last edited by

                  @LiveFastCyYoung as others have also noted, the internal compiler error in your first post is caused by the low amount of RAM. Compiling can be memory intensive, so you might want to increase it as much as you can (change the GPU/RAM split, kill running programs).

                  According to the setup script, uninstalling ES removes the binary and the config files. The RetroPie folder is not touched (unless there's an unknown side effect I'm not aware of).

                  You may build ES on your desktop PC, then transfer it to the Pi, but the process is considered as black magic and requires you to sacrifice your sanity on the altar of the Soul-Eating Compiler Demons.

                  ? 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @fluffypillow
                    last edited by

                    @fluffypillow Thanks for the reply!

                    I have been able to free up to 700MB of RAM but it's still failing at 88%.

                    As far as the GPU/RAM split, what would you recommend other than the default?

                    AlexMurphyA 1 Reply Last reply Reply Quote 0
                    • AlexMurphyA
                      AlexMurphy Banned @A Former User
                      last edited by

                      @LiveFastCyYoung Just update from Binary.

                      ? 1 Reply Last reply Reply Quote 0
                      • fluffypillowF
                        fluffypillow
                        last edited by

                        @LiveFastCyYoung Allocate as much RAM as you can while you're building; if I remember correctly, you can set the GPU memory as low as 64 MB. 700 MB should be more than fine though, I wonder if there's something else in the logs...

                        Or you could also just update from binary.

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @AlexMurphy
                          last edited by A Former User

                          @AlexMurphy The issue is that updating from Binary doesn't seem to be doing anything.

                          I am looking to use the new carousel theming feature and it's not working when updating from Binary. Maybe the binaries haven't been updated in awhile? I updated my Retropie Setup Script before every time I have tried updating from Binary.

                          Also, with this partially updated ES from source, certain things aren't working anymore. Most metadata is now blank being chief amongst them.

                          AlexMurphyA 1 Reply Last reply Reply Quote 0
                          • AlexMurphyA
                            AlexMurphy Banned @A Former User
                            last edited by

                            @LiveFastCyYoung The version of ES was bumped to 2.1.9 a few days ago. Try it.

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

                              All I know is that the most recent Source Update of Emulationstation seems to be breaking custom themes left and right. Metadata displaying improperly, video layers being messed up, subdolders not showing scraped art. Weird.

                              AlexMurphyA 2 Replies Last reply Reply Quote 0
                              • AlexMurphyA
                                AlexMurphy Banned @KillerQ
                                last edited by

                                @KillerQ It's an issue with the z-index of images / text. AFAIK it is / should be sorted in the next Binary release or try from source, It's a known issue.

                                1 Reply Last reply Reply Quote 0
                                • AlexMurphyA
                                  AlexMurphy Banned @KillerQ
                                  last edited by

                                  @KillerQ People are trying to make this better for everyone. No one has worked on ES for a long time. Things will go wrong and mess other stuff up. This is not "Apple" or "Google". People do this in their own time.

                                  K 1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User
                                    last edited by

                                    Took a bit more of fussing with it but, after 5 days I was finally able to get a full install from the binary.

                                    Thanks for your help everyone! :)

                                    P 1 Reply Last reply Reply Quote 0
                                    • K
                                      KillerQ @AlexMurphy
                                      last edited by

                                      Oh, it's all good. I love ES, and the recent progress is amazing. I don't mind bugs, I was just helping by sharing.

                                      @AlexMurphy said in (SOLVED) Error Updating ES From Source:

                                      @KillerQ People are trying to make this better for everyone. No one has worked on ES for a long time. Things will go wrong and mess other stuff up. This is not "Apple" or "Google". People do this in their own time.

                                      AlexMurphyA 1 Reply Last reply Reply Quote 0
                                      • AlexMurphyA
                                        AlexMurphy Banned @KillerQ
                                        last edited by

                                        @KillerQ I'm not criticising. I'm just reminding people. Any work on ES is good in the RP branch. Everyone benefits.

                                        1 Reply Last reply Reply Quote 1
                                        • P
                                          pjotresq @A Former User
                                          last edited by

                                          @LiveFastCyYoung I am still stuck at 89%. How did you manage to complete the installation?

                                          ? 1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User @pjotresq
                                            last edited by

                                            @pjotresq I actually didn't. The binaries were finally updated and I went with those. Still can't update from source. ¯_(ツ)_/¯

                                            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.