failed pass-through audio on new xbmcbuntu over hdmi
#1
Zotac HD-ID11
5.1 output over HDMI
Clean install of XBMCBuntu
Audio Output: Defaults (ALSA)
Passthrough Output:: HDMI (ALSA)

videos that use normal downmixing or stereo output works fine.

installed okay, menu sounds work, however when I try to play any video that uses dts or ac3, I get "failed to initialize audio device"
I show the following in the logs
Code:
23:54:58 T:2668591984  NOTICE: Creating audio device with codec id: 86019, channels: 2, sample rate: 48000, pass-through
23:54:58 T:2668591984   ERROR: Initialize - failed to open custom device hdmi:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2 (error:No such file or directory), retry with default hdmi
23:54:58 T:2668591984   ERROR: Initialize - pcm_open_lconf, alsa error: -2 - No such file or directory
23:54:58 T:2668591984   ERROR: Unable to open audio mixer
23:54:58 T:2668591984   ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen

any ideas on how to solve?

aplay -l
Code:
root@xbmc:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root@xbmc:~#
Reply
#2
I'm have the same issues, I've tried every one of the possible sound setting with no success.
I have verified that the hdmi is not muted in alsamixer. The following is from a clean install.

http://pastebin.com/VZAvk5cu

I've always used either full Ubuntu or Mint systems for my XBMC builds and the GNOME Sound Setting I would do the configuration with out issue. I really like the looks of the beast but have no clue what needs to be done to get sound working.

It appears that a number of people are having issues with Sound on the Platform.

Reply
#3
same, previous live installs had no issues with sound.

It also appears to just be a problem with pass through, as downmxing works fine, but only when i try playing something with ac3 or dts that uses pass through does it not work.
updated original topic with clarification
Reply
#4
that worked perfectly. I definitely didn't have that on my previous build, so I think it's new to XBMCBuntu, but either way, it works great now. Thanks!

(2012-02-13, 20:53)joethefox Wrote: with beta3 I had audio problems too. Try this custom setting
Code:
alsa:hdmi:CARD=NVidia

P.S. remember to unmute nvidia output with
Code:
alsamixer -c <card_number>
Reply
#5
Ok. So I got it working. Just to be clear I will go through this so it makes a little more sense to people as it took me a while with a little luck as well.

1. Go to terminal on comp
2. Login by typing
ssh "username"@IP_of_your_XBMC

it will then ask for you pass, so type that in

3.Once you are in it should look like this
user_name@XBMC:~$
Type in
"aplay -L"

You will get something like this

null
Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio Output
dmix:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct sample mixing device
dsnoop:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct sample snooping device
hw:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct hardware device without any conversions
plughw:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Hardware device with all software conversions
default:CARD=Generic_1
HD-Audio Generic, VT1705 Analog
Default Audio Device
front:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
Front speakers
surround40:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
Direct sample mixing device
dsnoop:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
Direct sample snooping device
hw:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
Direct hardware device without any conversions
plughw:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
Hardware device with all software conversions

4. Find the hdmi one, in my case it is the first one
5. Take note of yours "hdmi:CARD=Generic,DEV=0"
6. Go to System, Settings, System, Audio output.
Change Audio output device & Passthrough output device to Custom & type in step 5.

Make sure Audio output is set to HDMI as well.
I have set speakers to 5.1 and DD/DTS selected but I cant seem to get surround working yet. I might try a reboot.
Ill let you know.
After a rebbot. DTS/DD both work with 5.1.
Reply
#6
(2012-03-28, 13:07)tmacka88 Wrote: Ok. So I got it working. Just to be clear I will go through this so it makes a little more sense to people as it took me a while with a little luck as well.

1. Go to terminal on comp
2. Login by typing
ssh "username"@IP_of_your_XBMC

it will then ask for you pass, so type that in

3.Once you are in it should look like this
user_name@XBMC:~$
Type in
"aplay -L"

You will get something like this

