• 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

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

Scheduled Pinned Locked Moved Help and Support
audio
17 Posts 8 Posters 11.9k 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.
  • O
    obsidianspider
    last edited by obsidianspider 22 Feb 2017, 23:40

    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.

    📷 @obsidianspider

    1 Reply Last reply Reply Quote 0
    • T
      thedigi321
      last edited by thedigi321 23 Feb 2017, 05:14

      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
      • T
        thedigi321
        last edited by 24 Feb 2017, 19:58

        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
        • O
          obsidianspider
          last edited by 24 Feb 2017, 20:04

          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.

          📷 @obsidianspider

          1 Reply Last reply Reply Quote 0
          • O
            obsidianspider
            last edited by 25 Feb 2017, 15:47

            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.

            📷 @obsidianspider

            1 Reply Last reply Reply Quote 0
            • D
              Duveldg
              last edited by 25 Feb 2017, 18:25

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

              O 1 Reply Last reply 25 Feb 2017, 18:29 Reply Quote 0
              • O
                obsidianspider @Duveldg
                last edited by 25 Feb 2017, 18:29

                @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

                📷 @obsidianspider

                1 Reply Last reply Reply Quote 0
                • D
                  Duveldg
                  last edited by 25 Feb 2017, 20:41

                  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
                  • G
                    gopherguts420
                    last edited by 2 Mar 2017, 04:47

                    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

                    R 1 Reply Last reply 2 Mar 2017, 15:34 Reply Quote 0
                    • R
                      Rascas @gopherguts420
                      last edited by 2 Mar 2017, 15:34

                      @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
                      • H
                        hansolo77
                        last edited by 28 May 2017, 14:39

                        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.

                        Who's Scruffy Looking?

                        O 1 Reply Last reply 28 May 2017, 14:41 Reply Quote 0
                        • O
                          obsidianspider @hansolo77
                          last edited by 28 May 2017, 14:41

                          @hansolo77 I haven't noticed it recently

                          📷 @obsidianspider

                          1 Reply Last reply Reply Quote 0
                          • H
                            hansolo77
                            last edited by 28 May 2017, 14:43

                            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..

                            Who's Scruffy Looking?

                            O 1 Reply Last reply 28 May 2017, 14:44 Reply Quote 0
                            • O
                              obsidianspider @hansolo77
                              last edited by 28 May 2017, 14:44

                              @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.

                              📷 @obsidianspider

                              1 Reply Last reply Reply Quote 0
                              • H
                                hansolo77
                                last edited by 28 May 2017, 14:45

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

                                Who's Scruffy Looking?

                                1 Reply Last reply Reply Quote 0
                                • R
                                  raelik
                                  last edited by 8 Sept 2017, 15:42

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

                                  H 1 Reply Last reply 17 Oct 2017, 00:56 Reply Quote 0
                                  • H
                                    homerotl @raelik
                                    last edited by 17 Oct 2017, 00:56

                                    @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.

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