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

    Choppy soundwith all emulators

    Scheduled Pinned Locked Moved Help and Support
    sound delaysound lagsound issue
    29 Posts 5 Posters 9.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.
    • mituM
      mitu Global Moderator
      last edited by

      Are you running EmulationStation from the desktop ?
      Having PulseAudio running may cause the sound to be choppy, so you shouldn't try to enable it. It may be running, but not detected by the audiosettings script.

      R 1 Reply Last reply Reply Quote 0
      • R
        rasp_renegade @mitu
        last edited by

        @mitu

        Correct. Desktop runs at startup, then i launch emulationstation from the CLI. This is how it was running before the update messed up the audio

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

          @rasp_renegade This is not a supported configuration. Please run EmulationStation from the console, without the desktop, and see if you still get the same issues.

          R 1 Reply Last reply Reply Quote 0
          • R
            rasp_renegade @mitu
            last edited by rasp_renegade

            @mitu

            Very cool. I changed startup option from Desktop to the console. The sound is back to normal, but now the game speed/ audio is twice as fast. What happened there?

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

              @rasp_renegade are you sure it's not a US/EU ROM version issue (60hz vs 50hz) ? Did you change anything recently in the emulator settings ? What emulator/system are you checking with ?

              R 1 Reply Last reply Reply Quote 0
              • R
                rasp_renegade @mitu
                last edited by

                @mitu

                I have atari2600, all MAME, C64, NES, SNES, Sega32x, N64. ROMS all US. Keep in mind that all emulators and ROMs were fine before the update, except for N64.
                The nice thing is now N64 runs perfectly where before it was choppy video and audio.

                I made no changes to video output at all, just played with audio but set all back as I was testing.

                With booting to the console I get:
                60 FPS, 16ms

                Just for kicks, I switched back to boot from desktop to get:
                7 FPS ,143 ms

                What is the expected FPS?

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

                  @rasp_renegade said in Choppy soundwith all emulators:

                  I have atari2600, all MAME, C64, NES, SNES, Sega32x, N64. ROMS all US. Keep in mind that all emulators and ROMs were fine before the update, except for N64.

                  Could it be that all emulators beside N64 are Libretro/RetroArch emulators ? This might indicate an issue with your RetroArch configuration.

                  What is the expected FPS?

                  If you resolution is running at 60hz, 60 would be the expected FPS for an emulator running at full speed.

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    rasp_renegade @mitu
                    last edited by

                    @mitu said in Choppy soundwith all emulators:

                    Could it be that all emulators beside N64 are Libretro/RetroArch emulators ? This might indicate an issue with your RetroArch configuration.

                    How can I tell? Just to check I went into the RetroArch config menu and selected reset to defaults

                    If you resolution is running at 60hz, 60 would be the expected FPS for an emulator running at full speed.

                    Where can I see the setting in hz. I only see screen size

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

                      Could it be that all emulators beside N64 are Libretro/RetroArch emulators ? This might indicate an issue with your RetroArch configuration.

                      How can I tell?

                      You can telll which emulator is running in the runcommand launch screen - if the emulator name is starting with lr-, then it's a libretro/RetroArch emulator, otherwise is a standalone emulator.

                      Just to check I went into the RetroArch config menu and selected reset to defaults

                      That's not advisable, especially if you enabled 'Save Configuration on Exit' in RetroArch. RetroArch's defaults are not always suitable for a Pi4, the RetroPie installation script will set the correct defaults.

                      If you resolution is running at 60hz, 60 would be the expected FPS for an emulator running at full speed.

                      Where can I see the setting in hz. I only see screen size

                      If you open up the runcommand launch menu, you'll see the current resolution

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        rasp_renegade @mitu
                        last edited by rasp_renegade

                        @mitu

                        There is such a thing as a stupid question, and I just tossed two at you. LOL

                        I see the problem here. I am running liberto and have 0hz!!! What can I do the fix that?
                        N64 is also using Liberto but it does indeed show a setting for 60hz n/a (148 Mhz , phsync, phsync, unpreferred , userfef, driver)

                        How can I revert the RetroArch default reset?

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

                          @rasp_renegade said in Choppy soundwith all emulators:

                          I see the problem here. I am running liberto and have 0hz!!! What can I do the fix that?

                          Not sure I fully understand - but if you are talking about the video mode selection, you just press the select video mode menu and remove any selected video mode.

                          How can I revert the RetroArch default reset?

                          RetroArch has a few configuration files - see here. Each one of those configuration files should have a default file named retroarch.cfg.rp-default which you can use to copy over any non-default retroarch.cfg. You can probably look into each system's config folder and reset one of them, then test to see if it works.

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            rasp_renegade @mitu
                            last edited by

                            @mitu

                            Not sure I fully understand - but if you are talking about the video mode selection, you just press the select video mode menu and remove any selected video mode.

                            rom hz selecor.png

                            RetroArch has a few configuration files - see here. Each one of those configuration files should have a default file named retroarch.cfg.rp-default which you can use to copy over any non-default retroarch.cfg. You can probably look into each system's config folder and reset one of them, then test to see if it works.

                            I see no files named "retroarch.cfg.rp-default" in any of the system folders, or even in the "all" folder

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

                              @rasp_renegade I see you're still running from the desktop env - as I said, this is not supported.

                              I see no files named "retroarch.cfg.rp-default" in any of the system folders, or even in the "all" folder

                              Should be retroarch.cfg.rp-dist.

                              R 1 Reply Last reply Reply Quote 0
                              • R
                                rasp_renegade @mitu
                                last edited by

                                @mitu said in Choppy soundwith all emulators:

                                retroarch.cfg.rp-dist.

                                I dont see this one either anywhere. ??

                                Sorry I attached the wrong screenshot. I have been bouncing back and forth to try to find any indication of what is going on. Have a look at these

                                20210922_202506.jpg 20210922_202411.jpg

                                Notice one is not showing a video mode at all.

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

                                  @rasp_renegade said in Choppy soundwith all emulators:

                                  I dont see this one either anywhere. ??

                                  Should be one at least in /opt/retropie/configs/all/.

                                  Sorry I attached the wrong screenshot. I have been bouncing back and forth to try to find any indication of what is going on. Have a look at these

                                  the latter screenshot looks fine, the former shows a broken video mode selection. Rename the /opt/retropie/configs/all/videomodes.cfg file and try again.

                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    rasp_renegade @mitu
                                    last edited by

                                    @mitu

                                    I found retroarch.cfg.rp-dist in the /all folder and copied over retroarch.cfg in one of the system folders (MAME). Nothing changed. BUT, I renamed /opt/retropie/configs/all/videomodes.cfg and it is back to normal, even in the desktop environment. =) And what's more, my original issue of losing my control configs is also back!!! When this originally happened I was unable to remap with some of the buttons on my game pads.

                                    This is awesome thank you so much for your diligence! I am making a backup image right now.

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      rasp_renegade @rasp_renegade
                                      last edited by

                                      I need to do this more often!

                                      Screenshot 2021-09-25 203853.png

                                      BuZzB 1 Reply Last reply Reply Quote 2
                                      • BuZzB
                                        BuZz administrators @rasp_renegade
                                        last edited by

                                        @rasp_renegade thanks!

                                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                        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.