LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-21-2009, 09:14 AM   #1
tqwillis
LQ Newbie
 
Registered: Mar 2009
Posts: 5

Rep: Reputation: 0
xine was unable to initialize any audio drivers.


Hi. I'm having trouble getting sound to work on my Ubuntu 8.04 box. I tried both Amorak and Kaffeine just to see if it would play audio alone. Both give me a similar error:

xine was unable to initialize any audio drivers(or failed to initialize ).

I read around and tried a few things. My /etc/groups already includes my name, i.e. audio:x:29:tallah. I also installed some apci (?) package, but yielded no reults.

My sound worked fine under Windows so I don't feel there is anything wrong other than some missing driver, package, etc.

Any suggestions? I would be most grateful!
 
Old 03-21-2009, 09:39 AM   #2
ps_sabu
Member
 
Registered: Nov 2006
Location: Kerala, South India
Distribution: Ubuntu 12.10, Ultimate Edition 3.5, OZ Unity 3.0 Black Opal
Posts: 117

Rep: Reputation: 15
Install Xine-lib and xine-lib-extras for amarok to work. This may fix kaffeine and xine too. Applications -> Add/remove software
 
Old 03-21-2009, 10:31 AM   #3
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
Do you get any sound at all from the computer? When you log in to Ubuntu, do you hear the login sound? Can you slide the volume control (the one in the corner of the screen) or is it completely disabled?

If there is no sound at all and the volume control doesn't work then you might need to install a driver for your audio card. Run the command 'lspci' and paste the results here so we can see your audio hardware.
 
Old 05-27-2009, 09:12 AM   #4
ignaciothayer
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 0
Check for gnome applications or esound

I was also getting "xine was unable to initialize any audio drivers" with ubuntu 8.10 (Intrepid Ibex).

Running pulseaudio -vv would give something like this:

I: module-hal-detect.c: Trying capability alsa
E: module-alsa-sink.c: Error opening PCM device hw:0: Device or resource busy
E: module.c: Failed to load module "module-alsa-sink" (argument: "device=hw:0
sink_name=alsa_output.pci_8086_27d8_alsa_playback_0"): initialization failed.

I have a

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)

I believe the problem was that there was another application accessing the card. I was suspecting esound, but for me it turned out to be gnome-settings-daemon was somehow hung. Killing that and restarting pulseaudio (pulseaudio --daemonize) worked for me. I'd close any flash plugins, esound, or any gnome apps which might be accessing the sound card.

good luck...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Amarok: "xine was unable to initialize any audio drivers". ??? forrest44 Slackware 2 08-31-2008 11:58 AM
xine was unable to initialize any audio drivers sr_25 Ubuntu 1 07-31-2008 10:23 PM
[New SID/Amarok Issue] XINE was unable to initialize any audio-drivers Zaskar Debian 1 10-27-2007 10:51 AM
Solved-"xine was unable to initialize any audio drivers" beachboy2 Linux - Hardware 5 09-18-2007 01:24 PM
xine was unable to initialize any audio-drivers sporks SUSE / openSUSE 2 01-29-2006 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration