LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   KDE obstructs ALSA-sound (https://www.linuxquestions.org/questions/linux-hardware-18/kde-obstructs-alsa-sound-428392/)

The_paladin 03-25-2006 10:52 AM

KDE obstructs ALSA-sound
 
Hello. After trying in vain to get the proprietary sound driver from NVIDIA to my nforce4 chipset onboard soundcard working I decided to try the opensource AC97 controller, using ALSA. My problem is now that the sound works for my applications, but whenever KDE uses the soundcard it "hijacks" the soundcard from ALSA, forcing me to run alsaconf again. I also have to run alsaconf on each bootup, despite having run "alsactl store". Here's my lspci:
Quote:

0000:00:00.0 Memory controller: nVidia Corporation: Unknown device 005e (rev a3)0000:00:01.0 ISA bridge: nVidia Corporation: Unknown device 0050 (rev a3)
0000:00:01.1 SMBus: nVidia Corporation: Unknown device 0052 (rev a2)
0000:00:02.0 USB Controller: nVidia Corporation: Unknown device 005a (rev a2)
0000:00:02.1 USB Controller: nVidia Corporation: Unknown device 005b (rev a3)
0000:00:04.0 Multimedia audio controller: nVidia Corporation: Unknown device 0059 (rev a2)
0000:00:06.0 IDE interface: nVidia Corporation: Unknown device 0053 (rev a2)
0000:00:07.0 IDE interface: nVidia Corporation: Unknown device 0054 (rev a3)
0000:00:08.0 IDE interface: nVidia Corporation: Unknown device 0055 (rev a3)
0000:00:09.0 PCI bridge: nVidia Corporation: Unknown device 005c (rev a2)
0000:00:0a.0 Bridge: nVidia Corporation: Unknown device 0057 (rev a3)
0000:00:0b.0 PCI bridge: nVidia Corporation: Unknown device 005d (rev a3)
0000:00:0c.0 PCI bridge: nVidia Corporation: Unknown device 005d (rev a3)
0000:00:0d.0 PCI bridge: nVidia Corporation: Unknown device 005d (rev a3)
0000:00:0e.0 PCI bridge: nVidia Corporation: Unknown device 005d (rev a3)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 3e50
0000:01:00.1 Display controller: ATI Technologies Inc: Unknown device 3e70


Not all that informative...
Here's my lsmod:
Quote:

Module Size Used by
snd_intel8x0 30108 0
snd_ac97_codec 83872 1 snd_intel8x0
snd_ac97_bus 2432 1 snd_ac97_codec
snd_pcm_oss 47008 0
snd_mixer_oss 16896 1 snd_pcm_oss
snd_pcm 79240 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 22404 1 snd_pcm
snd_page_alloc 10760 2 snd_intel8x0,snd_pcm
agpgart 33352 0
ipv6 228736 8
af_packet 20488 2
floppy 57156 0
pcspkr 2052 0
rtc 12084 0
mousedev 11424 1
ehci_hcd 29704 0
ohci_hcd 18692 0
usbcore 116868 3 ehci_hcd,ohci_hcd
i2c_nforce2 6528 0
i2c_core 20368 1 i2c_nforce2
sata_nv 9348 0
libata 52876 1 sata_nv
sd_mod 18192 0
scsi_mod 135656 2 libata,sd_mod
psmouse 34052 0
ide_cd 39172 0
cdrom 36640 1 ide_cd
forcedeth 20740 0
ext3 126088 1
jbd 50324 1 ext3
ide_disk 16384 3
ide_generic 1536 0 [permanent]
generic 4740 0 [permanent]
ide_core 101748 4 ide_cd,ide_disk,ide_generic,generic
unix 25136 340
Any help will be greatly appreciated.

Edit: I'm using Debian sarge with 2.6.15.5 kernel

ralvez 03-25-2006 11:59 AM

Well ... I'm not familiar with Debian but ... what you need to do is start alsa as a daemon in your daemons group, however you do that in Debian. If you are unsure, then add the following line to your /etc/rc.local : "/usr/share/alsa".
If alsa is located somewhere else and you need to find where it is issue this command "whereis alsa".

Rick

The_paladin 03-25-2006 02:15 PM

Quote:

Originally Posted by ralvez
Well ... I'm not familiar with Debian but ... what you need to do is start alsa as a daemon in your daemons group, however you do that in Debian. If you are unsure, then add the following line to your /etc/rc.local : "/usr/share/alsa".
If alsa is located somewhere else and you need to find where it is issue this command "whereis alsa".

Rick



-Thank you. Upon further investigation, I found that my problem disappears if I run "killall artsd"; then there's sound in all other applications than kde.
So it seems that the solution to my problem is to disable the arts daemon and enable the alsa daemon?

ralvez 03-25-2006 04:06 PM

Yup. I run only alsa and it works like a charm.

Rick


All times are GMT -5. The time now is 09:48 PM.