[LINUX] Audio Problems with Eden Beta 3 and Ubuntu 11.10
#46
Just installed the XBMCbuntu release and haven't had any luck with getting sound. Depending on what I change sometimes the 'failed to initialize audio device' pops up. I've tried a number of different combinations and still nothing.

aplay -l

card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0

aplay -L

null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
HDA Intel, ALC888 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, ALC888 Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
Direct sample mixing device
dmix:CARD=Intel,DEV=1
HDA Intel, ALC888 Digital
Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
HDA Intel, ALC888 Digital
Direct sample snooping device
hw:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
HDA Intel, ALC888 Digital
Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
HDA Intel, ALC888 Analog
Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
HDA Intel, ALC888 Digital
Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample snooping device
hw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Hardware device with all software conversions
Reply
#47
@e1jones

I had the same problem (XBMCBuntu on Ubuntu 12.04). I solved my audio problems by removing (or renaming) the .asoundrc file and rebooting. I believe it's in /home/xbmc/ but can't check now because i'm at work.
Be aware that this is an invisible file!
Also make sure you got the correct audio devices in XBMC. In your case it's plughw:0,0 for analog, plughw:0,1 for digital or plughw:1,3 for HDMI.
Reply
#48
Strange, there isn't an .asoundrc, even with WinSCP set to show hidden files.

Since I neglected to fully describe the situation; I have a Zotac ID11 connected via HDMI to the TV. Video works fine, audio not at all. One of the combinations I tried was

Code:
custom audio device:  plughw:1,3
custom passthru device:  plughw:0,1

as you described; I also switched them just in case I was reading it wrong.

Oddly enough, running alsamixer -c <card_number> on the HDA NVidia shows only the spdif, and it's muted. The HDA Intel shows everything unmuted. Not sure if that's an issue....
Reply
#49
Ok, and if you enter the same device for BOTH audio and passthru device? So both plughw:1,3 or plughw:0,1.

Regarding .asoundrc, i don't know if WinSCP shows that file, even with hidden files enabled. Best enter the directory "/home/xbmc" and run "ls -a" to be sure. If it's not there, it's possible that there's a "asound.conf" in "/etc/". Maybe if you rename that file and retry? I'd suggest renaming so you can restore the file if something breaks.
Reply
#50
I had tried all the options but no sound. Not using passthrough makes me lose quality? If so, could someone help me?

Ubuntu 12.04 64 bits, XBMC Eden, Nvidia GTX 560 TI (no other sound card), Onkyo HT R-390. Sound through HDMI. On Ubuntu sound test, all channels (5.1) works fine.

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

aplay -L
default
Playback/recording through the PulseAudio sound server
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
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct sample snooping device
hw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Hardware device with all software conversions
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] Audio Problems with Eden Beta 3 and Ubuntu 11.100