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

MM loading all modules is taking 2-3 minutes.

Scheduled Pinned Locked Moved Solved Troubleshooting
19 Posts 2 Posters 2.9k Views 2 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.
  • S Offline
    sdetweil @plainbroke
    last edited by Jan 14, 2024, 11:19 PM

    @plainbroke always please use code block for formatting

    don’t ‘see’ anything…

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    P 1 Reply Last reply Jan 14, 2024, 11:21 PM Reply Quote 0
    • P Offline
      plainbroke @sdetweil
      last edited by Jan 14, 2024, 11:21 PM

      @sdetweil
      Ok this may be my problem : failed to open kms_swrast
      I have seen reference to this before but am either brain dead or my google search is failing me.
      0|mm | MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
      0|mm | failed to load driver: kms_swrast
      0|mm | MESA-LOADER: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
      0|mm | failed to load swrast driver
      0|mm | [875:0114/170050.541663:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
      0|mm | [875:0114/170113.661954:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
      0|mm | [875:0114/170115.296236:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
      0|mm | [778:0114/170757.084668:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.NetworkManager.GetDevices: object_path= /org/freedesktop/NetworkManager: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files

      Slow learner. But trying anyways.

      S 1 Reply Last reply Jan 14, 2024, 11:23 PM Reply Quote 0
      • S Offline
        sdetweil @plainbroke
        last edited by Jan 14, 2024, 11:23 PM

        @plainbroke said in MM loading all modules is taking 2-3 minutes.:

        I have seen reference to this before but am either brain dead or my google search is failing me.
        0|mm | MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
        0|mm | failed to load driver: kms_swrast
        0|mm | MESA-LOADER: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
        0|mm | failed to load swrast driver
        0|mm | [875:0114/170050.541663:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
        0|mm | [875:0114/170113.661954:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
        0|mm | [875:0114/170115.296236:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

        no… that is the GPU driver stuff… usually not enabled in /config.txt in 2.26 we disable using the gpu by default to turn off these messages (instead of leaving it on in 2.25 and prior)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        P 1 Reply Last reply Jan 14, 2024, 11:25 PM Reply Quote 0
        • P Offline
          plainbroke @sdetweil
          last edited by plainbroke Jan 14, 2024, 11:31 PM Jan 14, 2024, 11:25 PM

          @sdetweil
          I am still on 2.24 so I can use MMM-RTSPStream, also still on Jesse for the same reason.
          Should I run this to remove swap file?
          sudo swapoff -a -v
          sudo rm /swapfile

          Slow learner. But trying anyways.

          S P 2 Replies Last reply Jan 14, 2024, 11:30 PM Reply Quote 0
          • S Offline
            sdetweil @plainbroke
            last edited by Jan 14, 2024, 11:30 PM

            @plainbroke so, I would be carefull… newer code doesn’t run on jesse and gosh knows what you have now…

            4 OS releases back (2017), stretch , buster, bullseye, now bookworm
            https://en.wikipedia.org/wiki/Raspberry_Pi_OS

            so, you have an 8gig machine, but can only use 2gig (32bit OS)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • P Offline
              plainbroke @plainbroke
              last edited by plainbroke Jan 14, 2024, 11:34 PM Jan 14, 2024, 11:32 PM

              @sdetweil
              Sorry it is buster, it is the last one that allows the rstp modules I like so much…
              Linux MM 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux

              Slow learner. But trying anyways.

              S 1 Reply Last reply Jan 14, 2024, 11:35 PM Reply Quote 0
              • S Offline
                sdetweil @plainbroke
                last edited by Jan 14, 2024, 11:35 PM

                @plainbroke said in MM loading all modules is taking 2-3 minutes.:

                armv7

                32bit

                aaarch64 is 64 bit

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                P 1 Reply Last reply Jan 14, 2024, 11:39 PM Reply Quote 0
                • P Offline
                  plainbroke @sdetweil
                  last edited by Jan 14, 2024, 11:39 PM

                  @sdetweil
                  Can I load the 64bit version without reloading all my MagicMirror modules ect?
                  I tried this :

                  cd ~/MagicMirror
                  export external_browser=midori
                  export ELECTRON_DISABLE_GPU=1
                  DISPLAY=:0 npm start
                  
                  

                  Slow learner. But trying anyways.

                  S 1 Reply Last reply Jan 15, 2024, 12:35 AM Reply Quote 0
                  • S Offline
                    sdetweil @plainbroke
                    last edited by Jan 15, 2024, 12:35 AM

                    @plainbroke you have to use my start script to make Midori work, after you install it

                    change the package json {“start” line to {“start1”

                    then add a new start line

                    {"start":"./run-start.sh"},
                    

                    and download the run-start.sh from my script repo, and put it in the MagicMirror folder, mark it executable
                    chmod +x run-start.sh

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    P 1 Reply Last reply Jan 15, 2024, 11:23 PM Reply Quote 0
                    • P Offline
                      plainbroke @sdetweil
                      last edited by Jan 15, 2024, 11:23 PM

                      @sdetweil
                      Which one of the package.json files the one before MagicMirror folder or the one in the MagicMirror folder?

                      Slow learner. But trying anyways.

                      S 1 Reply Last reply Jan 15, 2024, 11:48 PM Reply Quote 0
                      • 1
                      • 2
                      • 2 / 2
                      2 / 2
                      • First post
                        12/19
                        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