Linux Support

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

Moderator: Moderators for English X Forum

Forum rules
See full rules at Technical Support Request Rules

Required Information in all Technical Support Requests

Please ensure that you provide the following information for all questions posted in this Technical Support forum.
  • Version and language (e.g. 8.00 Hotfix 3, English, etc.).
  • Whether or not your game is modified using any third party scripts or mods (see note below).
  • The game start you originally selected for the game in which the problem occurred.
  • Exact nature of the problem, where and when it occurs and what you were doing at the time.
  • Any possibly relevant changes you have made to your game, system, or software before the issue occurred.
  • Where appropriate, additional symptoms, error messages, links to saves, screenshots and crash dump files (see this Wiki entry).
  • Your system specifications in the form of a DxDiag report and vulkaninfo (see this Wiki entry).
Failure to provide all this information will make it pretty much impossible for people to help you and may mean that it takes longer for your problem to be identified and hopefully solved. So please don't waste your own time and everyone else's by just posting something like "My game freezes. Help!!!".

If you are supplying information that will not conveniently fit into posts in this forum (approx 70,000 character limit per post), in the worst case you can split long text files across 2 consecutive posts, or ideally you can upload the data to a reputable public fileshare site (a few examples are Google Drive, DropBox or PasteBin, etc) but please don't use sites that spam advertising or require registration for downloads. Please use in your post the open public sharing link to your file(s) that will not require any account or registration for others to download.

Note: Support for third party modifications must be provided by the authors of those modifications, and any requests for such support should be posted in the appropriate thread in the Scripts and Modding forum.
Hexa
Posts: 1
Joined: Tue, 13. Apr 04, 21:38

Re: Linux Support

Post by Hexa »

taronas wrote: Fri, 12. Sep 25, 18:11 I'm back in X4 after long pause. I'm now running Linux (EndeavourOS) on PC with 32GB RAM with an Nvidia GPU 12GB VRAM, KDE, Wayland.

Did a long session yesterday and after some (?) hours I got stutter in some places and at some point everything slowed down. Not just the Game but the whole system. I barely managed to fire up btop and there I could see that the system was out of RAM since the X4 process had grabbed all that was left.

Anybody else seeing this?
Yes, I had the exact problem you described, after 30 – 60 minutes of play time the game gets choppy, the audio crackles and then the whole system locks up.

I’m running Fedora 42, Wayland on i5-12400F, AMD RX6600XT, 16GB RAM.

The solution was switching from Wayland to X11 using the cog on the log-in screen, after that I had zero problems with the game.
knight-of-ni
Posts: 4
Joined: Tue, 25. Feb 25, 05:26
x4

Re: Linux Support

Post by knight-of-ni »

I'm running X4: 8.00 from GOG in Linux Mint 22.2 and I'm still having to run X4 with

Code: Select all

./X4 -logfile log.txt
If I run the executable without the logfile argument it hangs in a black window with no output.
Did we ever figure out a cause or could anyone help me troubleshoot what to look at?

Thanks for any help or understanding. :)
Newinger
Posts: 285
Joined: Mon, 11. Mar 19, 11:18
x4

Re: Linux Support

Post by Newinger »

knight-of-ni wrote: Wed, 17. Sep 25, 06:32 I'm running X4: 8.00 from GOG in Linux Mint 22.2 and I'm still having to run X4 with

Code: Select all

./X4 -logfile log.txt
If I run the executable without the logfile argument it hangs in a black window with no output.
Did we ever figure out a cause or could anyone help me troubleshoot what to look at?
I don't have a solution, but your post helped me to solve my own problem.

I was not able to run the non-Steam binary on Elementary OS (which is also Ubuntu based), whereas the Steam version works without issues.

I never knew that adding the logfile argument would solve this issue.


Also, with the non-Steam binary, I can't seem to switch off the protected UI mode. When I do it, it reloads the UI and then the main menu disappears, so I can only close the game by pressing ALT + F4, or by killing the process.

Edit: Ah it seems I must first switch off the "UI Extensions and HUD", before de-activating protected UI mode.
Last edited by Newinger on Fri, 19. Sep 25, 14:38, edited 2 times in total.
CBJ
EGOSOFT
EGOSOFT
Posts: 55003
Joined: Tue, 29. Apr 03, 00:56
x4

Re: Linux Support

Post by CBJ »

knight-of-ni wrote: Wed, 17. Sep 25, 06:32 Did we ever figure out a cause...
The simple answer is no. We have been unable to reproduce the problem, and have no clues as to how something like this could possibly affect the ability to run the game.
Newinger
Posts: 285
Joined: Mon, 11. Mar 19, 11:18
x4

Re: Linux Support

Post by Newinger »

CBJ wrote: Fri, 19. Sep 25, 14:23
knight-of-ni wrote: Wed, 17. Sep 25, 06:32 Did we ever figure out a cause...
The simple answer is no. We have been unable to reproduce the problem, and have no clues as to how something like this could possibly affect the ability to run the game.
At least it affects me as well. ^^ It's not a big issue for me, though.
sirprosik
Posts: 141
Joined: Fri, 22. May 09, 13:58
x4

Re: Linux Support

Post by sirprosik »

Current version 8.0 HF1 -> Completed Boron Gate re-unification. Upon starting the Emissary portion Numanckaret says, "Follow me..." then stops moving.
I then went and did the HAT plot thinking that might need doing. Then worked on faction, completed the Emissary ship mission etc.
Upon returning to the throne room Numanckaret will not talk nor move toward the Briefing Room. Therefore the BOR reunification is frozen. Meaning none
of the Emissary missions can be started because Numanckaret is stuck in throne room and will not move to the briefing room.

Here is the save : https://www.dropbox.com/scl/fi/503bcsqt ... kghqs&dl=0

Tried moving to Windows to see if the plot would move forward no luck. Numanckaret is unresponsive.
Last edited by sirprosik on Tue, 30. Sep 25, 13:53, edited 1 time in total.
ninchuka
Posts: 13
Joined: Fri, 18. Jul 25, 17:42

Re: Linux Support

Post by ninchuka »

does anyone have a intel arc GPU and playing x4 on linux? I'm trying to figure out if its a game issue or a mesa/driver issue or a issue with my install where x4 wont dump the textures and results in all my vram being used and my PC crashing because of it, this is on fedora KDE 42 I had a RX 580 8GB before I got this and that was dumping the textures just fine, I tried native steam which uses mesa 25.1.9 and flatpak'd steam which used 25.2.2 mesa and that still had the issue where it didnt dump the textures the crashing does only really happen with interworlds with all the massive models and textures but more vanilla x4 8.0 was getting to 9GB of vram at one point
User avatar
wergor
Posts: 159
Joined: Mon, 27. Mar 06, 19:35
x4

Re: Linux Support

Post by wergor »

switched to kernel 6.17 and had a crash I have not yet seen before:
https://drive.google.com/file/d/1lHx4P2 ... sp=sharing

https://linux-hardware.org/?probe=94fd7e76c6

Code: Select all

wergor@wergor-pc:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 25.04
Release:	25.04
Codename:	plucky
wergor@wergor-pc:~$ glxinfo | grep "OpenGL version"
OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.2.4 - kisak-mesa PPA
Last edited by wergor on Sat, 4. Oct 25, 22:24, edited 1 time in total.
xrogaan
Posts: 242
Joined: Tue, 31. May 11, 20:27
x4

Re: Linux Support

Post by xrogaan »

wergor wrote: Sat, 4. Oct 25, 21:05 switched to kernel 6.17 and had a crash I have not yet seen before:
https://drive.google.com/file/d/1lHx4P2 ... drive_link

https://linux-hardware.org/?probe=94fd7e76c6

Code: Select all

wergor@wergor-pc:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 25.04
Release:	25.04
Codename:	plucky
wergor@wergor-pc:~$ glxinfo | grep "OpenGL version"
OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.2.4 - kisak-mesa PPA
The google drive access is restricted. You've got to open a new thread to report the crash though, so it can be processed.
CPU: 8-core AMD Ryzen 7 5700X (-MT MCP-); 32GiB ram; GPU: AMD Radeon RX 6600; GNU/Linux Devuan
User avatar
wergor
Posts: 159
Joined: Mon, 27. Mar 06, 19:35
x4

Re: Linux Support

Post by wergor »

thanks for the input, I've updated the link and created a new thread here.
Romaniu
Posts: 3
Joined: Wed, 8. Oct 25, 18:32

Re: Linux Support

Post by Romaniu »

Hello. Please send me libopenal.so.1 file from the game version 7.10(hf3). This is the last version where I had sound with the original files. Because when I play the version 7.50 and 8.00, I completely lack sound in the game (sound of the splash screen, music, voices, effects). In the version 7.50 and 8.00, libopenal.so.1 file is the same. Currently, I am playing version 8.00 with libopenal.so.1 file from version 5.10.
Rastuasi
Posts: 528
Joined: Mon, 1. Oct 18, 16:28
x4

Re: Linux Support

Post by Rastuasi »

Romaniu wrote: Wed, 8. Oct 25, 18:58 Hello. Please send me libopenal.so.1 file from the game version 7.10(hf3). This is the last version where I had sound with the original files. Because when I play the version 7.50 and 8.00, I completely lack sound in the game (sound of the splash screen, music, voices, effects). In the version 7.50 and 8.00, libopenal.so.1 file is the same. Currently, I am playing version 8.00 with libopenal.so.1 file from version 5.10.
Did you hit shortcut to turn off all sound? I've done that before. Its a checkbox in menu too.

Libopenal is a system library, so it'd be on you to install it
Romaniu
Posts: 3
Joined: Wed, 8. Oct 25, 18:32

Re: Linux Support

Post by Romaniu »

Rastuasi wrote: Wed, 8. Oct 25, 19:49
Romaniu wrote: Wed, 8. Oct 25, 18:58 Hello. Please send me libopenal.so.1 file from the game version 7.10(hf3). This is the last version where I had sound with the original files. Because when I play the version 7.50 and 8.00, I completely lack sound in the game (sound of the splash screen, music, voices, effects). In the version 7.50 and 8.00, libopenal.so.1 file is the same. Currently, I am playing version 8.00 with libopenal.so.1 file from version 5.10.
Did you hit shortcut to turn off all sound? I've done that before. Its a checkbox in menu too.

Libopenal is a system library, so it'd be on you to install it
Ahaaah. If only it were that simple. It's not because of the keyboard shortcut. In the sound settings, when I select a sound device, I only see "JACK" and the "default device" option (7.50 and 8.00). In fact, the device I'm using is not listed (it was in versions 7.10 and below, and you should have noticed that I'm using the libopenal.so.1 file from the game's game/lib folder). I have openal version 1.24 system libraries installed. I do not have any files from version 7.10. Therefore, I ask everyone who has the libopenal.so.1 file from the game directory of version 7.10 to send it to me. Thank you.

P.S.

The issue with the complete loss of sound on the steam deck has been resolved. In the game directory, there is an alsa.conf file. Add "drivers =pulse"

[general]
drivers = pulse

as the next line. Thanks to beko from this section.
Mookau
XWiki Moderator
XWiki Moderator
Posts: 181
Joined: Tue, 8. Sep 20, 05:31
x4

Re: Linux Support

Post by Mookau »

Romaniu wrote: Wed, 8. Oct 25, 20:03I ask everyone who has the libopenal.so.1 file from the game directory of version 7.10 to send it to me. Thank you.
Probably safer to either get an old version from a trusted package archive than a stranger on the internet, or...

You can always install X4 7.10 using steam by changing the beta channel for X4 from 'None' to '7.10 - Version 7.10 Hotfix 3 (legacy)' and pull it from there. Though that requires quite a bit of bandwidth just for one .so file.
If you do go that route - you may want to back up your current version so you don't have to download it again when you change back to 8.00.
Romaniu
Posts: 3
Joined: Wed, 8. Oct 25, 18:32

Re: Linux Support

Post by Romaniu »

Thank you, Mookau. The issue has been resolved
ninchuka
Posts: 13
Joined: Fri, 18. Jul 25, 17:42

Re: Linux Support

Post by ninchuka »

wergor wrote: Sat, 4. Oct 25, 21:05 switched to kernel 6.17 and had a crash I have not yet seen before:
https://drive.google.com/file/d/1lHx4P2 ... sp=sharing

https://linux-hardware.org/?probe=94fd7e76c6

Code: Select all

wergor@wergor-pc:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 25.04
Release:	25.04
Codename:	plucky
wergor@wergor-pc:~$ glxinfo | grep "OpenGL version"
OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.2.4 - kisak-mesa PPA
I'm getting this crash as well on 6.16.12, switching to proton gets it "working" but its very laggy specs are below

Code: Select all

             .',;::::;,'.                 haise@fedora
         .';:cccccccccccc:;,.             ------------
      .;cccccccccccccccccccccc;.          OS: Fedora Linux 42 (KDE Plasma Desktop Edition) x86_64
    .:cccccccccccccccccccccccccc:.        Host: MS-7C95 (1.0)
  .;ccccccccccccc;.:dddl:.;ccccccc;.      Kernel: Linux 6.16.12-200.fc42.x86_64
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.     Uptime: 19 mins
.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.    Packages: 3588 (rpm), 59 (nix-user), 90 (flatpak-system), 4 (flatpak-user)
,cccccccccccccc;MMM.;cc;;WW:;cccccccc,    Shell: bash 5.2.37
:cccccccccccccc;MMM.;cccccccccccccccc:    Display (M27Q): 2560x1440 @ 170 Hz in 27" [External] *
:ccccccc;oxOOOo;MMM000k.;cccccccccccc:    Display (M27Q): 2560x1440 @ 170 Hz in 27" [External]
cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;    DE: KDE Plasma 6.4.5
ccccc;XMO';cccc;MMM.;cccccccccccccccc'    WM: KWin (Wayland)
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;     WM Theme: Breeze
ccccc;0MNc.ccc.xMMd;ccccccccccccccc;      Theme: Breeze (Dark) [Qt], Breeze [GTK3]
cccccc;dNMWXXXWM0:;cccccccccccccc:,       Icons: breeze-dark [Qt], breeze-dark [GTK3/4]
cccccccc;.:odl:.;cccccccccccccc:,.        Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK3/4]
ccccccccccccccccccccccccccccc:'.          Cursor: breeze (24px)
:ccccccccccccccccccccccc:;,..             Terminal: zellij 0.43.0
 ':cccccccccccccccc::;,.                  CPU: AMD Ryzen 5 5600XT (12) @ 4.80 GHz
                                          GPU: Intel Arc B580 @ 2.85 GHz [Discrete]
                                          Memory: 11.36 GiB / 31.26 GiB (36%)
                                          Swap: 12.00 KiB / 8.00 GiB (0%)
                                          Disk (/): 1.49 TiB / 1.82 TiB (82%) - btrfs
                                          Disk (/home/haise/roms): 954.58 GiB / 1.46 TiB (64%) - btrfs
                                          Local IP (enp42s0): 192.168.1.231/24
                                          Locale: en_GB.UTF-8
torrmercury
Posts: 8
Joined: Tue, 28. Dec 10, 05:08
x4

Re: Linux Support

Post by torrmercury »

Hey everyone, I have a weird one for you. I was out of town since Oct 15 and just got back, did a full system update, ran into issues with grabbing the steam-native-runtime so I removed it, and once everything seemed like it was working correctly, I tried launching X4. Once it loads in, I have no menu to load my save or go into options or anything. So I removed all the launch options except -skipintro, removed all mods, and tried again. Still nothing. I keep on trying different configurations of Steam launch options, game launch options, Steam runtime options, etc. Things keep going in this vein until I get a menu. Great! Then I close it so I can selectively try to get closer to my original configuration, but no dice. Getting frustrated, I decide okay let me just go with the known good configuration, and when I launch it again using the same settings as what worked previously, I get no menu again.

At this point, I think I have launched the game maybe 130 times in the last 2 hours and have gotten the menu to show up maybe 1/15 times. However, it does not seem to be consistent when it shows up. The "known good" config did not work once I tried it again, and I have gotten the menu using a config that I previously did not get it on. I have tried closing and then reopening using the same config after the menu shows up and then it does now show up again. I have also tried going back to 8.0 instead of hotfix 3, but also running into the same issue. I have also tried switching over from native to Proton and still have the same behavior.

I'm fairly sure something happened with the steam runtime as after restoring my system to a snapshot from before my vacation, it works fine. Any ideas for what's going on and what I can try to see if I can narrow down the issue? I'm reluctant to try to get steam-native-runtime working as some of its dependencies will break other packages for me, but think I should give that a shot? What other info can I provide to help troubleshoot?

CachyOS
KDE
AMD 5900X
AMD 7900Xt
32gb Ram
CBJ
EGOSOFT
EGOSOFT
Posts: 55003
Joined: Tue, 29. Apr 03, 00:56
x4

Re: Linux Support

Post by CBJ »

Not having a visible menu is normally caused by leftover mods, particularly UI mods.
torrmercury
Posts: 8
Joined: Tue, 28. Dec 10, 05:08
x4

Re: Linux Support

Post by torrmercury »

CBJ wrote: Sun, 2. Nov 25, 20:34 Not having a visible menu is normally caused by leftover mods, particularly UI mods.
Thanks for the note. I tried completely removing all mods by unsubing entirely from all mods on Steam. I don't have any installed in other ways. I also uninstalled and reinstalled. None of that has made a difference. Still getting no menu except occasionally.

Edit: Just to make sure I'm being comprehensive: I've also tried removing the folders for all my mods in the extensions folder from the game install as well, but again, it has not made a difference.
Rastuasi
Posts: 528
Joined: Mon, 1. Oct 18, 16:28
x4

Re: Linux Support

Post by Rastuasi »

torrmercury wrote: Sun, 2. Nov 25, 22:41
CBJ wrote: Sun, 2. Nov 25, 20:34 Not having a visible menu is normally caused by leftover mods, particularly UI mods.
Thanks for the note. I tried completely removing all mods by unsubing entirely from all mods on Steam. I don't have any installed in other ways. I also uninstalled and reinstalled. None of that has made a difference. Still getting no menu except occasionally.

Edit: Just to make sure I'm being comprehensive: I've also tried removing the folders for all my mods in the extensions folder from the game install as well, but again, it has not made a difference.
Have you done a file integrity check for the game files. Mods could replace those

Return to “X4: Foundations - Technical Support”