MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

optimize modules during days



  • 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



  • 🙂

    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,
    				}
    


  • @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



  • 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…



  • Cpu…not gpu



  • @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



  • 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



  • @chassain-0

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



  • @sdetweil thanks


  • Module Developer

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


Log in to reply