News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

HDMI Audio AC3 Problem

Started by grepico, September 26, 2014, 03:26:06 PM

Previous topic - Next topic

grepico

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:
    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:
**** 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

Can you paste the contents of /etc/asound.conf and /etc/pluto/xine.conf

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

grepico

asound.conf
</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)

audio.device.alsa_front_device:plughw:0,3
audio.device.alsa_default_device:plughw:0,3
audio.output.speaker_arrangement:Stereo 2.0

phenigma

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.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]