Read the statement by Michael Teeuw here.
MM loading all modules is taking 2-3 minutes.
-
@plainbroke always please use code block for formatting
don’t ‘see’ anything…
-
@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 -
@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)
-
@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 -
@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_OSso, you have an 8gig machine, but can only use 2gig (32bit OS)
-
@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 -
-
@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
-
@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 -
@sdetweil
Which one of the package.json files the one before MagicMirror folder or the one in the MagicMirror folder?