Pages: [1]
  Print  
Author Topic: Sound Init Failure  (Read 6489 times)
moszer
Ok i've posted twice!


Cakes 0
Posts: 2


« 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!
« Last Edit: June 05, 2008, 12:29:39 PM by moszer » Logged
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #1 on: June 05, 2008, 01:03:03 PM »

Try to start with +set s_useOpenAL 0 to see if that is the problem.
Logged

There are nothing offending in my posts.
zuma
Lesser Nub


Cakes 5
Posts: 126


« Reply #2 on: June 05, 2008, 05:53:51 PM »

"openarena.i386 +set s_initsound 0" to disable sound (if it dont launch at all)
Logged
moszer
Ok i've posted twice!


Cakes 0
Posts: 2


« Reply #3 on: June 06, 2008, 05:40:21 PM »

sago007

Thanks, that worked.
Logged
Pages: [1]
  Print  
 
Jump to: