Kodi Community Forum

Full Version: Passthrough only working by turning on/off
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi,

i am using linux mint 9 (pulseaudio), and use an iec958 connected to an AVR.
i read 10 pages, for around 2 hrs, but couldn't quite find a solution to my problem.

this is my aplay -l:

Code:
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: SB [HDA ATI SB], Gerät 0: VT1708S Analog [VT1708S Analog]
  Sub-Geräte: 2/2
  Sub-Gerät #0: subdevice #0
  Sub-Gerät #1: subdevice #1
Karte 0: SB [HDA ATI SB], Gerät 1: VT1708S Digital [VT1708S Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: HDMI [HDA ATI HDMI], Gerät 3: ATI HDMI [ATI HDMI]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0

already confuses me, shouldn't there be anything called "iec958"?



this is my configuration inside xbmc:

Image



but as soon as i try to play anything with AC3 or DTS, i get:

Image



then i have to open the filespecific settings, put "all speakers" on and off, and its working:

Image

heres the log:
Quote:17:08:30 T:2949630832 M:1660596224 NOTICE: Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, pass-through
17:08:30 T:2949630832 M:1660596224 ERROR: Initialize - device iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2 busy retrying...
17:08:30 T:2949630832 M:1653866496 ERROR: Initialize - failed to open custom device iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2, retry with default iec958
17:08:30 T:2949630832 M:1653866496 ERROR: Initialize - pcm_open_lconf, alsa error: -16 - Device or resource busy
17:08:30 T:2949630832 M:1653866496 ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen

what is wrong here, or what am i doing wrong?
thanks in advance for any help Smile
do you want to achieve passthrough via hdmi?
if yes i'd set hdmi as a passthrough device and disable the downmix feature in case you want to enjoy 5.1 audio output.
no, i don't want passthrough over HDMI, i am using SPDIF
Did you solve this issue? I am having this problem as well.

In addition, some (fewer than those that cause the issue you've described) videos won't play digital at all.

I feel like the issues are related. Knowing how you solved your issue might help me out here.

This is what my log file says when digital sound fails:

Code:
19:52:17 T:2863725424 M:2997645312   ERROR: Initialize - failed to open custom device iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3
19:52:17 T:2863725424 M:2997645312   ERROR: Initialize - pcm_open_lconf, alsa error: -16 - Device or resource busy
19:52:17 T:2863725424 M:2997645312   ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happ
1
sorry mate, i switched to windows, and got rid of the problem :/

as far as i remember, the problem was pulseaudio not supporting passthrough.
doesntcount Wrote:Did you solve this issue? I am having this problem as well.

In addition, some (fewer than those that cause the issue you've described) videos won't play digital at all.

I feel like the issues are related. Knowing how you solved your issue might help me out here.

This is what my log file says when digital sound fails:

Code:
19:52:17 T:2863725424 M:2997645312   ERROR: Initialize - failed to open custom device iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3
19:52:17 T:2863725424 M:2997645312   ERROR: Initialize - pcm_open_lconf, alsa error: -16 - Device or resource busy
19:52:17 T:2863725424 M:2997645312   ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happ
1

Did you have any luck resolving this? I had xbmc working fine and then the hdmi board on my amp died. I had to reconfigure things to run through the analog out on my Acer Revo 1600. Now that I've replaced my receiver I can't get the HDMI audio to work.