It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Its nice to have this game finally on GOG.com but:

#2 the game crashes sometimes if I use a construction kit to connect 2 stations(esp mines. with something else)

#3 The game always crashes if I undock

edit: 2&3 were resolved by forcing the game to use the distributions native 32 Bit GLEW and OpenAL library

edit3: #5 the game will not work(eg. hang after the intro) on modern file systems that use 64 bit inodes eg: large ext4/xfs partitions

edit 4:
there is no bonus package included so you have to manually download it an install it in wine and copy it to the addon folder...
-http://egosoft.com/download/x3ap/bonus_en.php

removed stuff that works now
Post edited December 19, 2015 by sixsixfive
Linux version is prone to crash when changing camera using F1 too.

I use Mint 17.2 64-bit.

EDIT: When running from terminal, these are the last message sets before crash:

======================================
ERROR: Unable to load texture 'textures\AGI_M3-body_light', using dummy texture!
======================================
----
Warning! Some triangles have zero area!
----
[mpegvideo @ 0x2ff7a2c0] max_analyze_duration 5000000 reached at 5000000
[mpegvideo @ 0x2ff7a2c0] Estimating duration from bitrate, this may be inaccurate
movloadmovie success: reply=0 (0 / 0)
======================================
X_NormVectorToOne: Nullvektor!
======================================
movloadmovie success: reply=1 (1 / 13683)
MOV_GetVoiceLength(0,1000,101) Can't find voice info
MOV_GetVoiceLength(0,1000,20010) Can't find voice info
MOV_GetVoiceLength(0,1000,101) Can't find voice info
MOV_GetVoiceLength(0,1000,20010) Can't find voice info
MOV_GetVoiceLength(0,17,4131) Can't find voice info
movloadmovie success: reply=1 (1 / 18337)
Segmentation fault
Post edited November 15, 2015 by vanchann
I was also able to resolve all undock crashing issues by replacing the most of the included libraries with my system libaries(debian testing amd64):

my current lib path:

$GAMEDIR/game/lib
libavcodec.so.53 libavformat.so.53 libavutil.so.51 libGLEW.so.1.9 libswscale.so.2

libGLEW.so.1.9 is also actually just a copied and renamed libGLEW.so.1.10 from my system the ffmpeg ones are the default ones.

I also removed the $GAMEDIR/lib since they work with my system libs, too

cheers ;)
Post edited November 16, 2015 by sixsixfive
Thanks for sharing.

I renamed libGLEW.so.1.10 from Debian to libGLEW.so.1.9 and copied it to game/lib.
Until now it seems that it helps! :-)
I've changed the camera many times without any crash.

I haven't replaced anything else for now. If there will be crashes again I'll consider replacing more libraries.
Post edited November 17, 2015 by vanchann
avatar
vanchann: Thanks for sharing.

I renamed libGLEW.so.1.10 from Debian to libGLEW.so.1.9 and copied it to game/lib.
Until now it seems that it helps! :-)
I've changed the camera many times without any crash.

I haven't replaced anything else for now. If there will be crashes again I'll consider replacing more libraries.
I've also run across this issue. I'll have a go at it tonight :). Thanks for sharing the fix.
Post edited November 20, 2015 by WinterSnowfall
avatar
sixsixfive: #2 the game crashes sometimes if I use a construction kit to connect 2 stations(esp mines. with something else)

#3 The game always crashes if I undock

edit: 2&3 were resolved by forcing the game to use the distributions native 32 Bit GLEW and OpenAL library
That worked for me as well, thanks for sharing! For those who experience the same issue, libs to be replaced might be in two separate directories : lib/ and game/lib/.

I also noticed that replacing .so files from the lib/ directory with those installed on my system lead to much faster loading time.
Post edited May 04, 2016 by cahu
Tried replacing all manner of libs, (everything but libav stuff, distro packages are newer versions & won't load).
Still getting reproducible CTD on switching ship view with F1 / F2... in both X3: AP & X3: TC
General example (addresses vary): X3TC_main[2376]: segfault at fffdff39 ip 00000000f46645e6 sp 00000000ffca9c00 error 4 in libnvidia-glcore.so.364.19[f31c6000+1bf1000]
Only info on egosoft forums is a single post stating "F2 is still crash button"... WTF?
Have tried multiple GPU driver versions, including latest beta, no dice. Have tried running in dedicated X session (no DE, compositing etc.), ditto.

[non-specific anger]
What gives, GOG?? Not very playable like this :(
Do I get my money back or what?
[/non-specific anger]
Post edited June 12, 2016 by steve_v
avatar
steve_v: Tried replacing all manner of libs, (everything but libav stuff, distro packages are newer versions & won't load).
Still getting reproducible CTD on switching ship view with F1 / F2... in both X3: AP & X3: TC
General example (addresses vary): X3TC_main[2376]: segfault at fffdff39 ip 00000000f46645e6 sp 00000000ffca9c00 error 4 in libnvidia-glcore.so.364.19[f31c6000+1bf1000]
Only info on egosoft forums is a single post stating "F2 is still crash button"... WTF?
Have tried multiple GPU driver versions, including latest beta, no dice. Have tried running in dedicated X session (no DE, compositing etc.), ditto.

[non-specific anger]
What gives, GOG?? Not very playable like this :(
Do I get my money back or what?
[/non-specific anger]
Might be worth to try asking for an answer at NVIDIA Devtalk, since it is nVidia's library (libnvidia-glcore.so.364.19). They patch theirs driver all the time on Windows platform, when one or another game has problems. Maybe it is one of those cases. Worth a try.

I have nothing more to say. Do not have played it on GNU/Linux, and my current system isn't capable to run it.

edit: You might find help also here: https://www.gog.com/forum/general/linux_support_on_gog
Post edited June 12, 2016 by vsr
avatar
vanchann: Linux version is prone to crash when changing camera using F1 too.

I use Mint 17.2 64-bit.

EDIT: When running from terminal, these are the last message sets before crash:

======================================
ERROR: Unable to load texture 'textures\AGI_M3-body_light', using dummy texture!
======================================
----
Warning! Some triangles have zero area!
----
[mpegvideo @ 0x2ff7a2c0] max_analyze_duration 5000000 reached at 5000000
[mpegvideo @ 0x2ff7a2c0] Estimating duration from bitrate, this may be inaccurate
movloadmovie success: reply=0 (0 / 0)
======================================
X_NormVectorToOne: Nullvektor!
======================================
movloadmovie success: reply=1 (1 / 13683)
MOV_GetVoiceLength(0,1000,101) Can't find voice info
MOV_GetVoiceLength(0,1000,20010) Can't find voice info
MOV_GetVoiceLength(0,1000,101) Can't find voice info
MOV_GetVoiceLength(0,1000,20010) Can't find voice info
MOV_GetVoiceLength(0,17,4131) Can't find voice info
movloadmovie success: reply=1 (1 / 18337)
Segmentation fault
I was getting those same "MOV_GetVoiceLength(...) Can't find voice info" errors as part of the audio issues in this missing audio files thread back in December. It never was resolved and there haven't been any updates from the Devs or on the package since.

Out of curiosity, do you have ship and station voices when you're playing X3:AP ? I never got around to verifying if the problem was specific to the Mac release or if it applied to the Linux release as well.

Also, do you encounter any "MOV_LoadVoices(44) can't open file" errors in the log on startup?
Post edited June 12, 2016 by xixas
avatar
vsr: Might be worth to try asking for an answer at NVIDIA Devtalk, since it is nVidia's library (libnvidia-glcore.so.364.19). They patch theirs driver all the time on Windows platform, when one or another game has problems. Maybe it is one of those cases. Worth a try.
While true that the segfault is occuring in libnvidia-glcore, that doesn't mean much in this case - that's just where it dies, it doesn't tell us why... it could be (and likely is) that X3 is bungling it's opengl calls.
I have now been through all the Nvidia drivers available to me, from 340.96 through the latest beta - 367.18, released May 19, 2016. Same result, so I seriously doubt it's the driver TBH.
avatar
vanchann:
avatar
xixas: I was getting those same "MOV_GetVoiceLength(...) Can't find voice info" errors as part of the audio issues in this missing audio files thread back in December. It never was resolved and there haven't been any updates from the Devs or on the package since.

Out of curiosity, do you have ship and station voices when you're playing X3:AP ? I never got around to verifying if the problem was specific to the Mac release or if it applied to the Linux release as well.

Also, do you encounter any "MOV_LoadVoices(44) can't open file" errors in the log on startup?
I don't remember anything like this.
The substitution of the included libraries, fixed the issues for me.

There were an update since then. I haven't played the last version, but I think I have it installed. I'll launch the game from the terminal to keep all the messages and check.

EDIT 1: All problems confirmed! :-(
I run the game as it comes from GOG.

EDIT 2: Known fix works.
I renamed libGLEW.so.1.10 from Debian to libGLEW.so.1.9 and copied it to game/lib.

I tried many things, but there's no ship and station voices.

EDIT 3: I've updated many times my post as I was trying to find a solution.
Excuse me, if you've got many reply notifications in the process.
Post edited June 13, 2016 by vanchann
avatar
vanchann: EDIT 3: I've updated many times my post as I was trying to find a solution.
Excuse me, if you've got many reply notifications in the process.
You replied to a dated post to assist with an external dated thread and provided an updated result—no excusing necessary, much appreciated :)

avatar
vanchann: EDIT 2: Known fix works.
I renamed libGLEW.so.1.10 from Debian to libGLEW.so.1.9 and copied it to game/lib.

I tried many things, but there's no ship and station voices.
Glad to hear the same camera switch fix still works on the latest version.

Disappointing to hear the audio issues exist in X3:AP for the Linux version as well. That's potentially a lot of players, and I'm surprised the issue hasn't been more widely noticed—I guess there aren't a lot of non-Windows gamers playing AP since the November 2015 updates.

If anyone else is experiencing missing voices in X3:AP on Linux or Mac, I wrote up the technical failure (and a partial fix) in this post. As of last update, the problem is still pending GOG QA investigation.
Post edited June 13, 2016 by xixas
Updaties, cross posted from Egosoft forums:
---
It was OpenAL all along.
System version: libopenal.so.1.15.1
Steam version: libopenal.so.1.13.0
It's not shipped with the GOG release. -> using system lib -> crashing.
Switching out that one library for the one in the steam runtime makes all the difference.
---
This game doesn't seem to like the newer openal lib shipped in Debian Jessie, nicked it from the steam ('buntard) runtime & all is well. No more F2 == crash. :)
Very strange that openal could cause what really looked to be a graphics related crash, but the proof is in the playing I guess.

Out of curiosity, what openal version is the "supported" Ubuntu release (whatever that may be) running?
Post edited July 06, 2016 by steve_v
Very good of you to come here to inform us of how the problem was solved and wherein it lies. Thank you for that! :-)

Unfortunately I do not have a Linux computer at all here at work so will be lazy and not search for the answer as you could just do that as well.
avatar
steve_v: Out of curiosity, what openal version is the "supported" Ubuntu release (whatever that may be) running?
In Trusty (14.04) it's at 1.14.0-4 and in Xenial (16.04) openal is at 1.16.0-3. Both are more recent than the one bundled with the Steam version of the game.