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 issue with latest version of RetroPie

    Scheduled Pinned Locked Moved Help and Support
    11 Posts 3 Posters 15.3k 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.
    • C
      cujoac
      last edited by

      Hi all,

      I recently updated to the latest version of RetroPie but am suddenly getting the below audio error before booting any games:

      1v10: VolumeControl::init() - Failed to attach to default card!
      ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
      ALSA lib conf.:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
      ALSA lib confmisc.c:392:(snd_func_conca) error evaluating strings
      ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
      ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
      ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
      ALSA lib conf.c:4270:(snd_config_expand) Evaluate error: No such file or directory
      ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
      1v10: AudioManager Error - Unable to open SDL audio: ALSA: Couldn't open audio device: No such file or directory

      I'm guessing this means it can't find my audio card? Didn't have this error before updating so I'm hoping it's an easy fix without having to rebuild the image. Any help would be GREATLY appreciated. I'm relatively new to the Pi so an idiots guide would be great :).

      Thanks,
      Cuj

      1 Reply Last reply Reply Quote 0
      • C
        cujoac
        last edited by

        Quick note here, I'm not trying to use an external sound card or anything of the like, I'm running my Pi to a small amplifier via the 3.5mm jack. Not sure what shifted when updating but no hardware has been altered, etc. Not sure if that helps anyone help me fix the issue :)! Not sure how to revert the audio back to the original setting.

        1 Reply Last reply Reply Quote 0
        • C
          cujoac
          last edited by

          Sorry, not an attempt to bump here as I'm genuinely trying to figure this out on my own...but does anyone know the file or the location of the file that needs to be edited here? I can't seem to find any mention of ALSA or the sound card in general. It seems like it's looking for a card that doesn't exist so I'm assuming there must be a way to point it to the Pi's default card...any help would be GREATLY appreciated.

          1 Reply Last reply Reply Quote 0
          • P
            proaudiosoft
            last edited by proaudiosoft

            I have been running 4beta2 since it came out, I havent had an issue. I have mine running from jack to a small (15x15w in cabinet) amp as well. Is your Pi OC'd? Just curious. Some high OC settings can for sure wipe out data....

            1 Reply Last reply Reply Quote 0
            • C
              cujoac
              last edited by cujoac

              Can you define what you mean by OC'd in this case?

              [UPDATE]: Oh, you mean overclocked. Yes it's overclocked but nothing drastic.

              1 Reply Last reply Reply Quote 0
              • C
                cujoac
                last edited by cujoac

                I'll double check the OC settings I'm using this evening but as mentioned they're not really pushing things much. I'm new with the Pi (not new to code or computers) but it seems to me that I might just need to fix a cfg file to ensure that the stock card is being pointed to...I just don't know which file to work with and where it's location :)!

                1 Reply Last reply Reply Quote 0
                • A
                  auswear
                  last edited by

                  I had the same issue last night and created a post - https://retropie.org.uk/forum/topic/2263/failed-to-start-store-sound-card-state

                  But I soon figured out I was using my old config.txt file which was missing:

                  # Enable audio (loads snd_bcm2835)
                  dtparam=audio=on
                  
                  1 Reply Last reply Reply Quote 0
                  • C
                    cujoac
                    last edited by

                    It's a frustrating one :)! So what did you do to resolve? Regrettably this is the first time I neglected to back up my old config...

                    Do I just hop into the current, look for that value and adjust accordingly?

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      auswear @cujoac
                      last edited by

                      @cujoac said in Audio issue with latest version of RetroPie:

                      It's a frustrating one :)! So what did you do to resolve? Regrettably this is the first time I neglected to back up my old config...

                      Do I just hop into the current, look for that value and adjust accordingly?

                      Just copy this into your config.txt and save it :)

                      dtparam=audio=on

                      C 2 Replies Last reply Reply Quote 0
                      • C
                        cujoac @auswear
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • C
                          cujoac @auswear
                          last edited by

                          @auswear WORKED LIKE A CHARM! Thanks so much!

                          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.