Jump to content
Steiner

[X:CE 0.34.2] Game constantly freeze

Recommended Posts

Hi, sincerly I don't know if it's you're mod or my computer who have a problem but my game freeze a lot, on the geoscape/Air combat and in ground combat randomly. (I don't put any Screen or save for obvious reason but if you really need these I will give them)

I have some mods from the workshop who's not in the X:CE :

Xenonauts Fix Pack

Ultimate Ambient Sounds

UFO and crew diversity

More Civilians and Local Forces

More Civilians and Local Forces - Furies, Terror, and Dreadnoughts Oh My

Ultimate Ambient Sounds

Tropical and Swamp Tileset

Khall's More Portraits

Khall's Tundra Tileset

Lore+

Random Map Pack Arctic Collection

Random Map Pack Desert Style

Random Map Pack Farm Edition

Better Armour Graphics

(I have launch a new game without "UFO and crew diversity" with no change)

Edit: I've forget to say the most important... When I have a freeze I need to close the game by the Windows Task Manager because that's like a crash, not for a few second.

Edited by Steiner

Share this post


Link to post
Share on other sites

I might first suggest disabling the ambient sounds mod and see if the problem persists. For fairly mysterious reasons, it seems that having too many ambient sounds worsens the game's stability.

Share this post


Link to post
Share on other sites

After some test, that's "Ultimate ambient sounds" AND "Tropical  and Swamp tileset"

Thanks for you're help, that's not the X:CE :) ( That's not longer the good section, sorry for that. ) 

Share this post


Link to post
Share on other sites

Great!

Yeah, I think the tropical set also adds some ambient sounds. It seems to me that, the more ambient sounds are playing, the higher the chances of freezing get, but it also seems to depend on the computer, I've had a hard time getting those freezes even when intentionally trying with many sounds.

Share this post


Link to post
Share on other sites

There's a version of the Tropical and Swamp tileset on nexusmods/steam workshop without the ambient sounds. You should also disable the forest ambience mod included with X:CE since it also has some in it.

Share this post


Link to post
Share on other sites
7 minutes ago, Policenaut said:

There's a version of the Tropical and Swamp tileset on nexusmods/steam workshop without the ambient sounds. You should also disable the forest ambience mod included with X:CE since it also has some in it.

So would deactivating all ambient sounds make the game 100% stable ? ( scratch head )

Share this post


Link to post
Share on other sites
On Friday, February 10, 2017 at 2:00 PM, Charon said:

So would deactivating all ambient sounds make the game 100% stable ? ( scratch head )

Probably not 100% since I get random crashing every now and then with no mods activated, but much better at least. 

Share this post


Link to post
Share on other sites

I've been playing X:CE under wine in linux.  It crashes all the time, moreso with newer wine versions.  I started running it under valgrind and various debugging tools.  It appears that there is a race condition where two threads are both trying to write to or open the sound device at the same time.    valgrind slows down Xenonauts by a factor of 10 so the race occurs every time just starting the program.  It makes sense that playing as few sounds as possible minimizes the occurence of this bug.

Heres some of the messages I get just starting xenonauts 34.2HF under valgrind with wine 2.0

ALSA lib pcm.c:7897:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7897:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7897:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7897:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7897:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7897:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7897:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7897:(snd_pcm_recover) underrun occurred
==2783== Conditional jump or move depends on uninitialised value(s)
==2783==    at 0x6C5786: ???
==2783==    by 0x71D735: ???
==2783==    by 0x6953CC: ???
==2783==
ALSA lib pcm.c:7897:(snd_pcm_recover) underrun occurred
err:ntdll:RtlpWaitForCriticalSection section 0x4bdef2c "mmdevdrv.c: ACImpl.lock" wait timed out in thread 003b, blocked by 003a, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x4bdef2c "mmdevdrv.c: ACImpl.lock" wait timed out in thread 003b, blocked by 003a, retrying (60 sec)
ALSA lib pcm.c:7897:(snd_pcm_recover) underrun occurred

 

ACImpl.lock is an internal lock in wine related to initializing its simulation of the windows IMMDevice.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×