2010-10-16, 14:54
Hello
I've searched all internet, and XBMC forum and haven't find a solution, and is very annoying after dharma release.
My hardware
* Asus P5B Deluxe with integrated audio AD198x
* Ati radeon 3600HD with hdmi audio output
* Lcd with hdmi input audio/video
* Av receiver 5.1 with coaxial input capable of DTS and AC3 decoding
My software
Now, Dharma beta3 + Ubuntu Lucid fresh install
To put things in order:
1) I have sound in my av receiver from VLC through SPDIF via coaxial (DTS, AC3, AAC MP3 etc).
2) I have sound in my LCD tv through HDMI (from ATI videocard) from VLC.
3) I have sound in my LCD tv through HDMI (from ATI videocard) from XBMC.
4) NO SOUND in my av receiver from XBMC through SPDIF via coaxial (DTS, AC3, AAC MP3 etc). Tried all combinations in audio settings for Optical/coaxial output downmix to 2.0, to 5.1, through iec958, custom iec958, HDA Intel.............. etc etc but always the same message: "Failed to initialize audio device"
here is my "aplay -l"
aplay -L
I'm not such a good interpreter of debug log but here lays an error:
/etc/asound.conf
What I have to do to make it work
I've searched all internet, and XBMC forum and haven't find a solution, and is very annoying after dharma release.
My hardware
* Asus P5B Deluxe with integrated audio AD198x
* Ati radeon 3600HD with hdmi audio output
* Lcd with hdmi input audio/video
* Av receiver 5.1 with coaxial input capable of DTS and AC3 decoding
My software
Now, Dharma beta3 + Ubuntu Lucid fresh install
To put things in order:
1) I have sound in my av receiver from VLC through SPDIF via coaxial (DTS, AC3, AAC MP3 etc).
2) I have sound in my LCD tv through HDMI (from ATI videocard) from VLC.
3) I have sound in my LCD tv through HDMI (from ATI videocard) from XBMC.
4) NO SOUND in my av receiver from XBMC through SPDIF via coaxial (DTS, AC3, AAC MP3 etc). Tried all combinations in audio settings for Optical/coaxial output downmix to 2.0, to 5.1, through iec958, custom iec958, HDA Intel.............. etc etc but always the same message: "Failed to initialize audio device"
here is my "aplay -l"
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
aplay -L
Code:
pulse
Playback/recording through the PulseAudio sound server
front:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, AD198x Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=HDMI
HDA ATI HDMI, ATI HDMI
HDMI Audio Output
I'm not such a good interpreter of debug log but here lays an error:
Code:
15:35:54 T:2849614704 M:2613485568 DEBUG: CDVDPlayer::HandleMessages - player started 2
15:35:54 T:2794912624 M:2613485568 NOTICE: Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, pass-through
15:35:54 T:2794912624 M:2613485568 INFO: AudioRendererFactory: not a explicit device, trying to autodetect.
15:35:54 T:2794912624 M:2613485568 DEBUG: RemoveActiveDevice - Removing device 1
15:35:56 T:3045324656 M:2612695040 DEBUG: CAnnouncementManager - Announcement: PlaybackStarted from xbmc
15:35:56 T:2794912624 M:2612695040 DEBUG: SetActiveDevice - SetActiveDevice from 0 to 2
15:35:56 T:2794912624 M:2612695040 DEBUG: RemoveActiveDevice - Removing device 0
15:35:56 T:2794912624 M:2612695040 WARNING: PulseAudio: Does not support passthrough
15:35:56 T:2794912624 M:2612695040 DEBUG: SetActiveDevice - SetActiveDevice from 2 to 1
15:35:56 T:2794912624 M:2612543488 DEBUG: RemoveActiveDevice - Removing device 2
15:35:56 T:2794912624 M:2612088832 DEBUG: CGUIAudioManager::Initialize
15:35:56 T:2794912624 M:2610946048 DEBUG: RemoveActiveDevice - Removing device 1
15:35:56 T:2794912624 M:2610946048 DEBUG: CGUIAudioManager::DeInitialize
15:35:56 T:2794912624 M:2610946048 DEBUG: SetActiveDevice - SetActiveDevice from 0 to 2
15:35:56 T:2794912624 M:2610946048 DEBUG: RemoveActiveDevice - Removing device 0
15:35:56 T:2794912624 M:2610946048 DEBUG: Initialize - using alsa device iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2
15:35:56 T:2794912624 M:2610946048 ERROR: Initialize - device iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2 busy retrying...
15:35:56 T:3045324656 M:2608279552 NOTICE: Using GL_TEXTURE_2D
15:35:56 T:3045324656 M:2608279552 DEBUG: GL: Requested render method: 2
15:35:56 T:3045324656 M:2608279552 DEBUG: GL: BaseYUV2RGBGLSLShader: defines:
#define XBMC_texture_rectangle 0
#define XBMC_texture_rectangle_hack 0
#define XBMC_STRETCH 0
#define XBMC_YV12
/etc/asound.conf
Code:
pcm.!hdmi-remap {
type asym
playback.pcm {
type plug
slave.pcm "remap-surround71"
}
}
pcm.!remap-surround71 {
type route
slave.pcm "hw:0,3"
ttable {
0.0= 1
1.1= 1
2.4= 1
3.5= 1
4.2= 1
5.3= 1
6.6= 1
7.7= 1
}
}
What I have to do to make it work