Hi! I recently installed linux mint debian LMDE and have my computer connected to a A/V receiver via HDMI. The HDMI is connected to the Nvidia GTX 560Ti card and I have installed the propriatary drivers (295.20) I had linux mint 11 installed before and had sound via HDMI and also ac3 passthrough worked for Dolby surround (via spdif in VLC and Mplayer). I think I uninstalled pulseaudio on my previous Mint 11 to get it to work. I tried now with debian with pulseaudio installed and could only get HDMI sound through ALSA (selected in VLC, mplayer) but no system sound or sound through webbrowser etc, and no ac3 passthrough. When playing a video file I see a soundbar moving (in volume control for pulse) in HDMI, so the system is getting sound but nothing out of the speakers. I have nothing muted in pulse or alsa, all spdif switches are on. I run gstreamer-properties and do a test sound and only get sound with device on ALSA and HDMI 1,7 (which is the same HDMI i get sound from in vlc, mplayer etc).
aplay -l
**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:1220

parse_def) show is not a compound
ALSA lib conf.c:1686

snd_config_load1) _toplevel_:24:26:Unexpected char
ALSA lib conf.c:3406

config_file_open) /usr/share/alsa/pulse-alsa.conf may be old or corrupted: consider to remove or fix it
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Headset [Logitech Wireless Headset], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default
Playback/recording through the PulseAudio sound server
sysdefault:CARD=PCH
HDA Intel PCH, ALC887-VD Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
Front speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
HDMI Audio Output
sysdefault:CARD=Headset
Logitech Wireless Headset, USB Audio
Default Audio Device
front:CARD=Headset,DEV=0
Logitech Wireless Headset, USB Audio
Front speakers
surround40:CARD=Headset,DEV=0
Logitech Wireless Headset, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Headset,DEV=0
Logitech Wireless Headset, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Headset,DEV=0
Logitech Wireless Headset, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Headset,DEV=0
Logitech Wireless Headset, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Headset,DEV=0
Logitech Wireless Headset, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Headset,DEV=0
Logitech Wireless Headset, USB Audio
IEC958 (S/PDIF) Digital Audio Output
lspci -vvv (for nvidia)
01:00.1 Audio device: nVidia Corporation Device 0e0c (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 8390
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 17
Region 0: Memory at fa080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Next I uninstalled pulseaudio and edited the asound.conf file to look like this:
pcm.dmixer {
type dmix
ipc_key 2048
slave {
pcm "hw:1,7" # Always use pure hw. dmix will reformat/resample audio.
period_size 512 # If you get stuttering/or non-working audio, fiddle around with these
buffer_size 4096
rate 48000 # HDMI, I'll assume 48kHz
format S16_LE # Should be default for pretty much any soundcard.
}
bindings {
0 0
1 1
}
}
pcm.!default {
type plug
slave.pcm dmixer
}
and that gave me sound through the HDMI from pretty much everything and I was very happy....but! No ac3 passthrough. So I cant Dolby digital surround when playing ac3 files... I get no sound at all with spdif passthrough on vlc or mplayer. I have googled for days and tried everything I have found on ac3 but nothing works. Is there any debian sound specialist out there that can help me?