muskorv
2009-04-06, 00:39
I'm having a quite strange sound issue. After following the installation guide for Hardy (http://xbmc.org/wiki/?title=HOW-TO:_Install_XBMC_for_Linux_on_Ubuntu_8.10_(Intrepi d)_step-by-step), I had no sound at all in XBMC.
Trying to follow the instructions in this post (http://xbmc.org/forum/showpost.php?p=209655&postcount=2), I created an .asoundrc file with the line "pcm.!default spdif". When I then run "speker-test -c 2" I get no error messages (the output looks normal) but my speakers remain silent. However, if I keep the .asoundrc file and start XBMC, both navigation sound and MP3 playback (with both PAPlayer aswell as DVDplayer) works. But no sound on videos. If I delete the .asoundrc file, XBMC won't play any sounds at all.
I have searched the forum for a solution, but I'm still stuck with silent videos. Can't figure out what's causing this.
This is my aplay -l and aplay -L output:
xbmc@HTPC:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC885 Analog [ALC885 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC885 Digital [ALC885 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
xbmc@HTPC:~$ aplay -L
front:CARD=SB,DEV=0
HDA ATI SB, ALC885 Analog
Front speakers
surround40:CARD=SB,DEV=0
HDA ATI SB, ALC885 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
HDA ATI SB, ALC885 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
HDA ATI SB, ALC885 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
HDA ATI SB, ALC885 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
HDA ATI SB, ALC885 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SB,DEV=0
HDA ATI SB, ALC885 Digital
IEC958 (S/PDIF) Digital Audio Output
null
Discard all samples (playback) or generate zero samples (capture)
My hardware setup is a Gigabyte GA-MA78GM-S2H (AMD 780G chipset) motherboard and a Gainward GeForce 8400GS graphics card. The graphics card is connected to the internal S/PDIF header on the motherboard and then outputting both audio and video through HDMI to the TV.
In XBMC I have the following settings:
Digital
Dolby Digital (AC3) Capable Receiver - unchecked
DTS Capable Receiver - unchecked
Audio output device - default
Passthough output device - iec958
Downmix multichannel audio to stereo - checked
Analog
Audio output device - default
Downmix multichannel audio to stereo - checked
Using XBMC r19182. Debug logging is enabled but the log contains no errors.
Trying to follow the instructions in this post (http://xbmc.org/forum/showpost.php?p=209655&postcount=2), I created an .asoundrc file with the line "pcm.!default spdif". When I then run "speker-test -c 2" I get no error messages (the output looks normal) but my speakers remain silent. However, if I keep the .asoundrc file and start XBMC, both navigation sound and MP3 playback (with both PAPlayer aswell as DVDplayer) works. But no sound on videos. If I delete the .asoundrc file, XBMC won't play any sounds at all.
I have searched the forum for a solution, but I'm still stuck with silent videos. Can't figure out what's causing this.
This is my aplay -l and aplay -L output:
xbmc@HTPC:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC885 Analog [ALC885 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC885 Digital [ALC885 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
xbmc@HTPC:~$ aplay -L
front:CARD=SB,DEV=0
HDA ATI SB, ALC885 Analog
Front speakers
surround40:CARD=SB,DEV=0
HDA ATI SB, ALC885 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
HDA ATI SB, ALC885 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
HDA ATI SB, ALC885 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
HDA ATI SB, ALC885 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
HDA ATI SB, ALC885 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SB,DEV=0
HDA ATI SB, ALC885 Digital
IEC958 (S/PDIF) Digital Audio Output
null
Discard all samples (playback) or generate zero samples (capture)
My hardware setup is a Gigabyte GA-MA78GM-S2H (AMD 780G chipset) motherboard and a Gainward GeForce 8400GS graphics card. The graphics card is connected to the internal S/PDIF header on the motherboard and then outputting both audio and video through HDMI to the TV.
In XBMC I have the following settings:
Digital
Dolby Digital (AC3) Capable Receiver - unchecked
DTS Capable Receiver - unchecked
Audio output device - default
Passthough output device - iec958
Downmix multichannel audio to stereo - checked
Analog
Audio output device - default
Downmix multichannel audio to stereo - checked
Using XBMC r19182. Debug logging is enabled but the log contains no errors.