Urban Terror Forums: TS + Q3 + xmms with Oss2Jack - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (8 Pages)
  • +
  • « First
  • 4
  • 5
  • 6
  • 7
  • 8
  • You cannot start a new topic
  • This topic is locked

TS + Q3 + xmms with Oss2Jack Rate Topic: -----

#51 User is offline   Woekele Icon

  •   former FS member   
    Public Relations
  • Account: woekele
  • Country:
  • Joined: 26-January 10
  • Posts: 11,575

Posted 28 December 2006 - 09:54 PM

I used Edgy and I think didnt have sound with idsoftware's build. Not sure though.

#52 User is offline   HoboHumpinSlut (old) Icon

  • Joined: 07-February 04
  • Posts: 2,308

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

#53 User is offline   MrSentry Icon

  • Account: mrsentry
  • Main tag: 6th|
  • Country:
  • Joined: 28-February 10
  • Posts: 940

Posted 29 December 2006 - 04:40 PM

RTFM?  :mrgreen:

#54 User is offline   mitsubishi Icon

  • Account: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 13,481

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 :-D for fast testing

#55 User is offline   HoboHumpinSlut (old) Icon

  • Joined: 07-February 04
  • Posts: 2,308

Posted 29 December 2006 - 06:37 PM

Quote

RTFM?  :mrgreen:
superseded by fgi nowadays...

bullet_loaderAdvertisement

#56 User is offline   mitsubishi Icon

  • Account: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 13,481

Posted 29 December 2006 - 06:49 PM

Quote

superseded by fgi nowadays...


that usually ends up in forum threads.

#57 User is offline   HoboHumpinSlut (old) Icon

  • Joined: 07-February 04
  • Posts: 2,308

Posted 29 December 2006 - 07:59 PM

Quote

that usually ends up in forum threads.
http://www.google.co...?q=linux+q3+ts2 -> 2nd hit (at least here)

#58 User is offline   Nationalist Icon

  • Account: nationalist
  • Joined: 28-February 10
  • Posts: 316

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


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?

#59 User is offline   Nationalist Icon

  • Account: nationalist
  • Joined: 28-February 10
  • Posts: 316

Posted 30 December 2006 - 09:22 PM

hobbes,

I ran those command and got sound when I Iaunched UT. The sound repeated when I got to the main menu and the program froze.

#60 User is offline   HoboHumpinSlut (old) Icon

  • Joined: 07-February 04
  • Posts: 2,308

Posted 31 December 2006 - 11:06 AM

Quote

I ran those command and got sound when I Iaunched UT. The sound repeated when I got to the main menu and the program froze.
start from a terminal and paste quake3's output printed.

  • (8 Pages)
  • +
  • « First
  • 4
  • 5
  • 6
  • 7
  • 8
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942