Linux Support (Beta)

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

Moderator: Moderators for English X Forum

ant1393
Posts: 23
Joined: Mon, 10. Dec 18, 12:54
x4

Re: Linux Support (Beta)

Post by ant1393 » Tue, 26. Feb 19, 20:31

hi ! i got ubuntu 18.10 and nvidia-415,

i can'T retrieve my new save in "./home/*myfolder*/documents/EGOSOFT/....."...

documents folder is empty.

i would like to import my saves from windows, do you found where the save is located ?

thx for help !
ubuntu 18.10 latest updates + nvidia-415 + pulseaudio + xbox one pad.

i7-2600k, gtx 970, 16 gb ram, focusrite saffire pro 24 soundcard, ssd.

andrewpc
Posts: 23
Joined: Sun, 27. Jan 19, 19:11
x4

Re: Linux Support (Beta)

Post by andrewpc » Tue, 26. Feb 19, 20:35

I am suffering the same issue as you using openSUSE Tumbleweed with vulkanifo returning the following. Note I also have Vega 64 and LLVM 7.0

Code: Select all

 ==========
VULKANINFO
==========

Vulkan Instance Version: 1.1.91

Instance Extensions:
====================
Instance Extensions     count = 17
        VK_EXT_acquire_xlib_display         : extension revision  1
        VK_EXT_debug_report                 : extension revision  9
        VK_EXT_debug_utils                  : extension revision  1
        VK_EXT_direct_mode_display          : extension revision  1
        VK_EXT_display_surface_counter      : extension revision  1
        VK_KHR_device_group_creation        : extension revision  1
        VK_KHR_display                      : extension revision 23
        VK_KHR_external_fence_capabilities  : extension revision  1
        VK_KHR_external_memory_capabilities : extension revision  1
        VK_KHR_external_semaphore_capabilities: extension revision  1
        VK_KHR_get_display_properties2      : extension revision  1
        VK_KHR_get_physical_device_properties2: extension revision  1
        VK_KHR_get_surface_capabilities2    : extension revision  1
        VK_KHR_surface                      : extension revision 25
        VK_KHR_wayland_surface              : extension revision  6
        VK_KHR_xcb_surface                  : extension revision  6
        VK_KHR_xlib_surface                 : extension revision  6
Layers: count = 10
=======
VK_LAYER_GOOGLE_threading (Google Validation Layer) Vulkan version 1.1.96, layer version 1
        Layer Extensions        count = 1
                VK_EXT_debug_report                 : extension revision  6
        Devices         count = 2
                GPU id       : 0 (AMD RADV VEGA10 (LLVM 7.0.0))
                Layer-Device Extensions count = 0
                GPU id       : 1 (AMD RADV VEGA10 (LLVM 7.0.0))
                Layer-Device Extensions count = 0

 
Byter wrote:
Tue, 26. Feb 19, 18:57
I know my version is not officially supported, but maybe this is a more common problem.

Version:

Code: Select all

4.20.11-1-MANJARO #1 SMP PREEMPT Wed Feb 20 23:19:36 UTC 2019 x86_64 GNU/Linux
I'm starting the game with "-skipintro -logfile debug.log". The contents of debug.log are:
Logfile started, time Tue Feb 26 18:40:11 2019
[General] 0.00 ======================================
[=ERROR=] 0.00 File I/O: Could not find file './etc\xml\catalog'
[General] 0.00 ======================================
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 FileIORequest::WaitForResult() Failed './etc\xml\catalog' with 4
[=ERROR=] 0.00 File I/O: Could not find file './etc\xml\catalog.sig'
[General] 0.00 ======================================
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 XLib::XMLInputOpenCallback(): Failed to open the file: etc/xml/catalog
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 File I/O: Could not find file './t\0002'
[General] 0.00 ======================================
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 File I/O: Could not find file './t\0002.sig'
[General] 0.00 ======================================
[=ERROR=] 0.00 FileIORequest::WaitForResult() Failed './t\0002' with 4
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 XLib::XMLInputOpenCallback(): Failed to open the file: t/0002
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 Error parsing text file t/0002 with libxml2
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 GetTextPage() TextPageTable for page 102 not found!
[General] 0.00 ======================================
[General] 0.00 'AMD RADV VEGA10 (LLVM 7.0.1)' AMD-driver v18.3.3 (Vulkan 1.1.70) check=1
Starting the game works fine, it seems to do its thing... and then EVERYTHING simply hangs. Can't even access tty2. But the music keeps playing :P
I managed to get to the main menu ONCE, thought I could change the AA settings and whatnot before starting a new game and ended up with the same problem.

As mentioned in the main post, I already tried waiting for about 20 minutes in hope it comes back... but nope.

A more verbose log could help maybe? How would I obtain that? Or am I simply missing some dependency?

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

Re: Linux Support (Beta)

Post by MakerLinux » Tue, 26. Feb 19, 20:38

MakerLinux wrote:
Tue, 26. Feb 19, 11:08
Eager to try it. Will buy the game as soon as the beta is out.
WOW... I thought I would have to wait a week or so to get my hands on X4... You guys ROCK! Bought at full price, THANK YOU for the Linux love! <3
Brazilian Linux-only user living in Poland, https://steamcommunity.com/id/patolinux on Steam. PC I use for playing: Ryzen 7 7800X3D with 64 GB 6GHz DDR5 CL30, AMD Radeon RX 7900 XTX, ArchLinux
Controllers: steam controller via Steam Input or HOTAS set: TSaitek X52 Pro + MFD F-16 + G29 pedals.
VR headset: Valve Index & Meta Quest 2. My other PC: Steam Deck OLD with nReal AIR AR headset

ant1393
Posts: 23
Joined: Mon, 10. Dec 18, 12:54
x4

Re: Linux Support (Beta)

Post by ant1393 » Tue, 26. Feb 19, 20:43

.. et UN GRAND MERCé !!!!!! for the Linux version !!!!!!!! 8)

works well here :

ubuntu 18.10 latest updates + nvidia-415.

1- game runs fine ! i'm "in-game"...

2- seems same settings than windows graphics.... (vulkan) , seems like i used MSAAX2 instead of MSAAx4 in win but not sure.

3- 1st issue : /home/*******/documents" "/Egosoft/X4/...." does not exist ; i done a manual save (not quick save), and when i relaunch game the save loads... but not the saves i imported from windows into this folder. The manual save #1 is hidden, and can't found it anywhere to replace it with my saves.
ubuntu 18.10 latest updates + nvidia-415 + pulseaudio + xbox one pad.

i7-2600k, gtx 970, 16 gb ram, focusrite saffire pro 24 soundcard, ssd.

ant1393
Posts: 23
Joined: Mon, 10. Dec 18, 12:54
x4

Re: Linux Support (Beta)

Post by ant1393 » Tue, 26. Feb 19, 20:59

ant1393 wrote:
Tue, 26. Feb 19, 20:43
.. et UN GRAND MERCé !!!!!! for the Linux version !!!!!!!! 8)

works well here :

ubuntu 18.10 latest updates + nvidia-415.

1- game runs fine ! i'm "in-game"...

2- seems same settings than windows graphics.... (vulkan) , seems like i used MSAAX2 instead of MSAAx4 in win but not sure.

3- 1st issue : /home/*******/documents" "/Egosoft/X4/...." does not exist ; i done a manual save (not quick save), and when i relaunch game the save loads... but not the saves i imported from windows into this folder. The manual save #1 is hidden, and can't found it anywhere to replace it with my saves.
3 -> (fixed) ->
Xautos Modérateur Il y a 13 minutes
Only other place i can find X4 folders beside the X4F folder itself and the one provided earlier:
home > [Username] > .config > Egosoft > X4 > [Numbers]
i launch game....
ubuntu 18.10 latest updates + nvidia-415 + pulseaudio + xbox one pad.

i7-2600k, gtx 970, 16 gb ram, focusrite saffire pro 24 soundcard, ssd.

fallenwizard
Posts: 628
Joined: Tue, 13. Apr 10, 20:03
x4

Re: Linux Support (Beta)

Post by fallenwizard » Tue, 26. Feb 19, 21:07

Byter wrote: Starting the game works fine, it seems to do its thing... and then EVERYTHING simply hangs. Can't even access tty2. But the music keeps playing :P
I managed to get to the main menu ONCE, thought I could change the AA settings and whatnot before starting a new game and ended up with the same problem.

As mentioned in the main post, I already tried waiting for about 20 minutes in hope it comes back... but nope.

A more verbose log could help maybe? How would I obtain that? Or am I simply missing some dependency?
This looks like the all too common Vega GPU hangs. There is nothing Egosoft can really do because it's a driver bug.

You can try to upgrade to the LLVM 8.x and mesa 19.x development versions (or wait until they officially release)
If they don't fix the problem, you should create a bug report in the freedesktop bug tracker.

EDIT:
There is also the possibility of trying out AMDVLK or AMDGPU-Pro but there is no guarantee that they work flawlessly either.
Last edited by fallenwizard on Tue, 26. Feb 19, 21:29, edited 1 time in total.

tero
Posts: 288
Joined: Tue, 8. Mar 05, 15:25
x4

Re: Linux Support (Beta)

Post by tero » Tue, 26. Feb 19, 21:26

Performance is good so far.
Only problem for now is that i can't walk around the stations. Everytime I try i'll get ported to my ship after a few seconds.
Waat dat wat? Dat waat wat!

rmazurek
Posts: 87
Joined: Tue, 13. Aug 13, 04:04
x3tc

Re: Linux Support (Beta)

Post by rmazurek » Tue, 26. Feb 19, 21:42

Yes, X4 on Linux :) I have to have this game now :)

AnakiMana
Posts: 17
Joined: Tue, 7. Mar 06, 04:48
x4

Re: Linux Support (Beta)

Post by AnakiMana » Tue, 26. Feb 19, 22:03

tero wrote:
Tue, 26. Feb 19, 21:26
Performance is good so far.
Only problem for now is that i can't walk around the stations. Everytime I try i'll get ported to my ship after a few seconds.
You're probably pressing Shift + D which is the default hot key for teleporting back to the ship. I think everybody tries using shift to move faster out of habit.

ant1393
Posts: 23
Joined: Mon, 10. Dec 18, 12:54
x4

Re: Linux Support (Beta)

Post by ant1393 » Tue, 26. Feb 19, 22:05

issues linux 2.0 :

- gamepad mouse emulation does not show cursor on map. (can't clicks..)

- sound of laser / weapons is very low / inaudible.

- map filters tabs does not show buttons sometimes.
ubuntu 18.10 latest updates + nvidia-415 + pulseaudio + xbox one pad.

i7-2600k, gtx 970, 16 gb ram, focusrite saffire pro 24 soundcard, ssd.

_JD_
Posts: 137
Joined: Wed, 29. Oct 08, 15:05
x4

Re: Linux Support (Beta)

Post by _JD_ » Tue, 26. Feb 19, 22:27

Just ordered an X52 Pro to play this game. Does anyone have already tried it on linux? I saw on the in-game Joystick menu that is one of the 3 models with an official profile (the others are 2 Thrustmaster).

infinoid
Posts: 8
Joined: Sat, 23. Feb 13, 00:01
x3ap

Re: Linux Support (Beta)

Post by infinoid » Tue, 26. Feb 19, 23:17

I was not able to bind the "Run" key (in Platform Movement) to Shift or Left Ctrl. Pressing those keys does nothing; the settings screen continues to wait for me to press a key.

I was able to bind it to Left Alt, and it works.

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

Re: Linux Support (Beta)

Post by lazy_banana » Tue, 26. Feb 19, 23:41

I came across 2 minor graphical issues:
1. The cursor has an ugly black border. Looks as if it was rendered with alpha testing enabled but blending disabled: https://i.ibb.co/vc2Jqpk/x4-1.png
2. In fullscreen and borderless the aim indicator is stretched horizontally: https://i.ibb.co/Wgbj67F/x4-2.png. Doesn't happen in windowed mode. Looks as if it gets stretched to match the screen aspect ratio. Might have something to do with normalized device coordinates.

Another issue is that audio sounds lower quality. On windows it's crystal clear but on Linux it sounds a lot more bassy and heavily compressed. Other applications sound just fine. I'm using pulseaudio.

infinoid
Posts: 8
Joined: Sat, 23. Feb 13, 00:01
x3ap

Re: Linux Support (Beta)

Post by infinoid » Tue, 26. Feb 19, 23:48

Here's a minor cosmetic issue.

[img]https://moo.glines.org/upload/infinoid/ ... ations.png[/img]

The head models of traders on platforms get frozen in place, and not follow the animations of the rest of their bodies. This happened after tabbing out of the game and back in, and getting a loading screen for a couple of seconds.

Trader animations work normally before tabbing out. The head models of crewmen/crewwomen do not seem to be affected; I have not looked at other NPC types yet.

I have been able to trigger this consistently. I started a new "Young Gun" game 3 times, ran up the ramp, looked at the trader, then tabbed out, and saw this issue each time.

equeim
Posts: 3
Joined: Sat, 29. Dec 12, 18:43
x4

Re: Linux Support (Beta)

Post by equeim » Tue, 26. Feb 19, 23:53

Both RADV and AMDVLK work very well for me (RX 580, Fedora 29). On AMDVLK I have about 7-10 more FPS. Although performance is still worse than on Windows (~10 less FPS on stations, and ~20 less FPS in space). The only issue I've noticed so far is cursor black border.

Also, what does triple buffering vsync mode supposed to do? I can't see any difference between this and vsync off, tearing is there too. Regular vsync works fine.
Last edited by equeim on Wed, 27. Feb 19, 00:01, edited 1 time in total.

Unbekanntes Feindschiff
Posts: 654
Joined: Wed, 4. Feb 09, 17:30
x4

Re: Linux Support (Beta)

Post by Unbekanntes Feindschiff » Tue, 26. Feb 19, 23:54

Byter wrote:
Tue, 26. Feb 19, 18:57
I know my version is not officially supported, but maybe this is a more common problem.

[...]

Starting the game works fine, it seems to do its thing... and then EVERYTHING simply hangs. Can't even access tty2. But the music keeps playing :P
I managed to get to the main menu ONCE, thought I could change the AA settings and whatnot before starting a new game and ended up with the same problem.

As mentioned in the main post, I already tried waiting for about 20 minutes in hope it comes back... but nope.

A more verbose log could help maybe? How would I obtain that? Or am I simply missing some dependency?
I have had that happen once when I ran out of memory (as X4 is fairly memory-hungry) Maybe try closing things like web browsers (which are enormously memory-hungry these days) before running the game.
HGN

User avatar
Brianetta
Posts: 3203
Joined: Tue, 12. Nov 02, 14:22
x4

Re: Linux Support (Beta)

Post by Brianetta » Tue, 26. Feb 19, 23:59

I'm seeing a lot more bloom/glow in white objects (such as the transport room door in my ship) on Linux than I experience in Windows.
PGP fingerprint: FA3D CA2F 38D3 BA69 87E1 D52E C204 FB5C 430A 0BFA

cicero111
Posts: 108
Joined: Sat, 13. Aug 11, 14:30
x4

Re: Linux Support (Beta)

Post by cicero111 » Wed, 27. Feb 19, 00:45

Seems like there are some issues with mods using folders with upper case characters (tested with extensions folder in game directory). Example are the NoSuperHighway mod, renaming the 2 folders "NoSuperHighway/maps/XU_ep2_universe" to "nosuperhighway/maps/xu_ep2_universe" makes it work OK.
My game are installed on a ext4 filesystem.

Otherwise, seems to work great so far. Not tested large balltes etc yet but seems on par or better than Windows (so glad i dont have to boot that thing again so probably "a bit" subjective, but hey). Using a Nvidia GTX780, 418.43 driver. Thank you so much for the port - this is just excellent :D

hogy
Posts: 20
Joined: Wed, 6. Nov 02, 20:31
x4

Re: Linux Support (Beta)

Post by hogy » Wed, 27. Feb 19, 01:23

I was just exploring the equipment dock that you start in, and ended up trying to transport into a ship that was docked, to the dock area I think. I went to walk out of the door, and almost immediately the mouse stopped responding and I couldn't look around or move. I saved the game (see below), and when loaded it seems to be stuck underneath a landing pad of some sort, where I can move around, but jumping from where its saved makes the controls stop responding again. The whole thing starts flying off, and Ctrl+D seems to go to the bridge where ship is flying, so perhaps it was some race condition when going to a craft that is leaving?

Here's the save game:
https://www.dropbox.com/s/ig3fvt88evpdu ... ml.gz?dl=0

I have no idea if this is Linux specific (or if this should be reported on this thread or another). If the save game isn't helpful to figure out what happened, it'd probably require me to use the previous save game, and wait for the ship to dock again, which I can maybe try if its helpful.

Other minor things:
- Setting up the controls was a bit of a pain. E.g. how do I clear a binding? If I click a binding, the cursor appears there, but won't go unless I press a button to assign, even when clicking other bindings or controls.
- I tried the ship modes tutorial after the previous tutorials (the flight one just seemed to stop afterwards without completing the tutorial). It said about how to abort the tutorial, but just seemed to stop there without any more text showing. Perhaps I need to try that again afresh.

major_bird
Posts: 3
Joined: Fri, 30. Nov 18, 22:44
x4

Re: Linux Support (Beta)

Post by major_bird » Wed, 27. Feb 19, 03:03

Just FYI.

Game is working fine so far. I am on debian testing. AMD RX 480 + default mesa.
Some minor bugs, but nothing important and i am too lazy right know to check the other posts if they were already reported.
Thanks for making a native linux version!

Post Reply

Return to “X4: Foundations - Technical Support”