Fedora Linux Support Community & Resources Center
  #1  
Old 9th August 2007, 05:52 AM
jcer93705 Offline
Registered User
 
Join Date: Jul 2007
Posts: 12
sound problem in games

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.
Reply With Quote
  #2  
Old 9th August 2007, 05:10 PM
bob_c_b's Avatar
bob_c_b Offline
Registered User
 
Join Date: Jul 2007
Location: Central Ohio
Age: 45
Posts: 70
Quote:
Originally Posted by jcer93705
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

Code:
echo "wolfsp.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
For Enemy Territory

Code:
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
For Quake III

Code:
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.
__________________
| Intel C2D e6420 | Intel DP965LTCK mobo | 2x 1GB Kingston DD2-800 | Seagate 7200.10 320GB HDD | TSST SATA DVD +/- RW | Gigabyte GeForce 8600GT SilentPipe II | Intel HD Audio | Intel 82566DC Gb Ethernet | 2x Dell 1708FP LCDs | Fedora 7 |
Reply With Quote
  #3  
Old 11th August 2007, 07:59 AM
jcer93705 Offline
Registered User
 
Join Date: Jul 2007
Posts: 12
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?
Reply With Quote
  #4  
Old 11th August 2007, 08:15 AM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
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
Reply With Quote
  #5  
Old 11th August 2007, 02:23 PM
bob_c_b's Avatar
bob_c_b Offline
Registered User
 
Join Date: Jul 2007
Location: Central Ohio
Age: 45
Posts: 70
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.
__________________
| Intel C2D e6420 | Intel DP965LTCK mobo | 2x 1GB Kingston DD2-800 | Seagate 7200.10 320GB HDD | TSST SATA DVD +/- RW | Gigabyte GeForce 8600GT SilentPipe II | Intel HD Audio | Intel 82566DC Gb Ethernet | 2x Dell 1708FP LCDs | Fedora 7 |

Last edited by bob_c_b; 11th August 2007 at 02:37 PM.
Reply With Quote
  #6  
Old 11th August 2007, 05:17 PM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
Quote:
Originally Posted by bob_c_b
I can't find the page that explained it better
It's posted on the other thread: http://web.archive.org/web/200407120...rg/faq/#FAQ023

Regards,
V
Reply With Quote
Reply

Tags
games, problem, sound

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Infamous PA and no sound in games problem Thetargos Using Fedora 0 10th January 2008 08:50 AM
Problems with sound in some games? kevmif Using Fedora 1 3rd July 2006 12:06 AM
No sound in games and no 'clicking' capo Hardware & Laptops 9 31st March 2006 11:44 AM
No Sound while playing games... Razorblade Hardware & Laptops 2 17th May 2005 06:40 AM
Sound in Games 07dcolem Hardware & Laptops 3 29th December 2004 08:02 AM


Current GMT-time: 19:29 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat