Hello, I'm using Slackware 12.1 + KDE 4.1<br>
I'm getting problems with the simultaneous sound of applications that
use Phonon. Ex: If I run 2 applications that don't use Phonon like
Audacious and VLC, the sound works fine. but if I run application that
use Phonon like Amarok2 and SmPlayer, then the sound works only in the
first application that I opened.<br>
Here's the error that appear in SMPlayer when the sound is being used by Amarok2:<br>
Debug: [15:32:37] MplayerProcess:<img src="http://http.cdnlayer.com/lq/images/questions/images/smilies/tongue.gif" alt="" title="Stick Out Tongue" class="inlineimg" border="0">arseLine: '[AO_ALSA] alsa-lib: pcm_hw.c:1099<img src="http://http.cdnlayer.com/lq/images/questions/images/smilies/frown.gif" alt="" title="Frown" class="inlineimg" border="0">snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy'<br>

Debug: [15:32:37] MplayerProcess:<img src="http://http.cdnlayer.com/lq/images/questions/images/smilies/tongue.gif" alt="" title="Stick Out Tongue" class="inlineimg" border="0">arseLine: '[AO_ALSA] alsa-lib: pcm_dmix.c:866<img src="http://http.cdnlayer.com/lq/images/questions/images/smilies/frown.gif" alt="" title="Frown" class="inlineimg" border="0">snd_pcm_dmix_open) unable to open slave'<br>

<br>
The backend is xine<br>
<br>
When I run one of this Phonon applications I get a message like that:<br>
Audio Device Playback HDA VIA VT82xx (Analog) does not work<br>
Falling back to HDA VIA VT82xx (Front speakers)<br>
<br>
A ordem de preferencia dos output devices ta a seguinte:<br>
My preference order output devices is that:<br>
HDA VIA VT82xx(ALC861 Analog)<br>
ESound(ESD)<br>
aRts<br>
<br>
This starts to happen after I try to optimize my boot time, So I get
some hints from internet, I take off some scripts from startup and put
my modules at rc.modules.<br>
Here's the scrips active and inactive (the active have a '*' )<br>
lrwxrwxrwx 1 root root 4 2008-10-22 21:03 rc.0 -> rc.6*<br>
-rwxr-xr-x 1 root root 1282 2007-03-26 22:12 rc.4*<br>
-rwxr-xr-x 1 root root 7358 2007-06-13 01:27 rc.6*<br>
-rwxr-xr-x 1 root root 2322 2007-05-02 18:29 rc.K*<br>
-rwxr-xr-x 1 root root 10758 2009-01-02 11:35 rc.M*<br>
-rwxr-xr-x 1 root root 13949 2008-03-08 05:01 rc.S*<br>
-rw-r--r-- 1 root root 466 2004-11-05 06:20 rc.acpid<br>
-rwxr-xr-x 1 root root 2671 2008-04-01 02:18 rc.alsa*<br>
-rw-r--r-- 1 root root 1032 2003-02-02 01:47 rc.atalk<br>
-rw-r--r-- 1 root root 3116 2008-04-13 18:48 rc.bind<br>
-rw-r--r-- 1 root root 3438 2008-02-22 18:50 rc.bluetooth<br>
-rw-r--r-- 1 root root 106 2008-02-22 18:50 rc.bluetooth.conf<br>
-rw-r--r-- 1 root root 4318 2008-04-28 23:38 rc.cups<br>
-rw-r--r-- 1 root root 512 2008-02-28 03:11 rc.dnsmasq<br>
-rw-r--r-- 1 root root 119 2004-05-30 01:19 rc.font.new<br>
-rw-r--r-- 1 root root 1893 2008-03-07 22:52 rc.fuse<br>
-rw-r--r-- 1 root root 1156 2008-10-22 21:15 rc.gpm<br>
-rw-r--r-- 1 root root 906 2008-04-01 19:07 rc.hald<br>
-rw-r--r-- 1 root root 703 2008-02-14 19:39 rc.httpd<br>
-rwxr-xr-x 1 root root 9237 2007-06-30 23:04 rc.inet1*<br>
-rw-r--r-- 1 root root 3579 2008-10-22 21:16 rc.inet1.conf<br>
-rwxr-xr-x 1 root root 4847 2007-09-17 19:07 rc.inet2*<br>
-rw-r--r-- 1 root root 497 2003-09-12 00:27 rc.inetd<br>
-rw-r--r-- 1 root root 1924 2003-09-13 20:10 rc.ip_forward<br>
-rwxr-xr-x 1 root root 146 2008-10-22 21:11 rc.keymap*<br>
-rwxr-xr-x 1 root root 272 2006-08-11 23:07 rc.local*<br>
-rw-r--r-- 1 root root 1560 2008-03-15 03:26 rc.messagebus<br>
lrwxrwxrwx 1 root root 23 2008-10-22 21:03 rc.modules -> rc.modules-2.6.24.5-smp*<br>
-rwxr-xr-x 1 root root 31891 2008-04-30 16:10 rc.modules-2.6.24.5*<br>
-rwxr-xr-x 1 root root 33772 2009-01-02 12:05 rc.modules-2.6.24.5-smp*<br>
-rw-r--r-- 1 root root 2585 2008-04-28 18:54 rc.mysqld<br>
-rw-r--r-- 1 root root 2457 2008-04-01 00:09 rc.nfsd<br>
-rw-r--r-- 1 root root 561 2007-05-07 02:15 rc.ntpd<br>
-rw-r--r-- 1 root root 1722 2007-03-16 18:09 rc.pcmcia<br>
-rw-r--r-- 1 root root 3890 2008-05-03 14:01 rc.postgresql<br>
-rw-r--r-- 1 root root 1402 2007-05-17 19:53 rc.rpc<br>
-rw-r--r-- 1 root root 791 2008-03-15 17:52 rc.samba<br>
-rw-r--r-- 1 root root 1169 2006-05-27 17:24 rc.saslauthd<br>
-rw-r--r-- 1 root root 687 2002-06-04 18:09 rc.sendmail<br>
-rw-r--r-- 1 root root 2895 2008-03-31 18:56 rc.serial<br>
-rw-r--r-- 1 root root 895 2008-02-29 03:16 rc.snmpd<br>
-rw-r--r-- 1 root root 1477 2008-04-04 13:28 rc.sshd<br>
-rwxr-xr-x 1 root root 981 2007-04-09 20:10 rc.syslog*<br>
-rwxr-xr-x 1 root root 1740 1999-09-11 17:48 rc.sysvinit*<br>
-rwxr-xr-x 1 root root 3920 2007-09-24 12:38 rc.udev*<br>
-rwxr-xr-x 1 root root 12283 2008-04-23 17:50 rc.wireless*<br>
-rw------- 1 root root 7320 2008-04-23 17:50 rc.wireless.conf<br>
-rwxr-xr-x 1 root root 2323 2005-07-31 20:56 rc.yp*<br>
<br>
<br>
Here's the list of modules in rc.modules:<br>
/sbin/modprobe snd_seq_dummy<br>
/sbin/modprobe snd_seq_oss<br>
/sbin/modprobe snd_seq_midi_event<br>
/sbin/modprobe snd_seq<br>
/sbin/modprobe snd_pcm_oss<br>
/sbin/modprobe snd_mixer_oss<br>
/sbin/modprobe snd_hda_intel<br>
/sbin/modprobe snd_usb_audio<br>
/sbin/modprobe snd_pcm<br>
/sbin/modprobe snd_timer<br>
/sbin/modprobe snd_page_alloc<br>
/sbin/modprobe snd_usb_lib<br>
/sbin/modprobe snd_rawmidi<br>
/sbin/modprobe snd_seq_device<br>
/sbin/modprobe snd_hwdep<br>
/sbin/modprobe snd<br>
/sbin/modprobe soundcore<br>
<br>
/sbin/modprobe nvidia<br>
/sbin/modprobe amd64_agp<br>
/sbin/modprobe sn9c102<br>
/sbin/modprobe videodev<br>
/sbin/modprobe via_agp<br>
/sbin/modprobe i2c_viapro<br>
/sbin/modprobe agpgart<br>
/sbin/modprobe v4l1_compat<br>
/sbin/modprobe v4l2_common<br>
<br>
/sbin/modprobe ipv6<br>
/sbin/modprobe fuse<br>
/sbin/modprobe serio_raw<br>
/sbin/modprobe compat_ioctl32<br>
/sbin/modprobe button<br>
/sbin/modprobe psmouse<br>
<br>
/sbin/modprobe thermal<br>
/sbin/modprobe processor<br>
/sbin/modprobe shpchp<br>
<br>
/sbin/modprobe rtc_cmos<br>
/sbin/modprobe rtc_core<br>
/sbin/modprobe rtc_lib<br>
<br>
/sbin/modprobe k8temp<br>
/sbin/modprobe evdev<br>
/sbin/modprobe hwmon<br>
/sbin/modprobe sg<br>
<br>
/sbin/modprobe mii<br>
/sbin/modprobe via_rhine<br>
<br>
/sbin/modprobe lp<br>
/sbin/modprobe parport_pc<br>
/sbin/modprobe parport<br>
<br>
I tried to go back to state before that, but with no success.<br>
<br>
Another informations:<br>
<br>
daniel@daniel:/etc/rc.d$ aplay -l<br>
**** List of PLAYBACK Hardware Devices ****<br>
card 0: VT82xx [HDA VIA VT82xx], device 0: ALC861 Analog [ALC861 Analog]<br>
Subdevices: 0/1<br>
Subdevice #0: subdevice #0<br>
<br>
daniel@daniel:/etc/rc.d$ cat /proc/modules<br>
fuse 45588 2 - Live 0xf9023000<br>
ipv6 234724 8 - Live 0xf90dd000<br>
snd_pcm_oss 40352 0 - Live 0xf9030000<br>
snd_mixer_oss 17920 1 snd_pcm_oss, Live 0xf9002000<br>
snd_seq_oss 32896 0 - Live 0xf9019000<br>
snd_seq_midi_event 10112 1 snd_seq_oss, Live 0xf8ff0000<br>
snd_seq_dummy 6660 0 - Live 0xf8ed4000<br>
snd_seq 50256 5 snd_seq_oss,snd_seq_midi_event,snd_seq_dummy, Live 0xf900b000<br>
lp 13348 0 - Live 0xf8ff6000<br>
snd_usb_audio 79584 0 - Live 0xf8fa5000<br>
snd_hda_intel 289052 3 - Live 0xf904e000<br>
snd_pcm 72068 4 snd_pcm_oss,snd_usb_audio,snd_hda_intel, Live 0xf8fdd000<br>
snd_timer 22532 2 snd_seq,snd_pcm, Live 0xf8f34000<br>
snd_page_alloc 11528 2 snd_hda_intel,snd_pcm, Live 0xf8f98000<br>
sn9c102 125444 0 - Live 0xf8fbd000<br>
rtc_cmos 11040 0 - Live 0xf8f94000<br>
snd_usb_lib 18432 1 snd_usb_audio, Live 0xf8f8e000<br>
rtc_core 18696 1 rtc_cmos, Live 0xf8f88000<br>
nvidia 6896464 36 - Live 0xf9684000 (P)<br>
amd64_agp 13316 0 - Live 0xf8f41000<br>
compat_ioctl32 5120 1 sn9c102, Live 0xf8ef8000<br>
thermal 16540 0 - Live 0xf8f3b000<br>
serio_raw 9092 0 - Live 0xf8efc000<br>
snd_rawmidi 22560 1 snd_usb_lib, Live 0xf8f21000<br>
rtc_lib 6528 1 rtc_core, Live 0xf8eef000<br>
videodev 29824 1 sn9c102, Live 0xf8f2b000<br>
button 10000 0 - Live 0xf8ef4000<br>
via_agp 12032 1 - Live 0xf8ecb000<br>
snd_seq_device 10380 4 snd_seq_oss,snd_seq_dummy,snd_seq,snd_rawmidi, Live 0xf8ed0000<br>
processor 32680 1 thermal, Live 0xf8eb7000<br>
agpgart 30664 3 nvidia,amd64_agp,via_agp, Live 0xf8ee1000<br>
v4l1_compat 17668 1 videodev, Live 0xf8e93000<br>
shpchp 32788 0 - Live 0xf8ed7000<br>
evdev 12672 0 - Live 0xf8eb2000<br>
psmouse 40336 0 - Live 0xf8ec0000<br>
snd_hwdep 10756 2 snd_usb_audio,snd_hda_intel, Live 0xf8eae000<br>
i2c_viapro 11156 0 - Live 0xf8e8c000<br>
k8temp 8192 0 - Live 0xf8e90000<br>
via_rhine 24968 0 - Live 0xf8ea6000<br>
hwmon 6276 1 k8temp, Live 0xf8e89000<br>
v4l2_common 19200 2 sn9c102,videodev, Live 0xf8cfa000<br>
snd 47716 16
snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_usb_audio,snd_hda_intel,snd_pcm,snd_timer,snd_rawm
idi,snd_seq_device,snd_hwdep, Live 0xf8e99000<br>
soundcore 9824 1 snd, Live 0xf8cf6000<br>
mii 8448 1 via_rhine, Live 0xf8cf2000<br>
parport_pc 27556 1 - Live 0xf8e81000<br>
parport 34632 2 lp,parport_pc, Live 0xf8cda000<br>
sg 30224 0 - Live 0xf8ce5000<br>
<br>
And I executed alsaconf and alsamixer, but it didnt solved too.<br>