Read the statement by Michael Teeuw here.
MM Freezes with Raspberry Pi 3 But Not Raspberry Pi 4
-
MM runs okay with my Raspberry Pi 4, but when I run it on a Pi 3, it freezes pretty often. I need to run it on a Pi 3 because I wish to control the screen brightness programmatically (which I can do with xrandr --output HDMI-1 --brightness 0), but I can’t get that command to work on the Pi 4.
If you would please let me know how I can get MM to run reliably on the Pi 3, I would really appreciate it.
Thanks so much for your help.
-
@raspberrypi9 go back to x11 on the pi4, use the
raspi-config app. then you can use xrandrmaybe making the swap file bigger on the pi3
-
@sdetweil Thanks so much for your help. xrandr won’t control the brightness on the Pi 4 even with switching to the X11 backend. I tried your suggestion of increasing the swap file (I increased it to 2048M) and then my system ran from about 11:30 pm to 6:20 am and then froze. When it froze, the entire Pi OS froze–not just the MM app. Do you have any other suggestions about what might be causing the Pi to freeze while running MM?
Tbanks so much for your help!
-
@raspberrypi9 I do not… my pi’s run all day every day
3/4/5/odroid -
/varl/log/messages:
Dec 20 01:02:58 mirror kernel: [ 6510.507323] schedule from __mmc_claim_host+0x
c0/0x208
Dec 20 01:03:00 mirror kernel: [ 6510.507360] __mmc_claim_host from mmc_sd_dete
ct+0x1c/0x74
Dec 20 01:03:02 mirror kernel: [ 6510.507402] mmc_sd_detect from mmc_rescan+0xa
4/0x2e0
Dec 20 01:03:03 mirror kernel: [ 6510.507431] mmc_rescan from process_one_work+
0x244/0x508
Dec 20 01:03:05 mirror kernel: [ 6510.507465] process_one_work from worker_thre
ad+0x48/0x558
Dec 20 01:03:07 mirror kernel: [ 6510.507498] worker_thread from kthread+0xe4/0x100
Dec 20 01:03:09 mirror kernel: [ 6510.507532] kthread from ret_from_fork+0x14/0x34
Dec 20 01:03:12 mirror kernel: [ 6510.507558] Exception stack(0xbbe1dfb0 to 0xbbe1dff8)
Dec 20 01:03:13 mirror kernel: [ 6510.507574] dfa0: 00000000 00000000 00000000 00000000
Dec 20 01:03:14 mirror kernel: [ 6510.507592] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Dec 20 01:03:14 mirror kernel: [ 6510.507607] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000/var/log/syslog:
Dec 20 00:46:30 mirror kernel: [ 5527.545960] Exception stack(0xbc405fb0 to 0xbc405ff8)
Dec 20 00:46:30 mirror kernel: [ 5527.545977] 5fa0: 00000000 00000000 00000000 00000000
Dec 20 00:46:30 mirror kernel: [ 5527.545995] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Dec 20 00:46:30 mirror kernel: [ 5527.546011] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
Dec 20 01:02:52 mirror kernel: [ 6510.507132] INFO: task kworker/0:0:3629 blocked for more than 122 seconds.
Dec 20 01:02:53 mirror kernel: [ 6510.507190] Tainted: G C 6.1.21-v7+ #1642
Dec 20 01:02:54 mirror kernel: [ 6510.507203] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
Dec 20 01:02:55 mirror kernel: [ 6510.507212] task:kworker/0:0 state:D stack:0 pid:3629 ppid:2 flags:0x00000000
Dec 20 01:02:56 mirror kernel: [ 6510.507247] Workqueue: events_freezable mmc_rescan
Dec 20 01:02:57 mirror kernel: [ 6510.507288] __schedule from schedule+0x58/0xf0
Dec 20 01:02:58 mirror kernel: [ 6510.507323] schedule from __mmc_claim_host+0xc0/0x208
Dec 20 01:03:00 mirror kernel: [ 6510.507360] __mmc_claim_host from mmc_sd_detect+0x1c/0x74
Dec 20 01:03:02 mirror kernel: [ 6510.507402] mmc_sd_detect from mmc_rescan+0xa4/0x2e0
Dec 20 01:03:03 mirror kernel: [ 6510.507431] mmc_rescan from process_one_work+0x244/0x508
Dec 20 01:03:05 mirror kernel: [ 6510.507465] process_one_work from worker_thread+0x48/0x558
Dec 20 01:03:07 mirror kernel: [ 6510.507498] worker_thread from kthread+0xe4/0x100
Dec 20 01:03:09 mirror kernel: [ 6510.507532] kthread from ret_from_fork+0x14/0x34
Dec 20 01:03:12 mirror kernel: [ 6510.507558] Exception stack(0xbbe1dfb0 to 0xbbe1dff8)
Dec 20 01:03:13 mirror kernel: [ 6510.507574] dfa0: 00000000 00000000 00000000 00000000
Dec 20 01:03:14 mirror kernel: [ 6510.507592] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Dec 20 01:03:14 mirror kernel: [ 6510.507607] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 -
I have other projects running on other Pis and they have been running with 2 years uptime. I think it is something about the Magic Mirror application and maybe the Raspberry Pi 3B. I would switch to a Pi 4, but like I said, I can’t control the brightness with the Pi 4.
-
@raspberrypi9 MagicMirror is just a browser w javascript
unless there are gpio modules
does this pi3 have a fan?
do you get the same on the 32 bit os?
the stack errors sound like hardware problem
-
@sdetweil I am using a gpio module and a PIR motion sensor. I don’t have a fan. I am running bullseye 32-bit os. Should I try changing any of those things?
-
@raspberrypi9 i don’t know. i have pi3 w and wo fan
-
this can be caused by a specific module so you can try disabling one by one …