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

vaevalex
Posts: 1
Joined: Tue, 23. Apr 13, 10:37
x3ap

Post by vaevalex »

lumbrius wrote:Beta is working mostly fine there on Gentoo on ATI Radeon HD6370M
glibc: 2.15-r3
kernel: 3.4.9-gentoo x86_64
ati-drivers: 13.1
xorg-server: 1.12.4
I am having similar issues as lumbrius here, different configuartion tho:
GeForce GT 540M
glibc 2.15-r3
kernel 3.8.5-gentoo
nvidia-drivers (proprietary): 313.30
xorg-server: 1.13.4
(EDIT: amd64, multilib)

Specifically the error I'm encountering is:
lumbrius wrote:Sometimes after warp/jump interface gets corrupted (save/load fixes that):
https://lh3.googleusercontent.com/-qi23 ... r_warp.png - see left panel
I suspect since this has been reported only by us Gentooers (as far as I can tell), it has something to do with, perhaps version mismatch of what the game executable is linked against. Should I mail the versions in use, compared against what 'ldd X3TC_main' shows? Or perhaps this can be fixed here on the user side if it is let known what exact versions have been used in the build. Maybe the game links to 64-bit build of a library here and 32-bit there, causing "stuff"?

On a hunch, at least bz2, jpeg and SDL2 come to mind when related to texture skewing like this. Related:

[*] libbz2.so.1 => lib/libbz2.so.1 (0xf6231000)
app-arch/bzip2-1.0.6-r3 (/lib64/libbz2.so.1 -> libbz2.so.1.0.6)
app-emulation/emul-linux-x86-baselibs-20130224 (/lib32/libbz2.so.1 -> libbz2.so.1.0.6)

[*] libjpeg.so.62 => lib/libjpeg.so.62 (0xf61ca000)
app-emulation/emul-linux-x86-baselibs-20130224 (/usr/lib32/libjpeg.so.62)

[*] libSDL2-2.0.so.0 => lib/libSDL2-2.0.so.0 (0xf7629000)
media-libs/libsdl-2.0.0_pre7046 (/usr/lib64/libSDL2-2.0.so.0 -> libSDL2.so.2.0.0)
media-libs/libsdl-2.0.0_pre7046 (/usr/lib32/libSDL2-2.0.so.0 -> libSDL2.so.2.0.0)

EDIT 2: I haven't done this before but I'm going to see about LD_PRELOAD for lib32 variants where applicable. If I'm reading ldd right, the links are partly pointing to lib/... which is actually pointing to lib64 in gentoo multilib, while lib32 is separate. I might be completely out of the loop in this area, though.
User avatar
ezra-r
Posts: 3423
Joined: Fri, 14. Oct 05, 21:04
x4

Post by ezra-r »

I get the corruption too and I'm using Ubuntu 32bit so I doubt it is something related to gentoo only.

(my specs in my signature)
scratch42069
Posts: 47
Joined: Sat, 17. Dec 05, 07:59
x4

Post by scratch42069 »

I occasionally get corruption on Ubuntu 64-bit but it never affects the sidebar, just the bars for the wares at stations. When that happens I just exit the game and relaunch and it is gone.
jenden
Posts: 3
Joined: Sat, 18. Aug 12, 11:41
x3ap

Post by jenden »

Gentoo 64-bit multilib here. I haven't seen any of the described graphics corruptions. The only two issues I've noticed so far are:
~10% of the time when I open up a new UI (especially a map) the background of the UI goes transparent at first (I can see the local space environment under the sector names/links). I'll try to get a screenshot tonight, but it usually fixes itself after a second or two (possibly when I mouseover?).
Some weapons, in particular the experimental M/AM launcher, seem to have corrupted sounds when firing from my ship. It the kind of sound you get when the gain on a mic is way too high.
niick_linux
Posts: 2
Joined: Thu, 25. Apr 13, 02:35
x3ap

Post by niick_linux »

Thanks for X3:TC on linux egosoft, it's much appreciated :) Also thank you timon37 for all your hard work.

Specs:

Intel q6600
Nvidia 560 ti
8GB RAM
Using SSD

Gentoo 64bit w/ multilib
nvidia-drivers-313.30

In general everything has worked great for me. I do however get somewhat frequent slowdowns/stutters esp when entering systems, or turning when a planet is in view. I have had no crashes.

Another issue is during the opening movie when the narrator was talking about the terran system I could barely make out what he saying. I tried changing the music volume but I guess that has no effect on the intro. Subtitles would be nice.

Also I brought X3:R for linux via LGP years ago, if you release reunion on steam would I have to buy it again?
CBJ
EGOSOFT
EGOSOFT
Posts: 54284
Joined: Tue, 29. Apr 03, 00:56
x4

Post by CBJ »

