LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-05-2003, 07:11 PM   #1
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Angry kde's aRts is hogging /dev/dsp


the system sounds (like when i close a window) are alright, but when i start a game, there isnt any sound and i have to kill aRts to get sound. i cant disable aRts because then the sound acts weird. anyone?

PS: i have tried pointing aRts to /dev/sound/audio and /dev/sound/dsp, and it hasnt solved the problem.
 
Old 12-05-2003, 10:46 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
try running your games through artsdsp. basically instead of using something like

/usr/local/games/ut2003_demo/ut2003_demo

for starting up your games from the console or from your link, use instead this in the cli or as the command to execute in your shortcuts:

artsdsp /usr/local/games/ut2003_demo/ut2003_demo
 
Old 12-06-2003, 12:09 PM   #3
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
i tried that (i tried it with rtcw, since i dont have ut2003), and the game inited alright, but there was no sound. after looking at the console output, i saw "your soundcard cant do this". without using artsd, the game plays fine with sound, so i dont think its my soundcard (which, btw, is a c-media 8738). if i init wolfsp normally with artsd on without using artsdsp, the game just hangs at the sound init and i have to kill it, which is because its waiting for a vacancy in /dev/dsp (at least thats my best guess).
 
Old 12-06-2003, 01:18 PM   #4
GrapeApe
Member
 
Registered: Nov 2003
Distribution: Mandrake 9.2
Posts: 57

Rep: Reputation: 15
i believe there are two different drivers that are compatible with the c-media 8738:
snd-cmipci and cmpci. you may want to try switching by using the config tool in harddrake. for some reason i could only hear system sounds (many games hanged at init) until i switched. i believe you have to re-boot after the switch for it to take effect.
 
Old 12-06-2003, 01:57 PM   #5
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
i tried both. cmpci doesnt give me any system sounds (like when i get email), but it gives me sound in games.
 
Old 12-06-2003, 06:48 PM   #6
bareego
Member
 
Registered: Nov 2003
Location: Brisbane, Australia
Distribution: Crux 2.0
Posts: 66

Rep: Reputation: 15
I found the best for me is to turn off the arts server in the control panel to get
sound working in most games.

Since I use xfce4 instead of kde I don't have such problems anymore

I also found that "wrapping" a program with artsdsp like described further up often either doesn't work or can lead to delayed sound.

IMHO if you want to play games on linux, turns arts off.

cheers
Bareego
 
Old 12-07-2003, 11:06 AM   #7
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Original Poster
Rep: Reputation: 47
arts IS off, its just other sounds like when a window closes are choppy or delayed. plus, alsa hogs /dev/dsp itself, it doesnt multichannel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
no /dev/dsp nor /dev/mixer on 2.6.9 amuro_ray Slackware 9 08-03-2009 03:54 PM
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 01:27 PM
No /dev/dsp /dev/mixer etc david.skinner Linux - Software 2 05-19-2005 03:28 AM
Arts: error while opening /dev/dsp (after make modules_install) mep]-[isto Linux - Newbie 5 11-28-2003 12:51 PM
/dev/dsp ?? elite Linux - Software 4 04-10-2002 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration