Advertisement
TS + Q3 + xmms with Oss2Jack
#52
Posted 29 December 2006 - 02:01 AM
does Q3 produce sound if it's run alone (ie. not sharing /dev/dsp; fuser /dev/dsp to check)? sound daemons (both kde and gnome usually run that stuff) are best candidates for blocking the devices.
if that is ok, then check whether you can run 2 simple oss programs simultanously, like xine, xmms or simply 'cat /dev/urandom >/dev/dsp' (configure both to use oss, same device).
if that's working too, Q3 should be fine as well. if it's not, check whether your sound card should support multiple simultaneous channels (ie. hardware-mixing).
it shouldn't depend on the distro you're using, but maybe SuSE 10.2 comes with a borked kernel. it might also use the wrong kernel module for your sound card. maybe SuSE 10.1 didn't load the sound daemons. dunno.
you might also need to run the following stuff (has to be run again after reboot):
# Tell ALSA that Q3 doesn't need recording
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm1c/oss
echo "quake3-smp.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "quake3-smp.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3-smp.x86 0 0 disable" > /proc/asound/card0/pcm1c/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm1c/oss
http://www.linux-gam...age=HOWTO+Sound should help you a lot
if that is ok, then check whether you can run 2 simple oss programs simultanously, like xine, xmms or simply 'cat /dev/urandom >/dev/dsp' (configure both to use oss, same device).
if that's working too, Q3 should be fine as well. if it's not, check whether your sound card should support multiple simultaneous channels (ie. hardware-mixing).
it shouldn't depend on the distro you're using, but maybe SuSE 10.2 comes with a borked kernel. it might also use the wrong kernel module for your sound card. maybe SuSE 10.1 didn't load the sound daemons. dunno.
you might also need to run the following stuff (has to be run again after reboot):
# Tell ALSA that Q3 doesn't need recording
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm1c/oss
echo "quake3-smp.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "quake3-smp.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3-smp.x86 0 0 disable" > /proc/asound/card0/pcm1c/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm1c/oss
http://www.linux-gam...age=HOWTO+Sound should help you a lot
#54
Posted 29 December 2006 - 05:43 PM
Quote
sound daemons (both kde and gnome usually run that stuff) are best candidates for blocking the devices.
ah yes that's very probable. e.g. in kde, K menu -> 'Control Center'. then 'Sound & Multimedia' -> 'Sound System'. if 'Enable the sound system' is checked most probably quake3 won't be able to use /dev/dsp that it needs to do directly.
or killall -9 artsd for fast testing
Advertisement
#57
Posted 29 December 2006 - 07:59 PM
Quote
that usually ends up in forum threads.
#58
Posted 30 December 2006 - 09:06 PM
Quote
does Q3 produce sound if it's run alone (ie. not sharing /dev/dsp; fuser /dev/dsp to check)? sound daemons (both kde and gnome usually run that stuff) are best candidates for blocking the devices.
if that is ok, then check whether you can run 2 simple oss programs simultanously, like xine, xmms or simply 'cat /dev/urandom >/dev/dsp' (configure both to use oss, same device).
if that's working too, Q3 should be fine as well. if it's not, check whether your sound card should support multiple simultaneous channels (ie. hardware-mixing).
it shouldn't depend on the distro you're using, but maybe SuSE 10.2 comes with a borked kernel. it might also use the wrong kernel module for your sound card. maybe SuSE 10.1 didn't load the sound daemons. dunno.
you might also need to run the following stuff (has to be run again after reboot):
# Tell ALSA that Q3 doesn't need recording
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm1c/oss
echo "quake3-smp.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "quake3-smp.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3-smp.x86 0 0 disable" > /proc/asound/card0/pcm1c/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm1c/oss
http://www.linux-gam...age=HOWTO+Sound should help you a lot
if that is ok, then check whether you can run 2 simple oss programs simultanously, like xine, xmms or simply 'cat /dev/urandom >/dev/dsp' (configure both to use oss, same device).
if that's working too, Q3 should be fine as well. if it's not, check whether your sound card should support multiple simultaneous channels (ie. hardware-mixing).
it shouldn't depend on the distro you're using, but maybe SuSE 10.2 comes with a borked kernel. it might also use the wrong kernel module for your sound card. maybe SuSE 10.1 didn't load the sound daemons. dunno.
you might also need to run the following stuff (has to be run again after reboot):
# Tell ALSA that Q3 doesn't need recording
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm1c/oss
echo "quake3-smp.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "quake3-smp.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3-smp.x86 0 0 disable" > /proc/asound/card0/pcm1c/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm1c/oss
http://www.linux-gam...age=HOWTO+Sound should help you a lot
I use an audigy SE card. I assume it supports hardware mixing.
No, quake 3 doesn't produce any sound at all when it's run on it's own.
Will the standalone version of UT work with alsa?
1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users
Advertisement