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

    No Audio using Raspberry Pi OS (64bit)

    Scheduled Pinned Locked Moved Help and Support
    no audio64bitraspberry pi os
    12 Posts 4 Posters 4.8k 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.
    • I
      ioortropie
      last edited by

      Pi Model or other hardware: 4b 8GB
      Power Supply used: Official Power Supply
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest):
      Built From: https://retropie.org.uk/docs/Manual-Installation/
      USB Devices connected:
      Controller used: SN30Pro+
      Error messages received: I do not see any errors in the journalctl logs.
      In the terminal window:

      VolumeControl::init() - Failed to find mixer elements!
      

      How to replicate the problem: Start Emulation Station, set every different combination of settings on Main Menu-> Sound Settings. No sound

      $ uname -a
      $ Linux raspberrypi 5.10.17-v8+ #1403 SMP PREEMPT Mon Feb 22 11:37:54 GMT aarch64 GNU/Linux
      

      I am trying get any HDMI sound in EmulationStation. I have tried all possible combinations in the Sounds menu and nothing is working. This is system is a fresh Raspberry Pi OS 64bit. The sound works normally on the desktop when playing media files not does not work at all in EmulationStation.

      I realize that Retropie 64bit is still in beta. Before spending hours researching this problem, I would like to know, does anyone have working sound with the RaspberryPi Os 64 bit or is this something that is not working at all yet?

      If it is possible to get sound, could someone point me in the right direction to start troubleshooting?

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @ioortropie
        last edited by

        @ioortropie said in No Audio using Raspberry Pi OS (64bit):

        The sound works normally on the desktop when playing media files not does not work at all in EmulationStation.

        Does it also work in the emulators ? Note that running EmulationStation from the desktop is not a supported configuration - you need to run it directly from the terminal, without a desktop env started.

        Try setting the Audio Card to Default and the Audio Device to 'Master'. If that doesn't work, post the output of aplay -l and aplay -L.

        I 1 Reply Last reply Reply Quote 0
        • I
          ioortropie @mitu
          last edited by

          @mitu said in No Audio using Raspberry Pi OS (64bit):

          Does it also work in the emulators ? Note that running EmulationStation from the desktop is not a supported configuration - you need to run it directly from the terminal, without a desktop env started.

          When I start a ROM there is no sound in the emulators either.

          Try setting the Audio Card to Default and the Audio Device to 'Master'. If that doesn't work, post the output of aplay -l and aplay -L.

          I just tried this and it did not work. Here is the output:

          pi@raspberrypi:~ $ aplay -l
          **** List of PLAYBACK Hardware Devices ****
          card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
            Subdevices: 4/4
            Subdevice #0: subdevice #0
            Subdevice #1: subdevice #1
            Subdevice #2: subdevice #2
            Subdevice #3: subdevice #3
          card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
            Subdevices: 4/4
            Subdevice #0: subdevice #0
            Subdevice #1: subdevice #1
            Subdevice #2: subdevice #2
            Subdevice #3: subdevice #3
          
          pi@raspberrypi:~ $ aplay -L
          null
              Discard all samples (playback) or generate zero samples (capture)
          jack
              JACK Audio Connection Kit
          pulse
              PulseAudio Sound Server
          default
              Playback/recording through the PulseAudio sound server
          output
          sysdefault:CARD=b1
              bcm2835 HDMI 1, bcm2835 HDMI 1
              Default Audio Device
          dmix:CARD=b1,DEV=0
              bcm2835 HDMI 1, bcm2835 HDMI 1
              Direct sample mixing device
          dsnoop:CARD=b1,DEV=0
              bcm2835 HDMI 1, bcm2835 HDMI 1
              Direct sample snooping device
          hw:CARD=b1,DEV=0
              bcm2835 HDMI 1, bcm2835 HDMI 1
              Direct hardware device without any conversions
          plughw:CARD=b1,DEV=0
              bcm2835 HDMI 1, bcm2835 HDMI 1
              Hardware device with all software conversions
          usbstream:CARD=b1
              bcm2835 HDMI 1
              USB Stream Output
          sysdefault:CARD=Headphones
              bcm2835 Headphones, bcm2835 Headphones
              Default Audio Device
          dmix:CARD=Headphones,DEV=0
              bcm2835 Headphones, bcm2835 Headphones
              Direct sample mixing device
          dsnoop:CARD=Headphones,DEV=0
              bcm2835 Headphones, bcm2835 Headphones
              Direct sample snooping device
          hw:CARD=Headphones,DEV=0
              bcm2835 Headphones, bcm2835 Headphones
              Direct hardware device without any conversions
          plughw:CARD=Headphones,DEV=0
              bcm2835 Headphones, bcm2835 Headphones
              Hardware device with all software conversions
          usbstream:CARD=Headphones
              bcm2835 Headphones
              USB Stream Output
          

          Also, I should note that I am able to get audio as expected with the Raspberry Pi OS (32bit) on the same hardware.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @ioortropie
            last edited by

            Make sure you're using the latest RetroPie-Setup and use the Audio menu in RetroPie to change the output to HDMI, then try again using 'Master' / 'PCM' as the Device Card in ES.

            I 1 Reply Last reply Reply Quote 0
            • I
              ioortropie @mitu
              last edited by

              @mitu said in No Audio using Raspberry Pi OS (64bit):

              Make sure you're using the latest RetroPie-Setup

              I have just installed RetroPie yesterday using this guide: https://retropie.org.uk/docs/Manual-Installation/

              It clones the git repository then runs the setup script:

              sudo ./retropie_setup.sh
              

              Can you confirm this would give me the latest setup?

              @mitu said in No Audio using Raspberry Pi OS (64bit):

              use the Audio menu in RetroPie to change the output to HDMI, then try again using 'Master' / 'PCM' as the Device Card in ES.

              1. I set:
              "Set audio output (ALSA) to "0 HDMI 1"
              
              1. I set:
              Main Menu -> Sound Settings-> Audio Device to "Master"
              
              1. I set:
              Main Menu -> Sound Settings-> Audio Device to "PCM"
              

              I also have the following settings:

              Main Menu -> Sound Settings-> Audio Card to "Default"
              Main Menu -> Sound Settings-> OMX Player Audio Device to "Both"
              

              I noticed with the "PCM" setting, the "System Volume" slider is always set to 0%

              With the "Master" settings, it is always set to 75%

              Both attempts did not produce any audio.

              As a test, I inserted my old Raspberry Pi OS (32bit) SD card into my Pi. It is also a new install with RetroPie manually installed the same way I described above and I get sound with the following settings:

              Audio Card: Default
              Audio Device: HDMI

              So the hardware works.

              Is there anything else I can try?

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @ioortropie
                last edited by

                @ioortropie said in No Audio using Raspberry Pi OS (64bit):

                "Set audio output (ALSA) to "0 HDMI 1"

                This means you're not running PulseAudio, which seems to contradict what aplaysaid before. In this case, using the same settings as the 32bit installation should be enough (Default for Audio Card and HDMI for Audio device).

                I 1 Reply Last reply Reply Quote 0
                • I
                  ioortropie @mitu
                  last edited by

                  @mitu said in No Audio using Raspberry Pi OS (64bit):

                  This means you're not running PulseAudio, which seems to contradict what aplaysaid before. In this case, using the same settings as the 32bit installation should be enough (Default for Audio Card and HDMI for Audio device).

                  I tried those settings again, they do not work.

                  I noticed there is a setting:

                  Enable Pulseaudio setting on the Set audio output. I tried this as well without luck.

                  Is it possible that sound just does not work yet in the 64bit version? There was a notice near the end of the install that said the software is still beta however Emulationstation should work.

                  Do you know if anyone else has has success getting sound to work with 64bit?

                  Is there any other level of troubleshooting I can do, are there logs to see why the audio is failing?

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    bluestang @ioortropie
                    last edited by

                    @ioortropie

                    I would check for any .asoundrc files in your home directory and delete those if present. Did you fully update RPiOS before or after RetroPie was installed? Was this a full RPiOS or Lite install?

                    What does apt policy pulseaudio say?

                    Sound works fine for me on 64-bit RPiOS.

                    I 1 Reply Last reply Reply Quote 0
                    • I
                      ioortropie @bluestang
                      last edited by ioortropie

                      @bluestang said in No Audio using Raspberry Pi OS (64bit):

                      I would check for any .asoundrc files in your home directory and delete those if present.

                      I deleted it and re-tried all of the audio settings discussed above, it did not work.

                      This was a fresh install using this image: https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2020-08-24/2020-08-20-raspios-buster-arm64.info which I believe is the full RPiOS.

                      I tested the HDMI audio was working on the desktop first before installing RetroPie from the script here: https://retropie.org.uk/docs/Manual-Installation/. I didn't notice anything out of the ordinary here during the install.

                      I did a sudo apt update && sudo apt upgrade both before and after installing RetroPie, all packages are up to date.

                      Here is the apt policy pulseaudio:

                      pi@raspberrypi:~ $ apt policy pulseaudio
                      pulseaudio:
                        Installed: 12.2-4+deb10u1+rpi3
                        Candidate: 12.2-4+deb10u1+rpi3
                        Version table:
                       *** 12.2-4+deb10u1+rpi3 500
                              500 http://archive.raspberrypi.org/debian buster/main arm64 Packages
                              100 /var/lib/dpkg/status
                           12.2-4+deb10u1 500
                              500 http://deb.debian.org/debian buster/main arm64 Packages
                      

                      It is good to hear you have it working, so far everything else on my Pi seems to be working fine with the 64 bit OS except RetroPie. The 64bit OS give me additional capabilities and software that I cannot install on the 32bit so I would love to get this sound working and fully migrate over.

                      mituM dankcushionsD B 3 Replies Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @ioortropie
                        last edited by

                        Is the sound working outside of EmulationStation ? If you run speaker-test from the command line, do you get the test audio sound ?
                        As @bluestang mentioned, check if you have an $HOME/.asoundrc file - try deleting it if it exists.

                        You may also disable or remove PulseAudio, in this case you should have the same configuration options as the 32bit system, where PulseAudio is not installed.

                        The 64bit OS give me additional capabilities and software that I cannot install on the 32bit so I would love to get this sound working and fully migrate over.

                        As noted, RetroPie is still in beta on the 64bit Raspbian. What software you cannot install on the 32bit version so you need the 64bit one ?

                        1 Reply Last reply Reply Quote 0
                        • dankcushionsD
                          dankcushions Global Moderator @ioortropie
                          last edited by

                          @ioortropie i would recommend using the lite version of raspi pi os 64-bit. the full version installs a bunch of stuff you don't need for retropie. https://downloads.raspberrypi.org/raspios_lite_arm64/

                          secondly, i got sound working in 64-bit by using the arm-side audio driver when using pure kms mode. ie https://www.raspberrypi.org/forums/viewtopic.php?p=1636828#p1636828

                          i don't know if there's an alternative way.

                          1 Reply Last reply Reply Quote 0
                          • B
                            bluestang @ioortropie
                            last edited by bluestang

                            @ioortropie

                            Based on your previous answers it sounds like PulseAudio is not starting on its own.

                            Try systemctl --user enable pulseaudio in the terminal, and reboot.

                            If you still have no audio please post the output of pacmd list-sinks.

                            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.