niick_linux wrote:Also I brought X3:R for linux via LGP years ago, if you release reunion on steam would I have to buy it again?
No. X3R for Linux is already on test on Steam just like X3TC. The LGP codes have been submitted to Steam and you should be able to use yours soon. We will keep you posted.
timon37
EGOSOFT
EGOSOFT
Posts: 508
Joined: Fri, 14. Dec 12, 11:02
x4

Post by timon37 »

jenden wrote:Gentoo 64-bit multilib here. I haven't seen any of the described graphics corruptions. The only two issues I've noticed so far are:
~10% of the time when I open up a new UI (especially a map) the background of the UI goes transparent at first (I can see the local space environment under the sector names/links). I'll try to get a screenshot tonight, but it usually fixes itself after a second or two (possibly when I mouseover?).
No need I've seen that one.
jenden wrote:Some weapons, in particular the experimental M/AM launcher, seem to have corrupted sounds when firing from my ship. It the kind of sound you get when the gain on a mic is way too high.
Does it happen all the time? Send me a savegame if you can.
niick_linux
Posts: 2
Joined: Thu, 25. Apr 13, 02:35
x3ap

Post by niick_linux »

CBJ wrote:
niick_linux wrote:Also I brought X3:R for linux via LGP years ago, if you release reunion on steam would I have to buy it again?
No. X3R for Linux is already on test on Steam just like X3TC. The LGP codes have been submitted to Steam and you should be able to use yours soon. We will keep you posted.
Great news, thanks.
BarFly
Posts: 96
Joined: Sat, 8. Jan 05, 21:31
x4

Post by BarFly »

Hello,

do Lucikes scripts work? At least the one with the traders are incredibly important - or are there still problems?
In this Beta I recognise how much of my game is build on the shoulders of this traders. :oops: :)
Ciao BarFly
_JD_
Posts: 137
Joined: Wed, 29. Oct 08, 15:05
x4

Crash entering Est gate of Xenon Sector 627 (The HUB)

Post by _JD_ »

First of all I also congratulate Egosoft for the beautiful port and timon37 for rapid bugfixing performed so far.

Besides that I write because I found a bug that makes the game crash when you enter through the Est gate of the Xenon Sector 627, while following the first mission of The HUB.

:arrow: My save (just in front of the est gate)

:arrow: My system specs

In console I get this log:

Code: Select all

======================================
ERROR: Unable to load texture 'tex\true\773', using dummy texture!
======================================
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_BLACK
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\envmap_test
======================================
ERROR: Unable to load texture 'tex\true\535', using dummy texture!
======================================
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_NORMAL
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_BLACK
======================================
ERROR: Unable to load texture 'tex\true\772', using dummy texture!
======================================
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\metal_xenon_misc_tech_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\metal_xenon_misc_tech_bump
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\metal_xenon_misc_tech_spec
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\metal_xenon_misc_tech_light
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_OCCL_DECAL
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_NORMAL_DETAIL
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\envmap_test
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\metal_xenon_platesL_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\metal_xenon_platesL_bump
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\metal_xenon_platesL_spec
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\metal_xenon_platesL_light
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\metal_argon_pipes_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\metal_argon_pipes_bump
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\metal_argon_pipes_spec
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\metal_argon_pipes_light
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\fx_engine_blue1_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\fx_engine_blue2_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\fx_engine_blue3_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\fx_engine_blue4_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\glass_variations_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\glass_variations_spec
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\unique_xenon_M5_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\unique_xenon_M5_bump
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\unique_xenon_M5_spec
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\unique_xenon_M5_light
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\sun_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_NORMAL
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_WHITE
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_OCCL_DECAL
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_NORMAL_DETAIL
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_ENVI
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\sun_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_NORMAL
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_WHITE
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_OCCL_DECAL
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_NORMAL_DETAIL
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_ENVI
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\sun_detail_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\nebula_fogdeepred_stars_orangefog_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\nebula_fogdeepred_background_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\stardust_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\LC_m6_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\LC_m6_bump
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\LC_m6_spec
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\LC_m6_light
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_OCCL_DECAL
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\NONE_NORMAL_DETAIL
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\envmap_test
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\unique_weapon_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\unique_weapon_bump
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\unique_weapon_spec
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\unique_weapon_light
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\fx_black_diff
../X3.5/X3/s_linux/sys_dds.cpp : S_ReadDDS : 174 : dds\gui_master
======================================
SFX_StopSample() failed stopping sample 925
======================================
ST_LoadCut() cut 2225 loaded
delgrep: SD_NAME: XT_terraformer
Rilevato trace/breakpoint (core dump creato)
The last line is in Italian and should be translated as "Trace/breakpoint trap (core dumped)"
Ven
Posts: 6
Joined: Wed, 20. Feb 08, 14:37
x3ap

No steam achievements

Post by Ven »

Thanks for the port!

I have been playing X3TC and just noticed I never received any steam achievements. I have only just completed the flight school training, after many hours (10+) spent trading and building up some cash.

My current version is:
X3TC Version 3.2c Build 6.
However, I believe I was still using Build 5 when I completed the flight school training. I realised after quitting the game that I should have been given the achievement but never was.

I started out as a Humble Merchant if that matters. Let me know if you need more info - I should remember to check back here.
User avatar
iamtakingiteasy
Posts: 3
Joined: Sun, 13. Jan 13, 08:24
x4

Post by iamtakingiteasy »

Here are some glitches (at least on my intel video card from lenovo X230 *book, under i915 linux video driver) on sun lens flare effects:

http://steamcommunity.com/sharedfiles/f ... =141370384
http://steamcommunity.com/sharedfiles/f ... =141385238

The same type of glitch appears on pulsating dots near gates and truster outputs seen when steering on M5 Argon Discoverer.
lumbrius
Posts: 47
Joined: Sun, 3. Apr 11, 00:36
xr

Re: Crash entering Est gate of Xenon Sector 627 (The HUB)

Post by lumbrius »

_JD_ wrote:Besides that I write because I found a bug that makes the game crash when you enter through the Est gate of the Xenon Sector 627, while following the first mission of The HUB.
I can confirm this
kampav
Posts: 5
Joined: Tue, 16. Apr 13, 00:03
x3ap

Post by kampav »

It takes a lot more time to load savegame with new AMD 13.4 driver.
May be it also takes more time to load another sector, but it less significant.
jenden
Posts: 3
Joined: Sat, 18. Aug 12, 11:41
x3ap

Post by jenden »

Here's the sound I hear when using the experimental M/A-M launcher. Honestly its been a while since I played, and I don't have access to a windows install to test, so I'm not positive the sound is actually corrupt, it could just be my memory that's bad.

Here's a save. Nothing particularly special about it, the current ship has a launcher so if I launch and start shooting I hear the above.

I did get one crash when going through a jump gate (manual, not using a jump drive or autopilot) but I couldn't reproduce.
Everything else has been running flawlessly, thanks to everyone at Egosoft!

System specs as reported by steam:
Processor Information:
Vendor: AuthenticAMD
Speed: 3200 Mhz
2 logical processors
2 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Unsupported
SSE4a: Unsupported
SSE41: Unsupported
SSE42: Unsupported

Network Information:
Network Speed:

Operating System Version:
"NAME=Gentoo" (64 bit)
Kernel Name: Linux
Kernel Version: 3.8.7-gentoo
X Server Vendor: The X.Org Foundation
X Server Release: 11401000
X Window Manager: GNOME Shell
Steam Runtime Version: <Runtime disabled>

Video Card:
Driver: NVIDIA Corporation GeForce GTX 550 Ti/PCIe/SSE2

Driver Version: 4.3.0 NVIDIA 313.30
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID: 0x10de
DeviceID: 0x1244
Number of Monitors: 1
Number of Video Cards Not Detected
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:

Memory:
RAM: 5975 Mb

Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 474773 Mb
Largest Free Hard Disk Block: 20067 Mb

Installed software:

Recent Failure Reports:
scratch42069
Posts: 47
Joined: Sat, 17. Dec 05, 07:59
x4

Post by scratch42069 »

I can confirm the crash to desktop when entering the Unknown Sector in the first mission of The Hub plot.

Edit: Here's the save file just before entering the gate.

http://ubuntuone.com/2TW4fQBS2NX8ies83UUhsQ

Edit 2: I played through the first part on Windows and copied the save to Linux and tried playing from the point you get The Hub. I discovered that loading the save at The Hub also crashes to desktop as well as entering the sector.
jenden
Posts: 3
Joined: Sat, 18. Aug 12, 11:41
x3ap

Post by jenden »

I can confirm crashing any time I try to jump to the hub (only tested using jump drive, not direct gate access).
Sample save
fallenwizard
Posts: 635
Joined: Tue, 13. Apr 10, 20:03
x4

Post by fallenwizard »

Is anyone able to start the game with the XTC mod? The Linux version of X3TC crashes as soon as I try to start a new game.
timon37
EGOSOFT
EGOSOFT
Posts: 508
Joined: Fri, 14. Dec 12, 11:02
x4

Post by timon37 »

Sorry about the recent slowdown, but there was "something else";) I needed to push for a bit.
There's also some windows stuff I'm responsible for, though fear not, it'll also benefit the gnu/linux client. So all's right with the world;p
lumbrius
Posts: 47
Joined: Sun, 3. Apr 11, 00:36
xr

Post by lumbrius »

I've found that in Linux version I can hold "Control" key while moving cursor in sector map (e.g. when placing factory), and then I can move cursor very smooth with presicion of 50m, if I release "control", then step becomes larger and its harder to reach accuracy of 50m.

But in Windows version "Control" key does not have this amazing feature and holding it while placing factory affects nothing!
How that could be explained and, if possible, passed to WIndows devs so they could implement that? Precision in complex building in vanilla game would be very nice to have.

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