Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37999 - ALSA not working with games-fps/quake3
Summary: ALSA not working with games-fps/quake3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL: http://www.mail-archive.com/alsa-user...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-12 12:50 UTC by Philipp Kern
Modified: 2006-09-26 13:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Kern 2004-01-12 12:50:28 UTC
After a little bit of googling I found out that I have to use
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
as root to get quake3 sound working.
Is there any way to put this into the standard startup scripts as I guess many people will need this - as it's a general ALSA&mmap() problem.
The URL submitted contains details.
Comment 1 SpanKY gentoo-dev 2004-01-12 13:21:55 UTC
the provided URL says it's an OSS bug ...
quake3 works fine on my system without such trickery on my part
Comment 2 SpanKY gentoo-dev 2004-01-12 13:22:32 UTC
perhaps we can make a games related FAQ and add this to it ...
Comment 3 Philipp Kern 2004-01-12 21:47:14 UTC
A bug of the ALSA OSS plugin then.
Do you use ALSA (I use 1.0.0)?
Comment 4 SpanKY gentoo-dev 2004-01-12 21:52:33 UTC
of course i use alsa, it would be pretty stupid of me to say alsa works fine when i dont use it :P

ive been using the alsa drivers in 2.6.x since the late 2.5.x series and currently i have media-libs/alsa-lib-1.0.1 and media-sound/alsa-utils-1.0.1 although i've been playing q3/et since alsa-{lib,utils} were in the 0.9.x stages
Comment 5 Philipp Kern 2004-01-13 06:58:02 UTC
Same on mine - It's gentoo-dev-sources.
mmap() fails. So there has to be at least one little problem ;o)
Perhaps reassigning to sound?
Comment 6 Marcos González 2004-01-18 04:41:25 UTC
If I want sound working on Quake3, RTC Wolfenstein and other similar games, I must deactivate the esound daemon via "esdctl standby". When I finish playing, to get the daemond running again I do "esdctl resume".
Comment 7 Philipp Kern 2004-01-18 07:09:33 UTC
It seems anyway that evolution tries to start ESD... Sucks 'cos normally I don't use it (and most of the time it cores anyway).
But the first time I tried the thing I stated in #1 it worked, now quake3 crashes without any hint after the game is started, sound works but hangs than. (When I would begin to play)
Comment 8 Philipp Kern 2004-02-13 12:14:23 UTC
Quake3 breaks on any Tier or MP level. The demo level is fine.
Strange thing. Logging states DGA Mouse - Disabling DGA DirectVideo.
But as my problem has (probably) nothing to do I'll close this as invalid for now |: (However I'm still unable to play it)
Comment 9 Albert Zeyer 2006-09-26 13:46:33 UTC
(io)Quake3 works without such a trick, but I need it for Quake3-WoP.

Thanks for it.