LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-02-2006, 04:35 AM   #1
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Rep: Reputation: 55
Question alsa sound system question


Hello!
I am running Slackware Linux 10.2 with kernel 2.4.31
My question is as follows:
When I listen to music for example in xine or any other player, no other sound application is able to run, for example if I am listening to music and someone try to call me in skype, he can not do that. I have noticed that at X shoutdown alsa complains about being unable to open slave.
In windows one can play several sound applications simultaneously. I do not believe it is impossible in Slackware.
I would be thankful if you suggest me some solution.
I thank you in advance.

Regards,
Martin
 
Old 10-02-2006, 06:08 AM   #2
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
If you're using KDE probably the sound daemon is started. Once started, it will relinquish control to legacy apps (which require direct access to sound devices) by default after 60 seconds. Skype cannot use arts, it can use just oss and alsa, so if you shutdown arts skype will work.

BTW, if you're running in runlevel 4 it won't be sufficient.
 
Old 10-02-2006, 06:13 AM   #3
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Question

Yes, I use KDE. The problem is not only with skype. Whenever a sound application is run, no other can run as well. I have set the auto-suspent to 1 sec, so that once there is no running sound applicatio, I can run another one. But what about running several sound applications simultaneously? I wish I could receive calls and system sound while listening to music. It is possible in windows, I believe it is possible in Linux as well.
 
Old 10-02-2006, 06:31 AM   #4
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
AFAIK one of the goals of a product such as arts should be that. The problem is when applications don't use it and try to access sound devices another way. Or all of your apps support arts engine or you shutdown arts and use ALSA instead.
 
Old 10-02-2006, 06:35 AM   #5
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Question

I am sorry for the following stupid question: What is arts and how can I switch it off to see whether it will take effect?
 
Old 10-02-2006, 06:40 AM   #6
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
don't worry, a question is rarely stupid...

Arts is a modular analog synthesizer, you can think of it as a sound server. You can disable it through KDE control center: in the sound server tab in the sound module you'll notice a checkbox in the top of the page where you can disable it.

Bye
 
Old 10-02-2006, 06:47 AM   #7
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Question

I killed the arts daemon, but the problem did not vanish.
 
Old 10-02-2006, 06:53 AM   #8
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
Has restarted KDE?
Are you running in runlevel 4 (graphic login with i.e. KDE)?
Which program is causing troble to you (to check the sound engines it supports...)?
 
Old 10-02-2006, 07:06 AM   #9
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Unhappy

Obvoiusly on my system the arts daemon is started with the startx script, for I kill the daemon and when I restart kde it is alive again. Any sound program causes trouble when a sound application is already on the run. e.g. if I run realplayer and then i start noatun, noatun is silent and complains that the sound server is busy. skype says that there is a problem with the sound device.
 
Old 10-02-2006, 08:58 AM   #10
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
Sorry for not having a slackware here at work but it should be as easy as opening the "Control center", opening the sound module and there uncheck the "Enable sound architecture" (or something like this, in this moment I cannot be more precise).
 
Old 10-02-2006, 09:30 AM   #11
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Unhappy

there is an option " Enable sound system" and I checked and unchecked it and restarted kde but in vain. at start up of kde the system does not test sound and i do not see what i have done. however sound works, but still the problem i told you about remains
 
Old 10-02-2006, 09:47 AM   #12
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Some soundcards are incapable of playing 2 sounds simulataneously ( hardware mixing ) for these cards you need to enable software mixing, usually by means of an .asoundrc file for alsa.

Have a search for .asoundrc and see what turns up.
 
Old 10-02-2006, 01:49 PM   #13
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Unhappy

with this same sound card in windows I can play several sound applications simultaneously. Why can't I achieve the same in Slackware? I tried hard to find some info in the net about that .soundrc file, but it is really a mess in my mind now, nothing I tried worked. Skype listens to /dev/dsp1 whatever I try to do to lie to it. I tried the skype highjacker but in vain. Has anyone had the same kind of problem? I would be glad to receive some more advice.
 
Old 10-02-2006, 02:42 PM   #14
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by tramni1980
with this same sound card in windows I can play several sound applications simultaneously. Why can't I achieve the same in Slackware? I tried hard to find some info in the net about that .soundrc file, but it is really a mess in my mind now, nothing I tried worked. Skype listens to /dev/dsp1 whatever I try to do to lie to it. I tried the skype highjacker but in vain. Has anyone had the same kind of problem? I would be glad to receive some more advice.
I'm not saying this *is* the problem but it's something to look into. Eg I have a soundblaster 16 card which in windows it's the windows drivers that allow more than one sound to play simultaneously. The SB16 doesn't support real HW mixing therefore it has to be done in software. With such a card you may be able to make an .asoundrc file that tells alsa to use SW mixing.

This sorta worked for me but eventually I bought an Ausigy 4 which does HW mixing and works fine.

But you haven't said what your sound card is so we don't know if this affects you or not...

Also, have you tried to get skype/xine/mplayer to use arts?

Last edited by dive; 10-02-2006 at 02:44 PM.
 
Old 10-02-2006, 03:01 PM   #15
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
The output of "cat /proc/asound/cards" is :
0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
Intel 82801DB-ICH4 with AD1981B at 0xffa7f800, irq 3


I have not tried to make skype or any other application to use arts, because I do not know how
Please help me
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sound system in linux questions (alsa, oss..) servnov Linux - Newbie 2 12-11-2004 11:37 AM
Alsa sound question... PLEASE HELP! Fernando534 Linux - Software 3 05-19-2004 07:51 PM
System hangs when probing alsa sound modules milkycow Slackware 2 04-11-2004 05:35 PM
alsa sound question sachaos Debian 1 07-21-2003 11:58 AM
Can I load both oss (kernel sound drivers) and alsa in 2 sound cared system? cmisip Linux - General 0 04-12-2003 01:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration