• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

Retropie Pi Zero W Video Enabled Themes with Snaps

Scheduled Pinned Locked Moved Ideas and Development
video previewpi zeropizerow
14 Posts 3 Posters 4.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.
  • F
    fnkngrv
    last edited by fnkngrv 16 Jun 2017, 20:25

    @pjft Below you will see the results using htop. As you can see even with the CRT theme the CPU immediately pegs the CPU with PID process 640. Then once I leave the system menu and move back to the systems carousel screen the CPU still stays that way until A) the screensaver kicks in (set to dim), B) I enter into an emulator, or C) reboot the system.

    0_1497983140139_Video Snap Test Htop 1.JPG

    0_1497983153749_Video Snap Test Htop 2.JPG

    0_1497983168862_Video Snap Test Htop 3 expanded.JPG

    1 Reply Last reply Reply Quote 0
    • F
      fnkngrv
      last edited by fnkngrv 16 Jun 2017, 20:25

      @pjft I have opened an issue with the developer of OMXplayer on GutHub and provided my findings so far. He is leaning toward the issue being EmulationStation itself or else whatever is in the current Retropie build image for the Pi Zero, but he is working with me to run it down and try to be sure.

      1 Reply Last reply Reply Quote 0
      • F
        fnkngrv
        last edited by fnkngrv 17 Jun 2017, 05:08

        It would appear that the dev of OMXplayer very well may be right that it is not the OMXplayer that is the issue, but emulationstation itself as it hits the CPU hard at 85% when using VLC and between 70-75% with OMXplayer. I am not sure where to report this to for further troubleshooting.

        VLC
        0_1498071519812_ps aux output.JPG

        OMXplayer
        0_1498072629118_ps aux output omx.JPG

        @pjft do you have any input on where to go next with this issue?

        1 Reply Last reply Reply Quote 0
        • F
          fnkngrv
          last edited by fnkngrv 17 Jun 2017, 05:13

          I may have spoken too soon. I didn't have both ps aux and htop running at the same time. Now with them both running you can see that something is not right as well with OP as there are multiple instances open? Could it be that ES is making multiple calls for the OP process to run??

          0_1498074026251_Testing 21 Jun 17 1435 Multi OMX Instances Show.JPG

          1 Reply Last reply Reply Quote 0
          • P
            pjft @fnkngrv
            last edited by 17 Jun 2017, 09:09

            @fnkngrv Thanks for looking into this.

            One comment: it'll be easy for you to test your hypothesis of " During this time the CPU does not drop which leads me to believe that the OMXplayer process either hangs or still runs in the background." by running "top" or "htop" (which you need to install separately) and see if, effectively, there is a leftover OMXPlayer process hanging there.

            Looking forward to seeing your research.

            It seems that VLC is unusable, but OMXPlayer still lags a lot while loading the videos. Interesting.

            Thanks!

            F 1 Reply Last reply 18 Jun 2017, 04:41 Reply Quote 0
            • F
              fnkngrv @pjft
              last edited by 18 Jun 2017, 04:41

              @pjft said in Retropie Pi Zero W Video Enabled Themes with Snaps:

              @fnkngrv Thanks for looking into this.

              One comment: it'll be easy for you to test your hypothesis of " During this time the CPU does not drop which leads me to believe that the OMXplayer process either hangs or still runs in the background." by running "top" or "htop" (which you need to install separately) and see if, effectively, there is a leftover OMXPlayer process hanging there.

              Looking forward to seeing your research.

              It seems that VLC is unusable, but OMXPlayer still lags a lot while loading the videos. Interesting.

              Thanks!

              I'll see what I can find out and report back for sure. Thanks for the input!

              1 Reply Last reply Reply Quote 0
              • F
                fnkngrv
                last edited by 20 Jun 2017, 06:22

                I do intend to provide further findings as they come along. I spent much of the last day reading the thread on the omxplayer project on github under reported issues and feature requests. It appears that the CPU spike and pegging is a known issue with OPand there have been those that have managed to debug and find that the process for omxplayer.bin actually shows up dozens of times if not more simultaneously. This makes me very curious to see if I switch my renderer to OP rather than VLC on my current stable Rpi3 build. From what I have seen this issue has been occurring for well over a year and multiple versions which makes be curious as to why it has not had much consideration by the developer. Most that I see have abandoned OP due to this for video and kept it strictly to audio playback or streaming.

                1 Reply Last reply Reply Quote 0
                • F
                  fnkngrv
                  last edited by 10 Jul 2017, 15:49

                  I have been in discussion with the dev for OMXplayer itself further and he is digging into it. Not sure if I have shared as of yet however my request on GitHub with him is below.

                  OMXplayer Issue 551

                  1 Reply Last reply Reply Quote 0
                  • P
                    pjft
                    last edited by 10 Jul 2017, 16:04

                    Thanks, and thanks for the research here.

                    Just to confirm: I don't expect this to be a zombie process thingie, as suggested in that bug report/thread. To the best of my knowledge, all child processes are explicitly removed from memory after the process exits.

                    Let us know what comes out of it!

                    1 Reply Last reply Reply Quote 0
                    • F
                      fnkngrv
                      last edited by 4 Aug 2017, 16:18

                      The last that I heard from the dev he was able to replicate the issues while inside of ES. His plans were to test outside of ES. I have reached out for an update.

                      1 Reply Last reply Reply Quote 0
                      • P
                        peter_shaw
                        last edited by 28 Aug 2021, 10:41

                        bringing this thread back from the dead, as i encountered the same issue on my pi zero. any updates?

                        1 Reply Last reply Reply Quote -1
                        • 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.

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