• 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

ES lag after updating underlying OS

Scheduled Pinned Locked Moved Help and Support
updateemultionstation
26 Posts 7 Posters 8.0k 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.
  • G
    gaavoid
    last edited by gaavoid 13 Jul 2017, 07:21

    Using a Pi 3.
    Decided to update my retropie 4.2 build (originally built from 4.1) to the current version 4.2.10.
    Updated all packages from retropie setup including the option to update the underlying OS.
    This process took way over an hour and the results were not good.
    Emulation Station was very laggy. When scrolling through games lists, every few seconds, the UI appears to freeze for up to 10 seconds. Also when scrolling left and right through the systems, often there would be a jutter and one system theme will have disappeared completely to a white screen (this second issue only occurred on newer themes like retrorama and comic book).
    I've recreated this issue three times through reflashing my 4.2 build and completely updating from retropie setup.
    I've just updated again but without selecting to update underlying OS and everything is as perfect as it ever was. No lag and no white screen on the newer themes.

    Any ideas what's happening? Anyone else experiencing these issues?

    T 1 Reply Last reply 13 Jul 2017, 19:34 Reply Quote 0
    • A
      asmithau
      last edited by 13 Jul 2017, 07:40

      Hi @gaavoid ,

      Yes, I found the same. I'm not sure exactly sure what is causing it, but as a test I installed the latest available download of 4.2 on a separate MicroSD, updated all ES side packages and not the underlying OS and it runs like before.

      As I'm not a knowledgeable Linux user, I just copied across the ROMs, Images and Gamelists and re-set everything up - rather than stuff around with it.

      Definitely though, something in a recent OS update is causing the lag.

      I check and update everything about once a week, so it's something that come through about a 1.5 to 2 weeks ago. But based on testing it's not ES itself.

      Hope that helps.

      1 Reply Last reply Reply Quote 0
      • P
        pjft
        last edited by 13 Jul 2017, 13:07

        Huh.

        That's not good. What about the emulators, do they run well?

        If any of you are particularly comfortable with using SSH or so, I'd be keen in your impressions of running "top" via SSH and seeing if any particular process spikes when those freezes happen.

        As for the white screens, though, that would hopefully no longer be the case. What ES version do you have? And what VRAM value do you have in the settings? Lower it to 80 or so and restart ES.

        Best.

        G 1 Reply Last reply 13 Jul 2017, 18:23 Reply Quote 0
        • R
          Riverstorm
          last edited by Riverstorm 13 Jul 2017, 16:02

          I just updated to 4.2.10 and then after all packages including underlying OS. ES seems fine, scrolling through game lists seems fine too (arrow or page) but I haven't done anything extensive. Here's a screenshot while scrolling left and right in ES. I wasn't seeing any lag. Out of curiosity is it a good idea/practice to update underlying OS when updating installed packages or do you guys leave it unless there's a needed patch?

          top - 10:55:50 up  1:35,  2 users,  load average: 0.57, 0.85, 1.14
          Tasks: 129 total,   2 running, 127 sleeping,   0 stopped,   0 zombie
          %Cpu(s): 11.2 us,  1.9 sy,  0.0 ni, 86.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
          KiB Mem:    750636 total,   716548 used,    34088 free,   109228 buffers
          KiB Swap:   102396 total,        0 used,   102396 free.   465128 cached Mem
          
            PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
           2633 pi        20   0  147460  56588  19260 R  44.8  7.5   1:04.76 emulations+
             82 root       1 -19       0      0      0 S   2.0  0.0   0:08.96 VCHIQr-0
             81 root       1 -19       0      0      0 S   0.7  0.0   0:05.10 VCHIQ-0
            114 root       0 -20       0      0      0 S   0.7  0.0   0:00.92 kworker/1:+
            129 root      20   0    8712   4692   4428 S   0.7  0.6   0:05.24 systemd-jo+
           2613 pi        20   0    5112   2564   2192 R   0.7  0.3   0:01.77 top
            448 avahi     20   0    3876   2600   2324 S   0.3  0.3   0:01.28 avahi-daem+
            475 nobody    20   0    2292   1460   1340 S   0.3  0.2   0:00.16 thd
           2273 pi        20   0   11480   3904   3264 S   0.3  0.5   0:01.11 sshd
              1 root      20   0   22848   3944   2788 S   0.0  0.5   0:03.70 systemd
              2 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kthreadd
              3 root      20   0       0      0      0 S   0.0  0.0   0:01.00 ksoftirqd/0
              5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:+
              7 root      20   0       0      0      0 S   0.0  0.0   0:02.94 rcu_sched
              8 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcu_bh
              9 root      rt   0       0      0      0 S   0.0  0.0   0:00.09 migration/0
             10 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 lru-add-dr+
          
          1 Reply Last reply Reply Quote 0
          • P
            pjft
            last edited by 13 Jul 2017, 16:05

            I personally avoid updating anything unless there's anything I really need.

            I mostly update EmulationStation, sometimes a few emulators, but the underlying OS is a trickier proposition without a backup. I've heard stories of PS3 controllers no longer pairing, etc, so in my case, if it isn't broken, I won't touch it. :)

            R T 2 Replies Last reply 13 Jul 2017, 16:09 Reply Quote 0
            • R
              Riverstorm @pjft
              last edited by 13 Jul 2017, 16:09

              @pjft said in ES lag after updating underlying OS:

              I personally avoid updating anything unless there's anything I really need.

              Ok thanks pjft I was never quite sure so I'll leave it in the future unless specified. That seems to be the longest part of updating it all anyway. :)

              1 Reply Last reply Reply Quote 0
              • T
                theWinterDojer @pjft
                last edited by theWinterDojer 13 Jul 2017, 16:10

                @pjft Is updating the underlying OS the same as running:

                sudo apt-get update
                sudo apt-get dist-upgrade

                I normally run that above, then update all packages without updating underlying OS. Wondering if I can skip that first step and just select "yes" to updating underlying OS.

                B 1 Reply Last reply 13 Jul 2017, 16:11 Reply Quote 0
                • B
                  BuZz administrators @theWinterDojer
                  last edited by 13 Jul 2017, 16:11

                  @thewinterdojer yes.

                  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

                  T 1 Reply Last reply 13 Jul 2017, 16:13 Reply Quote 1
                  • T
                    theWinterDojer @BuZz
                    last edited by 13 Jul 2017, 16:13

                    @buzz I think I may have asked that before, my apologies if I did, but thank you!

                    1 Reply Last reply Reply Quote 0
                    • G
                      gaavoid @pjft
                      last edited by gaavoid 13 Jul 2017, 18:23

                      @pjft ES version is the newest binary (2.4.1? Sorry not at home to check). Haven't touched the vram limit which I think is set to 100. Pi isn't overclocked. I have about 20 or 25 systems, which is fine with all themes tested without updating the OS.
                      However with the updated OS, older less ram instensive themes like pixel/carbon were fine except for scrolling through games lists where I would experience 5-10 second freezes. My ROMs are fully scraped too, so might be more of an issue loading the scraped images or metadata (this was worse/more frequent when using retrorama/comic book).
                      The white screen isn't the same as the old white screen of death we used to get. It's just white for the image of the one system. Scrolling back to it seems to make it reappear so seems like a ram issue.
                      With comic book theme, the outline for the comic frame was still there but no images, just the name of the system on the carousel.

                      I did test some ROMs on Neo-Geo and PC-Engine and they seemed to work just fine.

                      T P 2 Replies Last reply 13 Jul 2017, 18:32 Reply Quote 0
                      • T
                        theWinterDojer @gaavoid
                        last edited by 13 Jul 2017, 18:32

                        @gaavoid I updated the OS last night and have about 2,000 titles scraped, and I have not experienced any slow down or lag when browsing the menus. It could be because of all the systems you have, I remember reading before that scraping too many ROMs can lead to slowdown when shutting down or quitting but thankfully I have not had that happen to me yet. Hopefully someone more knowledgeable can chime in.

                        G 1 Reply Last reply 13 Jul 2017, 18:34 Reply Quote 0
                        • G
                          gaavoid @theWinterDojer
                          last edited by 13 Jul 2017, 18:34

                          @thewinterdojer start up and shut down time is fine for me on the previous OS version but was slower on the updated one. I forgot about that.

                          What image/RP version have you built from?

                          T 1 Reply Last reply 13 Jul 2017, 18:50 Reply Quote 0
                          • G
                            gaavoid
                            last edited by 13 Jul 2017, 18:41

                            Also, not sure if it matters, I have an edited es_themes file with extra themes like supergrafx and pc-engine/turbografx 16 set as separate systems; same with genesis/mega-drive, SNES/SFC etc, each set up with their own config file.

                            1 Reply Last reply Reply Quote 0
                            • T
                              theWinterDojer @gaavoid
                              last edited by 13 Jul 2017, 18:50

                              @gaavoid I'm sorry if I don't understand your question exactly, but my initial Pie install was done on the latest 4.2 image. Do you mean my Raspbian version?

                              1 Reply Last reply Reply Quote 0
                              • P
                                pjft @gaavoid
                                last edited by 13 Jul 2017, 18:55

                                @gaavoid thanks. Try reducing VRAM to 80 and see if it helps with the white screens. Was everything scraped and working well prior to the update?

                                Do you have everything running from an SD card? It might be that the SD card got corrupted, if it is a data IO issue.

                                We'll see.

                                G 1 Reply Last reply 13 Jul 2017, 19:15 Reply Quote 1
                                • G
                                  gaavoid @pjft
                                  last edited by 13 Jul 2017, 19:15

                                  @pjft yes worked perfectly as it is now without updating the OS. Everything is running from a sandisk ultra 64gb micro SD.
                                  I think I'll stick with using the previous OS version from the initial 4.2 update as it all seems good. Then when we get round to a 4.3 release I'll setup a new build from scratch as I feel it could be a conflicting issue from building it from 4.1.
                                  Through SSH, is there a log I can access with the terminal info that was on screen during the update? I remember reading there was a file that couldn't be removed and it wasn't empty. This happened each time I updated the OS. There was also something in the update that said 'unstable' but I really don't remember what it was. If I can get that log, I'll update the OS to recreate the issue and post here.

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Tundra @gaavoid
                                    last edited by 13 Jul 2017, 19:34

                                    @gaavoid The exact shit happened too me they might need to test updates privately before throwing them to the public now they have more to work on then they updated but however I will admit they finally did the favorites and that is a 👍👍👍

                                    G 1 Reply Last reply 13 Jul 2017, 19:39 Reply Quote -2
                                    • G
                                      gaavoid @Tundra
                                      last edited by gaavoid 13 Jul 2017, 19:39

                                      @tundra Emulation station isn't the issue exactly here. The newest ES for retropie is working perfectly on the raspbian version that was current for when retropie 4.2 was released, but now having issues with an updated version of raspbian which is available to download/update through the retropie setup since at least 4.2.8 (now 4.2.10) when selecting update all packages/update underlying OS (kernels etc).

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        gaavoid
                                        last edited by 13 Jul 2017, 20:17

                                        I've figured out where the terminal logs are. I'm going to reflash my 4.2 build and update everything. It will take a while, but will post when it's done.

                                        1 Reply Last reply Reply Quote 1
                                        • G
                                          gaavoid
                                          last edited by gaavoid 17 Jul 2017, 00:45

                                          @pjft After a few shutdowns and reboots, the lag seems to have stopped when scrolling through the game lists (not sure why this was necessary). Also, good advice on changing the vram limit to 80: this stops the white screens happening. I did save the log but seems redundant to post now, as everything seems ok.

                                          Thanks for the help.

                                          Also, just a query. Does adjusting the vram limit in ES affect retroarch in anyway?

                                          I'm guessing the white screens occur when there's not enough memory to load the images when scrolling quickly through the systems.

                                          P T 2 Replies Last reply 17 Jul 2017, 10:41 Reply Quote 1
                                          20 out of 26
                                          • First post
                                            20/26
                                            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