MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Scenes2

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    31 Posts 4 Posters 5.6k Views 4 Watching
    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.
    • M Offline
      MMRIZE @Babene1
      last edited by

      @Babene1
      To disable animation, you can set animation: null in defaultEnter definition or each scene role definition.

      /* example for default behaviour */
      defaultEnter: {
        animation: null,
        duration: 1000,
        gap: 0,
      },
      
      
      /* example for each scene definition */
      scenario: [
        {
          name: "scene1",
          enter: {
            role: "role1",
            animation: null,
            ...
      

      I’m suspecting Chrome’s memory leaks. These factors may cause memory leaks.

      • improper handling timer
      • CSS transition/Animation

      I’ll modify some code to confirm to clear out garbage timer. Wait a little.

      By the way, can you test the default clock module instead of MMM-iFrame Things? (To make things clearer)

      1 Reply Last reply Reply Quote 0
      • M Offline
        MMRIZE @Babene1
        last edited by

        @Babene1
        It’s been updated, but I’m not expecting much. Because timers are rarely used in my code(only two), I don’t think that was the cause of the problem. Anyway, I fixed it so that when the timer is used, it is turned off as soon as possible.

        1 Reply Last reply Reply Quote 0
        • R Offline
          ric
          last edited by

          I have switched to MMM-Carousel and experimented with it. It ran for a few days without any problems. Then I installed more modules and customised my configuration. And now the problem is occurring again. The last scene hangs at some point, so I was afraid it might be this one: MMM-BackgroundSlideshow. However, you are not using this, so it is unlikely to be due to this.

          My next steps:

          1. disable MMM-BackgroundSlideshow.
          2. completely reinstall everything and only install the modules I want to have at the end and then not change anything else. Let’s see if I will be successful.
          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MMRIZE @ric
            last edited by

            @ric
            Chrome(Chromium) is notorious for memory leaks. On Transition/Animation, this kind of error is often reported in some environments (+ some GPU driver issues). Sometimes, a newer version looks like it solves this issue, but the issue returns in subsequent versions again.
            If you have more memory, this symptom seems relieving, but not absolutely.

            R 1 Reply Last reply Reply Quote 0
            • B Offline
              Babene1 Project Sponsor
              last edited by

              Result of my test:

              • ListenpunktUsing “external_broqwser=firefox” no improvement, after about 1 hour no changes from the modul.

              • ListenpunktWith “animation: null”, no improvement, after about 1 hour no changes from the modul.

              • ListenpunktWith default clock and calendar, no problem (test run about 2,5 hours)

              Next test, with just an iframe module and the MMM-Simple Logo module. This module combination could be a solution for me

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MMRIZE @Babene1
                last edited by

                @Babene1
                Do you mean iFrame related module may have the issue?

                B 1 Reply Last reply Reply Quote 0
                • R Offline
                  ric @MMRIZE
                  last edited by

                  @MMRIZE
                  do i understand correctly that the Transition/Animation, could be to blame? So I would have to switch off the transitions for the two modules (MMM-BackgroundSlideshow und MMM-Carousel).
                  I’ll test it like this

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    MMRIZE @ric
                    last edited by

                    @ric
                    Yes, you should try adding one / removing one for all combinations. It would be a very tedious task and requires persistence.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      Babene1 Project Sponsor @MMRIZE
                      last edited by

                      @MMRIZE
                      Yes, I think the problem is due to the “MMM-iFrameReload” module. I’m now using the module “MMM-SmartWebDisplay” so far no problem :-)

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        MMRIZE @Babene1
                        last edited by

                        @Babene1
                        Congrat. Happy to hear that. (Mine is not guilty! :D)

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 4
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy