• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

optimize modules during days

Scheduled Pinned Locked Moved Unsolved Troubleshooting
11 Posts 3 Posters 1.8k Views 3 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.
  • C Offline
    chassain 0
    last edited by Oct 17, 2019, 7:34 PM

    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 Offline
      chassain 0
      last edited by sdetweil Oct 18, 2019, 10:51 AM Oct 17, 2019, 7:38 PM

      :)

      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 Oct 17, 2019, 8:41 PM Reply Quote 0
      • S Offline
        sdetweil @chassain 0
        last edited by sdetweil Oct 17, 2019, 8:42 PM Oct 17, 2019, 8:41 PM

        @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

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • C Offline
          chassain 0
          last edited by Oct 18, 2019, 5:56 AM

          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 Offline
            chassain 0
            last edited by Oct 18, 2019, 6:06 AM

            Cpu…not gpu

            S 1 Reply Last reply Oct 18, 2019, 11:08 AM Reply Quote 0
            • S Offline
              sdetweil @chassain 0
              last edited by Oct 18, 2019, 11:08 AM

              @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

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • C Offline
                chassain 0
                last edited by Oct 18, 2019, 11:46 AM

                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 Oct 18, 2019, 12:07 PM Reply Quote 0
                • S Offline
                  sdetweil @chassain 0
                  last edited by Oct 18, 2019, 12:07 PM

                  @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

                  How to add modules

                  learning how to use browser developers window for css changes

                  C 1 Reply Last reply Oct 18, 2019, 12:30 PM Reply Quote 0
                  • C Offline
                    chassain 0 @sdetweil
                    last edited by Oct 18, 2019, 12:30 PM

                    @sdetweil thanks

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @chassain 0
                      last edited by Oct 18, 2019, 1:15 PM

                      @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
                      1 / 2
                      • First post
                        3/11
                        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