View previous topic :: View next topic |
Author |
Message |
BradB Apprentice
Joined: 18 Jun 2002 Posts: 190 Location: Christchurch NZ
|
Posted: Thu Aug 15, 2002 9:56 pm Post subject: Quake3 sound issues |
|
|
I know from searching the forums & net that this has been done almost to death. However, nobody seams to have exactly my problem (or perhaps my searching skills are poor). Anyhow, I recently installed Q3A for Gentoo & was very pleasantly surprised that it worked very well out of the emerge, except for sound. I run alsa drivers on a VIA mobo AC97 (via686 chipset) I also run KDE. Using
quake will run, but sound is delayed approx 1-2 seconds. Without this Q3 will lock up at the first access to /dev/dsp, or run without sound complaining that it needs mem-mapped sound.
Since I don't know much about OSS/ALSA, but did remember compiling kernel modules. So a quick "alsasound stop", "modprobe -r" the remaining modules & then modprobe the OSS modules and whalla I have OSS sound. Quake3 now loads find, with sound synced correctly - I like this. The first arena plays correctly, but all the Teir 1 arenas don't. They freeze as soon as you drop in & the voice normally announces you. I suspect that there is some kind of conflict where 2 or more sounds are playing at once.
Well that's about as much as I can remember, any help would be very appreciated. Oh, my GF card is a GF2GTS.
Cheers
Brad |
|
Back to top |
|
|
Pigeon Guru
Joined: 21 Jun 2002 Posts: 307
|
Posted: Fri Aug 16, 2002 2:04 am Post subject: |
|
|
What happens when you use a wm other than KDE? Try one without a sound daemon like blackbox, or even plain ol' twm. (I usually run q3 from twm- better performance)
The "alsasound stop; modprobe xxx" works because (I think) it forcibly kills arts (kde sound daemon) or at least shuts it off for a while. Arts' job is to mix all the sound streams together so you can use more than one sound-producing application at once. However, if your CPU usage is maxxed out like it is while playing quake3, arts doesn't get the CPU time it needs to mix all that together, and lags. At least, I think.
As for fixing it for use in kde, you could probably renice arts to a higher priority, which might slow down your computer a lot should arts wigg out on you, or you can run quake3 at a lowered priority, which may result in choppy gameplay. I'm not familiar with arts and kde in general, so I can't help you with option 1. A total shot in the dark would be 'ps -A|grep arts' and renice anything that comes up to a higher priority. For option 2, just do 'artsdsp -m nice quake3'. |
|
Back to top |
|
|
BradB Apprentice
Joined: 18 Jun 2002 Posts: 190 Location: Christchurch NZ
|
Posted: Fri Aug 16, 2002 2:07 am Post subject: |
|
|
Good points. I tried running Quake via plain xdm - can't remember the results, I'll have to try that again.
Brad |
|
Back to top |
|
|
tux-fan Tux's lil' helper
Joined: 10 Apr 2002 Posts: 131 Location: Paderborn, Germany
|
Posted: Fri Aug 16, 2002 8:20 am Post subject: |
|
|
Have had that sound problem too. I solved it by not loading the artsd. U can disable the artsd in KDE's control center. |
|
Back to top |
|
|
Russki Tux's lil' helper
Joined: 28 Apr 2002 Posts: 119 Location: Prague, Czech Republic
|
Posted: Fri Aug 16, 2002 1:30 pm Post subject: |
|
|
Just a tip:
Sometimes, quake3 (and it's mods) have sound problems when you have esd+artsd running.
Check if you have esd running and kill it.
I never had ARTS in KDE enabled. ALSA did everything perfect. _________________ Facts are stupid things.
-Ronald Reagan
[img]http://www.danasoft.com/vipersig.jpg[/img] |
|
Back to top |
|
|
xurf n00b
Joined: 10 Feb 2003 Posts: 12 Location: Reading, UK
|
Posted: Mon Feb 10, 2003 9:15 pm Post subject: |
|
|
I had exaclty the same problem with arts/kde3.1/quake3 - a delay of 1-2 secs with 'artsdsp -m quake3', or a hang on startup without. Many thanks to Pigeon as
artsdsp -m nice quake3
works a treat. |
|
Back to top |
|
|
Predator n00b
Joined: 04 Jun 2002 Posts: 9 Location: Leipzig
|
Posted: Wed Feb 12, 2003 7:34 pm Post subject: Playing Q3 while listening with XMMS |
|
|
Is there a possibility to run xmms and q3a at the same time?
w/ Gnome w/o esd !
When XMMS is running and I start q3a - loading stops at q3a sound initializing...
I think it's because /dev/dsp is in use, but there must be a way...
thanks |
|
Back to top |
|
|
Uranus Guru
Joined: 07 May 2002 Posts: 438 Location: Portugal, Braga
|
Posted: Wed Feb 12, 2003 10:24 pm Post subject: |
|
|
I have xmms using /dev/adsp and quake3 using normal /dev/dsp |
|
Back to top |
|
|
Predator n00b
Joined: 04 Jun 2002 Posts: 9 Location: Leipzig
|
Posted: Sun Feb 16, 2003 4:19 pm Post subject: |
|
|
/dev/dsp is my only output device !
ess solo1 - alsa 0.90
it's not possible, is it |
|
Back to top |
|
|
|