arts and alsa -> happy together?
How can i happily marry arts and alsa together so i can get sound with everything and make everything happy? Right now i don't get sound with kde, and i have to killall artsd to get sound in ut2004 with alsa. Yet alsa works fine and xmms and everything is just happy. How can i get around to getting sound in kde, making arts happy, while not loosing my alsa and everything? I know there are a thousand posts like this, but i've read through alot and most haven't helped me. Thanks.
|
I'd like an answer to this too. KDE forces you to use arts, but arts needs "exclusive control". Thank you very much. A lot of apps can't use arts yet, and some have problems with it. So what's the deal here?
|
Quote:
|
Quote:
|
I found a solution to the original problem though. Make sure that on the configuration screen Sound & Multimedia -> Sound System -> Hardware -> Select audio device is set to Advanced Linux Audio Architecture (alsa). I think autodetect chooses alsa but I'm not sure. Then put the following script in /etc/asound.conf:
Code:
pcm.dmix0 { |
Quote:
Quote:
|
My method for 'fixing' this is to set the suid bit on the artswrapper script in the KDE bin directory, arts will then run with realtime scheduling and auto suspend when other apps wish to use the sound devices via alsa. works just fine with Q3-Arena, ut2004, doom3, NWN etc. If you run the KDE 'Sound Server Control' tool in the multimedia menu, it will tell you that the suid bit needs to be set on artswrapper for arts to schedule correctly
HTH Mad. |
you can turn off arts (not enable it) and set mplayer as the KDE external player and set mplayer and everything else to use alsa.
and force software mixing in ~/.asoundrc (very similar to Haiyadragon's solution) Code:
pcm.dsp { |
But kde apps need arts for their notification sounds. Most important for me is Kopete. There seems to be no way to have kde apps use alsa.
|
Just use the "auto suspend" option in KDE Sound System and set it to a low value like 10 seconds.
So if idle for 10 secs, KDE will give up control of your sound system and ALSA programs will work fine. Or disable the KDE sound system altogether. |
Quote:
by setting mplayer as external player in Control center -> sound and mm -> system notification -> Player settings -> use external player -> mplayer -> apply -> ok i must admit i never use this though does it not work for things like kopete ? i made it make all those horrid KDE sounds once -- oooh that was bad but it was certainly kde apps making noise without arts |
Quote:
|
All times are GMT -5. The time now is 03:24 PM. |