LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 06-14-2005, 04:18 PM   #1
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 33
quake III on Slackware 10.0 : sound problems


Hi,

When I start quake III it hangs at the sound initialization step. After some-time the game runs but with no sound. It gives me the error :

Code:
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Sound memory manager started
Loading dll file ui.
Sys_LoadDll(/home/koodoo/.quake3/baseq3/uii386.so)...
Sys_LoadDll(/home/koodoo/.quake3/baseq3/uii386.so) failed:
"/home/koodoo/.quake3/baseq3/uii386.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(/home/koodoo/.q3a/baseq3/uii386.so)...
Sys_LoadDll(/home/koodoo/.q3a/baseq3/uii386.so) failed:
"/home/koodoo/.q3a/baseq3/uii386.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(/home/koodoo/.quake3/baseq3/uii386.so)...
Sys_LoadDll(ui) failed dlopen() completely!
Failed to load dll, looking for qvm.
Loading vm file vm/ui.qvm.
VM file ui compiled to 594408 bytes of code
ui loaded in 1963008 bytes on the hunk
35 arenas parsed
32 bots parsed
I am using kde as the desktop environment. I tried disabling the arts server but still I got no sound.

On the Gnome desktop also I get the same error.

Thanks in anticipation.
 
Old 06-14-2005, 07:06 PM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Are you running Teamspeak? If so, this link may help. If not, I recommend using ALSA's Dmix Plugin (I'm assuming you're using ALSA).

It is worthy of note that I don't run quake, rtcw, teamspeak or any of those.
 
Old 06-14-2005, 09:47 PM   #3
MikeZila
Member
 
Registered: Jul 2004
Location: Parts Unknown
Distribution: Arch
Posts: 377

Rep: Reputation: 30
What sound system are you using? OSS or ALSA?

You can find out my opening XMMS and checking what output plugin it's using in it's preferences menu. If it's using OSS change it to ALSA, if it's using ALSA change it to OSS. Hit okay and try to play an mp3 (or another sound file). You can change it back once your done.

Try that and tell me the results.
 
Old 06-14-2005, 11:30 PM   #4
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
I had the same error with ET (same engine). I found the solution on their forums. Enter the following in a console as root before starting the game (you can put it in a startup file to run automatically)
Code:
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
 
Old 06-18-2005, 10:20 AM   #5
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
sweet success but more problems

Hi thanks for all the help and sorry for being so very late.

I tried the command :
Code:
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
before running quake and finally got the sound.

but now I have more problems. I can only play the initial introductory stage of the game. If I try any other arena the game simply hangs.

This is the same problem I was experiencing with Fedora Core 1.

Without the sound the game runs fine, but with sound I can only play the introductory part of the game rest all arenas hang rite at the start when I enter the game.

It shows me a slightly hazy screen with the FPS camera view and a line on top :
"PLayer entered the game"
and this screen remains there forever. (like a still photograph with no controls working)

Any ideas??

Thanks a lot for all the help I have received.

Thanks in anticipation of more.

Last edited by koodoo; 06-18-2005 at 10:22 AM.
 
Old 06-18-2005, 04:41 PM   #6
Tormented
Member
 
Registered: Feb 2003
Location: ???
Distribution: Mandriva 2006
Posts: 92

Rep: Reputation: 15
What sound card are you using?

If you're using a via soundcard with the snd-via82xx module,
you can fix the freezing by adding:

options snd-via82xx dxs_support=4

to your /etc/modprobe.conf and rebooting.
 
Old 06-21-2005, 06:41 AM   #7
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Hi, thanks a lot again.


Here's some information about my soundcard :

1) This is the output of lsmod | grep snd

Code:
root@knapsacker:/home/koodoo# lsmod | grep snd
snd-pcm-oss            37736   0  (unused)
snd-mixer-oss          12504   0  [snd-pcm-oss]
snd-intel8x0           18924   0
snd-ac97-codec         49500   0  [snd-intel8x0]
gameport                1420   0  [snd-intel8x0]
snd-pcm                56072   0  [snd-pcm-oss snd-intel8x0]
snd-timer              13604   0  [snd-pcm]
snd-page-alloc          6328   0  [snd-intel8x0 snd-pcm]
snd-mpu401-uart         3200   0  [snd-intel8x0]
snd-rawmidi            12740   0  [snd-mpu401-uart]
snd-seq-device          3888   0  [snd-rawmidi]
snd                    30852   0  [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3396   4  [snd]
root@knapsacker:/home/koodoo#

2) and here is what the Kde info-center has to say about my sound system :

Code:
Sound Driver : 3.8.1a-980706 (ALSA v1.05a emulation code)
Kernel : 2.4.26
Config options : 0


Installed drivers : 
Type 10:ALSA emulation


Card config : 
Intel 82801DB-ICH4 at 0xd8281000, irq 9


Audio devices : 
0: Intel 82801DB-ICH4 (DUPLEX)


Synth devices : NOT ENABLED IN CONFIG
Midi devices : NOT ENABLED IN CONFIG


