Retropie not detecting any audio inputs
-
Hi everyone,
I'm having issues with my system, for some reason raspi-config can't detect any audio inputs despite being connected via HDMI.
It won't detect any 3.5mm or USB inputs either. I'm using the HDMI port right next to the power unit.
I'm also using a Pimoroni X-Hat (I tried connecting wires to the X-Hat's audio connector and it didn't detect anything, and I also tried removing the X-Hat and it still won't detect audio).
Sometimes, when in Emulation Station in the sound settings, the volume will go to 100% (audio card) but as soon as I reboot it'll revert back to 0%. At that point I can't set the audio back to 100% - it'll reset back to 0%.
I also don't have option to select Advanced Options - Audio so I can't force the audio through either the HDMI or the 3.5mm port.
I had the audio work once, but I tried rebooting it after about 15 minutes and the audio now stops working.
Here's my config file for reference, and any help would be amazing! Thank you!
# For more options and information see # http://rpf.io/configtxt # Some settings may impact device functionality. See link above for details # uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 # uncomment this if your display has a black border of unused pixels visible # and your display can output without overscan disable_overscan=0 # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border overscan_left=0 overscan_right=0 overscan_top=50 overscan_bottom=20 # uncomment to force a console size. By default it will be display's size minus # overscan. #framebuffer_width=1080 #framebuffer_height=900 # uncomment if hdmi display is not detected and composite is being output #hdmi_force_hotplug=1 # uncomment to force a specific HDMI mode (this will force VGA) #hdmi_group=1 #hdmi_mode=16 # uncomment to force a HDMI mode rather than DVI. This can make audio work in # DMT (computer monitor) modes hdmi_drive=2 # uncomment to increase signal to HDMI, if you have interference, blanking, or # no display #config_hdmi_boost=4 # uncomment for composite PAL #sdtv_mode=2 #uncomment to overclock the arm. 700 MHz is the default. #arm_freq=800 # Uncomment some or all of these to enable the optional hardware interfaces #dtparam=i2c_arm=on #dtparam=i2s=on #dtparam=spi=on # Uncomment this to enable infrared communication. #dtoverlay=gpio-ir,gpio_pin=17 #dtoverlay=gpio-ir-tx,gpio_pin=18 # Additional overlays and parameters are documented /boot/overlays/README # Enable audio (loads snd_bcm2835) #dtparam=audio=on [pi4] # Enable DRM VC4 V3D driver on top of the dispmanx display stack dtoverlay=vc4-fkms-v3d max_framebuffers=2 [all] #dtoverlay=vc4-fkms-v3d #overscan_scale=1 dtoverlay=picade #dtparam=audio=off display_rotate=1 hdmi_ignore_edid_audio=1
-
@chieferebus said in Retropie not detecting any audio inputs:
It won't detect any 3.5mm or USB inputs either. I'm using the HDMI port right next to the power unit.
I think you mean 'output' instead of 'input', the RPI has no built in audio inputs. Seeing that you commented out the
audio=on
dtparam in yourconfig.txt
, this may be expected.I also don't have option to select Advanced Options - Audio so I can't force the audio through either the HDMI or the 3.5mm port.
Probably because you've disabled the onboard audio in the
config.txt
file. If you want audio via HDMI, revert your changes to theconfig.txt
and make sure thatdtparam=audio=on
is not commented out. Reboot and then check again in the Audio menu the options available - choose HDMI / Headphones depending on what you want.
In EmulationStation, choose default as Audio Card and the same value chosen in the previous configuration (Headphones/HDMI). -
@mitu Thank you! I don't think this forum would survive if you didn't lend a hand as much as you did. Resetting the config file to its default did the trick. For some reason, there was something in the file that wouldn't allow me to uncomment that "dtparam" line (it'd cause my screen to nearly fade to black completely, but clearly it crashed because I couldn't do anything except shutdown the Pi). For anyone with a Raspberry Pi 4 that wants the default config file this is what you need:
# For more options and information see # http://rpf.io/configtxt # Some settings may impact device functionality. See link above for details # uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 # uncomment this if your display has a black border of unused pixels visible # and your display can output without overscan #disable_overscan=0 # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border #overscan_left=0 #overscan_right=0 #overscan_top=50 #overscan_bottom=20 # uncomment to force a console size. By default it will be display's size minus # overscan. #framebuffer_width=1080 #framebuffer_height=900 # uncomment if hdmi display is not detected and composite is being output #hdmi_force_hotplug=1 # uncomment to force a specific HDMI mode (this will force VGA) #hdmi_group=1 #hdmi_mode=16 # uncomment to force a HDMI mode rather than DVI. This can make audio work in # DMT (computer monitor) modes #hdmi_drive=2 # uncomment to increase signal to HDMI, if you have interference, blanking, or # no display #config_hdmi_boost=4 # uncomment for composite PAL #sdtv_mode=2 #uncomment to overclock the arm. 700 MHz is the default. #arm_freq=800 # Uncomment some or all of these to enable the optional hardware interfaces #dtparam=i2c_arm=on #dtparam=i2s=on #dtparam=spi=on # Uncomment this to enable infrared communication. #dtoverlay=gpio-ir,gpio_pin=17 #dtoverlay=gpio-ir-tx,gpio_pin=18 # Additional overlays and parameters are documented /boot/overlays/README # Enable audio (loads snd_bcm2835) dtparam=audio=on [pi4] # Enable DRM VC4 V3D driver on top of the dispmanx display stack dtoverlay=vc4-fkms-v3d max_framebuffers=2 [all] #dtoverlay=vc4-fkms-v3d #overscan_scale=1 dtoverlay=picade display_rotate=1 #hdmi_ignore_edid_audio=1
-
For anyone with a Raspberry Pi 4 that wants the default config file this is what you need:
..This is not the default
config.txt
file, since the default doesn't have anypicade
overlay added or anyrotate
options (which is not supported on a Pi4 anyway). If you're looking for the default file, it can be extracted from the RetroPie image using 7Zip or by just mounting the.img
file.
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.