MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    UNSOLVED optimize modules during days

    Troubleshooting
    3
    11
    711
    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.
    • C
      chassain 0 last edited by

      i have a raspberry pi4 since 2 days on replace raspberry pi3…i have a lot of modules with MMM-pages…videos, meteo,images,default modules,spotify…
      How can i optimize display without bug (slow display)? what’s the perfect size of memory split? (128 now) i’m using crontab -e to reduce default (pm2 stop and restart in half day)…thanks

      1 Reply Last reply Reply Quote 0
      • C
        chassain 0 last edited by sdetweil

        🙂

        module: "MMM-pages",
        			disabled: false,
                		config: {
                        		modules:
        				[[ "MMM-EmbedYoutube" , "MMM-EyeCandy" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "MMM-ImagesPhotos2" , "newsfeed" , "helloworld2" ],
        				[ "MMM-iFrameReload" , "MMM-EyeCandy" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ],
        				[ 'MMM-Lunartic' , "MMM-DarkSkyForecast" , "MMM-EARTH" , 'MMM-rfacts' ,  "MMM-NowPlayingOnSpotify" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ],
        				[ "MMM-EmbedYoutube" , "MMM-EyeCandy" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ],
        				[ "MMM-iFrameReload" , "MMM-EyeCandy" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ],
        				[ "clock" , "calendar", "calendar_monthly" , "MMM-cryptocurrency" , "MMM-EyeCandy" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ],
        				[ "MMM-EmbedYoutube" , "MMM-EyeCandy" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ],
        				[ "MMM-iFrameReload" , "MMM-EyeCandy" , "newsfeed" ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ],
        				[ 'MMM-SoccerLiveScore' , "MMM-Cocktails" , 'MMM-MovieListings' , "newsfeed" , 'MMM-SystemStats' ],
        				[ "helloworld" , "MMM-ImagesPhotos" , "newsfeed" ]],
                			rotationTime: 15000,
        				}
        
        S ? 2 Replies Last reply Reply Quote 0
        • S
          sdetweil @chassain 0 last edited by sdetweil

          @chassain-0 sorry, I do not understand what you are asking…

          also, can you use the markdown syntax, put a code block around your config post (mark the text and press the code icon in the editor

          Sam

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • C
            chassain 0 last edited by

            Sorry my english is bad…and school was so far 😁…for resume, you can see the differents modules used in my config.js…i have a magicmirror without mirror…the memory gpu is 128 M (with sudo raspi-config) but i have some slowly in a day…then, i use on a terminal “crontab -e” to restart mm at different moment…and it s ok !..but may be there is more parameters about raspberry pi 4 to work fine…

            1 Reply Last reply Reply Quote 0
            • C
              chassain 0 last edited by

              Cpu…not gpu

              S 1 Reply Last reply Reply Quote 0
              • S
                sdetweil @chassain 0 last edited by

                @chassain-0 hmm… 128meg memory? i don’t think so… pi 4 has 1 2 or 4 gig

                lets check for swap space enabled

                free -m
                

                might show something like

                              total        used        free      shared  buff/cache   available
                Mem:           1994         631          50         523        1313         785
                Swap:          2047         224        1823
                

                if no swap space, do , see here
                https://wpitchoune.net/tricks/raspberry_pi3_increase_swap_size.html

                Sam

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • C
                  chassain 0 last edited by

                  Sorry but i speak about option 7 “advanced options” / A3 " memory split" / how much memory should the gpu have : 128 choose /…is it correct to have no slowly with vidéos & photos modules ? I have raspberry pi 4 with 4G memory

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sdetweil @chassain 0 last edited by

                    @chassain-0

                    i don’t know when the GPU is used, but not very much if at all by MagicMirror
                    maybe video encoding/decoding…

                    Sam

                    Create a working config
                    How to add modules

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      chassain 0 @sdetweil last edited by

                      @sdetweil thanks

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

                        @chassain-0
                        Why do you use so many duplicated pages? I can’t understand what you want.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy