Linux Support (Beta)

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

Post Reply
CBJ
EGOSOFT
EGOSOFT
Posts: 37500
Joined: Tue, 29. Apr 03, 00:56
x4

Linux Support (Beta)

Post by CBJ » Mon, 25. Feb 19, 19:00

Linux (Beta) support thread

Please attach savegames for almost any issue, it'll help a lot. In case you can't or don't want to include it in the forum post, my email address is: tim13on ( on ) egosoft.com, of course remove the 13 and ( on ) is @ (hope not too many spam bots figure that out);p

Generic information:

Cloud-sync between Windows and Linux is not supported.
Savegames are by default stored in a hidden folder ".config/EgoSoft/X4/<number>/save/" in your home directory, where <number> is your steam user id, the files are save_001.xml.gz, save_002.xml.gz etc.
Windows savegames should be two-way compatible however you'll need to copy them manually, if there are any issues please report a bug.

System and driver compatibility:
There is and will only be a 64bit version.
Steam is required to run the game.
Currently we only support SteamOS and Ubuntu 18.04.
At the moment only the proprietary driver from nvidia and the open-source mesa/radv amd drivers are supported.

Joystick/Controller setup:
Controllers:
If you have a relatively common xbox-like controller it should work fine out-of-the-box. Please report a bug if that's not the case.

Joysticks:
First go to Settings, Controls, Load Profile and select "Default - Joystick".
After that you will need to setup button mappings (mainly in Controls, Space), as the default will most likely not fit your joystick.
If the default axis configuration is incorrect you can remap them the same way as buttons.
To invert an axis search for "Invert Axes" in the Controls menu in the "Controller / Joystick" sub-section.

Known issues and missing features:
  • Long game launch time (window/screen may be black during this so please give it a few minutes)
  • Joystick/controller hot-plug issues
  • Graphical glitches on lockboxes and jumpgates on radv
Bugreporting:

Please attach screenshots & savegames for almost any issue, it'll help a lot. In case you can't or don't want to include it in the forum post, my email address is: tim13on ( on ) egosoft.com, of course remove the 13 and ( on ) is @ (hope not too many spam bots figure that out);p

If you notice anything "pink/blue/green" the best thing to do is give us a screenshot & savegame.
If you notice something looking ugly it would help a lot if you can verify it's linux specific first, then give us a screenshot & savegame.

To get a debug game log (in desktop mode) please:
  • Completely close steam
  • Open a terminal/console
  • Type in: steam -console
  • Steam should now run and redirect all of its output to that terminal/console window.
  • Launch X4 from steam, you should get output from the game to that terminal window.
Build history:
2019-02-26 - Version: 2.0 - 334398 Lin 8

tricecold
Posts: 36
Joined: Wed, 26. Oct 05, 15:21
x3tc

Re: Linux Support (Beta)

Post by tricecold » Mon, 25. Feb 19, 23:23

Awaiting patch. Thnx for this.
TR 1950X - GTX 970

lazy_banana
Posts: 19
Joined: Sun, 18. Mar 12, 15:15
x4

Re: Linux Support (Beta)

Post by lazy_banana » Mon, 25. Feb 19, 23:48

What distributions will be supported?
Will the minimum system requirements be different?
Will you guys make a post describing your experience with porting the game to Linux? Answering questions like what were the biggest causes of issues (ecosystem fragmentation, video drivers, compatibility issues between libraries or distributions), how much did the use of Vulkan ease this process, what would you change in the development process for version 1.0 to make porting the game to Linux easier. I bet the Linux community would like to know.

Gwarrio
Posts: 2
Joined: Wed, 21. Oct 15, 04:59
x4

Re: Linux Support (Beta)

Post by Gwarrio » Tue, 26. Feb 19, 02:25

Looking forward to this!

sintri
Posts: 51
Joined: Sun, 2. Dec 18, 09:19
x4

Re: Linux Support (Beta)

Post by sintri » Tue, 26. Feb 19, 03:15

Can I play this on wine?

User avatar
preludelinux
Posts: 13
Joined: Thu, 18. Oct 18, 18:33
x4

Re: Linux Support (Beta)

Post by preludelinux » Tue, 26. Feb 19, 07:06

Looking forward to it , continues to wait patiently
System Specs "Main System / Secondary System"
  • Linux Mint 19
  • AMD Ryzen Threadripper 1950x / Core i7 4770k
  • 64 GB Ram / 32 GB Ram
  • 2X Nvidia GTX 1080 "4k + 1080P" / AMD RX Vega 64 "1080P"
  • KVM / Qemu Pci Passthrough 8 Core 16GB Ram Nvidia GTX 1080

Eton
Posts: 1
Joined: Fri, 21. Sep 07, 14:59
x4

Re: Linux Support (Beta)

Post by Eton » Tue, 26. Feb 19, 11:34

Super!! I'm wading for beta!

User avatar
Juggernaut93
Posts: 2707
Joined: Sun, 17. Jul 11, 21:03
x4

Re: Linux Support (Beta)

Post by Juggernaut93 » Tue, 26. Feb 19, 11:58

sintri wrote:
Tue, 26. Feb 19, 03:15
Can I play this on wine?
This will be a native port, no need for Wine.

CBJ
EGOSOFT
EGOSOFT
Posts: 37500
Joined: Tue, 29. Apr 03, 00:56
x4

Re: Linux Support (Beta)

Post by CBJ » Tue, 26. Feb 19, 12:07

lazy_banana wrote:
Mon, 25. Feb 19, 23:48
Will you guys make a post describing your experience with porting the game to Linux? Answering questions like what were the biggest causes of issues (ecosystem fragmentation, video drivers, compatibility issues between libraries or distributions), how much did the use of Vulkan ease this process, what would you change in the development process for version 1.0 to make porting the game to Linux easier. I bet the Linux community would like to know.
Actually it was a relatively painless process this time around. We had basically already done what was required to ensure that our general code-base would work for a Linux build several years ago when we were porting XR, and we had already done the work on the Vulkan side itself for XRVR. I'm sure different libraries and distributions will continue to be an issue, as they always are with Linux, but our specialist is very familiar with dealing with such matters.

User avatar
MakerLinux
Posts: 169
Joined: Tue, 14. Nov 17, 14:10
x4

Re: Linux Support (Beta)

Post by MakerLinux » Tue, 26. Feb 19, 12:08

Eager to try it. Will buy the game as soon as the beta is out.
Brazilian Linux-only user, https://steamcommunity.com/id/patolinux on Steam. PC I use for playing: Ryzen 7 2700 with 16 Gig RAM, NVIDIA GTX 1070 with driver 418.56, Ubuntu 18.04
Controllers: steam controller via sc-controller or HOTAS set: Thrustmaster Warthog + Saitek X52 Pro + MFD F-16 + brandless chinese 3-pedal USB set.

_JD_
Posts: 57
Joined: Wed, 29. Oct 08, 16:05
x4

Re: Linux Support (Beta)

Post by _JD_ » Tue, 26. Feb 19, 15:20

YYYEEEESSSSSSSSSSSSSSSSS!!!!!!!!!!!!!!!!!!!!! :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen:

segmentationfault
Posts: 34
Joined: Sun, 27. Aug 17, 09:06

Re: Linux Support (Beta)

Post by segmentationfault » Tue, 26. Feb 19, 15:44

Great news! Timon did an awesome work with X:R port so I don't have worries with X4.
You had a bug tracker in use for X:R testing, I assume it is not making a return this time?

timon37
EGOSOFT
EGOSOFT
Posts: 369
Joined: Fri, 14. Dec 12, 12:02
x4

Re: Linux Support (Beta)

Post by timon37 » Tue, 26. Feb 19, 16:40

segmentationfault wrote:
Tue, 26. Feb 19, 15:44
so I don't have worries with X4.
You had a bug tracker in use for X:R testing, I assume it is not making a return this time?
I have worries;p There's always reasons to worry, and it's not called a "beta" just for coolness factor;)
But hopefully it all goes reasonably well:)

Regarding the bug tracker: "we'll see".

ironwill
Posts: 7
Joined: Sat, 17. Dec 05, 08:02
x4

Re: Linux Support (Beta)

Post by ironwill » Tue, 26. Feb 19, 16:50

Ahem ... why is the Linux version linked against kerberos and libssh2 libs?

timon37
EGOSOFT
EGOSOFT
Posts: 369
Joined: Fri, 14. Dec 12, 12:02
x4

Re: Linux Support (Beta)

Post by timon37 » Tue, 26. Feb 19, 17:04

Short answer because of the network code.

Post Reply

Return to “X4: Foundations - Technical Support”