game sound
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.......
|
so ur saying that since /dev/dsp1 doesnt work, i should delete it and link /dev/dsp1 to /dev/dsp0 ?
|
well, i did that, still dont have sound with either of the games.
any other suggestions? |
I have a solution to the quake3 issue (it solved my issue)... I will post it up later.. you have to add a line to your startup script..
but before i do.. do you get any sound at all? |
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"" Quote:
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. thanks trey |
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) |
i found it on happypenguin.org...
what is the new error?? post up the script file.. and post up the new error. |
ok, i did what you said and i still get this error message
------- 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 ------------------------------------ heres my quake3 script ------------------------- #!/bin/sh # Needed to make symlinks/shortcuts work. # Run Quake III with some default arguments cd "/usr/local/games/quake3" echo "quake3.x86 0 0 direct" >/proc/asound/card0/pcm0p/oss ./quake3.x86 $* exit $? ------------------------- |
check this thread out... http://www.linuxquestions.org/questi...map+dma+buffer
|
Do you happen to have a cs46xx based sound card (like a Turtle Beach Santa Cruz or a Hercules Game Theatre)? If so, try this thread:
http://www.linuxquestions.org/questi...threadid=43847 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? |
All times are GMT -5. The time now is 07:50 PM. |