X³: TC and AP - Linux support thread

Ask here if you experience technical problems with X³: Terran Conflict, X³: Albion Prelude or X³: Farnham's Legacy.

Moderators: timon37, Moderators for English X Forum

alexjhh
Posts: 1
Joined: Sat, 18. May 13, 01:06
x3ap

Post by alexjhh »

Hi guys,

I picked up X3TC on a sale, not being sure if it would work (as I'm upgrading my rig soon. On my current ubuntu rig, it seems to run fine for anything up to 5-10 minutes after starting a new game, but then slows down horrifically (and unplayably). It seems to happen when something 'new' happens, i.e. docking, or shooting. The most obvious aspect apart from the performance drop is that the top portion of the screen (10-20%) becomes out of synch with the rest of the image.

It's a low-end rig, and as I said I wasn't expecting it to work in the first place, but the game was too tempting. Here it is:

Pentium 4 3.2ghz
Nvidia 9600gt
1-2gb of RAM
Ubuntu 12.04
Nvidia 310 drivers

I know the RAM is low, but my question is whether dropping some money on a couple of sticks of RAM might make it playable or not (whether the lag is likely to be due to that). If that cheap way won't cut it (or a cheap version of windows xp or similar) then I'll have a crack at X2 instead until I can get a new PC sorted in a month or so.

Really looking forward to giving this a shot. Thanks for any help you can give me.

Alex
zehnan
Posts: 6
Joined: Sat, 28. Jan 06, 16:29
x3tc

Crashes - mesa radeon

Post by zehnan »

Hello,

I am having trouble with random crashes. The game runs pretty well for a few minutes then crashes. Open source radeon (mesa 9.1.2) on Arch 64.

I'd like to attach the output, but I can't figure out how to run from terminal. Running ./X3TC_main reports missing shared libraries although running from Steam client works just fine. Probably some LD_LIBRARY_PATH missing. Can anyone help me with that? Thanks.

Cheers,
Marko
zehnan
Posts: 6
Joined: Sat, 28. Jan 06, 16:29
x3tc

Post by zehnan »

I apologize for posting this here, my intention was to post in Linux beta thread. May I ask the moderators to move this message over there?
Symphorien
Posts: 2
Joined: Wed, 25. Apr 07, 14:52
x3ap

Post by Symphorien »

Hi just bought X3:TC and AP on steam. Love the fact that it's on linux! However...

I can't get either one to start. I get the loading screen, and then it just crashes. Looks like a similar problem to the Nvidea that got fixed. May be related to my rather old graphics card, or the legacy drivers.

Here are the last lines in terminal

Code: Select all

LoadVoices(44)
../src/X3/s_linux/s_movie.cpp : S_OpenMovie : 636 : id 144 flags 272
movloadmovie success: reply=1 (1 / 3)
../src/X3/s_linux/s_movie.cpp : S_OpenMovie : 636 : id 1 flags 8
[mpegvideo @ 0xa178340] max_analyze_duration 5000000 reached at 5000000
[mpegvideo @ 0xa178340] Estimating duration from bitrate, this may be inaccurate
movloadmovie success: reply=1 (1 / 3)
../src/X3/s_linux/s3d.cpp : S_3DCleanAndOptimizeMesh : 2640 : dStub
../src/X3/s_linux/sdl2/svideo.cpp : W_RectFill : 1362 : dStub
J3D_LoadCut2: Loaded embedded body 830000001
J3D_LoadCut2: Loaded embedded body 830000002
ST_LoadCut() cut 8300 loaded
Segmentation fault (core dumped)
I'm using Ubuntu 13.04 64bit
Memory: 4Gb
Graphics: Radeon HD 4350 (using fglrx-legacy drivers)
Processor: Intel® Core™2 Quad CPU Q8200 @ 2.33GHz × 4
adrianx
Posts: 106
Joined: Sun, 24. Apr 11, 18:45
x3tc

Post by adrianx »

Symphorien wrote: I'm using Ubuntu 13.04 64bit
Graphics: Radeon HD 4350 (using fglrx-legacy drivers)
Hope you don't mind the suggestion, but have you tried the radeon driver (possibly with xorg-edgers). I've been playing X3R using it (on a 6950 mind you) without issues (well, game issues at least). Currently switched back to Catalyst at the moment (just for testing).
Mohs
Posts: 105
Joined: Sat, 26. Nov 05, 21:24
x3tc

Post by Mohs »

I experience several random CTDs, so I checked the library linking like described:
timon37 wrote:...
Also you can do ldd X3TC_main and ldd X3AP_main to see what libraries it's linking to.
that was my result

Code: Select all

:~/.steam/steam/SteamApps/common/X3 Terran Conflict$ ldd X3AP_main 
	linux-gate.so.1 =>  (0xf77b4000)
	libsteam_api.so => lib/libsteam_api.so (0xf779e000)
	libSDL2-2.0.so.0 => lib/libSDL2-2.0.so.0 (0xf7699000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7663000)
	libz.so.1 => lib/libz.so.1 (0xf764e000)
	libxml2.so.2 => lib/libxml2.so.2 (0xf7500000)
	libavformat.so.53 => lib/libavformat.so.53 (0xf73d0000)
	libavcodec.so.53 => lib/libavcodec.so.53 (0xf6738000)
	libavutil.so.51 => lib/libavutil.so.51 (0xf6711000)
	libswscale.so.2 => lib/libswscale.so.2 (0xf66be000)
	libopenal.so.1 => lib/libopenal.so.1 (0xf6674000)
	libssl.so.1.0.0 => lib/libssl.so.1.0.0 (0xf6611000)
	libcrypto.so.1.0.0 => lib/libcrypto.so.1.0.0 (0xf644e000)
	libGL.so.1 => /usr/lib32/nvidia-310/libGL.so.1 (0xf636d000)
	libGLEW.so.1.9 => lib/libGLEW.so.1.9 (0xf630b000)
	libvorbisfile.so.3 => lib/libvorbisfile.so.3 (0xf6302000)
	libvorbis.so.0 => lib/libvorbis.so.0 (0xf62da000)
	libogg.so.0 => lib/libogg.so.0 (0xf62d3000)
	libbz2.so.1 => lib/libbz2.so.1 (0xf62c1000)
	libjpeg.so.62 => lib/libjpeg.so.62 (0xf625b000)
	librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf6252000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6169000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf6126000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6108000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf5f55000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf5f50000)
	/lib/ld-linux.so.2 (0xf77b5000)
	libnvidia-tls.so.310.44 => /usr/lib32/nvidia-310/tls/libnvidia-tls.so.310.44 (0xf5f4c000)
	libnvidia-glcore.so.310.44 => /usr/lib32/nvidia-310/libnvidia-glcore.so.310.44 (0xf4229000)
	libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf40f3000)
	libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf40e1000)
	libXmu.so.6 => not found
	libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xf40d1000)
	libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf40ae000)
	libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf40aa000)
	libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf40a3000)
