2

I'm having problems getting sound to work on my RPi. I'm running raspbian, and I want the sound to play over HDMI.

I've tried omxplayer -o hdmi path/to/myfile.mp3 with the HDMI cable, and omxplayer path/to/myfile.mp3 over analogue. None of them works.

The system is updated and upgraded to the latest packages, I've also done modprobe snd_bcm2835 which as I understand enables audio?

Is sound supposed to work out of the box or do I have to get any packages or something?

1
  • Try running amixer cset numid=3 2, which should force audio be go through HDMI.
    – Gerben
    Commented Nov 8, 2013 at 20:35

1 Answer 1

2

audio via HDMI should work out-of-the-box, however there are some issues with your HDMI receiver (e.g. TV which raspberry pi is connected to)

see my struggle on this topic here: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=57984&p=442479#p442479

gerenally check if hdmi_drive=2 or even better set hdmi to safe mode

2
  • 1
    I edited /boot/config.txt and uncommented both hdmi_drive=2 and hdmi_safe=1 but still no sound. Commented Nov 8, 2013 at 16:57
  • did you reboot after that? Commented Nov 12, 2013 at 14:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.