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.
Im running the standard slackware kernel with the standard sound system. and I installed bzflag from source and I dont get sound.
I also installed quake 3 from the binary package you can get at the ID software FTP site, and It has no sound either.
When I "cat ~/test.wav > /dev/dsp" as an unprivelaged user it makes the sound of the wav file. so I dont think its the permitions of /dev/dsp. also, i do get sound with XMMS, and even my linmodem driver (linuxant). does anyone know what else that these two games have in common that makes it so they dont have sound? and yes; I do have the volume on.
uh, yea. I read a thread earlier that XMMS uses /dev/dsp and Quake3 used /dev/dsp1 ........this guy had the same prob ---no sound......I suggested that he make a symlink for quake to use and point it to /dev/dsp..........not sure if it worked, gotta look for the thread.......
Did you try to run them from terminal? I have got this problem with some games when i tried to run them directly from GUI but when i open terminal and run them from it they worked OK.
yes I have sound, xmms gives me sound and my winmodem driver from linuxant gives sound output through my speakers. plz post that solution you said worked for you.
yes, I ran it from the terminal, mostly cause i wanted to see if it gave any error messages; I didnt see any nor did I get sound. I also tried baflag from terminal, no sound.
ok.. when runnign ET (i dont have quake 3 installed but the fix i used was for quake3) i got an error in the terminal... "could not map /dev/dsp nmap /dev/dsp" the message was something along those lines. The fix for my situatuation (and other from what i have read)
was this
my install directory is the following
/usr/local/games/enemy-territory/
in that directory i editied the "et" script (in your caseu the script should be quake3) and added the following line right after "cd "/usr/local/games/enemyterritory""
next I ran this command as root
chmod -R 775 /proc/asound/card0/pcm0p/
do not ask me about the secuity of the above command... may not be safe.. but i could care less if it was or wasnt
next recreate your symlink
ln -s et /bin
remember i was using ET.. but the game engines are the same.. and the fix applies to both.. so replace any ET stuff i have listed.. with the appropriate quake3 file.
I restarted quake 3 and you were right about that mmap error, so I did what you said and it gave me a new error, but i tried quake 3 again and it gave me the same old error. now I cant get anything but the old error.
so where did get that info, mabee a link can help me find what else i did wrong. (unless u figured it out all ur self, then i give u credit)
Incidentally, if you are relying on hotplug to load this module, you will need to blacklist it in hotplug and load it using one of your startup scripts with the correct options.
cant you just chmod -R 775 /dev/dsp ?
im having the same prob, and would like to not have to fix every game i install, but rather set the permisions to the soundcard to all users
I have almost the same problem I either get Quake 3 running with no sound and look in the console and it says /dev/dsp permission denied... or if I put ALSA in Arts the game locks up at the sound init part right at the start and I just get a back screen, I usally have to hit ALT + CTRL + Backspace to get out of it...
I don't see how I get a sound issue because I chmoded my amixer*, adsp*, mixer* and dsp* to 755 and it still wont work. Any sigustions?
Last edited by CryptDragoon; 02-03-2004 at 02:03 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.