Timers : 
7 :  system timer


Mixers : 
0 : Realtek ALC655 rev 0
Thanks in anticipation.
 
Old 06-21-2005, 01:42 PM   #8
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
All it is, is you need to make /dev/dsp readable and writable by normal users. /dev/dsp itself is most likely a symlink to /dev/dsp0 but you can check this by doing:
ls -l /dev/dsp and it will have an arrow pointing to the true location. Anyway, after that do:
Code:
chmod a+rw /dev/dsp0
as root and all should be fine.
 
Old 06-22-2005, 01:31 PM   #9
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Quote:
Originally posted by Komakino
All it is, is you need to make /dev/dsp readable and writable by normal users. /dev/dsp itself is most likely a symlink to /dev/dsp0 but you can check this by doing:
ls -l /dev/dsp and it will have an arrow pointing to the true location. Anyway, after that do:
Code:
chmod a+rw /dev/dsp0
as root and all should be fine.
Hi, thanks for the help.

Yes /dev/dsp is a symlink to /dev/dsp0 :

Code:
koodoo@knapsacker:~$ ls -l /dev/dsp
lrwxrwxrwx  1 root root 4 2005-06-14 07:49 /dev/dsp -> dsp0
koodoo@knapsacker:~$
I did a chmod a+rw /dev/dsp0 as you had suggested but it did not make any difference, with the game behaving in the exact same way :

Here are a few things that I have noticed though :

1) It doesn't make any difference whether I play the game as root or a normal user. The game behaves exactly in the same way in both the cases.

2) I have to issue the command echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss if I want any sound.

3) The game works fine (but without sound) if something is blocking the soundcard e.g. the the artsd. But if I stop the artsd and then try executing the game it just hangs.

4) The most peculiar of all is that if arts is stopped, why is that the introductory stage works fine with sound while every other arena hangs ?. This plus the fact that the game ran fine on the same P.C. with windoze X.P. makes me believe that there might be a bug in the quake3 point release that is used to run quake natively on Linux. (I may be wrong though , ).

Thanks again in anticipation.
 
Old 06-22-2005, 02:51 PM   #10
Tormented
Member
 
Registered: Feb 2003
Location: ???
Distribution: Mandriva 2006
Posts: 92

Rep: Reputation: 15
Try running the game with
Code:
artsdsp -m quake3
 
Old 06-22-2005, 03:20 PM   #11
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Thumbs up Sucess at last

Quote:
Originally posted by Tormented
Try running the game with
Code:
artsdsp -m quake3
Thanks a bunch Tormented.

I tried it and finally quake3 ran on my P.C. with sound.

It seems like eternity now since I have been trying to make quake3 work properly.

You do not know how much you have helped. Thanks a lot and thanks to all you guys. You've all been great.


P.S. And also I conclude again that people who say that there is a bug somewhere are almost always wrong

Thanks again.

Last edited by koodoo; 06-22-2005 at 03:25 PM.
 
Old 08-30-2005, 10:04 AM   #12
majik123
LQ Newbie
 
Registered: May 2004
Location: Australia
Distribution: Mandrake 10
Posts: 11

Rep: Reputation: 0
Quote:
Originally posted by Tormented
Try running the game with
Code:
artsdsp -m quake3
Hi
I have the same problem aswell i tried this command and i still got the same freezing as soon as the game loaded the map.

im using the alsa intel8x0 sound module and an nvidia fx5200 card with the latest drivers

any further suggestions?

thanks in advance

Last edited by majik123; 08-30-2005 at 10:08 AM.
 
Old 09-02-2005, 01:30 PM   #13
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Hi, Can you play the game without the sound ?

First, disable the artsd sound system and then try playing the game.

Also did you try the command :

Code:
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
as suggested by Mdg ?
 
Old 09-03-2005, 11:01 AM   #14
Tormented
Member
 
Registered: Feb 2003
Location: ???
Distribution: Mandriva 2006
Posts: 92

Rep: Reputation: 15
Try compiling the icculus.org version. It has SDL sound and is supposed to work with ALSA now.
 
Old 09-05-2005, 10:46 PM   #15
majik123
LQ Newbie
 
Registered: May 2004
Location: Australia
Distribution: Mandrake 10
Posts: 11

Rep: Reputation: 0
Yes i tried the game without sound and it works fine, but, i want sound

i tried the icculus.org version but with no luck in compliling and after reading the readme on their site, it is only a test version with not many maps.

This is such a frustrating problem, you would believe alsa should make things better!

has anyone else had this problem with the snd-intel8x0 module?

thanks again
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Quake III and Ut2004 problems o0Knight0o Linux - Games 1 06-25-2006 10:18 PM
Quake III sound issues Diminished7th Linux - Games 1 06-20-2004 05:08 PM
quake III e1000 Linux - Games 4 12-15-2003 11:08 AM
Quake III demo battles sound server.. help? MadCactus Linux - Software 2 11-25-2003 07:32 AM
Quake III no sound nrunge Linux - Software 2 11-06-2003 12:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 05:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration