LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-07-2005, 06:04 PM   #1
magoot
Member
 
Registered: Feb 2005
Location: Finland
Distribution: Debian testing
Posts: 38

Rep: Reputation: 15
Quake 3 freezes with alsa-oss emulation


Hello, this will be my first post here
I just got kernel 2.6.10 running with alsa-1.0.8, and it works great, except for one thing, sound in Quake 3.
I installed the alsa-oss package to get oss-emulation(?) for quake, the sound did still not work so after a lot of searching i found that this would be the fix
Code:
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
Well i got sound, but in the same moment the fight starts, the game freezes and i have to kill it manually.
Anyone familiar with this?

XMMS works fine with both alsa and oss, the modules "snd_seq_oss", "snd_pcm_oss", "snd_mixer_oss" and so on are loaded...

Could use some help
Ps. Excuse my bad english.
 
Old 02-08-2005, 08:27 AM   #2
Tormented
Member
 
Registered: Feb 2003
Location: ???
Distribution: Mandriva 2006
Posts: 92

Rep: Reputation: 15
What sound card are you using?

If you're using a via soundcard with the snd-via82xx module,
you can fix the freezing by adding:

options snd-via82xx dxs_support=4

to your /etc/modprobe.conf and rebooting.
 
Old 02-08-2005, 09:21 AM   #3
magoot
Member
 
Registered: Feb 2005
Location: Finland
Distribution: Debian testing
Posts: 38

Original Poster
Rep: Reputation: 15
Hey thanks dude! That solved my problem Quake 3 runs perfect now.
Another question (maybe a little off-topic) but how do i get these modules to load at startup?
They seeme to be needed to create /dev/dsp and so on
Code:
snd-pcm-oss
snd-seq-oss
snd-mixer-oss
Btw yes, i am using a VIA integrated soundcard that uses the module snd_via82x
Anyway thank you for the help.
// MagooT

Last edited by magoot; 02-08-2005 at 09:23 AM.
 
Old 02-08-2005, 12:19 PM   #4
Tormented
Member
 
Registered: Feb 2003
Location: ???
Distribution: Mandriva 2006
Posts: 92

Rep: Reputation: 15
My modprobe.conf has these lines at the beginning of it:

Code:
remove snd-via82xx /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-via82xx
install snd-via82xx /sbin/modprobe --first-time --ignore-install snd-via82xx && { /sbin/modprobe snd-pcm-oss; /bin/true; }
alias sound-slot-0 snd-via82xx
They should do what you want, and you have to put them before the options line I posted above.
 
Old 02-08-2005, 12:22 PM   #5
magoot
Member
 
Registered: Feb 2005
Location: Finland
Distribution: Debian testing
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks a lot.
 
Old 04-14-2005, 05:38 PM   #6
magoot
Member
 
Registered: Feb 2005
Location: Finland
Distribution: Debian testing
Posts: 38

Original Poster
Rep: Reputation: 15
Sorry for bringing up this old thread, but i have recently bought a new motherboard (Gigabyte GA-7N400 Pro2), and the on-board soundcard uses the snd-intel8x0 module. I have exactly the same problem again as in my last posts in this thread, quake 3 arena freezes when i start a map.

The line "options snd-via82xx dxs_support=4" fixed my problem with the old motherboard, but it doesn't seem to work with this one (as it uses a different driver i assume) although i changed the line to "options snd-intel8x0 dxs_support=4".

Can the problem be solved with a similar line in modprobe.conf with this card?
 
Old 05-01-2005, 07:28 PM   #7
velcrodave
LQ Newbie
 
Registered: May 2005
Distribution: RedHat 9
Posts: 1

Rep: Reputation: 0
Same Problem as Magoot

I am using the alsa intel8x0 module for my toshiba laptop and the sound works well (in xmms, etc) and I can start quake 3 but it crashes when starting a map. As far as I can tell, there are no "options" for this module. Yes, I know q3 is getting old but I still want to play it! Magoot and I can't be the only ones out there with this problem

Thanks,

Dave
 
Old 05-11-2005, 01:08 PM   #8
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
I have the via sound card listed in this post
running slackware
there are no options in my modprobe.conf when i added the line above after getting sound to work by created a symlink to dev/dsp0 to /dev/dsp
the above line fixed nothing just caused sound to stop working in quake3 again.

very fustrated with this it shouldent be this hard
 
Old 07-12-2005, 08:21 PM   #9
-mX-
LQ Newbie
 
Registered: Jul 2005
Location: Poland
Distribution: Mandriva Linux 2005 LE
Posts: 5

Rep: Reputation: 0
Hi, sorry for posting the same thing in another thread but i found this one just now and it better describes what's wrong with my Q3.
I'm using Mandriva 2005 LE with updated kernel and everything else up-to-date as well.
I'm using Realtek AC97 on-board sound card that comes with nForce2.
Any full-proof fix found yet?
 
Old 10-13-2007, 03:29 AM   #10
smOk3
Member
 
Registered: Feb 2007
Posts: 43

Rep: Reputation: 15
I am having the same problem... but no fix

I have read the form and multiple other forms and still have not found a solution. I know that quake 3 doesn't like alsa, but I also know that there is a fix.

I did this in the console
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss

and was surprised when I heard sound. I ran the server search and the game started but when it got to where it was going to make a sound it just froze. So I searched google and found this form. I then added
options snd-via82xx dxs_support=4

to modprobe.conf. It started and played... the first time. Maps changed and when it loaded it froze just like it did before I added options snd-via82xx dxs_support=4.

I then tried this
options snd-via82xx dxs_support=4

it worked but the sound was crackling and could not hear much.
I would appreciate any help.
thanks
 
Old 10-13-2007, 03:31 AM   #11
smOk3
Member
 
Registered: Feb 2007
Posts: 43

Rep: Reputation: 15
I forgot to post my setup

slackware 12
snd_via82xx
quake 3 1.32
 
Old 10-13-2007, 03:34 AM   #12
smOk3
Member
 
Registered: Feb 2007
Posts: 43

Rep: Reputation: 15
There is a typo in the first post:
"I then tried this aoss quake3

it worked but the sound was crackling and could not hear much.
I would appreciate any help.
thanks"
 
Old 10-13-2007, 09:32 PM   #13
smOk3
Member
 
Registered: Feb 2007
Posts: 43

Rep: Reputation: 15
For any one that hasn't resolved the alsa issue and quake 3 with Slackware, I would like to provide a solution as to how I got it working flawlessly.

First I removed all sound modules using this script:
awk '/^snd/||/^sound/&&($3==0){system("rmmod " $1)}' /proc/modules /proc/modules /proc/modules

I then downloaded the oss package and installed it.

Worked instantly.
 
Old 10-14-2007, 07:15 AM   #14
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
In theory, Alsa should emulate old Oss api and everything should work without a glitch.
 
Old 10-15-2007, 04:25 PM   #15
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Wow necro a thread this 05 to 07 in one posting :P

Alsa does not emulate oss flawlessly there are some issues. try using or linking /dev/dsp to /dev/adsp and sometimes that works.
 
  


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
Flash off sync... alsa with oss emulation (I think) dragonslay Linux - Software 3 04-27-2005 10:37 AM
ALSA and OSS emulation crud Slackware 6 01-30-2005 03:48 PM
ALSA OSS Emulation amnesty_puppy Linux - Software 0 11-01-2004 03:00 AM
Alsa OSS emulation problem linksocc Linux - Software 2 10-30-2003 08:30 AM
Cannot record audio using ALSA with OSS emulation mhearn Linux - General 0 10-01-2003 08:14 AM

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

All times are GMT -5. The time now is 12:14 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