[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KDE 3.0.4 and aRTs

On Sunday 27 October 2002 16:45, Jarno Elonen wrote:
> > I can't find any file named artsd on my
> > system.
> Make sure you have installed libarts1-bin. The binaries don't come
> with plain libarts any more, it seems.
> BTW, I have a different problem with aRTs & KDE 3.0.4: it is horribly
> slow, takes 10+% of CPU time on my 1.5Ghz P4 and the sound snaps.

Around 4% on a 450MHz Celeron. Sound played by xmms through xmmsarts and 
ALSA below it all was flawless even during compiles. Opening links in 
new windows in Konqueror made it stutter slightly. There was a simple 
remedy, if you're not morally or otherwise opposed to it: make 
/usr/bin/artswrapper suid. Additionally, I made it executable only by 
group audio and added myself to that group. In order not to lose these 
changes after an upgrade I made them permantent with

$ dpkg-statoverride --add root audio 4710 /usr/bin/artswrapper

artswrapper is a very small program that tries to switch to realtime 
scheduling (what it needs root privs for) and then starts artsd with 
the id of the user who started artswrapper. Therefore, artsd itself 
does not run with root privileges.

Don't forget to enable "Run soundserver with realtime priority" in the 
Sound Server Preferences. Otherwise you won't get the intended effect.


Michael Schuerig                  If at first you don't succeed...
mailto:schuerig@acm.org           try, try again.
http://www.schuerig.de/michael/   --Jerome Morrow, "Gattaca"

Reply to: