i dont know why but warzone does not function with my soundcard in linux for some reason there is errors from the openal system saying openal device is null. no sounds in the game at all and crashes unless you use the --nosound option to start it. this is with the 7.2 and 6.x version no idea where to begin checking for issues other than my soundcard.
laptop is an acer aspire 5101 upgraded to 1256mb of ram other than that all is stock spec.
linux distro fedora 7
soundcard in mixer tab comes up as two options: HDA ati SB (alsa) Realtek ALC883 (oss)
help appreciated!
[linux]openal error causes ingame crash after approx 5sec
-
netsurf
- New user
- Posts: 3
- Joined: 25 Aug 2007, 12:26
-
DevUrandom
- Regular

- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: [linux]openal error causes ingame crash after approx 5sec
Try this:
Code: Select all
# Contains user settings for OpenAL
# Goes in ~/.openalrc
# Use ALSA (also valid: sdl, native)
(define devices '(alsa))
# Four speaker surround with ALSA
(define speaker-num 4)
(define alsa-out-device "surround40:0,0")
-
netsurf
- New user
- Posts: 3
- Joined: 25 Aug 2007, 12:26
Re: [linux]openal error causes ingame crash after approx 5sec
@localhost ~]$ warzone2100 --sound
error: OpenAL Vendor: OpenAL Community
OpenAL Version: 1.1
OpenAL Renderer: Software
OpenAL Extensions: ALC_EXT_capture AL_EXT_capture AL_EXT_vorbis AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel
error: Couldn't initialize audio context: ALC_INVALID_DEVICE
error: loadFile2: optional file sequenceaudio/brfcom.txt could not be found!
error: loadFile2: optional file sequenceaudio/cam1/cam1ascv.txt could not be found!
looks like a bug related to this: https://gna.org/bugs/?9480
removing the other lines and just leaving the alsa bit gives no error an instead just causes a hardlock like before
trying sdl causes hardlock also
error: OpenAL Vendor: OpenAL Community
OpenAL Version: 1.1
OpenAL Renderer: Software
OpenAL Extensions: ALC_EXT_capture AL_EXT_capture AL_EXT_vorbis AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel
error: Couldn't initialize audio context: ALC_INVALID_DEVICE
error: loadFile2: optional file sequenceaudio/brfcom.txt could not be found!
error: loadFile2: optional file sequenceaudio/cam1/cam1ascv.txt could not be found!
looks like a bug related to this: https://gna.org/bugs/?9480
removing the other lines and just leaving the alsa bit gives no error an instead just causes a hardlock like before
trying sdl causes hardlock also