• 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.5k 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 @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
                          • T
                            Tackskull
                            last edited by 18 Apr 2019, 15:19

                            If you guys are interest to know, I solved this problem for ever. Basically, when I run a game I go on the retroarh menu and I go on Settings, then on video and from here I go on treatherd video and makint it "ON". This must be done for every core. Well I don't have any probem anymore :D

                            R 1 Reply Last reply 18 Feb 2024, 11:24 Reply Quote 0
                            • R
                              rogg23 @Tackskull
                              last edited by 18 Feb 2024, 11:24

                              @Tackskull I know this is an old topic, but I've just installed a new Retropie setup on new hardware on Ubuntu 22.04 and had this exact problem which I've never had before. It was driving me mad, but your solution instantly fixed the issue.

                              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