RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Pi overheating and scripts not working

    Scheduled Pinned Locked Moved Help and Support
    overheatingshutdown scriptshutdown switchheatsink
    12 Posts 4 Posters 1.3k Views
    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.
    • MisterMintsM
      MisterMints
      last edited by MisterMints

      Pi Model or other hardware: 3b
      Power Supply used: 5v 2.5a official Raspberry Pi
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.4
      Built From: SD image from Pi site
      USB Devices connected: Keyboard
      Controller used: Replica SNES
      Error messages received: Thermometer in top right corner

      OK, long story short - I bought a Raspberry Pi 3B+, built the image from the RetroPie website, added roms, got everything set up etc then made a copy of the SD card using Win32 Disk Imager and then wrote that to another SD card. Stuck that 2nd SD card into a Raspberry Pi 3B (NOT 3B+) and now I am having several issues on the 3B (the 3B+ is running perfectly!):

      1. The Pi 3B is reaching 101c just in the menus, not running an emulator or doing anything taxing
      2. I have the RetroFlag MegaDrive case and the safe shutdown script installed but the system will not safe shutdown at all. I have made sure that the switch inside the case is set to ON to enable safe shutdown.

      When I've looked in the config.txt the arm_freq is set to 800, but I can't see any of the lines listed on this site that read anything close to what I should be changing to over/underclock the Pi (my theory was that having used the original SD card in a 3B+ I have inadvertently overclocked the 3B and that was why it was over heating)

      I cannot work out the safe shutdown at all. The case is connected via USB and the pins on the board (and in the correct way - I've checked they aren't back to front or anything)

      What can I do to cool this down? I am using the heatsinks that came with the Mega Drive case but I would rather not use a fan as it is noisy and not needed previously. Plus 101 degrees while on the menus seems excessive and I should fix that properly rather than with a fan shaped plaster.

      What else can I try to get the safe shutdown script working? I have tried reinstalling it but not effect.

      Thanks!

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @MisterMints
        last edited by

        @MisterMints The default config.txt does not have any overclock related settings enabled or set, so if you have one there, it's something you configured. On my 3B, the only related line is

        [...]
        #uncomment to overclock the arm. 700 MHz is the default.
        #arm_freq=800
        [..]
        

        but note that's commented out (the # at the beginning). If you see the same in your file, then the setting is actually not enabled.

        You can find the default values for these settings here.

        Second, I've seen some shutdown scripts run a tight loop polling the GPIOs for a signal, effectively using 100% from a CPU core and producing unnecessary load on the system.

        So my advice is to get a default config.txt from a PI 3 image and compare it to the one you have, eliminating any doubts, then disable any shutdown scripts. It wouldn't hurt to get the Pi out of the case just to check if without it the over temp warning appears.

        MisterMintsM 1 Reply Last reply Reply Quote 0
        • MisterMintsM
          MisterMints @mitu
          last edited by

          Cheers @mitu

          Couple of things then - where can I get a default config.txt file to compare?

          I'll need to head back into the file but I don't remember arm_freq being commented out

          With the shutdown scripts using 100% CPU, would you expect that straight away? I'm talking about starting the system from cold (about 30c) and trying to shut it down immediately and it not working.

          The reset button seems to work fine, but shutdown just turns it off.

          I've tried running it outside of the case and that's where it is hitting 100c. Inside the case its hitting 117c!

          The weird thing is that this case and Pi were working absolutely perfectly just last week. I broke the SD card by not removing it before trying to stick the Pi back in the case so have had to rebuild, and its only since sticking the SD image I made for the 3B+ on the new SD card have things gone wrong

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @MisterMints
            last edited by

            @MisterMints said in Pi overheating and scripts not working:

            Couple of things then - where can I get a default config.txt file to compare?

            You can get it from a downloaded image on the RetroPie site, but here is one from the stock image - https://pastebin.com/dWLbaCF9.

            110 Celsius sounds highly excessive, I think the PI should shutdown/downlock after 80 (?).

            MisterMintsM 1 Reply Last reply Reply Quote 0
            • MisterMintsM
              MisterMints @mitu
              last edited by MisterMints

              @mitu that's what I thought too, but pressing F4 to get into the terminal gives me a temp of 117 in the red text at the top of the screen

              0_1543443744976_20181128_214546-3024x1701.jpg

              M 1 Reply Last reply Reply Quote 0
              • M
                Mick2K @MisterMints
                last edited by

                @MisterMints I don't think your pi is really that hot and the 11 degrees on GPU seems also wrong.
                Can you enter these two commands in terminal and look what they say?

                vcgencmd measure_temp
                
                vcgencmd measure_clock arm
                
                MisterMintsM 1 Reply Last reply Reply Quote 0
                • MisterMintsM
                  MisterMints @Mick2K
                  last edited by

                  @Mick2K said in Pi overheating and scripts not working:

                  @MisterMints I don't think your pi is really that hot and the 11 degrees on GPU seems also wrong.
                  Can you enter these two commands in terminal and look what they say?

                  vcgencmd measure_temp
                  
                  vcgencmd measure_clock arm
                  

                  Hey @Mick2K here you go

                  0_1543478937989_20181129_080736-2016x1134.jpg

                  1 Reply Last reply Reply Quote 0
                  • ledowL
                    ledow
                    last edited by

                    @MisterMints said in Pi overheating and scripts not working:

                    vcgencmd measure_clock arm

                    There's something wrong with your Pi.

                    That's 300Mhz, but it says that the CPU and GPU are over 100 degrees C different (which means one would be hot enough to boil water, and one would feel cold) despite being only mm away from each other. Those numbers are all junk.

                    I would suggest that something's wrong with your Pi itself (physical hardware damage) or that you have a very corrupt installation.

                    Try it with your first SD card again and see what happens.

                    MisterMintsM 1 Reply Last reply Reply Quote 0
                    • MisterMintsM
                      MisterMints @ledow
                      last edited by

                      @ledow said in Pi overheating and scripts not working:

                      @MisterMints said in Pi overheating and scripts not working:

                      vcgencmd measure_clock arm

                      There's something wrong with your Pi.

                      That's 300Mhz, but it says that the CPU and GPU are over 100 degrees C different (which means one would be hot enough to boil water, and one would feel cold) despite being only mm away from each other. Those numbers are all junk.

                      I would suggest that something's wrong with your Pi itself (physical hardware damage) or that you have a very corrupt installation.

                      Try it with your first SD card again and see what happens.

                      Just stuck the original SD in, which works fine with my 3B+, and the temperature quickly rose to 85 C with the thermometer icon showing top right.

                      That mean a likely hardware fault? Is it worth starting from the beginning with a completely fresh install for the 3B, not using the image from the 3B+?

                      MisterMintsM 1 Reply Last reply Reply Quote 0
                      • MisterMintsM
                        MisterMints @MisterMints
                        last edited by

                        I have now taken the Pi out of the case, formatted the SD and burnt a fresh RetroPie image to it. When I have put that brand new SD card into the Pi and booted it up, outside of the case it is still hitting close to 90 degrees, and both of the chips are incredibly hot to the touch, even through the heatsinks.

                        I am guessing now that this is a hardware fault of some description with my Pi and it is pretty much goosed. Not easy to see what could be wrong with it - there are no components missing, no pins bent, nothing coming loose - but if a fresh install is also causing extreme heat then I don't know what else it could be?

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @MisterMints
                          last edited by

                          @MisterMints Most likely something hardware, try to return it and get another.

                          MisterMintsM 1 Reply Last reply Reply Quote 0
                          • MisterMintsM
                            MisterMints @mitu
                            last edited by MisterMints

                            @mitu said in Pi overheating and scripts not working:

                            @MisterMints Most likely something hardware, try to return it and get another.

                            Wish it was that simple! My Pi3 is over a year old and was a gift - I treated myself to a new 3B+ and was going to donate the broken one (obviously before it was broken!) to a retro gaming present for my little brother.

                            At least now he gets the same present but with a brand new 3B+ instead

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.