• 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

Audio scratching and slow on all emulators..... again

Scheduled Pinned Locked Moved Help and Support
audioscratchslowretropie
22 Posts 8 Posters 8.6k 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.
  • T
    Tackskull
    last edited by Tackskull 26 Sept 2018, 20:03

    I was having this problem in the past, but once I changed operative system on my pc and reinstalle retropie from the beginning I was not having any kind of problem, but now, this issue just appered again. Basically every systm and any kind of emulator I try is having audio issue about scratching audio (very annoing) and a bit slower compared on the gameplay, like the music is difficult to stay in time with the game. Untill yesterday everything was ok, today I don't know why, audio is crappy and annoing, on each game. Today I was trying somesettings with lr-desmume2015 and maybe I did something wrong.

    I ask you please guys to help me solving this problem, I don't want to reinstall everything from the beginning.

    Thanks

    edit: the only emulators that are not having audio problem are ppsspp, reicast and mupen64

    M M 2 Replies Last reply 26 Sept 2018, 20:17 Reply Quote 0
    • M
      mitu Global Moderator @Tackskull
      last edited by mitu 26 Sept 2018, 20:17

      @tackskull said in Audio scratching and slow on all emulators..... again:

      edit: the only emulators that are not having audio problem are ppsspp, reicast and mupen64

      So the problem seems to manifest for the Libretro (RetroArch) emulators. Did you change any global RetroArch settings ? Did you enable 'Config Save on Exit' at any time ? Try to trace what configuration you've made in RetroArch that might have caused this.

      1 Reply Last reply Reply Quote 1
      • M
        mediamogul Global Moderator @Tackskull
        last edited by 26 Sept 2018, 20:19

        @tackskull said in Audio scratching and slow on all emulators..... again:

        edit: the only emulators that are not having audio problem are ppsspp, reicast and mupen64

        So, the issue is confined to the libretro cores? Also, we need more general information from you. The required information is detailed at https://retropie.org.uk/forum/topic/3/read-this-first.

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

        1 Reply Last reply Reply Quote 0
        • B
          Beldar
          last edited by 26 Sept 2018, 22:21

          This probably is not very helpful, but I started having this same problem last night after an update. Specifically with the lr-mGBA emulator. There is a 3 to 5 fps hit, even when overclocked, with the audio problems you would expect along with it.

          There is definitely something going on. If I can provide any sort of data that might help, let me know. However, I'm doing a full wipe and reinstall on my pi, so my logs are toast.

          1 Reply Last reply Reply Quote 0
          • T
            Tackskull
            last edited by 30 Sept 2018, 19:44

            Guys, without find any solution to this and unistalling and raisntalling retropie just keep this strange issue, I have unistalled again my operative system and reistalled a new one. Now I am using linux Mint, I have installed retropie from the beginning and everything was ok untill..... untill I installed lr-desmume and launching a rom the audio become scratching on this emulator.... after quitting this emulator and play anyone else, this issue come again..... So, without know nothing about software and pc, I would say that lr-desmume emulator is bringing this problem. Starting from this, do you guysnow how to solve it? Cause unistall Linux Mint and installing another operative system is so annoing..... And maybe we can find a solution

            M 1 Reply Last reply 1 Oct 2018, 03:15 Reply Quote 0
            • M
              mitu Global Moderator @Tackskull
              last edited by 1 Oct 2018, 03:15

              @tackskull Re-installing again and again will not solve your issue. If you want to investigate, then try to see what did you change in the settings that might can cause this. Just installing an emulator will not change the default RA settings, so it's strange this step affects all RA cores.
              You didn't asked any of the questions about your setup. In addition to that try to get a log file from RetroArch while running the game (/dev/shm/runcommand.log) and upload it to pastebin.com so we can take a look. Make sure you enable verbose logging in the Runcommand launch menu before launching a game.

              T 1 Reply Last reply 1 Oct 2018, 21:42 Reply Quote 0
              • G
                grant2258 Banned
                last edited by grant2258 10 Jan 2018, 04:25 1 Oct 2018, 03:21

                i would recommend you copy the original retroarcg.cfg files back or at least the main one and the emulator causing the problem your not really supposed to save over the main retroarch.cfg in retropie. Make sure ra is close before you do this.

                cd /opt/retropie/configs/all
                cp retroarch.cfg.rp-dist retroarch.cfg

                then also rename your core options
                mv retroarch-core-options.cfg retroarch-core-options.cfg.bak

                start ra see how you go

                1 Reply Last reply Reply Quote 1
                • G
                  grant2258 Banned
                  last edited by 1 Oct 2018, 03:49

                  close should be closed sorry about that am blurry eyed

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tackskull @mitu
                    last edited by 1 Oct 2018, 21:42

                    @mitu

                    Here is the runcommand.log https://pastebin.com/FUSPVcGN

                    1 Reply Last reply Reply Quote 0
                    • M
                      mitu Global Moderator
                      last edited by 2 Oct 2018, 03:19

                      You RA install seems to be using the PulseAudio driver - try to switch it to alsa and see if you get better results. You can do that from the RGUI after you started a game or by modifying /opt/retropie/configs/all/retroarch.cfg and uncommenting the line with # audio_driverand settting

                      audio_driver = alsa
                      
                      1 Reply Last reply Reply Quote 0
                      • B
                        BHazard
                        last edited by 2 Oct 2018, 18:45

                        Are you using the built in 3.5mm audio jack? That thing scratches the audio like crazy and has a FPS hit. Use HDMI audio and the problem goes away.

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tackskull
                          last edited by Tackskull 10 Mar 2018, 00:17 2 Oct 2018, 23:03

                          My laptop is connected to a tv via hdmi, then my tv is connected to a sound bar via jack cable. On linux, my audio is connected on the hdmi output, so what do you mean with "switch to hdmi"? There is an option on retropie to do that?
                          I try to remove the sound bar and letting the audio to come from the tv, the audio is still scratching

                          Anyway I went on retropie setup script, then configedit and then to retroarch and all systems. From here I switched the audio driver from "default" to Alsa, the problem is still here

                          M 1 Reply Last reply 3 Oct 2018, 03:44 Reply Quote 0
                          • M
                            mitu Global Moderator @Tackskull
                            last edited by 3 Oct 2018, 03:44

                            @tackskull said in Audio scratching and slow on all emulators..... again:

                            There is an option on retropie to do that?

                            In the RetroPie system in ES, there's an Audio menu you can use to toggle between different audio outputs. Can you get another log file (with verbose logging) after you switched to ALSA as audio driver ?

                            T 1 Reply Last reply 3 Oct 2018, 13:35 Reply Quote 0
                            • T
                              Tackskull @mitu
                              last edited by 3 Oct 2018, 13:35

                              @mitu here we are https://pastebin.com/YPHpcYNZ

                              M D 2 Replies Last reply 3 Oct 2018, 13:45 Reply Quote 0
                              • M
                                mitu Global Moderator @Tackskull
                                last edited by 3 Oct 2018, 13:45

                                @tackskull Sorry, I don't see any obvious errors in it - I have no idea what might be wrong.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dankcushions Global Moderator @Tackskull
                                  last edited by dankcushions 10 Mar 2018, 14:51 3 Oct 2018, 13:51

                                  @tackskull said in Audio scratching and slow on all emulators..... again:

                                  @mitu here we are https://pastebin.com/YPHpcYNZ

                                  i notice this is running dracula x on the SNES - note that this game is famously slow and laggy on real SNES hardware, so likely any slowdown is normal and correct emulation. audio glitches might also be. can we get a video recording perhaps?

                                  T 1 Reply Last reply 3 Oct 2018, 15:12 Reply Quote 0
                                  • T
                                    Tackskull @dankcushions
                                    last edited by Tackskull 10 Mar 2018, 16:13 3 Oct 2018, 15:12

                                    @dankcushions this happen on many emulators and is not about gameplay but only about audio, anyway, I'll reinstall everything from the beginning avoiding the lr-desmumeemulator, I let you guys know

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      Tackskull
                                      last edited by Tackskull 13 Oct 2018, 23:34

                                      Again, I unistalled retropie and reinstall, the audio still crap, so I tried to reinstall the pc operative system from zer0 (Linux Mint) and reinstalled retropie.... audio still crap... So I am really don't understanding what's the problem. Is that maybe my pc? Installing retropie from zero mean all settings are in default, maybe you guys got some new information about it?

                                      I tryed to high the audio delay, and the audio is getting well but have some frames of muted audio, like the audio gone for a second each three seconds. Maybe can you tell me what to do with audio options?

                                      edit: I got an idea, if one of you guys can send me your own congiguration file I can load it with my retroarch and maybe I can solve my problem

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Tackskull
                                        last edited by 16 Oct 2018, 12:56

                                        I found the error guys, basically I was having it before but never care about it. After again reinstalling everything audio was good, but at a point I had retropie freeze on a black screen. After forcing it to close and restarting it audio is crappy again. But what I haven't noticed is that each time I quit retropie I get this error on terminal (I was having it before too, but I wasn't care about it). Here is a picture of it loaded on dropbox:

                                        https://www.dropbox.com/s/crbydpejnp4k1ya/20181016_144912.jpg?dl=0

                                        Do you know guys what to do?

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          mitu Global Moderator
                                          last edited by 16 Oct 2018, 17:38

                                          @tackskull said in Audio scratching and slow on all emulators..... again:

                                          Do you know guys what to do?

                                          I highly doubt that's the cause of the audio glitches. The error you're showing practically gives you the answer how to fix it - the file in question (gamelist.xml from the arcade folder) is incorrect. Use an online XML validator (like https://www.xmlvalidation.com) to show you which XML tag is mis-matched. Have you manually edited the file in question ?

                                          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.

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