Unix Technical Forum

artsd? What do I need it for?

This is a discussion on artsd? What do I need it for? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I think I already know the answer, but I'm at work and the boxes I need are at home... ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 08:53 PM
Ray
 
Posts: n/a
Default artsd? What do I need it for?

I think I already know the answer, but I'm at work and the boxes I need
are at home...

I'm running Slack 10.x & 11, 2.4.x kernel, alsa, and kde.

From what I can tell, the only reason I need to use artsd in KDE is if
I have a need to play more sounds than I have hardware mixer support for.
So, for a cheapo mobo that say had only one pcm channel in hardware,
you'd be unable to have sounds enabled in kde and play xmms at the same
time if you didn't have artsd running. (or an equivalent driver.)

Is this right? Wrong?

I started testing this theory out last night....

Never ran into this before under windows - assuming the windows mm stuff
has a software mixer or I just never had any cheapo soundcards and
multiple audio streams...

Ray
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 08:53 PM
Carlos Corbacho
 
Posts: n/a
Default Re: artsd? What do I need it for?

Ray wrote:
> Is this right? Wrong?


In the past, right. Today, wrong.

Alsa includes its own software mixer, dmix, which is now enabled by default,
so artsd is no longer necessary for that function (although KDE still seems
to use artsd for handling its own internal sounds).

-Carlos

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 08:55 PM
Ray
 
Posts: n/a
Default Re: artsd? What do I need it for?

Carlos Corbacho wrote:
> Ray wrote:
>> Is this right? Wrong?

>
> In the past, right. Today, wrong.
>
> Alsa includes its own software mixer, dmix, which is now enabled by default,
> so artsd is no longer necessary for that function (although KDE still seems
> to use artsd for handling its own internal sounds).
>
> -Carlos
>


what I found interesting is that artsd was necessary on my machine with
onboard audio for multiple streams, whereas with a sblive I could run
"play song.mp3" at least 5 times... I think I could do it 64 times, but
after 5 times I can't tell because the mix is just noise...

I still would think that that should be a function of alsa and then have
no need for artsd or esound etc... but I guess that's how things evolved
vs a clean design...

Ray
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 08:55 PM
D Herring
 
Posts: n/a
Default Re: artsd? What do I need it for?

Ray wrote:
> what I found interesting is that artsd was necessary on my machine with
> onboard audio for multiple streams, whereas with a sblive I could run
> "play song.mp3" at least 5 times... I think I could do it 64 times, but
> after 5 times I can't tell because the mix is just noise...


As you found, better cards provide hardware mixing; the rest mix in
software.

> I still would think that that should be a function of alsa and then have
> no need for artsd or esound etc... but I guess that's how things evolved
> vs a clean design...


Things are slowly moving in that direction. IIRC, KDE4 will no longer
require arts. Several years ago, I remember the standard answer as
being "if you care, buy a real sound card".

- Daniel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 08:55 PM
Ray
 
Posts: n/a
Default Re: artsd? What do I need it for?

D Herring wrote:
> Ray wrote:
>> what I found interesting is that artsd was necessary on my machine
>> with onboard audio for multiple streams, whereas with a sblive I could
>> run "play song.mp3" at least 5 times... I think I could do it 64
>> times, but after 5 times I can't tell because the mix is just noise...

>
> As you found, better cards provide hardware mixing; the rest mix in
> software.
>
>> I still would think that that should be a function of alsa and then
>> have no need for artsd or esound etc... but I guess that's how things
>> evolved vs a clean design...

>
> Things are slowly moving in that direction. IIRC, KDE4 will no longer
> require arts. Several years ago, I remember the standard answer as
> being "if you care, buy a real sound card".
>
> - Daniel


I just read a page this morning talking about KDE4 and sound and how
artsd is dead. Still don't understand why KDE needs it's own sound
system instead of just using ALSA ... it uses X instead of providing
it's own version of X...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 08:56 PM
Thomas Overgaard
 
Posts: n/a
Default Re: artsd? What do I need it for?


ray@nospam.example.com wrote :

> Still don't understand why KDE needs it's own sound system instead of
> just using ALSA .


There's a historical reason for that. KDE needed a sound system and aRts
was there as an independent project while ALSA barely existed back then.
--
Thomas O.

This area is designed to become quite warm during normal operation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 08:56 PM
Ray
 
Posts: n/a
Default Re: artsd? What do I need it for?

Thomas Overgaard wrote:
> ray@nospam.example.com wrote :
>
>> Still don't understand why KDE needs it's own sound system instead of
>> just using ALSA .

>
> There's a historical reason for that. KDE needed a sound system and aRts
> was there as an independent project while ALSA barely existed back then.


Ok, maybe I should have rephrased that... why is KDE4 still going to
come with it's own sound system instead of just using what the OS provides?

(rhetorical question, I'm sure I could go ask the KDE guys that and find
out where alsa doesn't cut it for them, but I'm supposed to be working
today...)

Ray
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 08:56 PM
Joost Kremers
 
Posts: n/a
Default Re: artsd? What do I need it for?

Ray wrote:
> Ok, maybe I should have rephrased that... why is KDE4 still going to
> come with it's own sound system instead of just using what the OS provides?


perhaps because kde doesn't just run on linux, but also on *bsd, and
porting to windows is under way (iirc). and perhaps those alternative OSes
don't come with an underlying sound system.

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 08:56 PM
Thomas Overgaard
 
Posts: n/a
Default Re: artsd? What do I need it for?


ray@nospam.example.com wrote :

> why is KDE4 still going to come with it's own sound system instead of
> just using what the OS provides?


The situation is different today, KDE has been ported to many different
operation systems and ALSA stands for Advanced Linux Sound Architecture.
--
Thomas O.

This area is designed to become quite warm during normal operation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 08:56 PM
rm@biteme.org
 
Posts: n/a
Default Re: artsd? What do I need it for?

Joost Kremers <joostkremers@yahoo.com> wrote:
> Ray wrote:


>> Ok, maybe I should have rephrased that... why is KDE4 still going
>> to come with it's own sound system instead of just using what the
>> OS provides?

>
> perhaps because kde doesn't just run on linux, but also on *bsd,
> and porting to windows is under way (iirc). and perhaps those
> alternative OSes don't come with an underlying sound system.


Obviously windoze has an "underlying sound system." We find it
unlikely that KDE would make such a decision based solely on the
fact that BSD doesn't have a sound system.

cordially, as always,

rm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:56 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com