Linux - Games This forum is for all discussion relating to gaming in Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-07-2005, 07:04 PM
|
#1
|
Member
Registered: Feb 2005
Location: Finland
Distribution: Debian testing
Posts: 38
Rep:
|
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.
|
|
|
02-08-2005, 09:27 AM
|
#2
|
Member
Registered: Feb 2003
Location: ???
Distribution: Mandriva 2006
Posts: 92
Rep:
|
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.
|
|
|
02-08-2005, 10:21 AM
|
#3
|
Member
Registered: Feb 2005
Location: Finland
Distribution: Debian testing
Posts: 38
Original Poster
Rep:
|
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 10:23 AM.
|
|
|
02-08-2005, 01:19 PM
|
#4
|
Member
Registered: Feb 2003
Location: ???
Distribution: Mandriva 2006
Posts: 92
Rep:
|
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.
|
|
|
02-08-2005, 01:22 PM
|
#5
|
Member
Registered: Feb 2005
Location: Finland
Distribution: Debian testing
Posts: 38
Original Poster
Rep:
|
Thanks a lot.
|
|
|
04-14-2005, 06:38 PM
|
#6
|
Member
Registered: Feb 2005
Location: Finland
Distribution: Debian testing
Posts: 38
Original Poster
Rep:
|
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?
|
|
|
05-01-2005, 08:28 PM
|
#7
|
LQ Newbie
Registered: May 2005
Distribution: RedHat 9
Posts: 1
Rep:
|
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
|
|
|
05-11-2005, 02:08 PM
|
#8
|
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537
Rep:
|
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
|
|
|
07-12-2005, 09:21 PM
|
#9
|
LQ Newbie
Registered: Jul 2005
Location: Poland
Distribution: Mandriva Linux 2005 LE
Posts: 5
Rep:
|
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?
|
|
|
10-13-2007, 04:29 AM
|
#10
|
Member
Registered: Feb 2007
Posts: 43
Rep:
|
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
|
|
|
10-13-2007, 04:31 AM
|
#11
|
Member
Registered: Feb 2007
Posts: 43
Rep:
|
I forgot to post my setup
slackware 12
snd_via82xx
quake 3 1.32
|
|
|
10-13-2007, 04:34 AM
|
#12
|
Member
Registered: Feb 2007
Posts: 43
Rep:
|
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"
|
|
|
10-13-2007, 10:32 PM
|
#13
|
Member
Registered: Feb 2007
Posts: 43
Rep:
|
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.
|
|
|
10-14-2007, 08:15 AM
|
#14
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
In theory, Alsa should emulate old Oss api and everything should work without a glitch.
|
|
|
10-15-2007, 05:25 PM
|
#15
|
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|