no sound / lockups
-
pstahle
- New user
- Posts: 2
- Joined: 11 Nov 2007, 05:46
no sound / lockups
Hi,
I am having problems getting sound to work. I get the following errors:
[pstahle@localhost brutalchess-0.5.2]$ warzone2100
open /dev/[sound/]dsp: Device or resource busy
error: OpenAL Vendor: (null)
OpenAL Version: (null)
OpenAL Renderer: (null)
OpenAL Extensions: (null)
error: Couldn't open audio device.
I have searched this forum and have tried the following:
export SDL_AUDIODRIVER=alsa
and
file .openalrc file.
# 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")
either one of these settings removes the errors messages but still no sound and the game locks up after a few actions....
My system is Fedora 7 64 bit. and I am running 2.07 rpm version of warzone.
Any help would be appreciated...
thanks,
Patrick
I am having problems getting sound to work. I get the following errors:
[pstahle@localhost brutalchess-0.5.2]$ warzone2100
open /dev/[sound/]dsp: Device or resource busy
error: OpenAL Vendor: (null)
OpenAL Version: (null)
OpenAL Renderer: (null)
OpenAL Extensions: (null)
error: Couldn't open audio device.
I have searched this forum and have tried the following:
export SDL_AUDIODRIVER=alsa
and
file .openalrc file.
# 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")
either one of these settings removes the errors messages but still no sound and the game locks up after a few actions....
My system is Fedora 7 64 bit. and I am running 2.07 rpm version of warzone.
Any help would be appreciated...
thanks,
Patrick
-
Buginator
- Professional

- Posts: 3285
- Joined: 04 Nov 2007, 02:20
Re: no sound / lockups
Do other openAL games work? If so, which ones?
I had to do:
(define devices '(native)) for me to get working sound.
Also, list your complete hardware specs. Which soundcard/chipset is this?
I had to do:
(define devices '(native)) for me to get working sound.
Also, list your complete hardware specs. Which soundcard/chipset is this?
and it ends here.
-
cybersphinx
- Inactive

- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: no sound / lockups
1. I think 2.0.x isn't really 64 bit compatible, so you need to set up a 32 bit environment (or use a trunk snapshot).
2. You should use the following .openalrc:
(define devices '(alsa))
(define alsa-device "default")
If you use devices other than "default", you need to make sure no other application uses the soundcard. But you might also encounter a sound bug in 2.0.x (cause currently unknown), and have to run without sound via --nosound (once is enough, the setting is saved).
2. You should use the following .openalrc:
(define devices '(alsa))
(define alsa-device "default")
If you use devices other than "default", you need to make sure no other application uses the soundcard. But you might also encounter a sound bug in 2.0.x (cause currently unknown), and have to run without sound via --nosound (once is enough, the setting is saved).
We want information... information... information.
-
Giel
- Regular

- Posts: 725
- Joined: 26 Dec 2006, 19:18
Re: no sound / lockups
It really isn't 64bit compatible. The warzone2100 executable might start but _will_ produce a segfault when playing if used as a 64bit binary.cybersphinx wrote: 1. I think 2.0.x isn't really 64 bit compatible, so you need to set up a 32 bit environment (or use a trunk snapshot).
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
-
pstahle
- New user
- Posts: 2
- Joined: 11 Nov 2007, 05:46
Re: no sound / lockups
Hi,
tried your .openalrc but it locks up after a bit of clicking on some units....
Most 32bit apps/games I have used for the most part work on 64bit linux, in fact warzone2100 seems to works as long as the sound does not attempt to use alsa.... Kind of sucks trying to play the game without sound since it is difficult to tell when you are being attacked....
) I have had it working on Mepis 32bit previously, so it must be the 64bit OS causing the issue.... I was hoping that someone new a way to get around the problem, but I guess not, oh well, thanks for both of your help...
Regards,
Patrick
tried your .openalrc but it locks up after a bit of clicking on some units....
Most 32bit apps/games I have used for the most part work on 64bit linux, in fact warzone2100 seems to works as long as the sound does not attempt to use alsa.... Kind of sucks trying to play the game without sound since it is difficult to tell when you are being attacked....
Regards,
Patrick
-
Buginator
- Professional

- Posts: 3285
- Joined: 04 Nov 2007, 02:20
Re: no sound / lockups
I would do as cybersphinx suggested, and get the trunk version.
Then give that one a try.
Then give that one a try.
and it ends here.
-
daskalos
- New user
- Posts: 4
- Joined: 28 Nov 2007, 20:41
Re: no sound / lockups
I have also installed latest version of warzone 2.0.8-rc1 brom binary (also compiled from source and same thing happens).
I have opensuse 10.3 32 bit with all updates applied.
I have also the sound problem. Game crashes after seconds.
If I use --nosound I can run the game fine.
No messages on terminal. If i run with --debugfile somefile nothing prints except a 'log started'
My sound card is sound blaster 5.1 live
I can run other openal games (supertux) with no problem.
Any help please;
I have opensuse 10.3 32 bit with all updates applied.
I have also the sound problem. Game crashes after seconds.
If I use --nosound I can run the game fine.
No messages on terminal. If i run with --debugfile somefile nothing prints except a 'log started'
My sound card is sound blaster 5.1 live
I can run other openal games (supertux) with no problem.
Any help please;
-
Buginator
- Professional

- Posts: 3285
- Joined: 04 Nov 2007, 02:20
Re: no sound / lockups
2.08 -rc1 is NOT the latest version, and is NOT 64bit safe I don't think.daskalos wrote: I have also installed latest version of warzone 2.0.8-rc1 brom binary (also compiled from source and same thing happens).
I have opensuse 10.3 32 bit with all updates applied.
I have also the sound problem. Game crashes after seconds.
If I use --nosound I can run the game fine.
No messages on terminal. If i run with --debugfile somefile nothing prints except a 'log started'
My sound card is sound blaster 5.1 live
I can run other openal games (supertux) with no problem.
Any help please;
The 64bit safe version is trunk version.
That one should work.
and it ends here.
-
daskalos
- New user
- Posts: 4
- Joined: 28 Nov 2007, 20:41
Re: no sound / lockups
Ok thanks for the reply
I downloaded the last snapshot and while doing ./configure I received message about quesoglc missing.
So I downloaded, compiled and install.
Then compiled warzone2100 just fine
After try to run a receive the following:
error : glcFontFace(GLC_Font_Bold (2), "Bold") failed
error : loadKeyMap: Reading keymap.map short: Past end of file
error : can't find keymapped function Toggle watch window in the keymap save table at 128!
Cannot access memory at address 0x13fb
Saved dump file to '/tmp/warzone2100.gdmp'
Aborted
Any help;
Also I have tried to installl opensuse 10.3 package but still no sound
Have anybody success with opensuse 10.3 32 bit;
Ok new data
I have downloaded from svn and everything works (including sound
)
I downloaded the last snapshot and while doing ./configure I received message about quesoglc missing.
So I downloaded, compiled and install.
Then compiled warzone2100 just fine
After try to run a receive the following:
error : glcFontFace(GLC_Font_Bold (2), "Bold") failed
error : loadKeyMap: Reading keymap.map short: Past end of file
error : can't find keymapped function Toggle watch window in the keymap save table at 128!
Cannot access memory at address 0x13fb
Saved dump file to '/tmp/warzone2100.gdmp'
Aborted
Any help;
Also I have tried to installl opensuse 10.3 package but still no sound
Have anybody success with opensuse 10.3 32 bit;
Ok new data
I have downloaded from svn and everything works (including sound
Last edited by daskalos on 29 Nov 2007, 19:45, edited 1 time in total.
-
Buginator
- Professional

- Posts: 3285
- Joined: 04 Nov 2007, 02:20
Re: no sound / lockups
Delete/rename your .warzone* directory and start game again, it should repopulate it.daskalos wrote: Ok thanks for the reply
I downloaded the last snapshot and while doing ./configure I received message about quesoglc missing.
So I downloaded, compiled and install.
Then compiled warzone2100 just fine
After try to run a receive the following:
error : glcFontFace(GLC_Font_Bold (2), "Bold") failed
error : loadKeyMap: Reading keymap.map short: Past end of file
error : can't find keymapped function Toggle watch window in the keymap save table at 128!
Cannot access memory at address 0x13fb
Saved dump file to '/tmp/warzone2100.gdmp'
Aborted
Any help;
Also I have tried to installl opensuse 10.3 package but still no sound
Have anybody success with opensuse 10.3 32 bit;
Ok new data
I have downloaded from svn and everything works (including sound)
p.s, if you specify the --nosound flag once, then your sound will ALWAYS be off, for all games you play. You have to re-enable it with --sound.
and it ends here.