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

    [SOLVED] Troubleshooting Arcade No Audio

    Scheduled Pinned Locked Moved Help and Support
    audioarcademameretropietroubleshooting
    11 Posts 3 Posters 7.1k 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.
    • mituM
      mitu Global Moderator
      last edited by

      Heh, MAME Row strikes hard. I don't think it's a corrupt SD card or anything like that, most likely a configuration issue.
      Check if you don't have any configuration override for the arcade folder - I'd start by looking into /opt/retropie/configs/arcade/retroarch.cfg and checking if any sound related settings are there (mute sound/volume level).

      1 Reply Last reply Reply Quote 1
      • IanDaemonI
        IanDaemon
        last edited by IanDaemon

        The thing that got me was the folder didn't seem to be an issue because ROMs in that folder had sound with AdvMAME. (So it's not a permissions issue.) ROMs in that folder only have issues with Libretro emulators. I'll check the configs after work, but I checked /dev/shm/runcommand stuff and didn't see any flagrant errors. I do however see a "sound" (mixer) error that flashes behind ES screens. I'll get more information this evening. Thanks! I'm looking forward to updating the subject of this thread when this gets sorted. :)

        The fifth bullet and the sixth bullet lead me to believe the issue is isolated somewhat. I think you're right about the override. I just haven't found it yet.

        • 5 Favorite Arcade Games in MAME
        • Cocktail Cabinet Games
        • Check out the MAME RoW
        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @IanDaemon
          last edited by mitu

          @IanDaemon said in Troubleshooting Arcade No Audio - unsolved:

          The thing that got me was the folder didn't seem to be an issue because ROMs in that folder had sound with AdvMAME.

          AdvMAME doesn't read retroarch.cfg - only the Libretro (lr-... emulators) cores do, so it's worth investigating.

          1 Reply Last reply Reply Quote 1
          • IanDaemonI
            IanDaemon
            last edited by IanDaemon

            @mitu Hmmm. More information. I tried looking in /opt/retropie/configs/arcade/retroarch.cfg but that didn't seem to do anything. After EmulationStation crashed on me for the first time...ever...I rebooted the Pi and was able to capture the two lines of white text in the top left behind ES:

            ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL both
            lvl0: VolumeControl::init() - Failed to attach to default card!

            Any thoughts?

            I'm now thinking that there is definitely a config override happening. when I tried to launch Psikyo's Strikers III I noticed a line of yellow text in the bottom left. The line read "Configuration override loaded."

            Taking a peak at the /dev/shm/runcommand.loggives me this:
            Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fbalpha2012/fbalpha2012_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/s1945iii.zip" --appendconfig /dev/shm/retroarch.cfg ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM 1

            That retroarch.cfg only has one line which is video_refresh_rate = 60.

            • 5 Favorite Arcade Games in MAME
            • Cocktail Cabinet Games
            • Check out the MAME RoW
            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @IanDaemon
              last edited by

              @IanDaemon Look for the config override in /opt/retropie/configs/all/retroarch/config and maybe rename it to see if it fixes the issue.
              The ALSA warning is harmless, it's from the Emulationstation sound settings - which you can change to get rid of it.

              IanDaemonI 2 Replies Last reply Reply Quote 0
              • IanDaemonI
                IanDaemon @mitu
                last edited by IanDaemon

                @mitu It's not solved yet, but I really appreciate all help in chasing this down!

                • 5 Favorite Arcade Games in MAME
                • Cocktail Cabinet Games
                • Check out the MAME RoW
                1 Reply Last reply Reply Quote 0
                • IanDaemonI
                  IanDaemon @mitu
                  last edited by

                  @mitu Which error is harmless? I thought I was making progress in finding problems. And I just noticed that I gave you the output of "that retroarch.cfg" but there are two in that call. (/opt/retropie/configs/arcade/retroarch.cfg and /dev/shm/retroarch.cfg) Maybe I looked in the wrong one.

                  I'll put on my detective hat this evening.

                  • 5 Favorite Arcade Games in MAME
                  • Cocktail Cabinet Games
                  • Check out the MAME RoW
                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @IanDaemon
                    last edited by

                    @IanDaemon The /dev/shm/retroarch.cfg is ok, it only exists to set the video refresh rate. If the retroarch.cfg from the arcade config folder is almost empty, then there's no other setting applied - except for any overrides.
                    The

                    ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL both
                    lvl0: VolumeControl::init() - Failed to attach to default card!
                    

                    is harmless, or at least doesn't have any impact on the emulators' audio settings.

                    I think this other error

                    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM 1
                    

                    is the culprit here. Check the Audio settings in RetroArch and look what value you have for Device. It should be empty - you can check for the other systems that work - but if I set it to 1, then I get exactly the same error as above.
                    76c717ac-d147-4ae1-af0d-fe41239c573c-image.png

                    IanDaemonI 1 Reply Last reply Reply Quote 0
                    • IanDaemonI
                      IanDaemon @mitu
                      last edited by IanDaemon

                      @mitu I didn't know which direction to go and then I thought more about an early comment of yours. You said some things don't read /opt/retropie/configs/arcade/retroarch.cfg. Running out of options I renamed the huge file that was there (to save it in case I need it) and made a copy of the "rp-dist" file to use instead and rebooted. Voila! Everything works as it should! (Well, I still have that error that you said wasn't related. But I have sound everywhere that I had previously and games are running at normal speed again.) I'm so happy. Thank you!20191122.jpg

                      • 5 Favorite Arcade Games in MAME
                      • Cocktail Cabinet Games
                      • Check out the MAME RoW
                      1 Reply Last reply Reply Quote 0
                      • VeridorV
                        Veridor
                        last edited by

                        FWIW, I ran into this issue as well after updating. Going into Raspi-Config and changing the audio from Auto to HDMI fixed the issue for me.

                        1 Reply Last reply Reply Quote 0
                        • tarT tar referenced this topic on
                        • 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.