• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Pauses on disk based games.

Scheduled Pinned Locked Moved Help and Support
pausespcsx-rearmedturbo cdsega cd
29 Posts 5 Posters 7.1k 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.
  • D
    DD-Indeed
    last edited by 4 Sept 2017, 12:27

    Edit: Gotta correct that previous message. The issue is still there, but it's not as frequent as it used to be. Usually driving games are the ones that does it, as they require constant loading of the map as you progress. So maybe the issue lies within that aspect.

    E 1 Reply Last reply 4 Sept 2017, 19:07 Reply Quote 0
    • E
      edmaul69 @DD-Indeed
      last edited by 4 Sept 2017, 19:07

      @dd-indeed for psx in the retroarch core options, did you disable vibration? That might help the psx system.

      D 1 Reply Last reply 4 Sept 2017, 19:11 Reply Quote 0
      • D
        DD-Indeed @edmaul69
        last edited by 4 Sept 2017, 19:11

        @edmaul69

        Disabling Vibration helps with this kind of issue ?

        E 1 Reply Last reply 4 Sept 2017, 19:13 Reply Quote 0
        • E
          edmaul69 @DD-Indeed
          last edited by edmaul69 9 Apr 2017, 20:14 4 Sept 2017, 19:13

          @dd-indeed Lr-pcsx-rearmed has an issue that when the game is supposed to vibrate even if your controller doesnt have vibrate it causes the game to lag. So it is worth turning it off then test.

          D 1 Reply Last reply 4 Sept 2017, 20:30 Reply Quote 0
          • D
            DD-Indeed @edmaul69
            last edited by 4 Sept 2017, 20:30

            @edmaul69

            Is it enough, that it's disabled from the Retroarch menu and saved as global and game specific config config ? Because I've done that already ages ago, since I don't have rumble on these Dual Analog-controllers I have.

            E 1 Reply Last reply 4 Sept 2017, 21:12 Reply Quote 0
            • E
              edmaul69 @DD-Indeed
              last edited by 4 Sept 2017, 21:12

              @dd-indeed in the retroarch gui did you go into quick menu, options and turn it off there?

              D 1 Reply Last reply 4 Sept 2017, 21:29 Reply Quote 0
              • D
                DD-Indeed @edmaul69
                last edited by 4 Sept 2017, 21:29

                @edmaul69

                Yes I did, long time ago already.

                E 1 Reply Last reply 4 Sept 2017, 22:54 Reply Quote 0
                • E
                  edmaul69 @DD-Indeed
                  last edited by 4 Sept 2017, 22:54

                  @dd-indeed ok.

                  1 Reply Last reply Reply Quote 0
                  • P
                    Peridot
                    last edited by 5 Sept 2017, 03:09

                    I had this issue a few months ago and was able to fix it. You can clearly see the freeze in games like Silent Hill and Apocalypse where the levels are streamed in chuncks.

                    In my case, I was using a 1TB USB HDD so the fix that I found may not work for USB sticks. By default, USB HDDs spin down after a certain amount of seconds, so when you are running in Silent Hill and reach the point where it needs to stream the next segment of the level, the game freezes for half a second waiting for the hdd to "wake up" again.

                    The fix was to install a program called "hdparm". With this, I disabled the "sleep" function of the HDD completely, so it ran at 100% all the time. Never had an issue with any CD based game ever again. It was not a retroarch nor raspbian issue.

                    I don't know if USB sticks have a "sleep" mode, yours is probably not fast enough.

                    E 1 Reply Last reply 5 Sept 2017, 03:37 Reply Quote 0
                    • E
                      edmaul69 @Peridot
                      last edited by 5 Sept 2017, 03:37

                      @peridot not sure how i missed him saying it was a usb stick when i read the post. But yeah i think i would have to agree with you.

                      1 Reply Last reply Reply Quote 0
                      • L
                        lostless
                        last edited by 5 Sept 2017, 03:40

                        FWI all, just installed retropie x86 and got the same pauses. So i think its a retroarch issue. I haven't seen it recently on the pi.

                        1 Reply Last reply Reply Quote 0
                        • D
                          DD-Indeed
                          last edited by DD-Indeed 9 May 2017, 14:12 5 Sept 2017, 06:22

                          I think too, that the problem lies within the Retroarch system and I have a feeling, that it loads too much and too fast the data into RAM and when it needs to load again, the game freezes briefly, before it gets new data. This could be fixed with smoother constant data loading that prevents Retroarch from loading too much data into the RAM too fast, giving the way to HDD sleep. It can happen with all memory devices. Smaller older games don't have that issue, as they can be fully loaded into the RAM straight away.

                          1 Reply Last reply Reply Quote 0
                          • D
                            DD-Indeed
                            last edited by DD-Indeed 9 May 2017, 22:41 5 Sept 2017, 21:40

                            Again I today withnessed it, I had my PiStation lid open, suddenly the game freezed for couple seconds and then the USB stick started to flash, indicating that it's transferring data and then the game continued. So either Retroarch puts the memory device to sleepmode too quickly or then it loads the data in too big chunks and when runs out of the data, the game freezes.

                            M 1 Reply Last reply 6 Sept 2017, 04:43 Reply Quote 0
                            • M
                              mitu Global Moderator @DD-Indeed
                              last edited by mitu 9 Jun 2017, 05:44 6 Sept 2017, 04:43

                              @dd-indeed said in Pauses on disk based games.:

                              Again I today withnessed it, I had my PiStation lid open, suddenly the game freezed for couple seconds and then the USB stick started to flash, indicating that it's transferring data and then the game continued. So either Retroarch puts the memory device to sleepmode too quickly or then it loads the data in too big chunks and when runs out of the data, the game freezes.

                              The sleep mode might be triggered by the OS (Linux), not Retroarch, which doesn't know what storage is beneath your file system.
                              If you check the os logs - via dmesg - when the pauses occur, do any error/message show up ?

                              D 1 Reply Last reply 6 Sept 2017, 06:18 Reply Quote 0
                              • D
                                DD-Indeed @mitu
                                last edited by DD-Indeed 9 Jun 2017, 07:43 6 Sept 2017, 06:18

                                @mitu said in Pauses on disk based games.:

                                @dd-indeed said in Pauses on disk based games.:

                                Again I today withnessed it, I had my PiStation lid open, suddenly the game freezed for couple seconds and then the USB stick started to flash, indicating that it's transferring data and then the game continued. So either Retroarch puts the memory device to sleepmode too quickly or then it loads the data in too big chunks and when runs out of the data, the game freezes.

                                The sleep mode might be triggered by the OS (Linux), not Retroarch, which doesn't know what storage is beneath your file system.
                                If you check the os logs - via dmesg - when the pauses occur, do any error/message show up ?

                                So should I open that in command promp immediately after the game has had those brief freezes ?

                                1 Reply Last reply Reply Quote 0
                                • D
                                  DD-Indeed
                                  last edited by DD-Indeed 9 Jun 2017, 11:30 6 Sept 2017, 10:29

                                  I started the device, started a game till the brief freezing occured and immediately after that exited and went into the command promp to apply that command you told. I didn't see any particular issues in it, except for two lines stating this:

                                  0_1504693735888_IMG_20170906_132602.jpg

                                  And that is about the USB stick where I have the games. Is that something about the system not having catche enabled or something ?

                                  M 1 Reply Last reply 6 Sept 2017, 12:12 Reply Quote 0
                                  • M
                                    mitu Global Moderator @DD-Indeed
                                    last edited by 6 Sept 2017, 12:12

                                    @dd-indeed said in Pauses on disk based games.:

                                    And that is about the USB stick where I have the games. Is that something about the system not having catche enabled or something ?

                                    That message is from the system boot, when the stick is initialized first, doesn't seem to be something wrong with it.

                                    You could try to play with the sdparm (or hdparm) command and disable the idle/power saving , but I doubt this works for the stick. The more I think it could be the USB port that's put into some sort of power saving (?), but I don't know offhand how we could check that.

                                    D 1 Reply Last reply 6 Sept 2017, 12:31 Reply Quote 0
                                    • D
                                      DD-Indeed @mitu
                                      last edited by 6 Sept 2017, 12:31

                                      @mitu

                                      I'll check that, thanks. Further investigation is definitely needed in this issue, since it happens in all games.

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        DD-Indeed
                                        last edited by DD-Indeed 9 Sept 2017, 19:07 9 Sept 2017, 12:19

                                        Update:

                                        I found these instructions and tested them:

                                        link text

                                        What I did for USB memory stick was to input these settings to be used (settings for regular HDD might be different):

                                        • sudo hdparm -B 255 /dev/sda
                                        • sudo hdparm -S 0 /dev/sda

                                        I first tested them for 30 mins in Driver 2 and then for about 20 mins in Gran Turismo 2 and then again with Driver 2 for 5 minutes. With the Driver 2, I didn't encounter a single freeze in 30 mins. Then I went for the GT2. There I withnessed 3-4 freezes overall. Then I went back to the Driver 2, because I started to think, that maybe heat or something triggers the freezing issue. But on the second tryout with Driver 2, no freezes at all.

                                        So now I'm wondering, that could it be about the emulator software or does the game have differences in data loading methods. Needs to be further investigated and someone else could try with that guide I linked.

                                        Update: I now discovered, that there is audio cuts during the GT2 Arcade Disc's demo, that starts rolling after a while when sitting on the main menu. Maybe the issue could be related to that as well, sync problems you know.

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          DD-Indeed
                                          last edited by DD-Indeed 9 Sept 2017, 22:33 9 Sept 2017, 18:15

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          19 out of 29
                                          • First post
                                            19/29
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received