No Audio using Raspberry Pi OS (64bit)
-
@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.
-
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.
-
@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.
- I set:
"Set audio output (ALSA) to "0 HDMI 1"
- I set:
Main Menu -> Sound Settings-> Audio Device to "Master"
- 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: HDMISo the hardware works.
Is there anything else I can try?
-
@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
aplay
said before. In this case, using the same settings as the 32bit installation should be enough (Default for Audio Card and HDMI for Audio device). -
@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?
-
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.
-
@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.
-
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 ?
-
@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.
-
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
.
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.