null
Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio Output
dmix:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct sample mixing device
dsnoop:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct sample snooping device
hw:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct hardware device without any conversions
plughw:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Hardware device with all software conversions
default:CARD=Generic_1
HD-Audio Generic, VT1705 Analog
Default Audio Device
front:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
Front speakers
surround40:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
Direct sample mixing device
dsnoop:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
Direct sample snooping device
hw:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
Direct hardware device without any conversions
plughw:CARD=Generic_1,DEV=0
HD-Audio Generic, VT1705 Analog
Hardware device with all software conversions

4. Find the hdmi one, in my case it is the first one
5. Take note of yours "hdmi:CARD=Generic,DEV=0"
6. Go to System, Settings, System, Audio output.
Change Audio output device & Passthrough output device to Custom & type in step 5.

Make sure Audio output is set to HDMI as well.
I have set speakers to 5.1 and DD/DTS selected but I cant seem to get surround working yet. I might try a reboot.
Ill let you know.
After a rebbot. DTS/DD both work with 5.1.

Tmacka88. Thank you for posting this! This worked on my Jetway minitop. Really appreciate it.
Reply
#7

[/quote]

Tmacka88. Thank you for posting this! This worked on my Jetway minitop. Really appreciate it.
[/quote]

no worries. took me while to figure it out so though i would show others. BTW is your lip sync out when playing files as well?
Reply
#8

Tmacka88. Thank you for posting this! This worked on my Jetway minitop. Really appreciate it.
[/quote]

no worries. took me while to figure it out so though i would show others. BTW is your lip sync out when playing files as well?
[/quote]

Not sure what you mean? When I watch videos the sound is in sync with the video
Reply
#9
I was just wondering if u had lip sync issues as well using Eden as I have. Seem like there is still a bug on my system with Out of sync. Although I have fixed it now with a patch. Just wanted to make sure u didnt run into this as well.

Cheers
Reply
#10
HI,

Your post helped me fix my lack of audio on most files / formats thankyou. very helpful.

Only have discoverd that .mkv .mp4 anything ac3 / dts doesnt have any audio at all, just silence.

When I went to adjust volume up incase it was down, I get "Passthrough audio in use" message.

If I disable DTS / DOLBY capable options then I get 1 track of audio, incidental music, but no dialogue.

Changing from 5.1 to 2.1 speaker config seems to fix this.

Im using a Zotac ZBOX HD-ID11

Any ideas.Confused
Reply
#11
Is the passthrough the same as the audio setting?
Reply
#12
(2012-04-04, 18:00)zephyrnet Wrote: HI,
Only have discovered that .mkv .mp4 anything ac3 / dts doesnt have any audio at all, just silence.

I know this is a very old thread but I wanted to post a solution that fixed this problem for me.

Try setting both Audio Out and Pass Through to:
Code:
alsa:hdmi:CARD=NVidia

This fixed ACC audio for me on my AT5IONT-I running XBMCBuntu (eden). Other MKVs played fine through to my receiver but youtube, TED, and other streamed video that uses ACC would not send any output.
Reply
#13
So have some problems.

Zotac ID81 Plus

Can't ssh into box for some reason. Tried all my passwords, no luck.

When I enter "hdmi:CARD=Generic,DEV=0" or "hdmi:CARD=NVidiva,DEV=0" into the settings, the audio still doesn't work. For the love of God, would someone PLEASE tell me how to fix the audio. This is really getting out of control.

Thanks!
Setup:
- nvidia Shield TV Pro
- 8TB Synology DS214play
- 2TB External eSATA

twitter
Reply
#14
Thumbs Up 
Thank you very much... this basicly fixed my problem... Big Grin

with "hdmi:CARD=NVidia,DEV=0" I now can get sound over my TV as long as I set it to 2 Speakers and disable the AC3 and DTS...

is there a way to get sound over HDMI and Optical at the same time?
Reply

Logout Mark Read Team Forum Stats Members Help
failed pass-through audio on new xbmcbuntu over hdmi0