Navigation

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

    ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred

    Help and Support
    audio
    8
    17
    9550
    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.
    • obsidianspider
      obsidianspider last edited by obsidianspider

      I'm working on setting up my Gameboy Advance Pi Zero and when launching a game from EmulationStation I'm seeing a slew of
      ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred messages before the runcommand prompt.

      Some Googling around says everything from "it's not a problem" to "here's how I fixed it" on a non-Raspberry Pi system, but nothing that seems to have fixed it on my Pi Zero.

      Has anyone else run into this? I've not seen it before on my Pi2 or Pi3 systems.

      I'm running a fresh RetroPie image that was updated to 4.1.15 today. I am using sound through a USB soundcard and that works fine, but I was seeing the error message before I ever plugged in the USB soundcard.

      1 Reply Last reply Reply Quote 0
      • thedigi321
        thedigi321 last edited by thedigi321

        I do not have a fix but I do have the same problem on my retropie latest rpi3 so at least you have someone that is having this issue I heard one fix is removing pulseaudio but I don't it installed

        1 Reply Last reply Reply Quote 2
        • thedigi321
          thedigi321 last edited by

          look at the /dev/shm/runcommand.log on mine i had to update the specific emulator because it didnt have the video plugin it need cheers

          1 Reply Last reply Reply Quote 0
          • obsidianspider
            obsidianspider last edited by

            Nothing showing in there, but I'm wondering if it's because I'm running a TFT via GPIO and the Zero can't keep up.

            1 Reply Last reply Reply Quote 0
            • obsidianspider
              obsidianspider last edited by

              It seems linked to a recent update. I updated my Super Famicom Pi 3 to 4.1.16 this morning and now I get the ALSA error/warning. It didn't do it when it was on 4.1.11. Weird.

              1 Reply Last reply Reply Quote 0
              • Duveldg
                Duveldg last edited by

                How and when do you see that error? I saw it one time but cannot find any log of this.

                obsidianspider 1 Reply Last reply Reply Quote 0
                • obsidianspider
                  obsidianspider @Duveldg last edited by

                  @Duveldg I see it after I select a game in EmulationStation (the screen goes black, it's not actually in EmulationStation) but before the runcommand prompt appears

                  1 Reply Last reply Reply Quote 0
                  • Duveldg
                    Duveldg last edited by

                    Ok that I don't see anymore. I have changed the audio driver for alsathread to sdl2 in all emulators because I did not have sound. Before that I saw the error I think.

                    1 Reply Last reply Reply Quote 0
                    • gopherguts420
                      gopherguts420 last edited by

                      I started getting the same errors immediately after installing Kodi 17, if I remove it they go away. I do get semi frequent sound issues now when gaming but just learned to deal with it

                      Rascas 1 Reply Last reply Reply Quote 0
                      • Rascas
                        Rascas @gopherguts420 last edited by

                        @gopherguts420 Does it appear only when launching Kodi first, or also if use any emulator withouto using Kodi ? Do you notice any sound issue when you see it ?

                        1 Reply Last reply Reply Quote 0
                        • hansolo77
                          hansolo77 last edited by

                          Did you ever get this resolved? I'm having this problem now too. Granted, this topic is 3 months old, and it might have been fixed in a new version of something. I haven't updated any of my stuff in that long a time. Just curious.

                          obsidianspider 1 Reply Last reply Reply Quote 0
                          • obsidianspider
                            obsidianspider @hansolo77 last edited by

                            @hansolo77 I haven't noticed it recently

                            1 Reply Last reply Reply Quote 0
                            • hansolo77
                              hansolo77 last edited by

                              Hmm.. reading about it says it has to do with the driver not getting samples fast enough to play back. I just started scraping a bunch of video snaps for my system and notice the stack of errors when a game launches after I've spent awhile looking at videos. Might be the videos causing the problem..

                              obsidianspider 1 Reply Last reply Reply Quote 0
                              • obsidianspider
                                obsidianspider @hansolo77 last edited by

                                @hansolo77 I've never had video previews on any of my systems. I do try to keep them up to date with the latest RetroPie build. I check every few weeks or so.

                                1 Reply Last reply Reply Quote 0
                                • hansolo77
                                  hansolo77 last edited by

                                  Yeah I'll try updating and see if it goes away.

                                  1 Reply Last reply Reply Quote 0
                                  • raelik
                                    raelik last edited by

                                    I'm also getting this, with a fresh install of 4.2 on top of Ubuntu 16.04.3 (for the Odroid XU4).

                                    homerotl 1 Reply Last reply Reply Quote 0
                                    • homerotl
                                      homerotl @raelik last edited by

                                      @raelik I just bought an Odroid UX4 and installed Retropie. As soon as Emulation station loads I can see the same ALSA lib underrun error. Any clues about what could be causing this?

                                      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.