Read the statement by Michael Teeuw here.
MM loading all modules is taking 2-3 minutes.
-
@plainbroke you should not have a problem on pi 4 8gb.
if you run speed test does the network speed look proper?
can you do free -m
you should have no swapalso run top to look at CPU performance and active processes
-
@sdetweil
I do have a swp file.
Do I need to get rid of it and if so, how?
total used free shared buff/cache available
Mem: 7846 535 6374 230 936 6862
Swap: 99 0 99 -
@plainbroke said in MM loading all modules is taking 2-3 minutes.:
Mem: 7846 535 6374 230 936 6862
Swap: 99 0 99but not used… size 99meg, free 99meg…
so, its not a memory problem (6862 meg free)
-
@sdetweil
Do not know how to post the top part it keeps changing.
Only lets me copy part of it.PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 884 pi 20 0 494048 193120 87580 S 58.3 2.4 11:53.37 electron 875 pi 20 0 745824 472024 434912 S 35.1 5.9 3:47.87 electron 909 pi 20 0 345508 114484 78316 R 22.5 1.4 1:44.53 electron 879 pi 20 0 298500 63208 49584 S 21.5 0.8 4:18.07 electron 778 pi 20 0 731340 236804 108916 S 19.2 2.9 4:03.12 electron 1034 pi 20 0 194140 29260 20112 S 6.3 0.4 0:42.24 omxplayer.bin 590 root 20 0 124324 47660 32436 S 6.0 0.6 0:30.80 Xorg 436 root 20 0 0 0 0 I 5.3 0.0 0:12.04 kworker/u8:3-ext4-rsv-conversion 1393 root 20 0 0 0 0 I 4.6 0.0 0:06.66 kworker/u8:1-brcmf_wq/mmc1:0001:1 1033 pi 20 0 194036 28920 20056 S 4.3 0.4 0:37.70 omxplayer.bin 85 root 20 0 0 0 0 I 3.6 0.0 0:08.36 kworker/0:4-events 250 root -2 0 0 0 0 S 1.0 0.0 0:05.17 v3d_bin 251 root -2 0 0 0 0 S 1.0 0.0 0:04.87 v3d_render 80 root 1 -19 0 0 0 S 0.7 0.0 0:04.30 vchiq-slot/0 1345 pi 20 0 10444 3000 2572 R 0.7 0.0 0:11.28 top 7 root 20 0 0 0 0 I 0.3 0.0 0:19.99 kworker/u8:0-brcmf_wq/mmc1:0001:1 11 root 20 0 0 0 0 S 0.3 0.0 0:00.56 ksoftirqd/0 12 root 20 0 0 0 0 I 0.3 0.0 0:02.51 rcu_sched 89 root -51 0 0 0 0 S 0.3 0.0 0:02.53 irq/47-mmc0 94 root 20 0 0 0 0 S 0.3 0.0 0:01.11 jbd2/sda2-8 252 root -2 0 0 0 0 S 0.3 0.0 0:01.25 v3d_tfu 1363 root 20 0 0 0 0 I 0.3 0.0 0:12.62 kworker/u8:4-brcmf_wq/mmc1:0001:1 1377 root 20 0 0 0 0 I 0.3 0.0 0:00.70 kworker/3:1-events 1392 root 20 0 0 0 0 I 0.3 0.0 0:00.09 kworker/1:3-events 1408 root 20 0 0 0 0 I 0.3 0.0 0:00.41 kworker/0:2-events 1 root 20 0 33708 8296 6680 S 0.0 0.1 0:05.23 systemd 2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd 3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp 4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par_gp 6 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0:0H-events_highpri 8 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percpu_wq 9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_tasks_rude_ 10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_tasks_trace 13 root rt 0 0 0 0 S 0.0 0.0 0:00.01 migration/0 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0 15 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/1 16 root rt 0 0 0 0 S 0.0 0.0 0:00.02 migration/1 17 root 20 0 0 0 0 S 0.0 0.0 0:00.48 ksoftirqd/1 19 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/1:0H-kblockd 20 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/2 21 root rt 0 0 0 0 S 0.0 0.0 0:00.02 migration/2 22 root 20 0 0 0 0 S 0.0 0.0 0:00.35 ksoftirqd/2 24 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/2:0H-kblockd 25 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/3 26 root rt 0 0 0 0 S 0.0 0.0 0:00.01 migration/3
-
@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