No audio on startup of raspberry pi

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
doogdeb Offline
Junior Member
Posts: 38
Joined: Nov 2012
Reputation: 0
Post: #1
Since XBMC 12 Beta 2 I get no audio when raspberry pi first loads XBMC. Once I do a reboot it's all back to normal but it's guaranteed that on first load I will have no audio. Anyone else getting this?
(This post was last modified: 2013-01-07 21:16 by doogdeb.)
find quote
popcornmix Offline
Team-Kodi Member
Posts: 2,973
Joined: Feb 2011
Reputation: 70
Post: #2
Possibly an issue with Pi querying HDMI before the TV is ready. Is the TV powered on and on right channel before the first boot of Pi?
find quote
doogdeb Offline
Junior Member
Posts: 38
Joined: Nov 2012
Reputation: 0
Post: #3
The pi, TV, amp etc is connected to a smart power adapter, so when I choose to switch TV on the power comes on for pi, amp etc. It won't be on the right channel when the TV first comes on.
find quote
popcornmix Offline
Team-Kodi Member
Posts: 2,973
Joined: Feb 2011
Reputation: 70
Post: #4
Two solutions. You can try adding
boot_delay=10

which makes pi wait 10 seconds before talking to HDMI. This may allow the TV to have booted enough to respond to communication from PI.

If that doesn't work you can dump the edid from Pi with:
sudo tvservice -d /boot/edid.dat

and add this to config.txt:
hdmi_edid_file=1
hdmi_force_hotplug=1

This basically avoids the Pi talking to TV on bootup, and just using a pre-canned version of the edid.
find quote
doogdeb Offline
Junior Member
Posts: 38
Joined: Nov 2012
Reputation: 0
Post: #5
I will try the boot_delay option.

Thanks for the help.
(This post was last modified: 2013-01-08 22:37 by doogdeb.)
find quote