LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-22-2007, 07:50 PM   #1
joeclem111
Member
 
Registered: Mar 2006
Posts: 43

Rep: Reputation: 15
Sound wars, aRts vs ALSA


OK, I am running Mandriva 2006 official. From bootup, I can play a CD but if I bring skype up, I have no working mic. I tested this with sound recorder, which fails and tells me "some other program is using /dev/dsp". If i use pstree -p and find and kill artsd, then my mic works on sound recorder AND skype, but I cannot play CD's. If I use config KDE and change from automatic to alsa on the sound system -> hardware page, it seems to accept it. If I try to change from arts ( the default ) to alsa on the configure page for KsCD, it wont apply it. Once artsd is killed, then KsCD configure page is already set to alsa BUT, there is no sound if I play a CD. From boot, KDE invokes arts, which hogs /dev/dsp. I would like to have alsa across the board to avoid conflicts. How might I achieve this? Is this problem due to a bug and, if so, has it been fixed? Thank you to anyone who takes the time to advise.
 
Old 09-24-2007, 08:17 AM   #2
tpetri1807
Member
 
Registered: Jan 2006
Location: Frankfurt, Germany
Distribution: Fedora Core 6, Kubuntu 7.04
Posts: 60

Rep: Reputation: 15
Try running non-KDE software, like Skype, via artsdsp:
Code:
artsdsp skype

Last edited by tpetri1807; 09-24-2007 at 08:19 AM.
 
Old 09-24-2007, 11:59 PM   #3
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
I have had similar issues (although in the opposite direction). I run a cron job here to report the system time each quarter hour through the sound system using festival (text to speech software). In my situation KDE was the hog, so I reset the KDE sound server to Auto-suspend after 1 second when idle:

Quote:
Open the KDE control center.

Navigate to Sound & Multimedia > Sound System

Look in the Auto-suspend box.

The option Auto-suspend if idle after: should be check-marked. Reset the time element to 1 second.
I do not think your trouble is a conflict between alsa and arts. I think Skype is not releasing dsp when idle.

I do not use Skype here, but you should be able to check in its configuration to see if there is an option to make it release dsp when idle (or some similar setting).

HTH,
 
Old 09-25-2007, 10:20 AM   #4
joeclem111
Member
 
Registered: Mar 2006
Posts: 43

Original Poster
Rep: Reputation: 15
well done

Hi, thanks tpetri 1807, that works well. I clicked on the skype icon, properties and changed the command to artsdsp skype %f and it works fine without having to kill artsd. Unfortunately, I cannot play CD's. I have tried all the different configs and just cannot play a CD. Looks like the sound wars continue.

Ernie, it is KDE that is hogging arts, thats why skype could not use it. Using the above way to start skype works, but when I shut skype down, so it has no hold on arts, I still cannot play CD's. If you read the original post CAREFULLY, you will see skype was not usable BECAUSE KDE had arts, NOT skype, until I killed artsd, then skype could access arts and then it worked.

Joe.

Last edited by joeclem111; 09-25-2007 at 10:52 AM.
 
Old 09-28-2007, 09:47 AM   #5
tpetri1807
Member
 
Registered: Jan 2006
Location: Frankfurt, Germany
Distribution: Fedora Core 6, Kubuntu 7.04
Posts: 60

Rep: Reputation: 15
Quote:
Originally Posted by joeclem111 View Post
Unfortunately, I cannot play CD's. I have tried all the different configs and just cannot play a CD. Looks like the sound wars continue.
What program do you use to play CDs? KDE has a CD playing app, it's called KsCD, and it's located in K > Multimedia.
 
Old 09-30-2007, 05:44 PM   #6
joeclem111
Member
 
Registered: Mar 2006
Posts: 43

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tpetri1807 View Post
What program do you use to play CDs? KDE has a CD playing app, it's called KsCD, and it's located in K > Multimedia.
I already used KsCD to play CD's. I have fixed the problem. I just upgraded to 2007.1 There are no sound wars in this release. Everything works on demand. KDE 3.5 seems to use ALSA as the new default sound back end. Skype works well, sound recorder works, looks like it was an old software bug. I consider this is now closed.
 
  


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
Linux sound - oss/alsa/arts/esd/jack - AAAARGH dcs3jah Linux - Software 3 08-07-2006 05:44 PM
ALSA, OSS, ARTS, ESD, GStreamer all sound different. russofris Linux - Software 1 09-02-2005 09:32 PM
alsa and arts jnsenit Linux - General 1 12-05-2004 05:47 PM
arts freezes! Sound only with mplayer + arts disabled metgorna Mandriva 0 09-18-2004 09:21 AM
S.10 + K 2.6.7 -> SOUND: ALSA OK, KDE ARTs - NO GO. Where to look? suslik Slackware 2 07-10-2004 01:15 PM

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

All times are GMT -5. The time now is 11:21 PM.

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