Author Topic: HDMI Audio AC3 Problem  (Read 3001 times)

grepico

  • Veteran
  • ***
  • Posts: 109
    • View Profile
HDMI Audio AC3 Problem
« on: September 26, 2014, 03:26:06 pm »
I've been fighting this thing for days.  I have an NVidia chipset with HDMI on board.  Running 10.04 Hybrid.  Going through the A/V wizard I get no sound when using HDMI but if I continue through the wizard anyway, I get audio when I play music/video EXCEPT when I play anything that uses AC3 encoding.

aplay -L output:
Code: [Select]
    Discard all samples (playback) or generate zero samples (capture)
front:CARD=NVidia,DEV=0
    HDA NVidia, ALC888 Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, ALC888 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, ALC888 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, ALC888 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, ALC888 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, ALC888 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, ALC888 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output

aplay -l output:
Code: [Select]
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Any idea what I need to do?

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: HDMI Audio AC3 Problem
« Reply #1 on: September 26, 2014, 03:50:21 pm »
Can you paste the contents of /etc/asound.conf and /etc/pluto/xine.conf

J.

grepico

  • Veteran
  • ***
  • Posts: 109
    • View Profile
Re: HDMI Audio AC3 Problem
« Reply #2 on: September 26, 2014, 06:32:01 pm »
asound.conf
Code: [Select]
</etc/pluto/alsa/virtual_cards.conf>

pcm_slave.hdmi_convert48k {
        pcm "plughw:0,3"
        rate 48000
}

pcm.hdmi_playback {
        type plug
        slave hdmi_convert48k
}

pcm.asym_hdmi {
        type asym
        playback.pcm "hdmi_playback"
        capture.pcm "plughw:0,3"
}

pcm.!default asym_hdmi


xine.conf (last lines, i'm assuming those are the ones you care about)
Code: [Select]
audio.device.alsa_front_device:plughw:0,3
audio.device.alsa_default_device:plughw:0,3
audio.output.speaker_arrangement:Stereo 2.0

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: HDMI Audio AC3 Problem
« Reply #3 on: September 27, 2014, 02:00:11 am »
Hey, I think we were talking in irc.  If you move to 1204 hdmi is much more supported.  1004 has all sorts of exceptions and issues.

J.