Linux - GamesThis forum is for all discussion relating to gaming in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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)
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)
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:
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:
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 , ).
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.