Kodi Community Forum

Full Version: ALSA error and no sound with XBMC 12.0-ALPHA4 setup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,

I'm having this weird problem when playing videos via my AMD Fusion setup. Im running Ubuntu minimal 11.10 on AMD Fusion E-450.
I get absolutely no sound on some videos. I believe they use passthrough. Any ideas why this could be ? Ofcourse the XBMC logs indicate a Broken pipe error with ALSA. Cant seem to figure out why this is happening.

Code:
[email protected]:~$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Under XBMC I have,
Audio Output = hw:CARD=Generic,DEV=3,HDMI 0
Passhthrough = HD-Audio Generic, HDMI

In the logs, I can see the following error:
Code:
13:03:26 T:140235504793344    INFO: CAESinkALSA::Initialize - Attempting to open device "hw:CARD=Generic,DEV=3"
13:03:26 T:140235504793344    INFO: CAESinkALSA::Initialize - Opened device "hw:CARD=Generic,DEV=3"
13:03:26 T:140235504793344    INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
13:03:26 T:140235504793344    INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
13:03:26 T:140235504793344   DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 512, periods 16, bufferSize 8192
13:03:26 T:140235504793344   DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 512, periods 16, bufferSize 8192
13:03:26 T:140235504793344   DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 186 ms
13:03:26 T:140235504793344    INFO: CSoftAE::InternalOpenSink - ALSA Initialized:
13:03:26 T:140235504793344    INFO: CAESinkALSA - ALSA: pcm_hw.c:587:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed (-32): Broken pipe

For reference:
Code:
[email protected]:~$ sudo aplay -L
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
front:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    Front speakers
surround40:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    Direct sample mixing device
dmix:CARD=SB,DEV=1
    HDA ATI SB, ALC887-VD Digital
    Direct sample mixing device
dsnoop:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    Direct sample snooping device
dsnoop:CARD=SB,DEV=1
    HDA ATI SB, ALC887-VD Digital
    Direct sample snooping device
hw:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    Direct hardware device without any conversions
hw:CARD=SB,DEV=1
    HDA ATI SB, ALC887-VD Digital
    Direct hardware device without any conversions
plughw:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    Hardware device with all software conversions
plughw:CARD=SB,DEV=1
    HDA ATI SB, ALC887-VD Digital
    Hardware device with all software conversions