when I try to execute the game from console it states the missing libXmu.so
However starting it from steam works, but I don't know, where the crashlogs are dumped in that case.
zehnan
Posts: 6
Joined: Sat, 28. Jan 06, 16:29
x3tc

Post by zehnan »

Mohs wrote: when I try to execute the game from console it states the missing libXmu.so
However starting it from steam works, but I don't know, where the crashlogs are dumped in that case.
I changed launch options in game properties in steam client to:

Code: Select all

export > /tmp/steam_export || %command%
This will dump, among other things, LD_LIBRARY_PATH, where you can see which libraries the game uses when launched from steam client. You can then use the same LD_LIBRARY_PATH to launch from console. This should help with the missing libXmu.
Fantu
Posts: 42
Joined: Sat, 9. Feb 13, 20:29
x3ap

Post by Fantu »

Very good work with linux version, thanks!
Is a bit of time that I'm playing TC, on build 10 no bugs found for now.
The only particular thing I saw is the performance are under reunion with same settings despite a great new pc:
CPU: Intel Core i7-3820
O.S.: Ubuntu 12.04.2 LTS (64 bit)
Video card: NVIDIA GeForce GTX 650
Driver: NVIDIA 310.14
RAM: 16 gb
Problem partially solved with build 9.
Even if with lower performance rather than reunion the game is very playable even with graphics settings:
Quality high,high and all flagged except antialiasing and anisotropic.

