No sound through HDMI?
  • Hi all. I don't seem to get any sound through my hdmi cable to a tv?

    I have tried editing the config.txt file and set hdmi = 1 and 2 and neither work. Does anybody have an idea how to fix it.
  • add hdmi_drive=2 in config.txt
  • There is also an option in raspi-config which will update the appropriate config files to force sound through HDMI or minijack...
  • yeah, like LogicallyRogue said.
    -Raspi-config
    -advanced
    -audio
    -force hdmi
  • As always, thank you guys for the help. It is much appreciated
  • mholgatem

    I have tried the steps above and still no sound through hdmi on my tv. Any other suggestions?
  • I found that I had to do both of the things suggested above.
    1. hdmi_drive=2 in config.txt
    2. -Raspi-config
    -advanced
    -audio
    -force hdmi

    If I just did one or the other, it wouldn't work. I did have one situation where I couldn't get it to work have doing a lot of messing around with things and had to reflash by card. The link below is a further discussion of my many audio issues.

    http://pimame.org/forum/discussion/1411/audio-issue-and-my-solution#Item_6
  • Atv223

    Thanks the help, gonna try it and if it doesnt work, format and start again me thinks.
  • I was having the same problem, this work for me

    sudo amixer cset numid=3 2

    then edited the /boot/config.txt.

    sudo nano /boot/config.txt

    And then add the following:

    hdmi_drive=2
    hdmi_force_edid_audio=1
    hdmi_force_hotplug=1

    CTRL+O to save
    CTRL+X to exit
    And to reboot:



  • I have been searching and attempting to get the HDMI to use audio. I've attempted these steps and have not been successful.

    At this point, I have tried every possible combinations of using:
    --sudo amixer cset numid=3 2
    --setting /boot/config.txt
    hdmi_drive=2
    hdmi_force_edid_audio=1
    hdmi_force_hotplug=1
    --configured raspi-config to use HDMI

    Still unable to get sound out of the HDMI, but sound still works from the composite port.

    Hopefully this thread is still alive (noting the last date posted...)
    Thanks for any insight.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!