View Full Version : sound problem in games
jcer93705
2007-08-08, 10:52 PM CDT
Hi my sound works but will not work in games. Will not work on wolfenstien enemy territory.
Here is some info
---- finished R_Init -----
------- sound initialization -------
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
so can anybody help me, also I am having a problem, game run a bit slow but good grahpics, but when i change it to fastiest settings, it still lag a bit, but in windows vista is just sooo fast there.
bob_c_b
2007-08-09, 10:10 AM CDT
Hi my sound works but will not work in games. Will not work on wolfenstien enemy territory.
Here is some info
---- finished R_Init -----
------- sound initialization -------
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
so can anybody help me, also I am having a problem, game run a bit slow but good grahpics, but when i change it to fastiest settings, it still lag a bit, but in windows vista is just sooo fast there.
add this to /etc/rc.d/rc.local
For single player RTCW
echo "wolfsp.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
For Enemy Territory
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
For Quake III
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
And this really belongs in the gaming section as sound works elsewhere, just for future reference.
jcer93705
2007-08-11, 12:59 AM CDT
i tried but i cant save it
The document could not be saved, as it was not possible to write to file:///etc/rc.d/rc.local.
Check that you have write access to this file or that enough disk space is available.
now what?
Hlingler
2007-08-11, 01:15 AM CDT
Hello:
I don't know exactly what those commands will accomplish, but I can tell you that you must have super-user priveleges to edit /etc/rc.d/rc.local. Normal users do not have "write" permissions for that file. So, open the editor as root user.
V
bob_c_b
2007-08-11, 07:23 AM CDT
What Hingler said, that error means you tried to edit that file as a regular user. Command works great, I still play a lot of Q3A and that does the trick.
As for what the commands do Hingler (and please tolerate this incomplete/very general explanation as I can't find the page that explained it better), the Quake III engine assumes OSS sound with a default mapped device of /dev/dsp. This isn't true for the newer sound architecture that recent distros have been using, most of which now put ALSA as the default sound engine; so those commands redirect the sound back to OSS. I'm sorry that isn't entirely technically correct, but I think it's in the ballpark. I have to run into the office this morning, but I'll see if I can hunt down that link when I get home. And if anyone has a better explanation please post, I'm Linux competent but hardly a guru.
Hlingler
2007-08-11, 10:17 AM CDT
I can't find the page that explained it betterIt's posted on the other thread: http://web.archive.org/web/20040712063030/http://alsa.opensrc.org/faq/#FAQ023
Regards,
V
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.