About "Graphic settings" window there are small italian translation error:
"Ripristna default" must be "Ripristina default"

About bonus pack of TC that are news?
I saw here that was on working but after removed :(
http://steamdb.info/app/235940/

Thanks for any reply and sorry for my bad english
etonbears
Posts: 63
Joined: Mon, 31. Dec 12, 00:13
x4

Post by etonbears »

zehnan wrote:
Mohs wrote: when I try to execute the game from console it states the missing libXmu.so
However starting it from steam works, but I don't know, where the crashlogs are dumped in that case.
I changed launch options in game properties in steam client to:

Code: Select all

export > /tmp/steam_export || %command%
This will dump, among other things, LD_LIBRARY_PATH, where you can see which libraries the game uses when launched from steam client. You can then use the same LD_LIBRARY_PATH to launch from console. This should help with the missing libXmu.
I found that I needed LD_LIBRARY_PATH and STEAM_RUNTIME.

Correct values for these variables are available from the virtual file /proc/<proc_id>/environ when X3TC is running from Steam

( use "ps ax | grep X3TC_main" to find the value for <proc_id> of X3TC when it is running from Steam ).
----------------------------
Hardware Used :
Storage : SATA3 SSD
Memory : 32GB
CPU : i7 3820 / X79
GPU : GTX 1070Ti
Mohs
Posts: 105
Joined: Sat, 26. Nov 05, 21:24
x3tc

Post by Mohs »

thx, good tip, although in steam I had to enter this without || %command% :wink:

now I have some sample result although it does not exactly look like a stack trace, but it might give a hint:

Code: Select all

[TC_MemoryFlush] freed 726, released 35 of 840 cached textures
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
J3D_LoadCut2: Loaded embedded body 901000003
J3D_LoadCut2: Loaded embedded body 901000004
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
J3D_LoadCut2: Loaded embedded body 901400003
J3D_LoadCut2: Loaded embedded body 901400004
J3D_LoadCut2: Loaded embedded body 901400005
J3D_LoadCut2: Loaded embedded body 901300000
J3D_LoadCut2: Loaded embedded body 901300001
J3D_LoadCut2: Loaded embedded body 901300003
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
======================================
ERROR: Unable to load texture 'textures\AGI_M3-body_light', using dummy texture!
======================================
----
Warning!  Some triangles have zero area!
----
../src/X3/s_linux/s_movie.cpp : S_OpenMovie : 636 : id 8133 flags 144
movloadmovie success: reply=1 (1 / 1517213)
ST_LoadCut() cut 2225 loaded
ST_UnloadCut() cut 2225 start
ST_UnloadCut() starting unload cut 2225, numinst=14
J3D_FreeCut() freeing cut 2225
SFX: Freeing AUTOFREE sound ID 1006
======================================
#-49032(2024)[0d72be]2034.AttackedByHandler Function GetOwner in undefined object 10 called!
======================================
----
Warning!  Some triangles have zero area!
----
======================================
#-49035(2024)[0d72be]2034.AttackedByHandler Function GetOwner in undefined object 10 called!
======================================
My system dump is this:

Code: Select all

Prozessor:
    Hersteller: AuthenticAMD
    Geschwindigkeit: 2900 MHz
    4 logische Prozessoren
    4 technische Prozessoren
    HyperThreading:  Nicht unterstützt
    FCMOV:  Unterstützt
    SSE2:  Unterstützt
    SSE3:  Unterstützt
    SSSE3:  Nicht unterstützt
    SSE4a:  Unterstützt
    SSE41:  Nicht unterstützt
    SSE42:  Nicht unterstützt
    
Netzwerk-Informationen:
    Netzwerk-Geschwindigkeit: 
    
Betriebssystem:
    Ubuntu 13.04 (64 Bit)
    Kernel-Name: Linux
    Kernel-Version: 3.8.0-21-generic
    X-Server-Vendor: The X.Org Foundation
    X-Server-Release: 11303000
    X-Fenstermanager: Compiz
    Steam-Runtime-Version: steam-runtime-release-i386_2013-05-08
    
Grafikkarte:
    Treiber: NVIDIA Corporation GeForce GTX 560 Ti/PCIe/SSE2

    Treiber-Version: 4.3.0 NVIDIA 310.44
    Desktop-Farbtiefe: 24 Bit per Pixel
    Monitor-Aktualisierungsrate: 59 Hz
    Anbieterkennung: 0x10de
    Gerätekennung: 0x1200
    Anzahl der Monitore: 2
    Anzahl der logischen Grafikkarten: 1
    Prim. Anzeigeauflösung: 1920 x 1200
    Desktop-Auflösung: 3520 x 1200
    Prim. Anzeigegröße: 43,2 cm x 32,4 cm (54,0 cm diag.)

    Primärer Bus: PCI Express 16x
    Primärer VRAM: 1023 MB
    Unterstützte MSAA-Modi: 2x 4x 8x 16x 
    
Soundkarte:
    Audiogerät: Realtek ALC892
    
Speicher:
    RAM: 7978 MB
    
Weitere Daten:
    UI-Sprache: Deutsch (Deutsch)
    LANG:  de_DE.UTF-8
    Mikrofon: Not set
    Verfügbarer Festplattenspeicher insgesamt: 288824 MB
    Größter freier Festplattenspeicherblock: 236391 MB
    
Installierte Software:
    
Neueste Fehlerberichte:
    Sun May 19 10:27:52 2013 GMT: file ''/tmp/dumps/assert_20130519122741_1.dmp'', upload yes: ''CrashID=bp-a9ae34a3-50ff-4102-b622-f72fb2130519''
    
perhaps you can do more with the uploaded crashdump it reported in the end.
BarFly
Posts: 96
Joined: Sat, 8. Jan 05, 21:31
x4

Post by BarFly »

Hello,

Edit: I'm running X3 TC
when flying my ship it seems to shake/vibrate just a little. I did not have this before.
It appears since friday.
Does anyone have an idea what the reason for this could be?
My System
Ubuntu 13.04
nVidia GTX 280 with the nVidia 304 driver installed.
Graphic settings: Full screen mode 1920x1080; Antialiasing 2x; Anisotropic 2x
Shader/texture - high
Intel E6600 @3.06
Does it make sense to upgrade to the 313 driver?
Btw. the 313 driver is the newest shown me by the Ubuntu Software center
Ciao BarFly
scratch42069
Posts: 47
Joined: Sat, 17. Dec 05, 07:59
x4

Post by scratch42069 »

BarFly wrote:Hello,

Edit: I'm running X3 TC
when flying my ship it seems to shake/vibrate just a little. I did not have this before.
It appears since friday.
Does anyone have an idea what the reason for this could be?
My System
Ubuntu 13.04
nVidia GTX 280 with the nVidia 304 driver installed.
Graphic settings: Full screen mode 1920x1080; Antialiasing 2x; Anisotropic 2x
Shader/texture - high
Intel E6600 @3.06
Does it make sense to upgrade to the 313 driver?
Btw. the 313 driver is the newest shown me by the Ubuntu Software center
If you think your problem is driver related it's always worthwhile seeing if the newer ones improve things. If I remember right the 313 drivers and up were recommended for Steam anyway.
Symphorien
Posts: 2
Joined: Wed, 25. Apr 07, 14:52
x3ap

Post by Symphorien »

adrianx wrote: Hope you don't mind the suggestion, but have you tried the radeon driver (possibly with xorg-edgers). I've been playing X3R using it (on a 6950 mind you) without issues (well, game issues at least). Currently switched back to Catalyst at the moment (just for testing).
Thanks for the suggestion! Works a treat. And everything else that wasn't working on my system :D
a.b
Posts: 1
Joined: Wed, 17. Mar 10, 15:25
x3tc

X3 Linux Steam -- Joystick not recognized

Post by a.b »

Hi,

X3 (both AP and TC) doesn't recognize my joystick on Linux. It doesn't appear in the pre-launch config and moving it doesn't have an effect ingame either. Outside the game, the joystick is correctly recognized by both KDE System Settings and sdl-jstest.

System information
User avatar
ezra-r
Posts: 3423
Joined: Fri, 14. Oct 05, 21:04
x4

Post by ezra-r »

X:AP since latest update I can't use autopilot, when I try to engage it I get from Betty is: "Autopilot Off".

Anyone else having this?

---

Edit: Nevermind, loading the game for a third time and it works again :P
Last edited by ezra-r on Mon, 20. May 13, 01:54, edited 1 time in total.
Mohs
Posts: 105
Joined: Sat, 26. Nov 05, 21:24
x3tc

Post by Mohs »

BarFly wrote:Hello,

Edit: I'm running X3 TC
when flying my ship it seems to shake/vibrate just a little. I did not have this before.
It appears since friday.
I have the same effect, that effect is common, if you engage engines to full speed with the tab key.
However it just seems to be not related to graphical drivers.
BarFly
Posts: 96
Joined: Sat, 8. Jan 05, 21:31
x4

Post by BarFly »

Hello,

I have another question.
I had to do something else and left the game. The game was running with the monitor switched off.
When I came back, tI had to enter my password and tzhen I'm at the Desktop. The game is still running, I hear the noise, but how can I get back into the game. Linux help doesn't help, so I have to ask here.
Any suggestions?
I tried any of key combinations I know or shown me by the help.

Edit:
@mohs
Thx! I updated to 313 driver and it seems to be better.
Ciao BarFly
Glencore
Posts: 14
Joined: Wed, 16. May 07, 20:48
x3ap

Post by Glencore »

Great job EGOSOFT on doing a port. Soon as I saw this on steam I bought it! Played it on windows... but didn't give you any of my money for that version uhm.
BarFly
Posts: 96
Joined: Sat, 8. Jan 05, 21:31
x4

Post by BarFly »

BarFly wrote: When I came back, tI had to enter my password and then I'm at the Desktop. The game is still running, I hear the noise, but how can I get back into the game. Linux help doesn't help, so I have to ask here.
Any suggestions?
I tried any of key combinations I know or shown me by the help.
The combination is 'Super(Widows) + w'
Problem solved.
But I still have the problem, that after a while I can't move my mouse all to the left.
Processor Information:
Vendor: GenuineIntel
Speed: 3066 Mhz
2 logical processors
2 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
SSE41: Unsupported
SSE42: Unsupported

Network Information:
Network Speed:

Operating System Version:
Ubuntu 13.04 (64 bit)
Kernel Name: Linux
Kernel Version: 3.8.0-21-generic
X Server Vendor: The X.Org Foundation
X Server Release: 11303000
X Window Manager: Compiz
Steam Runtime Version: steam-runtime-release-i386_2013-05-08

Video Card:
Driver: NVIDIA Corporation GeForce GTX 280/PCIe/SSE2

Driver Version: 3.3.0 NVIDIA 313.30
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID: 0x10de
DeviceID: 0x5e1
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 20,51" x 11,54" (23,50" diag)
52,1cm x 29,3cm (59,7cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 1024 MB
Supported MSAA Modes: 2x 4x 8x 16x

Sound card:
Audio device: Realtek ALC889A

Memory:
RAM: 7985 Mb

Miscellaneous:
UI Language: English
LANG: de_DE.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 53263 Mb
Largest Free Hard Disk Block: 31460 Mb

Installed software:

Recent Failure Reports:
Ciao BarFly
Mohs
Posts: 105
Joined: Sat, 26. Nov 05, 21:24
x3tc

Post by Mohs »

BarFly wrote: But I still have the problem, that after a while I can't move my mouse all to the left.
I have a funny assumption:
is it possible, that this is related to the unity startbar?
Try to enable autohiding of that. Could be possible that this actually is hindering the zone of the game, where you can move the mouse to.

Return to “X³: Terran Conflict / Albion Prelude / Farnham's Legacy - Technical Support”