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 Freezes with Raspberry Pi 3 But Not Raspberry Pi 4

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    10 Posts 3 Posters 371 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.
    • R Offline
      raspberrypi9
      last edited by

      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.

      S karsten13K 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @raspberrypi9
        last edited by

        @raspberrypi9 go back to x11 on the pi4, use the
        raspi-config app. then you can use xrandr

        maybe making the swap file bigger on the pi3

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          raspberrypi9 @sdetweil
          last edited by

          @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!

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @raspberrypi9
            last edited by

            @raspberrypi9 I do not… my pi’s run all day every day
            3/4/5/odroid

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              raspberrypi9
              last edited by

              /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

              1 Reply Last reply Reply Quote 0
              • R Offline
                raspberrypi9
                last edited by

                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.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @raspberrypi9
                  last edited by sdetweil

                  @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

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    raspberrypi9 @sdetweil
                    last edited by

                    @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?

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @raspberrypi9
                      last edited by

                      @raspberrypi9 i don’t know. i have pi3 w and wo fan

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • karsten13K Offline
                        karsten13 @raspberrypi9
                        last edited by

                        @raspberrypi9

                        this can be caused by a specific module so you can try disabling one by one …

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          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