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

    N64 crashes after 10 min

    Scheduled Pinned Locked Moved Help and Support
    crashn64
    187 Posts 18 Posters 54.2k 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.
    • RiverstormR
      Riverstorm @dankcushions
      last edited by Riverstorm

      @dankcushions said in N64 crashes after 10 min:

      irrelevant unless that was n64. each emulator taxes the hardware in different ways.

      Agreed, did you get it to run at 1750MHz? I had an issue that went undetected for months. It only crashed in one scenario when installing packages. Buzz pointed out it might be worth looking at my overclock. When I did some "real" stress testing it was revealed my overclock settings were unstable.

      Here's a great Overclock testing link. It takes time to get through all the tests but you can almost guarantee it's stable.

      I think also I read somewhere where they had the Pi 3 SDRAM overclock settings in the raspi-config at 500MHz for Turbo but found occasional corruption on SD cards so they bumped it to 600MHz. I am guessing it was some correlation with the other settings.

      At work when we have issues with firewalls we strip everything down to basically an all/all--any scenario in both directions with no AV, IPS, IDS, proxies, web filtering, SSL inspection, etc. all off. I think Dank is correct to strip it down. Your overclocks seems exceptional and potentially unstable. If it was a global problem more people would probably be reporting the issue.

      It has only occurred using glide.

      What game? I have a Pi setup I could run a test to see what happens here using Glide.

      quicksilverQ 1 Reply Last reply Reply Quote 0
      • quicksilverQ
        quicksilver @Riverstorm
        last edited by

        @riverstorm I personally have had it happen on diddy kong racing, battle tanx, road rash 64 and some others. Doesnt happen at a specific spot but seems to occur after about 10-20 mins of continuous gameplay. Basically what happens is the screen gets shaky and all the graphics get all jumbled up. I will try and post a pic next time it happens. I thought at one point I had the issue solved when I removed my pi from my nespi case but now the glitch still happens occasionally (though not as bad as before). Like I told DankCushions I will try a fresh stock image and test to see if I can get it to occur. Hopefully that will narrow down whats causing this.

        1 Reply Last reply Reply Quote 0
        • B
          Bobberella
          last edited by

          "irrelevant unless that was n64. each emulator taxes the hardware in different ways."

          @dankcushions It is N64... and I understand it may not be "stable" but if it doesnt crash then I wont worry.

          "What game? I have a Pi setup I could run a test to see what happens here using Glide."

          @Riverstorm Mario Party 2 & 3 so far are the issue.

          =============
          "SD cards so they bumped it to 600MHz"

          Does anyone know why the over voltages on the SDRAM are always suggested to be setting to over_voltage_sdram - voltage of all SDRAM parts (c, i, and p) as (p=6,i= 4,c=4) and not ( (p=6,i= 6,c=6)? The literature says to set them all equally.

          quicksilverQ RiverstormR 2 Replies Last reply Reply Quote 0
          • quicksilverQ
            quicksilver @Bobberella
            last edited by

            @bobberella stability is more than just crashes. Artifacting, and other signs of improper or undesired behavior are other signs of unstable overclocking. Playing around with an unstable overclock because it's "good enough" is asking for trouble. It can lead to SD card corruption and loss of data. Also for our purposes we need to find out what the root issue is and an overclocked pi adds way too many variables. If you are getting straight up freezes while playing games then I can bet 100% that your overclock is not stable. We don't want to confuse the issue here so it would be best to discuss results based on Pi's running at stock speeds.

            RiverstormR 1 Reply Last reply Reply Quote 2
            • RiverstormR
              Riverstorm @Bobberella
              last edited by

              @bobberella said in N64 crashes after 10 min:

              Does anyone know why the over voltages on the SDRAM are always suggested to be setting to over_voltage_sdram

              Using over_voltage_sdram sets the SDRAM Controller, SDRAM I/O and SDRAM PHY (RAM Chip) all to the same value from 0.8 to 1.4v in 0.025 increments. The values are -16 to 8. The default 0 at 1.2v. I know bumping them [up] help in stability in overclocking RAM as well as sdram_schmoo when bumping the sdram frequency fairly high. Why they recommend setting the physical RAM chip at a higher voltage I don't know. I know the engineers on the Raspberry Pi forum would probably be able to split the hairs there. I used to use the separate values but now I just use over_voltage_sdram set to 2 for 1.25v with sdram_freq set to 600. I have overclocked the SD card as well and it seems to run stable.

              I will test out a few of the game mentioned and see what happens.

              1 Reply Last reply Reply Quote 0
              • RiverstormR
                Riverstorm @quicksilver
                last edited by

                @quicksilver said in N64 crashes after 10 min:

                Artifacting, and other signs of improper or undesired behavior are other signs of unstable overclocking.

                I pushed the gpu_freq right up to seeing artifacts in ES and then backed down. It was running but not sure how stable. A stable overclock is really about time and tedium. Tweak, retest, tweak, retest, tweak, retest, tweak, retest...well a stable one at least! :)

                quicksilverQ 1 Reply Last reply Reply Quote 0
                • quicksilverQ
                  quicksilver @Riverstorm
                  last edited by quicksilver

                  @riverstorm I have found that quake 3 is a good resource for testing overclocks. I run all the automated tests that are recommended first like memtester and stress and if I get a passing grade then I test with quake 3 . Often times clock speeds that pass the automated tests fail miserably when put to a real world test like quake 3. Quake 3 works the GPU/CPU and RAM pretty hard. I found it to be more stressful than the individual tests and in most cases if your overclock is unstable the game will crash within a few minutes. However to verify my overclocks stability I will usually let the game run in first person spectator mode for 4-5 hrs at least. I have had quake 3 freeze after 1-2 hours if the overclock is unstable. So thorough testing is definitely needed when overclocking. I doubt most people test thoroughly enough and are running around with unstable overclocks.

                  RiverstormR 1 Reply Last reply Reply Quote 0
                  • RiverstormR
                    Riverstorm @quicksilver
                    last edited by

                    @quicksilver said in N64 crashes after 10 min:

                    I have found that quake 3 is a good resource for testing overclocks.

                    I have just base Quake III but not the expansions. Does that work for testing? Are the Docs sufficient to install it libretro-tyrquake? I do the same and let it run several hours too. This past weekend I hooked it to the TV and let it go all afternoon while I did some other work. The heat seems to creep up real slow right before it peaks so I let it run a good long time. I always try to share ambient when talking overclocking temps as it doesn't make much sense if you don't have a baseline to work from. Big difference if it's 15 or 25C in the room.

                    quicksilverQ 1 Reply Last reply Reply Quote 0
                    • quicksilverQ
                      quicksilver @Riverstorm
                      last edited by

                      @riverstorm the freeware version of quake 3 should work fine. I believe it's listed as quake3 under optional packages. Easiest way to test is to load a skirmish, load a bunch of bots (8 seems a good number). Set kill count and time limit to 0. Once you get into the game press ~ key to open the console. Type /team spectator

                      Then press enter. Press ~ again to close the console. You are now spectating. Press the fire button and it will place you in a first person view of one of the bots. Now the game will run until you stop it or it crashes. Make sure you have good cooling because it will (as you noted) get your pi very warm. I am using a kintaro 9k case that has an awesome heatsink. For me the temp will climb to 69C and hover there indefinitely. Before i had that case I had a small heatsink and my pi would overheat within about 15 mins of quake 3.

                      1 Reply Last reply Reply Quote 0
                      • RiverstormR
                        Riverstorm
                        last edited by

                        @quicksilver - Whew, I locked up within minutes running Quake III. I'll have to take another look at my settings as they are pretty modest. I didn't even break an arm_freq of 1300 but I suspect the GPU and RAM are more taxed with Q3.

                        quicksilverQ 1 Reply Last reply Reply Quote 0
                        • quicksilverQ
                          quicksilver @Riverstorm
                          last edited by

                          @riverstorm I am going to start a separate thread on overclocking as we are veering off topic somewhat.

                          1 Reply Last reply Reply Quote 0
                          • quicksilverQ
                            quicksilver @dankcushions
                            last edited by

                            @dankcushions just setup a stock image on my spare SD card. Nothing on it except two N64 games. Within 10-20 minutes of playing battle tanx the graphics glitched out and the game froze. This is using mupen64-glide. Something is going on here.

                            quicksilverQ 1 Reply Last reply Reply Quote 0
                            • quicksilverQ
                              quicksilver @quicksilver
                              last edited by quicksilver

                              Just happened again while playing Diddy Kong racing. I managed to get a picture this time. Again, stock retropie image. Happened about 10-20 mins into play time.

                              https://imgur.com/a/lgqGz

                              I will update Mupen64 from source and test again.

                              Edit: just updated from source. Same issue.

                              1 Reply Last reply Reply Quote 0
                              • B
                                Bobberella
                                last edited by

                                I can manage to get through the 10 minute glitch fairly easily with a lower SDRAM frequency than a higher one.

                                If you set SDRAM_freq to 550 and not something insanely high the Rpi 3 can sort itself out pretty well. If you set it to 600 or above then screen will get worse and worse and will it freezes.

                                I am currently matching my GPU and SDRAM overclock and it seems to help get thought the 15 minute glitch...

                                Here is a reddit post I found that seems to be the same issue.

                                https://www.google.ca/amp/s/amp.reddit.com/r/RetroPie/comments/7kvgq9/n64_games_graphical_errorsfreezing_my_pi_3_after/

                                quicksilverQ 1 Reply Last reply Reply Quote 0
                                • quicksilverQ
                                  quicksilver @Bobberella
                                  last edited by

                                  @bobberella overclock isn't the root issue here. Read my earlier posting, I tried a stock image and the emulator is still glitching out and freezing. I'm wondering if it is somehow related to the framebuffer issue that the fps counter was supposed to solve.

                                  EndersEnigmaE 1 Reply Last reply Reply Quote 0
                                  • EndersEnigmaE
                                    EndersEnigma @quicksilver
                                    last edited by EndersEnigma

                                    @quicksilver @dankcushions

                                    I did a fresh load from a brand new SD card with no overclock settings and updated from source, I am still getting the same 10-20 min crash time. I have even downloaded ROMs from different locations just inc case my ROM was corrupt, this does not seem to be the case. I have the EXACT same issues with varying levels of overclock (which I am not using any more as I continue to test issues per admin instruction).

                                    It seems to be software related, but I am not sure what information the developers need to further look into this issue.

                                    At this time I am using GLES when possible as it performs great (once you tweak the audio setting to allow save states). If the game does not run on GLES, RICE, or LR-, then I just cant play it because every game I have tested on GLIDE crashes at the 10-20 min mark. I use the spreadsheet on the n64 emulation page as a starting point to guide which emulator I run, but I have found that list is not up to date and its better to just experiment on my own. This is very frustrating as playing the same game up to 4 different times for 20 min to test for the "GLIDE glitch" as i have come to call it is painstakingly tedious.

                                    SUMMARY:
                                    I have found out that GLIDE crashes between 12-15 min on almost every game I have tried (about 12 games total). The problem happens only once at that time interval (does NOT repeat every 12-15 min after the first one). If i let the game sit at an idle point such as a load screen, save screen, or face my character into a wall or something, the game will blur and stutter for about 30-45 seconds then recovers and runs great, If I move at all or force the game to process movement of almost any kind it crashes. This is impossible on games like Aerofighters Assault where you are in constant motion, these types of games crash every time as a result. The indicator if the game has crashed or not is tied to audio output. So long as sound is playing normally when the problem starts, it is in the "blur" phase and recovers within 30-45 seconds every time. If you try to move or jump or cycle through a menu during the "blur", the sound will cut out completely or hang on a note and sustain until you hard reset.

                                    I hope this helps, I am happy to provide any additional information if it assists in solving this issue.

                                    If you hold your Pi out the window while driving 40+ mph, the performance is improved significantly.

                                    True story.

                                    quicksilverQ 1 Reply Last reply Reply Quote 0
                                    • quicksilverQ
                                      quicksilver @EndersEnigma
                                      last edited by

                                      @endersenigma I see you have spent as much time trying to figure this out as I have. I've noticed all the strange nuances with this glitch as well. I suspect this is an issue with mupen64-glide on the pi itself. If this issue was universal to all devices I'm sure the mupen64 devs would already know about it. At this point I just need to figure out who to report it to.

                                      EndersEnigmaE B 2 Replies Last reply Reply Quote 0
                                      • EndersEnigmaE
                                        EndersEnigma @quicksilver
                                        last edited by

                                        @quicksilver
                                        I did a search looking for the contact information of the GLIDE devs, no luck. Maybe one of the admins/mods can point us in the right direction.

                                        If you hold your Pi out the window while driving 40+ mph, the performance is improved significantly.

                                        True story.

                                        quicksilverQ 1 Reply Last reply Reply Quote 0
                                        • B
                                          Bobberella @quicksilver
                                          last edited by

                                          @quicksilver

                                          I have known that overclocking isnt the root of the issue for a long time now... What im more interested in is setting up my retropies so that they will overcome the glitch and not freeze up given the chance.

                                          I have run about 50 tests. You can start the game, set the timer for 14 minutes and let the game run without hitting pause and then see how your new settings react to the glitch.

                                          I cant fix the glitch. I have no idea who can but I dont care either. All I want is to play so N64 in peace.

                                          If you know of any other componants I can tweek that will allow the Rpi 3 to recover better from a glitch like this I would be interested in hearing it. :)

                                          I am glad you guys are gonna try and get it fixed and thats awesome because this glitch has been around for at least a year now.

                                          1 Reply Last reply Reply Quote 0
                                          • quicksilverQ
                                            quicksilver @EndersEnigma
                                            last edited by

                                            @endersenigma https://github.com/mupen64plus/mupen64plus-core

                                            This is most likely the place to report an issue. I too would like a mod/admins opinion though.

                                            B dankcushionsD 2 Replies 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.