Kodi Community Forum

Full Version: [Live] no audio from HDMI
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just installed XBMC Live 10 to my computer. When I play videos or music there is no sound. Here are my current audio settings:
Audio Output: HDMI
Speaker Configuration: 5.1
Boost Volume level downmix - checked
Dolby Digital (AC3) Capable receiver - checked
DTS Capable receiver - checked
Audio Output Device - HDMI
Passthrough Output Device - HDMI

The HDMI is connected to the Vizio TV and then Soundbar. HDMI sound works both in my other operating systems (Windows 7 and Ubuntu.)

If anyone has any useful links or suggestions it would be much appreciated. PS Even though I multi-boot with Ubuntu I'm fairly new to Linux.

Linux 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 09:00:03 UTC 2010 i686 GNU/Linux

XBMC 10.0 r35648

Intel Core 2 Duo E6750 @ 2.60 GHz
3023 Memory
ATI Radeon 5450 (Running ATI Radeon HD 5400)
1920x1080@60Hz

Debug log: http://pastebin.com/RJh1puUb

If any further information is needed let me know.

Thanks in advance!

Adding aplay -L output

Code:
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
    HDA Intel, ALC662 rev1 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC662 rev1 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=Generic
    HD-Audio Generic, ATI HDMI
    HDMI Audio Output

Adding aplay -l output
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: ATI HDMI [ATI HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
try to change for this

Audio Output Device - custom
and write
hdmi:CARD=Generic

Passthrough Output Device - custom
and write
hdmi:CARD=Generic
rikardo1979 Wrote:try to change for this

Audio Output Device - custom
and write
hdmi:CARD=Generic

Passthrough Output Device - custom
and write
hdmi:CARD=Generic

Worked perfectly! Thank you so much!
please check out this thread
http://forum.xbmc.org/showthread.php?tid=87986
the first steps solved my audio problems, but I also did the nvidia upgrades anyways. I notice during nvidia upgrade steps you are pulling down a new asound.conf

takes a little tinkering. I dont have mine set to 5.1 since I'm only doing HDMI to tv audio, and I also dont have Dolby Digital AC3 enabled.

so my Audio output tab looks like.
Audio output : HMDI
Speaker Config : 2.0
Boost volume : enabled.
Dobly Digital AC3 : disabled
DTS : enabled.
Audio output device : hdmi
Psssthrough output device : hdmi
Torein Wrote:Worked perfectly! Thank you so much!

you're welcome.
You can also express your gratitude in just clicking the funny little "scale of justice"-icon next to my post.Cool
rikardo1979 Wrote:You can also express your gratitude in just clicking the funny little "scale of justice"-icon next to my post.Cool

OMG he's quoting me OoLaugh
Hannes The Hun Wrote:OMG he's quoting me OoLaugh

u told me about it Shocked so i do whats right.
and sorry I copy your post about it but it save me time to write it again Blush
Cool
Hi guys,

I have a similar problem with a ATI Radeon HD 3870, using the newest XBMC Live Installation (LogFile says this is: XBMCLive Dharma, 2.6.32-26-generic i686).

I get no sound neither using hdmi nor using line out. HDMI and / or line out cables are plugged directly into the TV. I tried XBMC before on Windows 7, there the HDMI sound worked without any problems. I also could manage to play a mp3 file, but that only worked _one_ time, after rebooting it didn't work again.

Everytime I try to play a video or a mp3 file, XBMC gives me the following error message: "Failed to initialize audio device - check your audio settings"

I tried all tricks, I could found in this forum, including
- setting the audio settings in "system" to all possible combinations
- played around with asound.conf
- unmuted all iec devices in audio mixer

I also tried rikardo1979's suggestion, replacing hdmi:CARD=Generic with hdmi:CARD=HDMI, but it didn't work as well...

Please find below aplay -L output:
Code:
xbmc@HTPC:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
    HDA Intel, ALC883 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC883 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=HDMI
    HDA ATI HDMI, ATI HDMI
    HDMI Audio Output

aplay -l output:
Code:
xbmc@HTPC:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

xbmc- logfile (I don't know if this is any help?): http://pastebin.com/PU6w0hkj

I tried the whole night to get this thing running somehow, but I couldn't get it to work, so any help / ideas would be really appreciated.

Thank you in advance,
cheers and have a happy new year,

StrongBow
sorry for pushing, but is there really no one out there who might have an idea?

thank you,
StrongBow
custom device "plughw:1,3" (also for passthrough; no spaces in between is intentionally!), this should get you at least movie DD and DTS passthrough

I don't like that you played around with your asound.conf
first of all: thank you.

i did a fresh new install of xbmc live. I didn't change any settings except the ones you mentioned (HDMI, 2.0, custom, custom).
Unfortunately, still no luck, but i don't get the "Failed to initialize audio device" errormessage any more.

regarding the asound.conf: there is no asound.conf in /etc, I'm not sure if I should create one?

thank you in advance for your help...
I had same problem with a zotec HD-1 I had to set the bios southbridge settings audio to internal only. The Hdmi worked with live.
Hi Narb,

thank you very much for your hint, I disabled internal audio in BIOS and *tataaaaaa* suddenly, I've got sound when playing videos.

If I try to play a mp3 file, XBMC shows me the "fAiled to initialize audio device" errormessage and mp3 files won't be played. Any suggestion to this? Why is sound working when playing video files but not if playing mp3s?

thx,

strongbow
rikardo1979 Wrote:try to change for this

Audio Output Device - custom
and write
hdmi:CARD=Generic

Passthrough Output Device - custom
and write
hdmi:CARD=Generic

Can I ask how to do this please? I have the same problem.