View previous topic :: View next topic |
Author |
Message |
bonecrime n00b
Joined: 11 May 2004 Posts: 47 Location: Sweden
|
Posted: Sat Dec 25, 2004 12:03 pm Post subject: Quake 3, no sound. |
|
|
Hi,
I'm having trouble getting the sound working in Quake 3. The game run allright. But with no sound. It says it can't mmap /dev/sound/dsp. Hmm I'm running a 2.6.9 devsources kernel with kompiled in alsa support. The sound works fine otherwise. I found an old thread about the subject, but I suspect it was for 2.4 kernels, so I won't even bother with that. The only thing I've tried is changing the sound device in q3config from /dev/dsp to /dev/sound/dsp. And it didn't help. Got any ideas?
Edit: Yeah I know it's Christmas, but here in Sweden we celebrate on the 24th. _________________ Let's see what's out there! |
|
Back to top |
|
|
Need4Speed Guru
Joined: 06 Jun 2004 Posts: 497
|
Posted: Sat Dec 25, 2004 3:33 pm Post subject: |
|
|
do you have oss compatibility compiled in? |
|
Back to top |
|
|
bonecrime n00b
Joined: 11 May 2004 Posts: 47 Location: Sweden
|
Posted: Sat Dec 25, 2004 6:43 pm Post subject: |
|
|
Hmm I don't remember actually. I'll check it out. I saw someone mention on another forum that I should load the OSS compability thing as a module. Don't know what good it would do though. Anyways, I'll check out the kernel config now.
Edit; Yep its compiled in.
Edit2: Got another tip.
Code: | echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss |
Now the sound works, but the game hangs when I try to play it. But I got sound in the menus anyway. _________________ Let's see what's out there! |
|
Back to top |
|
|
tzimmer n00b
Joined: 23 Jan 2003 Posts: 45 Location: Berlin, Germany
|
Posted: Sun Dec 26, 2004 1:23 am Post subject: |
|
|
I only get sound when I perform these two steps before playing:
Code: | echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss |
Maybe that'll solve your problem, too... |
|
Back to top |
|
|
bonecrime n00b
Joined: 11 May 2004 Posts: 47 Location: Sweden
|
Posted: Sun Dec 26, 2004 6:18 pm Post subject: |
|
|
No, it doesn't. And as a bonus the mouse runs at the game's speed in X after killing the crashed game. Very funny. Not. _________________ Let's see what's out there! |
|
Back to top |
|
|
jannis Guru
Joined: 05 Dec 2004 Posts: 340 Location: Germany / Bavaria / Aschaffenburg
|
Posted: Mon Dec 27, 2004 8:02 am Post subject: |
|
|
Quake plays it sound through OSS. If you have an ALSA-based system (I have), then you need tp emulate the OSS so that the sound coming in the OSS-Format is played by ALSA. Just load the module. If it still doesn't work, here's how I fixed it:
start an soundserver (esd and artsd work) and run quake with: "artsdsp -m /usr/games/bin/quake3.x86" for artsd or "esddsp -m /usr/games/bin/quake3.x86" for the esd.
Have a look at: https://forums.gentoo.org/viewtopic.php?t=18397 |
|
Back to top |
|
|
|