LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 10-27-2004, 09:51 PM   #1
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
No sound in Quake3 input/outpur error?


When I start up Quake3 I get this error with the starting of the sound services...



------- 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
------------------------------------

I did a chmod 666 /dev/dsp, but to no prevail. Anyone know why this is happening. All my other games, and apps with sound work just fine. I use alsa, I increase PCM. I have Slackeware 10, and this happened with every distro that I tried with this computer, I did plenty. The sound is an AC '97 VIA tech onboard sound. Using the 2.6.7 kernel. GeForce FX 5500.
 
Old 10-27-2004, 10:00 PM   #2
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889

Original Poster
Blog Entries: 1

Rep: Reputation: 30
FIXED MY OWN PROBLEM!

Do this! (in root)

1. modprobe snd-pcm-oss

2. echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss

3. echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
 
Old 10-27-2004, 10:19 PM   #3
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889

Original Poster
Blog Entries: 1

Rep: Reputation: 30
nvmd. After the first single player map, it locks up, and the sounds keeps repeating, even after a logout, and a logback in. I have to fully reboot it for it to get back to normal. I do not recommend this.
 
Old 10-27-2004, 10:35 PM   #4
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
what if u dont do the steps 2 and 3 ?
 
Old 10-28-2004, 11:04 AM   #5
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889

Original Poster
Blog Entries: 1

Rep: Reputation: 30
did a test, and it showed that the first step wasnt necessary. Good.
But the other 2 were needed.
 
Old 11-01-2004, 06:05 PM   #6
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Rep: Reputation: 30
also the same problem here
and i tried step 2 & 3
and the sound works fine in the menu of the game but as soon as i start to play it hangs and the sound keep repeating itself and i had to kill Xfree

any new tip here plz ?

and ow can i remove what he step 2 & 3 have done, i need to play the game again evn if witout sound
 
Old 11-01-2004, 06:21 PM   #7
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Rep: Reputation: 30
i have what echo added to teh files in step 2&3 as mentioned on linuxquestions.org
and i assured that the user can access /dev/dsp

but still the game hangs on the start of any stage or fight
 
Old 11-01-2004, 10:51 PM   #8
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Man. Theres got to be a work around. Besides, im sure everyone isnt expierencing this problem... or did the linux community just lived with it?

--EDIT--
Apparently, if you have a VIA chipset computer, with an AC'97 codec sound card (or onboard) then you'll need to get the latest drivers, and compile them into your kernel. I couldn't do it, because the make file gave out (surprise) an error. Nothing new about that. Go here to get it...
http://prdownloads.sourceforge.net/g...-1.1.15.tar.gz

Last edited by RHLinuxGUY; 11-01-2004 at 11:12 PM.
 
Old 11-02-2004, 05:37 AM   #9
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Rep: Reputation: 30
ok it seems that there is no solution for the alsa thing with Quake3

i only need help now in telling me how to redo what the echo in step 2 & # done in my system so i can play Quake3 again even if it is without sound


should i remove the sentence that echo added to the oss file or what ?
 
Old 11-02-2004, 05:21 PM   #10
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889

Original Poster
Blog Entries: 1

Rep: Reputation: 30
After you restart your computer, it should automaticaly stop using that echo.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Quake3: No sound or no game theonebeyond Linux - Games 6 03-17-2005 07:58 AM
ac97 no sound w/quake3 spooge Slackware 0 01-29-2005 06:05 PM
Quake3 Sound stodgel Linux - Software 7 02-20-2004 07:03 AM
Game Input Library? Quake3 uses what? HelloKitty Linux - Software 0 09-14-2003 05:02 PM
What Is Quake3 Keyboard Input Library HelloKitty Linux - Software 1 09-14-2003 05:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration