OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: moszer on June 05, 2008, 12:27:31 PM



Title: Sound Init Failure
Post by: moszer on June 05, 2008, 12:27:31 PM
When starting openarena I get the following output

..........
...loading 'scripts/weapon_plasma.shader'
...loading 'scripts/weapon_railgun.shader'
...loading 'scripts/weapon_rocketlauncher.shader'
...loading 'scripts/weapon_shotgun.shader'
----- finished R_Init -----
------ Initializing Sound ------
ALSA lib control_hw.c:123:(snd_ctl_hw_card_info) SNDRV_CTL_IOCTL_CARD_INFO failed: Bad file descriptor
ALSA lib confmisc.c:680:(snd_determine_driver) snd_ctl_card_info error: Bad file descriptor
----- CL_Shutdown -----
RE_Shutdown( 1 )

It stays on a black screen after this until I kill it.

Openarena Version = 0.7.0-2 via Ubuntu apt

This is on Ubuntu 8.04 installed on a CF-51 Toughbook using audio (via lspci):
"Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)"
The kernel module for this guy is "snd_intel8x0"

Sounds works just find playing ogg and mp3 as well as videos and such.   Everywhere else I've tried anyway. 

The game DID launch and work great before I had the sound modules in my kernel, once I added those and recompiled it does this.  The kernel is 2.6.24-18.   

I poked around for command line options to disable sound but didn't see any. 

I nuked my ~/.openarena folder and tried again, No luck.   
Nothing in the FAQ about this.. Google search is a bust.   
Removed the package through apt and reinstalled.
Powersave was enabled in /sys/module/snd_ac97_codec so I disabled that.. no go.

I'm out of ideas so.. I'm here, do you guys have any idea what I can do?



Thanks!


Title: Re: Sound Init Failure
Post by: sago007 on June 05, 2008, 01:03:03 PM
Try to start with +set s_useOpenAL 0 to see if that is the problem.


Title: Re: Sound Init Failure
Post by: zuma on June 05, 2008, 05:53:51 PM
"openarena.i386 +set s_initsound 0" to disable sound (if it dont launch at all)


Title: Re: Sound Init Failure
Post by: moszer on June 06, 2008, 05:40:21 PM
sago007

Thanks, that worked.