Amarok 1.4.10 xine was unable to initialize any audio driver

Been wrecking my brain to solve this problem.

Amarok with xine engine worked fine yesterday until I rebooted the computer this morning. I tried all kinds of ways (removing the amarokrc, deleting the xine-config, reinstalling the amarok, amarok-xine, libxine, ffmeg, xinu-ui, etc.) and nothing worked. I also tried to add audio permission under local user. That also didn’t work. Rebooted many times and that also did not work. Amarok works fine with yauap although the sound was cranky. All audio files (mp3, wav, wma) works fine with xine alone.

I’m using Opensuse 11.1.

Does anyone else have the same problem as mine? What else should I try?

Is this from Packman
In Packman repo do you have amarok packman, amarok-xine installed?

All are from packman. I solved the problem after nearly a week of browsing the internet. The problem lied with the pulseaudio which was using AO_ALSA.

Here’s the solution:

  1. run mplayer from konsole and check what is using AO_ALSA (mplayer will move to AO_ESD if AO_ALSA is busy). In my case, I found that /dev/snd/pcmC0D0p was using it.

  2. do lsof /dev/snd/pcmC0D0p (don’t worry about the warning sign). In my case, I saw the pulseaudio was using it.

  3. Kill whatever is using it and try the amarok-xine again. It should work. What I did was, I killed pulseaudio and uninstalled it with all the pulseaudio-related softwares (use yast or yast2). Then everything works fine now!

Thanks for attending my problem anyway :slight_smile: