PDA

View Full Version : quake3 no sound


etlpkby
March 18th, 2008, 03:20 PM
Hello all,

Yep, it's a old topic, but I cannot get quake3 or wolfenstein to work with sound. This is what I get for quake3

------- sound initialization -------
/dev/dsp: Broken pipe
Could not toggle.

I'm running:-

. AMD64 x2 Dual core processor 6400+ CPU
. Hardy Heron Alpha6 x86_64
. NVIDIA Geforce 9600 graphic card, beta driver ver: 171_06

According to 'alsamixer' my sound device is:-

. HDA ATI SB
. Realtek ALC883

What I have tried:-

I have /dev/dsp and /dev/adsp - chmod a+rw them, and tried both of them using +set snddevice <device> options.

No effect.

As root:-

echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "quake3-smp.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss

No effect., (Do I need x86_64 not x86 in the above echo's?)

Changed my sound device in menus "System->Preferences->Sound Preferences" from Auto to OSS (All options except 'Default Mixer tracks' which I left alone.)

With Ubuntu I don't see 'artsd' or 'esd' like I did with Fedora Core (many moons ago) :tongue: I would normally get q3 snd working by killing artsd etc. Not with Ubuntu :(

I've got lib32's installed, but it has no effect whether I precede the "quake3" command with "linux32" or not.

Anyone got any tips / got it working in 64bit Ubuntu ?

etlpkby
March 18th, 2008, 03:24 PM
DOH!

I re-read my post, and tried the echo command without the x86 suffix and it worked!!!

echo "quake3 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3 0 0 disable" > /proc/asound/card0/pcm0c/oss

I'm going meditate now :redface:

etlpkby
March 18th, 2008, 03:37 PM
hmmm...except it hangs without repetitive sound glitch when I complete the quake3 intro level :(

etlpkby
March 18th, 2008, 04:10 PM
./quake3 +set s_musicvolume -1

fixed it ;)

halogentan
June 12th, 2008, 02:30 AM
This was actually the only way that I was able to get quake3 to properly run with sound on Ubuntu Hardy.

I added those echo commands to the start function in /etc/init.d/bootmisc.sh
--------------
case "$1" in
start|"")
do_start
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
;;
--------------

Then I start the game like the post above:
./quake3 +set s_musicvolume -1


Muchos gracias to etlpkby!