[newbie] No sound in Games after running mplayer
After runnin mplayer, I get no sound in my games. I do lsof +D /dev/sound, and get: wmsmixer 1644 joehill4r CHR 14,0 1468 /dev/sound/mixer xscreensa 2441 joehill 13w CHR 14,3 1469 /dev/sound/dsp so, I kill those and restart the sound service, but still there is no sound in any of the games (MOHAA, Quake 1,2,3, etc.). any way to solve this without rebooting? (of course there is...there's gotta be... :-P) -- HaywireMac Registered Linux user #282046 Homepage: nodex.sytes.net ++ Mandrake HowTo's More: http://twiki.mdklinuxfaq.org ++ No matter where I go, the place is always called here. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No sound in Games after running mplayer
On Wednesday 03 September 2003 10:10 am, HaywireMac wrote: After runnin mplayer, I get no sound in my games. I do lsof +D /dev/sound, and get: wmsmixer 1644 joehill4r CHR 14,0 1468 /dev/sound/mixer xscreensa 2441 joehill 13w CHR 14,3 1469 /dev/sound/dsp so, I kill those and restart the sound service, but still there is no sound in any of the games (MOHAA, Quake 1,2,3, etc.). any way to solve this without rebooting? (of course there is...there's gotta be... :-P) Check to make sure that mplayer is using the arts output plugin if you are running KDE. If it is using /dev/dsp, it may not be releasing the sound device when it is done and that would lock it up for other apps. Had this problem myself and once I configured mplayer to use arts, I haven't seen it since. -- Bryan Phinney Software Test Engineer Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No sound in Games after running mplayer
On Wed, 3 Sep 2003 11:56:43 -0400 Bryan Phinney [EMAIL PROTECTED] uttered: Check to make sure that mplayer is using the arts output plugin if you are running KDE. If it is using /dev/dsp, it may not be releasing the sound device when it is done and that would lock it up for other apps. Doesn't seem to affect Xmms, I guess because that is using OSS, which also causes me to lose sound in games. Had this problem myself and once I configured mplayer to use arts, I haven't seen it since. Wouldn't touch KDE with a ten-foot Australian! When I go into the config options, the only ones it will let me choose are OSS and SDL. Do I have to run MPlayer in KDE to use ARTS? -- HaywireMac Registered Linux user #282046 Homepage: nodex.sytes.net ++ Mandrake HowTo's More: http://twiki.mdklinuxfaq.org ++ The only difference between a rut and a grave is their dimensions. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No sound in Games after running mplayer
On Wednesday 03 September 2003 10:10 am, HaywireMac wrote: After runnin mplayer, I get no sound in my games. I do lsof +D /dev/sound, and get: wmsmixer 1644 joehill4r CHR 14,0 1468 /dev/sound/mixer xscreensa 2441 joehill 13w CHR 14,3 1469 /dev/sound/dsp so, I kill those and restart the sound service, but still there is no sound in any of the games (MOHAA, Quake 1,2,3, etc.). any way to solve this without rebooting? (of course there is...there's gotta be... :-P) Here, its artsd that grabs /dev/dsp and won't let go. Not XMMS. I usually killall -9 artsd and then run my games. Your situation is probably different though. lsof /dev/dsp does tell me whats going on though... -- /\ DarkLord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No sound in Games after running mplayer
On Wed, 3 Sep 2003 12:58:31 -0400 Ronald J. Hall [EMAIL PROTECTED] uttered: Here, its artsd that grabs /dev/dsp and won't let go. Not XMMS. I usually killall -9 artsd and then run my games. No such process for me, is that a KDE specific thang? Your situation is probably different though. lsof /dev/dsp does tell me whats going on though... -- HaywireMac Registered Linux user #282046 Homepage: nodex.sytes.net ++ Mandrake HowTo's More: http://twiki.mdklinuxfaq.org ++ Either I'm dead or my watch has stopped. -- Groucho Marx's last words Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No sound in Games after running mplayer
On Wednesday 03 September 2003 01:09 pm, HaywireMac wrote: On Wed, 3 Sep 2003 12:58:31 -0400 Ronald J. Hall [EMAIL PROTECTED] uttered: Here, its artsd that grabs /dev/dsp and won't let go. Not XMMS. I usually killall -9 artsd and then run my games. No such process for me, is that a KDE specific thang? Hmm. Just assumed you had arts, artsd is the daemon. Most people have it. If you don't, then nm, sorry. :-) -- /\ DarkLord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No sound in Games after running mplayer
On Wednesday September 3 2003 12:39 pm, HaywireMac wrote: I tried installing arts (urpmi arts), and restarted the sound service again, but in mplayer I still do not have the option to configure the arts sound driver... am I missing a step here? From the CL, 'mplayer -ao arts filename' will use aRts for the sound output. I made an alias for files alsa doesn't like (mostly Sorenson v3 QT movies). alias mpy='mplayer -ao arts' So 'mpy filename' plays usin aRts. Otherwise mplayer will use the default sound server for your snd chip. Run 'draksound' as root, an it'll tell you the default server, what you're currently usin, plus a drop down list of those you can switch to. Best to stay with your default tho, and only switch when needed on a temp basis, like my alias does. -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No sound in Games after running mplayer
On Wed, 3 Sep 2003 13:12:58 -0500 Tom Brinkman [EMAIL PROTECTED] uttered: From the CL, 'mplayer -ao arts filename' will use aRts for the sound output. AO: [arts] can't connect to aRts soundserver Could not open/initialize audio device - no sound. Audio: no sound the prob is, tho, the arts sound server is not running, do I need to be in KDE for it to run? and once mplayer has grabbed /dev/dsp, is there no way to get it back without rebooting? -- HaywireMac Registered Linux user #282046 Homepage: nodex.sytes.net ++ Mandrake HowTo's More: http://twiki.mdklinuxfaq.org ++ One learns to itch where one can scratch. -- Ernest Bramah Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No sound in Games after running mplayer
On Wed, 3 Sep 2003 13:12:58 -0500 Tom Brinkman [EMAIL PROTECTED] uttered: From the CL, 'mplayer -ao arts filename' will use aRts for the sound output. In fact, even if I run the artsd when X starts, and play a movie the way you suggest (I do get sound), then when I quit mplayer, I still get no sound in games; but this is the really crazy part. If I restart the soundserver, I get sound in Unreal Tournament, Medal of Honour, but not iD games like Quake 1,2,3 or Urban Terror. WTF? -- HaywireMac Registered Linux user #282046 Homepage: nodex.sytes.net ++ Mandrake HowTo's More: http://twiki.mdklinuxfaq.org ++ To give happiness is to deserve happiness. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No sound in Games after running mplayer
On Wednesday 03 September 2003 02:42 pm, HaywireMac wrote: On Wed, 3 Sep 2003 13:12:58 -0500 Tom Brinkman [EMAIL PROTECTED] uttered: From the CL, 'mplayer -ao arts filename' will use aRts for the sound output. AO: [arts] can't connect to aRts soundserver Could not open/initialize audio device - no sound. Audio: no sound the prob is, tho, the arts sound server is not running, do I need to be in KDE for it to run? I think you do. and once mplayer has grabbed /dev/dsp, is there no way to get it back without rebooting? Look for an instance of gmplayer and kill it. That is if you are running a gui. I know that when I used to let mplayer take the /dev/dsp device directly, I invariably had to go out and kill a couple of gmplayer processes to get the sound back. I suspect that it had something to do with codec problems. You might also try using Xine if you continue to have problems with mplayer. -- Bryan Phinney Software Test Engineer Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No sound in Games after running mplayer
On Wednesday September 3 2003 02:40 pm, HaywireMac wrote: On Wed, 3 Sep 2003 13:12:58 -0500 Tom Brinkman [EMAIL PROTECTED] uttered: From the CL, 'mplayer -ao arts filename' will use aRts for the sound output. In fact, even if I run the artsd when X starts, and play a movie the way you suggest (I do get sound), then when I quit mplayer, I still get no sound in games; but this is the really crazy part. If I restart the soundserver, I get sound in Unreal Tournament, Medal of Honour, but not iD games like Quake 1,2,3 or Urban Terror. WTF? Are you usin mplayer or gmplayer? Even the developers of mplayer dislike, disown gmplayer (see the mplayer list archive). Take a minute to learn the CL options for mplayer (man mplayer), and you'll never use the GUI again. As with many things, it's more featured, more reliable ... on the CL. There's many things you can adjust 'on the fly' on the CL, that aren't even in the GUI. If you are usin mplayer on the CL, loss of sound smacks of a problem with your system. If a logout/back into your WM fixes it it's probly software (the games?). Otherwise it's probly hardware. -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No sound in Games after running mplayer
On Wednesday September 3 2003 01:42 pm, HaywireMac wrote: On Wed, 3 Sep 2003 13:12:58 -0500 Tom Brinkman [EMAIL PROTECTED] uttered: From the CL, 'mplayer -ao arts filename' will use aRts for the sound output. AO: [arts] can't connect to aRts soundserver Could not open/initialize audio device - no sound. Audio: no sound the prob is, tho, the arts sound server is not running, do I need to be in KDE for it to run? and once mplayer has grabbed /dev/dsp, is there no way to get it back without rebooting? Do you have all of aRts installed? libarts1-devel-1.1.3-7mdk (might not need) arts-1.1.3-7mdk libarts1-1.1.3-7mdk (not necessarily those versions) Then check with $ ps -A |grep arts (and you'll see somethin like...) 9234 ?00:00:13 artsd $ ll /dev/dsp (should be somethin similar to this) lr-xr-xr-x1 root root9 Sep 3 15:34 /dev/dsp - sound/dsp (ie, _x_ecutable by by owner, group, all users) Normally artsd does run all the time, but only uses the sound service when needed, then releases. This of course depends on your configuration. Bruce it might be better if you read this, specially the part, non-aRts applications, .. suspends after 60 seconds, it doesn't for me? http://www.arts-project.org/doc/mcop-doc/artsd-faq.html an browse this http://www.arts-project.org/doc/manual/index.html I believe there's a way to reduce the suspend aRts time from 60s, but since I never needed it, I'm not familiar with it. Sorry. Facts are, there's no one Linux sound solution. Maybe one'a Linux's weakest points. Sound on Linux (Un*x) is a hodgepodge. Video's not a whole lot different. Better manufacturer support would probly go a long way to solve it and make it seamless for the user. Until then, Windoze is for games. It's gotta be good for somethin, no? ;) At least as long as M$ has the hardware manufacturers in their pocket. -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No sound in Games after running mplayer
On Wednesday 03 September 2003 07:56 pm, Tom Brinkman wrote: I believe there's a way to reduce the suspend aRts time from 60s, but since I never needed it, I'm not familiar with it. Sorry. havn't kept up with this thread too entirely much, but to change the aRTs suspend time in KDE K Menu Configuration KDE Sound Sound System you'll see all the options there, including the option to 'autosuspend' arts for however many seconds you want it to or to just remove that option completely. i just found this the other day as i was having sound problems while playing DVDs. Mike Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] No sound in Games after running mplayer
On Wed, 3 Sep 2003 18:56:37 -0500 Tom Brinkman [EMAIL PROTECTED] uttered: Do you have all of aRts installed? libarts1-devel-1.1.3-7mdk (might not need) arts-1.1.3-7mdk libarts1-1.1.3-7mdk (not necessarily those versions) kickarts-0.4-3tex arts-1.1.3-1tex xmms-arts-0.4-8mdk gstreamer-artsd-0.6.0-3mdk libarts-1.1.3-1tex Then check with $ ps -A |grep arts (and you'll see somethin like...) 9234 ?00:00:13 artsd Ya, I set it to start with my X startup script. $ ll /dev/dsp (should be somethin similar to this) lr-xr-xr-x1 root root9 Sep 3 15:34 /dev/dsp - sound/dsp (ie, _x_ecutable by by owner, group, all users) Yep. Normally artsd does run all the time, but only uses the sound service when needed, then releases. This of course depends on your configuration. Bruce it might be better if you read this, specially the part, non-aRts applications, .. suspends after 60 seconds, it doesn't for me? It just says not to use full duplex, which I do not. http://www.arts-project.org/doc/mcop-doc/artsd-faq.html an browse this http://www.arts-project.org/doc/manual/index.html I believe there's a way to reduce the suspend aRts time from 60s, but since I never needed it, I'm not familiar with it. Sorry. Ya, you just add the -s switch to the command line and specify the time in seconds. Facts are, there's no one Linux sound solution. Maybe one'a Linux's weakest points. Sound on Linux (Un*x) is a hodgepodge. Video's not a whole lot different. Better manufacturer support would probly go a long way to solve it and make it seamless for the user. Until then, Windoze is for games. It's gotta be good for somethin, no? ;) At least as long as M$ has the hardware manufacturers in their pocket. I hear ya. The funny thing is, it's only certain games that are affected, and now that I tried running artsd at X startup, those games get no sound from the get-go, even if I don't run mplayer. It's the iD games, quake and the like. Medal of Honour, Unreal Tournament, they have no problemo with sound if I use the artsd. I'm going to check into that aspect of it more, because they must do something different in the way they handle sound than other games. Weird. Thanks much for the tips, I'll keep hackin' away at it. -- HaywireMac Registered Linux user #282046 Homepage: nodex.sytes.net ++ Mandrake HowTo's More: http://twiki.mdklinuxfaq.org ++ The truth of a thing is the feel of it, not the think of it. -- Stanley Kubrick Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com