• 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

Sound stopped working after a few hours.

Scheduled Pinned Locked Moved Help and Support
retropie 4.4sound problemsraspberrypi 3b+
9 Posts 2 Posters 2.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.
  • E
    Eggman
    last edited by Eggman 6 Nov 2018, 17:28 11 Jun 2018, 16:10

    I hooked up my Raspberry Pi 3b+ yesterday. Installed Retropie 4.4.

    I copied roms over and booted up and I was able to play them perfectly. Everything worked including video, sound etc.

    I had a large PSX file I wanted to copy over. So I put in on a USB stick, plugged it in, and left it running for a few hours.

    Came back after and discovered the sound had stopped working.

    I followed a number of links and enabled various things:
    hdmi_drive=2
    hdmi_force_hotplug=1
    hdmi_force_edid_audio=1

    Sound still wasn't working.

    I tried a fresh install of retropie 4.4. Still no sound.

    I tried a card with Raspbian and verified that I can get sound out of the Pi (Just watched some Youtube videos).

    Trying to figure out what the next step might be? Why would the sound work for a while and then suddenly quit?

    Any help is appreciated.

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 11 Jun 2018, 16:29

      Stupid question, but have you tried turning the volume up ?

      1 Reply Last reply Reply Quote 0
      • E
        Eggman
        last edited by 11 Jun 2018, 16:34

        Yes. Volume is at max, both on the TV and in the Sound settings for Retropie.

        M 1 Reply Last reply 11 Jun 2018, 16:37 Reply Quote 0
        • M
          mitu Global Moderator @Eggman
          last edited by 11 Jun 2018, 16:37

          @eggman What sound device do you have selected as default ? What does aplay -l shows on the command line ?

          E 1 Reply Last reply 11 Jun 2018, 16:50 Reply Quote 0
          • E
            Eggman
            last edited by 11 Jun 2018, 16:45

            Hmm...Okay. Just added a setting for:

            dtparam=audio=on

            Rebooted.

            Sound seems to be working now. Question is whether it will stay that way. Did it start working because I added that setting? Or is it just something that works sometimes, but not others?

            I guess time will tell.

            1 Reply Last reply Reply Quote 0
            • E
              Eggman @mitu
              last edited by 11 Jun 2018, 16:50

              @mitu

              card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
              Subdevices: 7/7
              Subdevice #0: subdevice #0
              Subdevice #1: subdevice #1
              Subdevice #2: subdevice #2
              Subdevice #3: subdevice #3
              Subdevice #4: subdevice #4
              Subdevice #5: subdevice #5
              Subdevice #6: subdevice #6
              card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
              Subdevices: 1/1
              Subdevice #0: subdevice #0
              card 1: Controller [Wireless Controller], device 0: USB Audio [USB Audio]
              Subdevices: 1/1
              Subdevice #0: subdevice #0

              Hmmm...Is it possible that the issue had something to do with using a Playstation Controller and the fact that it is actually potentially an audio device as well? Maybe sometimes it selects the wrong audio output?

              1 Reply Last reply Reply Quote 0
              • M
                mitu Global Moderator
                last edited by 11 Jun 2018, 16:58

                The default RetroPie image has dtparam=audio=on by default in the /boot/config.txt, so if it was not there, then maybe you're using another image (?).
                About the other sound card detected - USB wireless - that might be the culprit, but you can choose which one is the default in ES and in raspi-config.

                E 1 Reply Last reply 11 Jun 2018, 18:51 Reply Quote 0
                • E
                  Eggman @mitu
                  last edited by 11 Jun 2018, 18:51

                  @mitu Hmmm...You are right. Just double checked my config. dtparam=audio=on is definitely there. I just duplicated it.

                  So it's unlikely that had anything to do with it.

                  In case this happens again, how can I ensure it uses the correct audio output in ES? What is the correct configuration for it to use HDMI always?

                  M 1 Reply Last reply 11 Jun 2018, 19:08 Reply Quote 0
                  • M
                    mitu Global Moderator @Eggman
                    last edited by mitu 6 Nov 2018, 20:09 11 Jun 2018, 19:08

                    @eggman I think you can force a specific order for the sound cards through configuration, described in this Archlinux wiki page. You just need to know the name of the sound kernel modules loaded, but that's easy - you look in /proc/asound/modules:

                    pi@retropie:~ $ cat /proc/asound/modules
                     0 snd_bcm2835
                    

                    This means the 1st soundcard (index=0) is controlled by the onboard PI sound chip, with the kernel module called snd_bcm2835. Your output will have 2 sound modules loaded, so you can note the name of the USB wireless sound kernel module and create a file ( /etc/modprobe.d/0-sound.conf) with 2 lines:

                    options snd_bcm2835 index=0
                     options <NAME_OF_THE_2ND_SOUND_MODULE> index=1
                    

                    Ideally you can try to replicate the problem - sound routed to the wireless card - then see if applying this configuration fixes the problem.

                    1 Reply Last reply Reply Quote 0
                    9 out of 9
                    • First post
                      9/9
                      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