Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
artsd blocks alsa
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
cvk
Guru
Guru


Joined: 06 Jan 2003
Posts: 314
Location: Our house, in the middle of our street

PostPosted: Mon May 12, 2003 5:28 am    Post subject: artsd blocks alsa Reply with quote

When the arts daemon is loaded, alsa hangs and I can't play no music with xmms. I know it worked before but I can't remember how :-/

Chris
_________________
Adopt an unanswered post now.
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 905
Location: Hamburg, Germany

PostPosted: Mon May 12, 2003 7:50 am    Post subject: Reply with quote

Which Audio I/O Plugin in xmms? For me it works with alsa0.9, oss and aRts (although the xmms-arts package is masked) fine.

Which aRts configuration set in the control center? ps aux | grep artsd ?
Back to top
View user's profile Send private message
cvk
Guru
Guru


Joined: 06 Jan 2003
Posts: 314
Location: Our house, in the middle of our street

PostPosted: Mon May 12, 2003 3:30 pm    Post subject: Reply with quote

Dunno why but it works now using OSS output, although CPU use goes straight to 100% on my Athlon XP1500. I noticed that alsa-based games (e.g. vendetta) don't have any sound when artsd is loaded. The only workaround seems to be to unload the artsd before starting the game :/

Here's the output of ps:
Code:

cvk      11822  2.3  1.6 12352 8364 ?        S    13:11   6:15 artsd -F 10 -S 4096 -d -D /dev/dsp -s 60 -m artsmessage -l 3 -f
cvk      11914  0.0  1.6 12352 8364 ?        S    13:12   0:00 artsd -F 10 -S 4096 -d -D /dev/dsp -s 60 -m artsmessage -l 3 -f


Does it have to be loaded twice?

cvk
_________________
Adopt an unanswered post now.
Back to top
View user's profile Send private message
EliasP
Guru
Guru


Joined: 06 Dec 2002
Posts: 318
Location: South-West Germany

PostPosted: Mon May 12, 2003 4:02 pm    Post subject: Reply with quote

artsd claims the sounddevice at startup, so you`ll have to pipe all programms with sound output now through artsd..
you can do this on the following way
Code:

artsdsp program

or look for a arts-output plugin in the concerning program, eg.
XMMS --> emerge xmms-arts
MPlayer --> mplayer -Ao arts
Xine --> xine -a arts
....

Only if your soundcard does have 2 or more soundchannels, you can setup aRts so, that it claims the second sounddevice and all other programs still use the first channel...

Greetings

Elias P.
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 905
Location: Hamburg, Germany

PostPosted: Mon May 12, 2003 7:13 pm    Post subject: Reply with quote

Hmmm... I just have one instance of artsd running, and can't think of a good reason to run two (and I don't have problems to run xmms with oss, alsa and arts IO) --- I'm not an expert but I could imagine that that's a reason for your problems. Try to kill one of them and see if it's better. If so look where the second is started.

Wait, I'll try to start a second one on my box...

I get an error message when I try to start a second artsd:
Code:

There are already artsd objects registered, looking if they are active...

Error: Can't add object reference (probably artsd is already running).
       If you are sure it is not already running, remove the relevant files:

       /tmp/mcop-fhellmut/Arts_SoundServerV2
       /tmp/mcop-fhellmut/Arts_SoundServer
       /tmp/mcop-fhellmut/Arts_SimpleSoundServer
       /tmp/mcop-fhellmut/Arts_PlayObjectFactory
       /tmp/mcop-fhellmut/Arts_AudioManager

So I guess, that's one more clue that having two of them is no good thing to do...

Frank
Back to top
View user's profile Send private message
PowerFactor
Veteran
Veteran


Joined: 30 Jan 2003
Posts: 1693
Location: out of it

PostPosted: Mon May 12, 2003 8:17 pm    Post subject: Reply with quote

Artsd should autosuspend and release the sound device when it does. It will not suspend however if you have it set to full-duplex mode. Turn off full-duplex and set autosuspend to something very short and you should have no trouble with alsa applications. I like to run everything I can through artsdsp haowver just to save on conflicts. Some apps don't like that though, so I have to run those regular.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum