LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-05-2003, 08:51 PM   #1
Omega
LQ Newbie
 
Registered: Oct 2002
Distribution: SuSE 8.0
Posts: 25

Rep: Reputation: 15
No sound in UT


Can I change the sound setting in the urealtoutnament.ini file so it uses another sound system or somthing.

Heres the part I want to change:
[Engine.Engine]
GameRenderDevice=SDLGLDrv.SDLGLRenderDevice
WindowedRenderDevice=SDLGLDrv.SDLGLRenderDevice
RenderDevice=SDLGLDrv.SDLGLRenderDevice
AudioDevice=ALAudio.ALAudioSubstemys
NetworkDevice=IpDrv.TcpNetDriver
DemoRecordingDevice=Engine.DemoRecDriver
Console=UTMenu.UTConsole
Language=int
GameEngine=Engine.GameEngine
EditorEngine=Editor.EditorEngine
DefaultGame=Botpack.DeathMatchPlus
DefaultServerGame=Botpack.DeathMatchPlus
ViewportManager=SDLDrv.SDLClient
Render=Render.Render
Input=Engine.Input
Canvas=Engine.Canvas

I want to change the audio device. If I set it to allsa will it work. If it will do I just replace audiodevice=ALAudio.ALAudioSubstemys with audiodevice=allsa? Will this fix my sound in game? Or am I just shooting blanks here?

I hope I gave you enough info to figure out what I am talking about.
Thanks
 
Old 05-06-2003, 01:37 AM   #2
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
try replacing

audiodevice=ALAudio.ALAudioSubstemys

with

AudioDevice=Audio.GenericAudioSubsystem
 
Old 05-06-2003, 07:54 AM   #3
Omega
LQ Newbie
 
Registered: Oct 2002
Distribution: SuSE 8.0
Posts: 25

Original Poster
Rep: Reputation: 15
That didn't seem to help.

Anyways here is a part of the log from my console when i start the game:

Device supports: GL
Device supports: GL_EXT_bgra
Device supports: GL_EXT_paletted_texture
Device supports: GL_ARB_texture_compression
Device supports: GL_EXT_texture_compression_s3tc
Device supports: GL_EXT_texture_env_combine
Device supports: GL_EXT_compiled_vertex_array
Device supports: GL_ARB_multitexture
MinLogTextureSize = 2
MaxLogTextureSize = 8
Bound to ALAudio.so
open /dev/dsp: Device or resource busy
Audio initialization failed.
Game engine initialized
Startup time: 3.170472 seconds.
Entering main loop.
URL: Adding default option Name=Omega
URL: Adding default option Class=Botpack.TMale2
URL: Adding default option team=1
URL: Adding default option skin=SoldierSkins.blkt
URL: Adding default option Face=SoldierSkins.Othello
Browse: Index.unr?entry?Name=Omega?Class=Botpack.TMale2?team=1?skin=SoldierSkins.blkt?Face=SoldierSkins.Othe llo
Failed; returning to Entry
Shut down moving brush tracker for Level CityIntro.MyLevel
Spawning new actor for Viewport SDLViewport0
Team 1

Any other ideas? This game is kicking my but. At least I can play it this time. The last time I tried my video card was giving me hard times. Now my sound is killing me. I just can't seem to win.
Thanks for your help.
Omega
 
Old 05-06-2003, 08:30 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,353
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Audio initialization failed.
Try "/sbin/fuser -uv /dev/dsp*" and it'll show you the process ids, users and commands whose processed have locked /dev/dsp*.
Now practice your "kill" skills before entering the online killing fields...
 
Old 05-06-2003, 09:17 PM   #5
Omega
LQ Newbie
 
Registered: Oct 2002
Distribution: SuSE 8.0
Posts: 25

Original Poster
Rep: Reputation: 15
I've looked and looked but I can't seem to find fuser. Is it something I'm supposed to have or is there an allternative? I'm about ready to put the stupid game on the back burner and move on to other projects. Thanks unSpanwn and Neenee for your help. If you or anyone else has any more sugestions I'm all ears for the moment.
 
Old 05-06-2003, 09:41 PM   #6
dfctve_end_user
Member
 
Registered: Dec 2002
Location: Kalamazoo, MI - US
Distribution: Ubuntu 8.04 Hardy Heron LTS x86_64
Posts: 144

Rep: Reputation: 15
sound works for everything else?

make sure you don't have any other apps open (i.e. mp3 players, etc.) that would use the audio maybe?

I don't know I'm fairly new to linux but I seem to have audio errors come up when I have other things using it.

Hope that helped.
 
Old 05-06-2003, 10:02 PM   #7
Omega
LQ Newbie
 
Registered: Oct 2002
Distribution: SuSE 8.0
Posts: 25

Original Poster
Rep: Reputation: 15
I am having other problems such as sound server crashing if I am away for a long time. Or sound just stops working for no reason at randome. But it allways comes back if I restart the sound server. I just don't know enough yet to track down these issues. Maybe after a couple years experience I will get the hang of it.
 
Old 05-07-2003, 05:23 AM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,353
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
I've looked and looked but I can't seem to find fuser. Is it something I'm supposed to have or is there an allternative?
AFAIK it should reside in /sbin. If you haven't got it (I doubt that), you could manually switch off any (sound) services that hog /dev/dsp* and see if that works. I play UT by starting a stripped clean X11 (w/o WM, no bells 'n whistles) and let a script handle starting UT.

If you're not able to turn off services, start UT like you supposed to do, open up an xterm (or use a SuSE tool) and do a "ps ax > /tmp/processlist" and post the list here.
 
Old 05-07-2003, 05:59 PM   #9
Omega
LQ Newbie
 
Registered: Oct 2002
Distribution: SuSE 8.0
Posts: 25

Original Poster
Rep: Reputation: 15
I started ut using a console then I opeaned an xterm and did the ps ax> /tmp/processlist. But it didn't tell me anything. Am I doing somthing wrong?
 
Old 05-07-2003, 08:24 PM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,353
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
The list is sposed to be in the /tmp/processlist file, open it with your favourite text viewer, look for stuff that looks like it uses sound like esd, any notification stuff. Just try to turn off of the bells 'n whistles your window manager provides. For UT I just restart bare X with a separate XF86 config and w/o WM.
 
Old 05-08-2003, 08:58 PM   #11
Omega
LQ Newbie
 
Registered: Oct 2002
Distribution: SuSE 8.0
Posts: 25

Original Poster
Rep: Reputation: 15
I screwed up updating my kernal to latest version so I went out and baught Suse 8.2. Lets see if things go better this time.
 
Old 05-08-2003, 09:03 PM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,353
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Ok, congrats on your decision to support a distro and good luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
No sound coming from my sound blaster audigy 2 ZS platinum sound card msab Linux - Hardware 9 12-05-2010 05:10 AM
ALSA MIDI: Sound fonts for NVIDIA/NForce Soundstorm on-board sound vharishankar Linux - Hardware 6 09-04-2007 12:37 PM
FC2: Sound Card (SiS SI7012) Detect But Donot Play Sound rajanaeem Linux - Hardware 0 10-22-2004 03:41 PM
How to make a sound on Realtec ALC-650 card sound on a Shuttle ST62K? Laurent Linux - Hardware 0 05-30-2004 11:57 AM
No Sound : request_module: failed /sbin/modprobe -- sound-slot-0. error = 256 Mebuh Linux - General 0 01-26-2004 07:51 AM


All times are GMT -5. The time now is 04:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration