Failure to initialize audio device
#1
I get this error when I try to view dolby digital or DTS audio/video tracks. I have tried enabling and disabling IEC985, and I've tried to select SPDIF anywhere I can find a check box for it but to no avail.
Any ideasHuh

connections:
Turtle beach riviera connected via SPDIF/toslink out to external preamp/processor/home theater.

Using Jaunty(ubuntu).
Reply
#2
Update your also drivers to 1.0.20 is a really good place to start.
Reply
#3
Have you unmuted iec958 in alsamixer?

possible usage in xbmc soundconfig:iec958, plug:iec958, spdif, default ..
Reply
#4
blittan Wrote:Have you unmuted iec958 in alsamixer?

possible usage in xbmc soundconfig:iec958, plug:iec958, spdif, default ..

Thanks for the reply....
I only show "master", "PCM", "Line in", "CD", and some other sliders not associated with SPDIF.
Unmuted are: "master", "PCM", "CD".

To enter the above possible usages in XBMC, would I edit a config file or enter them under the audio settings inside XBMC while its running?
Reply
#5
tidan Wrote:Twould I edit a config file or enter them under the audio settings inside XBMC while its running?

You'll enter it in the config UI while XBMC is running.

You should start off ignoring XBMC for now, and get the sound working using just the alsa utilities. Once you get the sound working, in the process you should have already found the device that you'd enter into XBMC in order to get sound.
Reply
#6
Maxim Wrote:You'll enter it in the config UI while XBMC is running.

You should start off ignoring XBMC for now, and get the sound working using just the alsa utilities. Once you get the sound working, in the process you should have already found the device that you'd enter into XBMC in order to get sound.

Where might I start in getting AC3/DTS out via SPDIF in Ubuntu? I have tried absolutely every trick and idea I could muster and am at a loss here.

Thanks!
Reply
#7
If alsamixer only shows

Quote:I only show "master", "PCM", "Line in", "CD", and some other sliders not associated with SPDIF.

then I guess you should start with that. Have you updated alsa as suggested above?
If Alsa does not see SPDIF it will not work. Maybe the hw is not compatible.
Reply
#8
Yes, I have updated everything I can think of to no avail.
I know the sound card spdif works because I had an install of Ubuntu w/xbmc working on it before but swapped out hard drives and reinstalled the OS and can't seem to get it working again.

Under Preferences/Sound I show several options for which I've tried nearly every one of them with no luck. I got VLC to play AC3 fine?!
Reply
#9
What is the output of the commands:
Code:
aplay -L
Code:
aplay -l
Reply
#10
htpc@tidan-ubuntu-htpc1:~$ aplay -L
front:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI DAC/ADC
Front speakers
rear:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI 2nd DAC
Rear speakers
surround40:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI 2nd DAC
4.0 Surround output to Front and Rear speakers
surround41:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI 2nd DAC
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI 2nd DAC
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI 2nd DAC
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI DAC/ADC
IEC958 (S/PDIF) Digital Audio Output
null
Discard all samples (playback) or generate zero samples (capture)



htpc@tidan-ubuntu-htpc1:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: CMI8738 [C-Media CMI8738], device 0: CMI8738-MC6 [C-Media PCI DAC/ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CMI8738 [C-Media CMI8738], device 1: CMI8738-MC6 [C-Media PCI 2nd DAC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CMI8738 [C-Media CMI8738], device 2: CMI8738-MC6 [C-Media PCI IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
Reply
#11
Ok. Everything looks good there, I didn't think to add these commands earlier. Please post the output of these as well.
Code:
asoundconf list
Paste the output of the following at a pastebin website.
Code:
alsactl -f ~/alsa.state store;cat ~/alsa.state
Reply
#12
htpc@tidan-ub-htpc2:~$ asoundconf list
Names of available sound cards:
CMI8738


Alsa state: alsastate.txt
Reply
#13
Ok, and now paste the contents of any and all of the following /etc/asound.conf, ~/.asoundrc, ~/.asoundrc.asoundconf.
Reply
#14
[show hidden files]
/etc/asound.conf = none
~/.asoundrc = none
~/.asoundrc.asoundconf = none
Reply
#15
Ok. Now a pastebin of a log of XBMC with Debugging turned on where the Failed to initialize message is displayed.
Reply

Logout Mark Read Team Forum Stats Members Help
Failure to initialize audio device0