SlackwareThis Forum is for the discussion of Slackware 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.
My solution for ALSA-driver without anything like artsd or changing rights of /dev/dsp:
The game needs access to some sound-device -->
I do
ls -la /dev/dsp*
in the console to see where /dev/dsp points to. For me that is /dev/sound/dsp or whatever. So the sound-devices the game is looking for are in /dev/sound. As /dev/sound/dsp does not work, I try something else in /dev/sound/, namely /dev/sound/adsp, and luckilliy this works :-)
To change the sound-device for the game (quake3 or enemy territory or whatever similar)
just start the game, then open the console with the tilde-key (for me <Alt Gr><~>, then <space>). Here you have to enter
snddevice "/dev/sound/adsp"
Just restart the game and sound should be on. This works for me and you don't have to change any rights or whatever.
Trey's "solution" using the command echo "quake3.x86 0 0 direct" >/proc/asound/card0/pcm0p/oss is hardly a solution at all. If you try to play a multiplayer game, or try loading a new Mod, such as Threewave, Quake III and X will both freeze.
After many, many failed attempts with the native Linux version of Quake III, I started using the latest version of WineX, called Cedega, to play it, since it runs just as well and has sound. Though, when I try to load a new Mod with it, like Threewave as previously mentioned, my cursor gets stuck on the bottom left corner. This is probably due to some window issues with Cedega.
All in all, I suggest that anyone who wants to play Quake III under Linux with sound and the ability to play both LAN and Internet games should use WineX's latest release called Cedega. If I figure out a way to fix my cursor issue when loading new Mods, I'll post it in this thread.
Good luck.
Update: Minutes after posting this, I found something someone wrote about the problems we've been having with Quake III and ALSA. It seems that many onboard or cards with younger drivers have problems with OSS emulation (Quake III uses OSS). I decided to run `alsaconf` and instead of picking my onboard sound card, I picked my Ensoniq AudioPCI, otherwise known as the Sound Blaster card, in hopes that its OSS emulation would work better than the previous. Well, although I'm suffering from a sinus infection at the moment, it seems that fate balanced itself and I now have 100% working sound under the Linux version of Quake III! I found this sound card on eBay years ago for a little over $10, so perhaps its a good idea for the rest of you having problems.
Originally posted by ateam Trey's "solution" using the command echo "quake3.x86 0 0 direct" >/proc/asound/card0/pcm0p/oss is hardly a solution at all. If you try to play a multiplayer game, or try loading a new Mod, such as Threewave, Quake III and X will both freeze.
After many, many failed attempts with the native Linux version of Quake III, I started using the latest version of WineX, called Cedega, to play it, since it runs just as well and has sound. Though, when I try to load a new Mod with it, like Threewave as previously mentioned, my cursor gets stuck on the bottom left corner. This is probably due to some window issues with Cedega.
All in all, I suggest that anyone who wants to play Quake III under Linux with sound and the ability to play both LAN and Internet games should use WineX's latest release called Cedega. If I figure out a way to fix my cursor issue when loading new Mods, I'll post it in this thread.
Good luck.
Update: Minutes after posting this, I found something someone wrote about the problems we've been having with Quake III and ALSA. It seems that many onboard or cards with younger drivers have problems with OSS emulation (Quake III uses OSS). I decided to run `alsaconf` and instead of picking my onboard sound card, I picked my Ensoniq AudioPCI, otherwise known as the Sound Blaster card, in hopes that its OSS emulation would work better than the previous. Well, although I'm suffering from a sinus infection at the moment, it seems that fate balanced itself and I now have 100% working sound under the Linux version of Quake III! I found this sound card on eBay years ago for a little over $10, so perhaps its a good idea for the rest of you having problems.
Good luck!
recommending a new sound card or to install a game under an emulator when a linux client is available is generally thought of as "hardly a solution." What I posted has worked for me on many occasions... just because it does not work for you does not make it "hardly a solution"
Sorry, I didn't mean to sound rude. I have been aware of your method for a long time, and everyone I've spoken with says it doesn't work with Quake III. You're playing ET, remember? You said, "...when runnign ET (i dont have quake 3 installed but the fix i used was for quake3)..." I reread my post, and I realize it seems I'm suggesting people buy new hardware. This is my mistake. Instead, I'm suggesting that you use a different sound card lying around. If you're running a server of some kind, you can take the sound card out of it, since it doesn't serve a purpose when it comes to acting as a server. A friend of mine did this and found that OSS emulation suddenly worked, allowing Quake III to work.
You also said that emulation is hardly a solution, however, I disagree. First of all, Cedege (WineX) does not emulate anything, it creates a Windows environment where it converts Windows API calls to Linux ones. Though this causes some performance loss, its better than nothing.
Anyway, I hope that those reading this thread have found and extra sound card lying around. It seems that onboard sound just doesn't cut it as far as OSS emulation goes, the onboard drivers are too primitive at the moment
Originally posted by ateam Sorry, I didn't mean to sound rude. I have been aware of your method for a long time, and everyone I've spoken with says it doesn't work with Quake III. You're playing ET, remember? You said, "...when runnign ET (i dont have quake 3 installed but the fix i used was for quake3)..." I reread my post, and I realize it seems I'm suggesting people buy new hardware. This is my mistake. Instead, I'm suggesting that you use a different sound card lying around. If you're running a server of some kind, you can take the sound card out of it, since it doesn't serve a purpose when it comes to acting as a server. A friend of mine did this and found that OSS emulation suddenly worked, allowing Quake III to work.
giving the age of this thread... I actually have run it with quake 3, it works with game soudns.. but the machine will lock when music plays. there is a thread in the game forum that I started a few months back... I think an actual solution was found for the onboard sound. I ,as well you, have since switched to a new sound card and now have no problem.
So we can both agree that onboard sound is a recipe for disaster
Thanks for contributing all of that, it made me wonder about ALSA's boasted OSS emulation, and why it wasn't working with Quake III, leading to my own fix.
wow, that's an old thread, and I;m having the same problem. Quake 3 gives me:
------- 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
------------------------------------
and ET gives:
------- sound initialization -------
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
I tried the above solutions (except for using a different sound card - I'm not gonna try that one for sure :] ) and none of them helped. I have SuSE 10.0. The only sound device I have is /dev/dsp, modyfing game scripts also doesn't help. Someone help me with this please :<
I have almost same problem as the once above.. I've also used the default/standard kernel and the standard sound system..
I've runned alsaconf and configured my soundcard as it should be..
My problem is that when I try to start enemy territory, I get this:
------- sound initialization -------
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
But the strange thing is that my sound works perfectly in xmms and in the teamspeak client, and also in both xmms and teamspeak at the same time..
mannyslack, unfortunately this doesn't help. I still get same errors. Well, almost - I don't know why but quake says it can't access /dev/audio instead of previous /dev/dsp access error.
------ sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less performance code)
/dev/audio: Input/output error
Could not mmap /dev/audio
------------------------------------
I googled for this problem a lot. It seems that lot of people are having the same problem but nowhere was I able to find a solution :/ Indeed this is hopeless.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.