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

[Merged] Power Saver feature

Scheduled Pinned Locked Moved Ideas and Development
emulationstatiotestingpowersaver
164 Posts 10 Posters 62.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.
  • H
    Hex
    last edited by Hex 17 Jul 2017, 22:23

    Changelog :

    • PS is moved from Cycles based to Timer based control
    • 4 PS modes added: Disabled/Default/Enhanced/Instant
    • Moved PS to Core module.
    • Moved PS handling to VLC playback from VideoGameList

    Testers: Since I squashed commits before refactoring git pull will not work. Kindly Delete directory and start over from clone.

    Thank you to all those who have helped to test, provided valuable feedback and make this possible.

    Feature is now quite stable. Works well with Video screensaver and previews.

    Binaries :

    • Pi 2/3 : https://www.dropbox.com/s/m8csxt5txyu60dr
    • Pi 1/Z : https://www.dropbox.com/s/uiqkbbalbhf0qyr

    Sent from 20,000 leagues under the sea.

    Powersaver Emulation station : https://github.com/hex007/EmulationStation
    ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

    C 1 Reply Last reply 18 Jul 2017, 17:07 Reply Quote 2
    • C
      cyperghost @Hex
      last edited by 18 Jul 2017, 17:07

      @hex I'll test :)

      1 Reply Last reply Reply Quote 0
      • H
        Hex
        last edited by 19 Jul 2017, 01:57

        Pi Zero binary is also available now. Latest ES + PS

        Sent from 20,000 leagues under the sea.

        Powersaver Emulation station : https://github.com/hex007/EmulationStation
        ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

        M 1 Reply Last reply 19 Jul 2017, 02:54 Reply Quote 2
        • M
          meleu @Hex
          last edited by 19 Jul 2017, 02:54

          @hex said in Testers needed :: Power Saver features :: PR #172:

          Pi Zero binary is also available now. Latest ES + PS

          Yeah! Now I'm able to join! :-)

          This pi zero version works for pi1 as well, right?

          • Useful topics
          • joystick-selection tool
          • rpie-art tool
          • achievements I made
          1 Reply Last reply Reply Quote 0
          • H
            Hex
            last edited by Hex 19 Jul 2017, 03:45

            @meleu Yes PiZ/1 binary works for both. Pi2/3 has a different binary

            EDIT : As it so happens PiZ/1 binary works on Pi3 too.

            Sent from 20,000 leagues under the sea.

            Powersaver Emulation station : https://github.com/hex007/EmulationStation
            ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

            C 1 Reply Last reply 19 Jul 2017, 06:57 Reply Quote 0
            • C
              cyperghost @Hex
              last edited by cyperghost 19 Jul 2017, 06:57

              @hex Thanks for the binaries, I will upload them to my github ES binary archive :)

              Small report: I've registered no breaks during ES run but to be true my ES settings are only small footprint (No game description, no Videos, just a bit background music). I tested the mostly the "instant" set.

              • Number of games per emu system never occours in instant mode only (I think that is intended to be ... in instant mode)
              • If we start a rom the display resolution of the background theme will be instantly zoomed in (cosmetic effect) and it is not matter of theme itself

              All in all the timers are working:

              1. Default timer ~ 10 to 12sec and ES falls back to 2-3% CPU usage
              2. Enhanced timer ~ 5 to 6sec and ES falls back to 2-3% CPU usage
              3. Instant "timer" ~ <1second ES falls back to 2-3% CPU usage

              What is conspicuous if ES is frehsly started the CPU usage can be downed to 0,3% after a ROM was started it never goes back less then 2-3%. Do you have any suggestions for this behaviour?

              Thank you for creating this

              EDIT:

              Energy saving aspect

              PS disabled

              Voltage: 5,25
              Amps: 0,48-0,53

              PS enabeld (instant)

              Voltage: 5,25
              Amps: 0,38-0,42

              P 1 Reply Last reply 19 Jul 2017, 12:43 Reply Quote 1
              • H
                Hex
                last edited by 19 Jul 2017, 10:23

                This feature is ready and I have squashed commits. I have provided binaries to test. I will be asking BuZz to merge this asap, provided no bugs are found in a day or two.

                Testers : List of things to test

                • Video previews work with all combinations of VLC/OMX an 4 PS Modes
                • All screensavers work with all combinations of VLC?OMX and 4 PS modes
                • Default Mode behaviour is acceptable
                • Instant changes Transition style to instant and disables the carousel transitions
                • ES never crashes while normal testing.

                Note : Binaries have PS debug code so if you want to see when PS is triggered, launch my binaries using ssh so you can see the stdout. There is a small animation in the terminal to determine when PS kicks in. It cycles over these 4 characters / - \ |

                Sent from 20,000 leagues under the sea.

                Powersaver Emulation station : https://github.com/hex007/EmulationStation
                ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                1 Reply Last reply Reply Quote 0
                • P
                  pjft @cyperghost
                  last edited by 19 Jul 2017, 12:43

                  @cyperghost Thanks.

                  At the time you had detected a crash with PS and collections - in particular adding and removing favorites, I believe?

                  If this build does have both, could you check whether you can still replicate it or if it has been erased?

                  Best.

                  1 Reply Last reply Reply Quote 0
                  • C
                    cyperghost
                    last edited by 19 Jul 2017, 13:53

                    @pjft I removed all favourites (20) I added the whole bunch in two times
                    Nothing happened - means everything went good.
                    So I think the error accourd by merging two branched.

                    1 Reply Last reply Reply Quote 0
                    • H
                      Hex
                      last edited by Hex 25 Jul 2017, 20:27

                      I would like to thank all those who helped test, find bugs and suggest changes. PS has reached milestone for Merge and will be when @BuZz gets time.

                      The Instant mode has received workarounds to make it snappier. Those who would like are welcome to test it before merge. The source is up to date.

                      @cyperghost @dankcushions @jdrassa @meleu @pjft @Sano @TMNTturtlguy @Zigurana

                      Sent from 20,000 leagues under the sea.

                      Powersaver Emulation station : https://github.com/hex007/EmulationStation
                      ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                      1 Reply Last reply Reply Quote 4
                      • C
                        cyperghost
                        last edited by cyperghost 26 Jul 2017, 18:09

                        @hex Thank you - sorry I lost a bit focus on PS while testing custom collections now.

                        1 Reply Last reply Reply Quote 0
                        • H
                          Hex
                          last edited by 29 Jul 2017, 00:19

                          PS has been merged :)

                          Sent from 20,000 leagues under the sea.

                          Powersaver Emulation station : https://github.com/hex007/EmulationStation
                          ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                          1 Reply Last reply Reply Quote 3
                          164 out of 164
                          • First post
                            164/164
                            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