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.

    RPi5 running hot

    Scheduled Pinned Locked Moved Hardware
    12 Posts 4 Posters 43 Views 4 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.
    • M Offline
      mvrlogins
      last edited by

      I have a new 1GB RPi5 running the latest version of MM, installed using @sdetweil 's scripts

      It is running very hot at 84C

      I don’t have any cooling hardware and it is not installed in a case, but airflow around is not restricted at all.

      The only additional program I have running is go2rtc to stream an RTSP camera feed to an iFrame, but that is on a seperate page (using MMM-pages) that is only called on demand

      I have ordered a cooler, but wanted to see if there was something amiss.

      pi@MMPi5:~ $ top -b -n 1 | head -20
      top - 12:40:10 up  5:33,  4 users,  load average: 8.30, 8.04, 7.71
      Tasks: 232 total,   3 running, 229 sleeping,   0 stopped,   0 zombie
      %Cpu(s): 77.8 us, 11.1 sy,  0.0 ni, 11.1 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st 
      MiB Mem :   2006.8 total,    160.7 free,   1137.2 used,    870.8 buff/cache     
      MiB Swap:   2006.0 total,   1966.0 free,     40.0 used.    869.5 avail Mem 
      
          PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
       450392 pi        20   0 1143840  56256  41376 R 100.0   2.7   0:00.33 MainThr+
         2582 pi        20   0   32.6g 160848 132096 S  72.7   7.8 234:05.79 electron
         2685 pi        20   0 1407.7g 169824 113552 R  45.5   8.3 103:34.34 electron
       449306 pi        20   0 1415.9g 185040 120112 S  45.5   9.0   0:23.18 electron
         3153 pi        20   0 1407.8g 162912 101904 S  27.3   7.9 102:32.93 electron
         1334 pi        20   0  527936 116960  85824 S  18.2   5.7  72:06.61 labwc
         1525 pi        20   0 1408.1g 269904 160912 S  18.2  13.1  16:37.33 electron
         2658 pi        20   0   32.3g  88832  71040 S  18.2   4.3   9:05.59 electron
         3253 pi        20   0   32.5g  67680  53712 S   9.1   3.3  17:05.44 electron
        40449 pi        20   0 1245936  38560     16 S   9.1   1.9  19:24.04 go2rtc
       450399 pi        20   0   10368   5152   2800 R   9.1   0.3   0:00.02 top
            1 root      20   0   25712  13968   9424 S   0.0   0.7   0:01.83 systemd
            2 root      20   0       0      0      0 S   0.0   0.0   0:00.04 kthreadd
      pi@MMPi5:~ $ 
      
      1 Reply Last reply Reply Quote 0
      • M Offline
        mvrlogins
        last edited by

        The list of running modules -

        The EmbendURL modules only display on demand on a seperate page

        pi@MMPi5:~ $ curl -s http://localhost:8080/api/module | python3 -c "import sys,json; [print(m['identifier'], '-', m['name']) for m in json.load(sys.stdin)['data']]"
        module_0_alert - alert
        module_1_MMM-Remote-Control - MMM-Remote-Control
        module_2_MMM-pages - MMM-pages
        module_3_MMM-EmbedURL - MMM-EmbedURL
        module_4_MMM-EmbedURL - MMM-EmbedURL
        module_5_calendar - calendar
        module_6_iFrame - iFrame
        module_7_clock - clock
        module_8_MMM-Worldclock - MMM-Worldclock
        module_9_MMM-OpenWeatherForecast - MMM-OpenWeatherForecast
        module_10_MMM-EmbedURL - MMM-EmbedURL
        module_11_iFrame - iFrame
        module_12_newsfeed - newsfeed
        module_13_newsfeed - newsfeed
        pi@MMPi5:~ $ 
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          S374n
          last edited by

          My Pi5 has a on chip fan and it was running 75 inside the box attached to the monitor in the back.
          I added external little fab on top of my enclosure to extract the hot air and it dropped the temp to 60.
          Moved it 1 inch away from the monitor back panel and the temp now is 55 all the time with screen on and 44 during the night when the screen off.

          1 Reply Last reply Reply Quote 0
          • V Offline
            videogame95
            last edited by

            You shouldn’t run any raspberry pi 5 without cooling fan on top it will break if run it without fan installed
            Buy fan

            1 Reply Last reply Reply Quote 0
            • M Offline
              mvrlogins
              last edited by

              I have ordered a fan/cooler

              But anyone have any insight into whethere the processes I listed are over running?

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @mvrlogins
                last edited by

                @mvrlogins if you stop MagicMirror what is the temp?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  mvrlogins @sdetweil
                  last edited by

                  @sdetweil said:

                  @mvrlogins if you stop MagicMirror what is the temp?

                  It drops to 50C in a few min

                  1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @mvrlogins
                    last edited by

                    @mvrlogins said:

                    The EmbendURL modules only display on demand on a seperate page

                    what do you mean by separate page?
                    MagicMirror does not have pages, it has logical groupings of content, some shown together, others hidden (this is MMM-pages, MMM-Carousel, MMM-ModulesGroupsRotation, MMM-ProfileSwitcher, etc)
                    so even if not shown, some content could still be generated (Embed/iFrame) , they don’t know they are hidden

                    if you run ps -ef you can see the commandline used to launch each process.

                    you say you have a 1 gig pi5, but mem reports as 2gig.

                    but you are over physical, and swapping. which takes cycles.

                    I would suggest, disabling module at a time
                    add

                    disabled:true, 
                    

                    after the module:name… line

                    and rerun to see what the effect is. what are the embed modules showing? active content, graphs, images??

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      mvrlogins @sdetweil
                      last edited by

                      @sdetweil said:

                      @mvrlogins said:

                      The EmbendURL modules only display on demand on a seperate page

                      what do you mean by separate page?
                      MagicMirror does not have pages, it has logical groupings of content, some shown together, others hidden (this is MMM-pages, MMM-Carousel, MMM-ModulesGroupsRotation, MMM-ProfileSwitcher, etc)
                      so even if not shown, some content could still be generated (Embed/iFrame) , they don’t know they are hidden

                      if you run ps -ef you can see the commandline used to launch each process.

                      you say you have a 1 gig pi5, but mem reports as 2gig.

                      but you are over physical, and swapping. which takes cycles.

                      I would suggest, disabling module at a time
                      add

                      disabled:true, 
                      

                      after the module:name… line

                      and rerun to see what the effect is. what are the embed modules showing? active content, graphs, images??

                      The EmbedURL module shows a WebRTC video. The page is hiddent and called on demand (not regular rotation).

                      I thought that the module would not continue to stream the video when hidden. I guess this is the problem, since it does continue

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mvrlogins
                        last edited by mvrlogins

                        Instead of using pages to hide the module, I guess I could use MMM-Remote-Control to enable/disable the EmbedURL module? That would stop the streaming?

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @mvrlogins
                          last edited by

                          @mvrlogins i think runtime enable/disable just changes its visibility. there are no apis to add/remove modules from the DOM.
                          the disable at startup skips adding it as a runtime module… which is completely different

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            mvrlogins @sdetweil
                            last edited by

                            @sdetweil

                            Thanks

                            I’ll have to find another way to stop the streaming while the page is hidden

                            1 Reply Last reply Reply Quote 0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            • 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