You are not logged in.

#1 2007-03-31 20:18:32

Rumor
Member
From: Albany, NY
Registered: 2006-07-07
Posts: 638

Quake 3 /dev/dsp error

I've done some digging trying to search out a solution to this problem, but I am coming up empty.

Fresh install of Quake 3 Arena. On startup, the console reports:

------- sound initialization -------
/dev/dsp: Device or resource busy
Could not open /dev/dsp

So I have no sound.

The sound device is a C-Media PCI CMI8738-MC6
Kernel = kernel26-2.6.20.4-1

I've got system sounds aplenty, and sounds playing DVDs and such. My user is a member of audio. Let me output more info than is probably useful.

 lsmod | grep snd
snd_seq_oss            29184  0 
snd_seq_midi_event      6528  1 snd_seq_oss
snd_seq                46672  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            39072  0 
snd_mixer_oss          14464  1 snd_pcm_oss
snd_cmipci             30368  3 
gameport               11784  1 snd_cmipci
snd_pcm                68484  3 snd_pcm_oss,snd_cmipci
snd_page_alloc          7816  1 snd_pcm
snd_opl3_lib            8576  1 snd_cmipci
snd_timer              18820  4 snd_seq,snd_pcm,snd_opl3_lib
snd_hwdep               7044  1 snd_opl3_lib
snd_mpu401_uart         7040  1 snd_cmipci
snd_rawmidi            19104  1 snd_mpu401_uart
snd_seq_device          6796  4 snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
snd                    43492  16 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               6496  1 snd
ls -la /dev/snd
total 0
drwxr-xr-x  2 root root        0 2007-03-31 13:15 .
drwxr-xr-x 17 root root        0 2007-03-31 19:15 ..
crw-rw----  1 root audio 116,  0 2007-03-31 13:15 controlC0
crw-rw----  1 root audio 116,  4 2007-03-31 13:15 hwC0D0
crw-rw----  1 root audio 116, 24 2007-03-31 13:15 pcmC0D0c
crw-rw----  1 root audio 116, 16 2007-03-31 13:15 pcmC0D0p
crw-rw----  1 root audio 116, 17 2007-03-31 13:15 pcmC0D1p
crw-rw----  1 root audio 116, 26 2007-03-31 13:15 pcmC0D2c
crw-rw----  1 root audio 116, 18 2007-03-31 13:15 pcmC0D2p
crw-rw----  1 root audio 116,  1 2007-03-31 13:15 seq
crw-rw----  1 root audio 116, 33 2007-03-31 13:15 timer
ls -la /dev
lrwxrwxrwx  1 root root           9 2007-03-31 13:15 dsp -> sound/dsp

Any ideas?

Last edited by Rumor (2007-03-31 20:22:55)


Smarter than a speeding bullet
My Goodreads profile

Offline

#2 2007-03-31 20:34:41

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Quake 3 /dev/dsp error

Maybe another app is trying to use (keep control of)  the sound card. Do you have a sound deamon like arts or esd running?

Offline

#3 2007-03-31 20:55:05

Rumor
Member
From: Albany, NY
Registered: 2006-07-07
Posts: 638

Re: Quake 3 /dev/dsp error

Just alsa

DAEMONS=(syslog-ng network netfs crond autofs alsa cups gdm)

Smarter than a speeding bullet
My Goodreads profile

Offline

#4 2007-03-31 21:03:01

WhiteMagic
Member
Registered: 2007-03-01
Posts: 85

Re: Quake 3 /dev/dsp error

If I remember correctly this is a rather common problem with quake. I used the following commands to resolve the problem:

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

Not the most elegant solution I think but it worked for me.

Offline

#5 2007-03-31 22:46:18

Rumor
Member
From: Albany, NY
Registered: 2006-07-07
Posts: 638

Re: Quake 3 /dev/dsp error

@ WhiteMagic:
Thanks, but it didn't fly for me. Neither starting Q3 as my normal user or as root gave me sound.

neutral


Smarter than a speeding bullet
My Goodreads profile

Offline

#6 2007-04-02 18:41:30

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: Quake 3 /dev/dsp error

Use ioquake3 - it supports alsa natively


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#7 2007-04-02 23:27:23

Rumor
Member
From: Albany, NY
Registered: 2006-07-07
Posts: 638

Re: Quake 3 /dev/dsp error

Stalwart wrote:

Use ioquake3 - it supports alsa natively

big_smile That did the trick!

Thank you very much!


Smarter than a speeding bullet
My Goodreads profile

Offline

#8 2007-08-30 10:32:08

sda00
Member
Registered: 2007-07-25
Posts: 17

Re: Quake 3 /dev/dsp error

WhiteMagic wrote:

If I remember correctly this is a rather common problem with quake. I used the following commands to resolve the problem:

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

Not the most elegant solution I think but it worked for me.

YESS!!!
(ioquake has some issues with PB...)

Offline

Board footer

Powered by FluxBB