Linux Support

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 »

ant1393 wrote: Sat, 2. Mar 19, 03:07
ant1393 wrote: Sat, 2. Mar 19, 03:03 plz fix "MOUSE CURSOR DOES NOT SHOW WITH GAMEPAD ON MAP" #1 ...... thx EGOSOFT !
with "antimicro" gamepad mapper (like joy2key...) i temporaly fixed that by using a config like this :

...

config SET 1 = mouse desktop mode...

GUIDe BUTTON = SWAP set1 <-> set 2 (two-way)

config SET 2 = EMPTY config / XBOX gamepad mode


...

then it shows the mouse cursor...

BUT it needs to be fixed !

(it is for mobility pbs....)
it does not work even....

xbox X button on antimicro is bound to show desktop [ctrl+alt+D] so it need native gamepad mouse emulation shows cursor on map 1.
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 »

ant1393 wrote: Sat, 2. Mar 19, 03:21
ant1393 wrote: Sat, 2. Mar 19, 03:07
ant1393 wrote: Sat, 2. Mar 19, 03:03 plz fix "MOUSE CURSOR DOES NOT SHOW WITH GAMEPAD ON MAP" #1 ...... thx EGOSOFT !
with "antimicro" gamepad mapper (like joy2key...) i temporaly fixed that by using a config like this :

...

config SET 1 = mouse desktop mode...

GUIDe BUTTON = SWAP set1 <-> set 2 (two-way)

config SET 2 = EMPTY config / XBOX gamepad mode


...

then it shows the mouse cursor...

BUT it needs to be fixed !

(it is for mobility pbs....)
it does not work even....

xbox X button on antimicro is bound to show desktop [ctrl+alt+D] so it need native gamepad mouse emulation shows cursor on map 1.
opted to 2.10 beta (4)...

same pb. I hope devs gonna fix the issue for 2.10 b5 !
ubuntu 18.10 latest updates + nvidia-415 + pulseaudio + xbox one pad.

i7-2600k, gtx 970, 16 gb ram, focusrite saffire pro 24 soundcard, ssd.
Toidiboy
Posts: 11
Joined: Wed, 27. Feb 19, 17:49
x4

Re: Linux Support (Beta)

Post by Toidiboy »

Another workaround for missing mouse if you are using steam version:
In big picture mode, select the game, then manage game, followed by controller configuration. press X to browse configurations, go to community tab and there should be a basic one there by me 'toidi'.

After you have applied it, at any point in game you can press and hold the select button, this will switch right stick into virtual mouse mode, pressing down on stick is left mouse, release select to go back to normal mode. (select also works 3rd person view, you might have to press it quickly a couple of times to get back to first person).

You can do this manually by messing around with modifiers and settings in steams controller configuration menu.

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

Re: Linux Support (Beta)

Post by ant1393 »

Toidiboy wrote: Sat, 2. Mar 19, 04:14 Another workaround for missing mouse if you are using steam version:
In big picture mode, select the game, then manage game, followed by controller configuration. press X to browse configurations, go to community tab and there should be a basic one there by me 'toidi'.

After you have applied it, at any point in game you can press and hold the select button, this will switch right stick into virtual mouse mode, pressing down on stick is left mouse, release select to go back to normal mode. (select also works 3rd person view, you might have to press it quickly a couple of times to get back to first person).

You can do this manually by messing around with modifiers and settings in steams controller configuration menu.

edit for spelling.
i do same with antimicro but it wont work as full gamepad support, like on windows, just cause the cursor is not activated by default...

you imagine on steam machine how that's too 'tricky' ?
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 »

Hi
hakzsam wrote: Fri, 1. Mar 19, 18:03 Hi there,

I'm one of the RADV developer.
I have just played the game a bit using latest llvm/mesa on my Vega 56, everything seems fine.

Can you explain how to reproduce the GPU hangs (ie. mesa/llvm versions, chip, steps) ?
Can you also explain how to reproduce "Graphical glitches on lockboxes and jumpgates on radv" ?

Thanks a lot, I would be glad to help.
I have a hard lock up - on openSUSE tumbleweed using 18.3.4 LLVM7.0.1 as well as tried LLVM8 and 19.1 on a vega 64. I can stop the hard lock up using RADV_TRACE=<file> and RADV_DEBUG=syncshaders,vmfaults,allbos see these posts
viewtopic.php?f=180&t=414524&start=30#p4848973
viewtopic.php?f=180&t=414524&start=45#p4849289
viewtopic.php?f=180&t=414524&start=60#p4849306
viewtopic.php?f=180&t=414524&start=60#p4849571
viewtopic.php?f=180&t=414524&start=90#p4850437

but I still get a segfault as it enters the menu. Interestingly nothing gets written into the trace file. Any further assistance or testing I can give please shout and I really hope you can help as I really wnat to get my hand on the game being a long term player since original X (I have the boxes and disk etc still for all versions.
radcapricorn
Moderator (English)
Moderator (English)
Posts: 3230
Joined: Mon, 14. Jul 08, 13:07
x4

Re: Linux Support (Beta)

Post by radcapricorn »

Sometimes the game crashes immediately after launch. The window doesn't even appear.

Terminal output:

Code: Select all

======================================
======================================
======================================
FileIORequest::WaitForResult() Failed './t\0002' with 4
======================================File I/O: Could not find file './t\0002.sig'

============================================================================

XLib::XMLInputOpenCallback(): Failed to open the file: t/0002
======================================
======================================
Error parsing text file t/0002 with libxml2
======================================
======================================
GetTextPage() TextPageTable for page 102 not found!
======================================
'GeForce GTX 980 Ti' NVidia-driver v418.43.0 (Vulkan 1.1.95) check=1
'GeForce GTX 980 Ti' NVidia-driver v418.43.0 (Vulkan 1.1.95) check=1
<redacted>/steamapps/common/X4 Foundations/testandlaunch: line 14: 20792 Segmentation fault      (core dumped) ./X4 "$@" 2>&1
Game removed: AppID 392160 "", ProcID 20792
[2019-03-02 10:38:32] Startup - updater built Feb 28 2019 03:25:38
[2019-03-02 10:38:32] Opted in to client beta 'publicbeta' via beta file
You are in the 'publicbeta' client beta.
[2019-03-02 10:38:32] Verifying installation...
[2019-03-02 10:38:32] Verification complete
shadercachemanager/shadercachemanager.cpp (307) : Assertion Failed: nHitCount <= 1
shadercachemanager/shadercachemanager.cpp (307) : Assertion Failed: nHitCount <= 1
Installing breakpad exception handler for appid(steam)/version(1551490362)
crash_20190302103905_26.dmp[20890]: Uploading dump (out-of-process)
/tmp/dumps/crash_20190302103905_26.dmp
crash_20190302103905_26.dmp[20890]: Finished uploading minidump (out-of-process): success = yes
crash_20190302103905_26.dmp[20890]: response: CrashID=bp-6bd64a60-7349-4327-ab78-6f63d2190301
crash_20190302103905_26.dmp[20890]: file ''/tmp/dumps/crash_20190302103905_26.dmp'', upload yes: ''CrashID=bp-6bd64a60-7349-4327-ab78-6f63d2
190301''
https://dl.dropbox.com/s/vjgrj9e49n2cw8 ... 811_29.dmp
https://dl.dropbox.com/s/hv5pvrrj2zrda3 ... 905_26.dmp
Toidiboy
Posts: 11
Joined: Wed, 27. Feb 19, 17:49
x4

Re: Linux Support (Beta)

Post by Toidiboy »

ant1393 wrote: Sat, 2. Mar 19, 04:49

i do same with antimicro but it wont work as full gamepad support, like on windows, just cause the cursor is not activated by default...

you imagine on steam machine how that's too 'tricky' ?
I have noticed that the problem is not an 'activated' cursor, but that whenever you do 'any' mouse input the controller input is disabled. With a Steam controller it does't return when you stop the modifier (it does with xbox controller I tested). In order to get the steam controller to function as a pad I have to then press a keyboard bind on the controller such as 'T', which then allows it to be recognised as a controller again.

This might help to explain why the 'emulated mouse' options in the controller settings don't work, hence no cursor.
ant1393
Posts: 23
Joined: Mon, 10. Dec 18, 12:54
x4

Re: Linux Support (Beta)

Post by ant1393 »

Toidiboy wrote: Sat, 2. Mar 19, 13:01
ant1393 wrote: Sat, 2. Mar 19, 04:49

i do same with antimicro but it wont work as full gamepad support, like on windows, just cause the cursor is not activated by default...

you imagine on steam machine how that's too 'tricky' ?
I have noticed that the problem is not an 'activated' cursor, but that whenever you do 'any' mouse input the controller input is disabled. With a Steam controller it does't return when you stop the modifier (it does with xbox controller I tested). In order to get the steam controller to function as a pad I have to then press a keyboard bind on the controller such as 'T', which then allows it to be recognised as a controller again.

This might help to explain why the 'emulated mouse' options in the controller settings don't work, hence no cursor.
same issue on both xbox pad and steam controller, no cursor by default.
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 »

radcapricorn wrote: Sat, 2. Mar 19, 08:47 Sometimes the game crashes immediately after launch. The window doesn't even appear.

Terminal output:

Code: Select all

======================================
======================================
======================================
FileIORequest::WaitForResult() Failed './t\0002' with 4
======================================File I/O: Could not find file './t\0002.sig'

============================================================================

XLib::XMLInputOpenCallback(): Failed to open the file: t/0002
======================================
======================================
Error parsing text file t/0002 with libxml2
======================================
======================================
GetTextPage() TextPageTable for page 102 not found!
======================================
'GeForce GTX 980 Ti' NVidia-driver v418.43.0 (Vulkan 1.1.95) check=1
'GeForce GTX 980 Ti' NVidia-driver v418.43.0 (Vulkan 1.1.95) check=1
<redacted>/steamapps/common/X4 Foundations/testandlaunch: line 14: 20792 Segmentation fault      (core dumped) ./X4 "$@" 2>&1
Game removed: AppID 392160 "", ProcID 20792
[2019-03-02 10:38:32] Startup - updater built Feb 28 2019 03:25:38
[2019-03-02 10:38:32] Opted in to client beta 'publicbeta' via beta file
You are in the 'publicbeta' client beta.
[2019-03-02 10:38:32] Verifying installation...
[2019-03-02 10:38:32] Verification complete
shadercachemanager/shadercachemanager.cpp (307) : Assertion Failed: nHitCount <= 1
shadercachemanager/shadercachemanager.cpp (307) : Assertion Failed: nHitCount <= 1
Installing breakpad exception handler for appid(steam)/version(1551490362)
crash_20190302103905_26.dmp[20890]: Uploading dump (out-of-process)
/tmp/dumps/crash_20190302103905_26.dmp
crash_20190302103905_26.dmp[20890]: Finished uploading minidump (out-of-process): success = yes
crash_20190302103905_26.dmp[20890]: response: CrashID=bp-6bd64a60-7349-4327-ab78-6f63d2190301
crash_20190302103905_26.dmp[20890]: file ''/tmp/dumps/crash_20190302103905_26.dmp'', upload yes: ''CrashID=bp-6bd64a60-7349-4327-ab78-6f63d2
190301''
https://dl.dropbox.com/s/vjgrj9e49n2cw8 ... 811_29.dmp
https://dl.dropbox.com/s/hv5pvrrj2zrda3 ... 905_26.dmp
your drive is ext4 ? if no that' can be the pb : steam works well only with ext4 drives.
ubuntu 18.10 latest updates + nvidia-415 + pulseaudio + xbox one pad.

i7-2600k, gtx 970, 16 gb ram, focusrite saffire pro 24 soundcard, ssd.
piep
Posts: 307
Joined: Sat, 16. Nov 13, 17:37
x4

Re: Linux Support (Beta)

Post by piep »

Greetings Linux Community,

I just found out about Egosoft launching the X4:F beta for Linux and would be very interested in taking part in this phase of the game.
But before I get all excited, I gotta ask: is there a way to acquire and execute it (the binaries) without relying on Steam (legally ofc)?
_JD_
Posts: 137
Joined: Wed, 29. Oct 08, 15:05
x4

Re: Linux Support (Beta)

Post by _JD_ »

piep wrote: Sat, 2. Mar 19, 13:56 is there a way to acquire and execute it (the binaries) without relying on Steam (legally ofc)?
Not that I know:
CBJ wrote: Tue, 26. Feb 19, 17:00 The final Linux version will also be released on GOG, but we will not be making Beta versions available there for Linux.
_JD_
Posts: 137
Joined: Wed, 29. Oct 08, 15:05
x4

Re: Linux Support (Beta)

Post by _JD_ »

_JD_ wrote: Thu, 28. Feb 19, 22:11 I encountered a really annoying issue: the joystick deadzone is not working at all. I tried with both a Logitech Force 3d Pro and X52 Pro [...]
_JD_ wrote: Fri, 1. Mar 19, 16:33 Ok, I did some more tests and it seems a Linux related issue: I rebooted on Windows 10, installed X4 and tested the X52 Pro and the deadzone slider is correctly working: I was able to feel a huge difference going from 25% to 0%.
cicero111 wrote: Fri, 1. Mar 19, 02:07 Same issue as _JD_ mentioned with setting 0 deadzone. Reducing does have some effect for me but setting 0 would compare to about 10 in the windows version I guess.
9000 wrote: Fri, 1. Mar 19, 18:46 I can confirm that issue using a T.16000M. Fighting against S/M-Ships is now a lot more... thrilling :wink:
So, for the people playing with a Joystick/HOTAS: is the deadzone setting working for you? And by working I mean that you get a huge difference setting it to 0% and to 25%.
Stumpftopf
Posts: 2
Joined: Thu, 28. Feb 19, 18:40

Re: Linux Support (Beta)

Post by Stumpftopf »

andrewpc wrote: Sat, 2. Mar 19, 07:54 Hi
hakzsam wrote: Fri, 1. Mar 19, 18:03 Hi there,

I'm one of the RADV developer.
I have just played the game a bit using latest llvm/mesa on my Vega 56, everything seems fine.

Can you explain how to reproduce the GPU hangs (ie. mesa/llvm versions, chip, steps) ?
Can you also explain how to reproduce "Graphical glitches on lockboxes and jumpgates on radv" ?

Thanks a lot, I would be glad to help.
I have a hard lock up - on openSUSE tumbleweed using 18.3.4 LLVM7.0.1 as well as tried LLVM8 and 19.1 on a vega 64. I can stop the hard lock up using RADV_TRACE=<file> and RADV_DEBUG=syncshaders,vmfaults,allbos see these posts
viewtopic.php?f=180&t=414524&start=30#p4848973
viewtopic.php?f=180&t=414524&start=45#p4849289
viewtopic.php?f=180&t=414524&start=60#p4849306
viewtopic.php?f=180&t=414524&start=60#p4849571
viewtopic.php?f=180&t=414524&start=90#p4850437

but I still get a segfault as it enters the menu. Interestingly nothing gets written into the trace file. Any further assistance or testing I can give please shout and I really hope you can help as I really wnat to get my hand on the game being a long term player since original X (I have the boxes and disk etc still for all versions.
Hi,
got the same too. Tried to do some trace logs but get no informations in my trace file. Also still an gpu hang.
But i use the Manjaro Linux. Kernel 4.20, Mesa 18.3 with LLVM7 on a Radeon R270X. Was thinking about to install mesa-git, but ifi it's not working on your system i'm sure it wont work in my one too.
radcapricorn
Moderator (English)
Moderator (English)
Posts: 3230
Joined: Mon, 14. Jul 08, 13:07
x4

Re: Linux Support (Beta)

Post by radcapricorn »

Brianetta wrote: Wed, 27. Feb 19, 17:16 It seems that the Linux beta doesn't sign saved games as valid, and so it isn't really possible to test ventures.
I just sent a ship off on a venture.
Vampyr
Posts: 8
Joined: Wed, 5. Jan 05, 22:36
x4

Re: Linux Support (Beta)

Post by Vampyr »

I can also confirm that there are hardlocks with my Vega64 too after the egosoft logo in the the initial loading screen. Also with the already mentioned RADV settings it doesn't hardlock but just dies - still before seeing the menu. The music still plays in the background and the mouse is movable until I click something on my second monitor - then the mouse and everything freezes.
I really hope this will be fixed in the future as I will have no other possibility to play X4.

Code: Select all

$ uname -a
Linux vyrRechner 4.20.13-arch1-1-ARCH #1 SMP PREEMPT Wed Feb 27 19:10:28 UTC 2019 x86_64 GNU/Linux

Code: Select all

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

Vulkan Instance Version: 1.1.101
......
Presentable Surfaces:
=====================
GPU id       : 0 (AMD RADV VEGA10 (LLVM 7.0.1))
Surface type : VK_KHR_xcb_surface
......
Groups :
========
        Device Group Properties (Group 0) :
                physicalDeviceCount = 1

                        AMD RADV VEGA10 (LLVM 7.0.1) (ID: 0)

                subsetAllocation = 0

        Device Group Present Capabilities (Group 0) :

                AMD RADV VEGA10 (LLVM 7.0.1) (ID: 0)
                Can present images from the following devices:
                        AMD RADV VEGA10 (LLVM 7.0.1) (ID: 0)

                Present modes:
                        VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR
......
Device Properties and Extensions :
==================================
GPU0
VkPhysicalDeviceProperties:
===========================
        apiVersion     = 0x401046  (1.1.70)
        driverVersion  = 75509764 (0x4803004)
        vendorID       = 0x1002
        deviceID       = 0x687f
        deviceType     = DISCRETE_GPU
        deviceName     = AMD RADV VEGA10 (LLVM 7.0.1)
......

Code: Select all

Libraries:
local/linux 4.20.13.arch1-1
local/mesa 18.3.4-1
local/vulkan-radeon 18.3.4-1
local/llvm 7.0.1-2

Code: Select all

[0302/160031.275078:INFO:crash_reporting.cc(265)] Crash reporting enabled for process: renderer
Installing breakpad exception handler for appid(steam)/version(1551490362)
GameAction [AppID 392160, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 392160, ActionID 1] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 392160, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 392160, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 392160, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 392160, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask for AppId 392160: 0
Game update: AppID 392160 "", ProcID 3035, IP 0.0.0.0:0
>>> Adding process 3035 for game ID 392160
GameAction [AppID 392160, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 392160, ActionID 1] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/home/marcel/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/marcel/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 3036 for game ID 392160
>>> Adding process 3037 for game ID 392160
ERROR: ld.so: object '/home/marcel/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/marcel/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 3038 for game ID 392160
>>> Adding process 3039 for game ID 392160
Elephant Memory Manager Initialized with 0MB
Elephant Memory Manager Name And Callstack Base Address is 0x19aaba3
Elephant Memory Manager Mode: Resizable Mode, Has small heap: No, 64bit, Version: 1.7.3
Heap Resize Generic 0x0x7f519cf08000 to 0x0x7f51a6f07fc0
>>> Adding process 3040 for game ID 392160
>>> Adding process 3041 for game ID 392160
>>> Adding process 3042 for game ID 392160
>>> Adding process 3043 for game ID 392160
>>> Adding process 3044 for game ID 392160
>>> Adding process 3045 for game ID 392160
JS method call SharedConnection.SendMsgAndAwaitResponse with 3 arguments
Game update: AppID 392160 "", ProcID 3045, IP 0.0.0.0:0
Setting breakpad minidump AppID = 392160
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197966764399 [API loaded no]
======================================
Failed opening log file: '/home/marcel/x4_debug.log' - No such file or directory
======================================
======================================
File I/O: Could not find file './etc\xml\catalog'
======================================
======================================
======================================
File I/O: Could not find file './etc\xml\catalog.sig'
======================================
FileIORequest::WaitForResult() Failed './etc\xml\catalog' with 4
======================================
======================================
XLib::XMLInputOpenCallback(): Failed to open the file: etc/xml/catalog
======================================
======================================
File I/O: Could not find file './t\0002'
======================================
======================================
======================================
FileIORequest::WaitForResult() Failed './t\0002' with 4
File I/O: Could not find file './t\0002.sig'
======================================
======================================
======================================
XLib::XMLInputOpenCallback(): Failed to open the file: t/0002
======================================
======================================
Error parsing text file t/0002 with libxml2
======================================
======================================
GetTextPage() TextPageTable for page 102 not found!
======================================
'AMD RADV VEGA10 (LLVM 7.0.1)' AMD-driver v18.3.4 (Vulkan 1.1.70) check=1
Installing breakpad exception handler for appid(gameoverlayui)/version(20190228032548)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0302/160149.817341:INFO:crash_reporting.cc(265)] Crash reporting enabled for process: renderer
Ein Nichts im Nichts und ins Nichts vertrieben!
- Ren Dhark
ant1393
Posts: 23
Joined: Mon, 10. Dec 18, 12:54
x4

Re: Linux Support (Beta)

Post by ant1393 »

radcapricorn wrote: Sat, 2. Mar 19, 16:22
Brianetta wrote: Wed, 27. Feb 19, 17:16 It seems that the Linux beta doesn't sign saved games as valid, and so it isn't really possible to test ventures.
I just sent a ship off on a venture.
venture works : if you mod'ed the game, your save have definitly status "modified" and you can't venture online.
ubuntu 18.10 latest updates + nvidia-415 + pulseaudio + xbox one pad.

i7-2600k, gtx 970, 16 gb ram, focusrite saffire pro 24 soundcard, ssd.
User avatar
Knossos
Posts: 56
Joined: Tue, 1. Jun 04, 19:47
x4

Re: Linux Support (Beta)

Post by Knossos »

I have this error:

Code: Select all

X4 encountered a serious error: 212

If you get redirected to a webpage, please follow the instructions pointed out there. Otherwise, contact EGOSOFT GmbH support.

Error: Failed to get the physical device count - Vulkan error code: -3
Any tips to get past it? (do I need to do anything special to download the Linux beta? I previously installed X4 on Steam to see whether their Proton system worked with X4. I reinstalled, with the same error. Can I check the build number of the game somewhere?)
Android Software Engineer
Try my hands-free notification reader for your car.
radcapricorn
Moderator (English)
Moderator (English)
Posts: 3230
Joined: Mon, 14. Jul 08, 13:07
x4

Re: Linux Support (Beta)

Post by radcapricorn »

Knossos wrote: Sat, 2. Mar 19, 16:57 do I need to do anything special to download the Linux beta? I previously installed X4 on Steam to see whether their Proton system worked with X4.
Check that you indeed have the Linux version installed. In the game's directory you should have, among others, these files:

Code: Select all

testandlaunch
testcommon
testfailed
test_txc
test_X4
X4
There should be no .exe files in there.
User avatar
Byter
Posts: 28
Joined: Mon, 9. Sep 13, 16:52
x4

Re: Linux Support (Beta)

Post by Byter »

equeim wrote: Fri, 1. Mar 19, 10:47
Byter wrote: Thu, 28. Feb 19, 16:17 I installed the AMDVLK package (version 2.63.1120.g81fd878-1) but really have no idea what it does. I would highly appreciate help in that regard.
Also, if it is fixed in LLVM 8.x and mesa 19.x, I'll wait and not install mesa-git for example. I waited for X4 since its release. I can wait a bit longer. I'm just happy that all my Linux brethren are able to play :)
You can use differrent Vulkan driver by changing VK_ICD_FILENAMES environment variable. Go to /usr/share/vulkan/icd.d directory, there should several json files, notabl radeon_icd.x86_64.json and amd_icd.x86_64.json. Their names may slightly differ on different distros, but the one with "radeon" is Mesa's RADV and one with "amd" is AMDVLK. In order to use AMDVLK with X4 you need to edit command line parameters in the game's properties dialog in Steam and put following there:

Code: Select all

VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/<AMDVLK's json file>" %command%
With my RX 580 AMDVLK offered better performance than RADV.
THANK YOU SO MUCH.

I am now running the game with

Code: Select all

VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/amd_icd64.json" %command% -skipintro -logfile debug.log
And it worked. No hangs, nothing. Thank you everyone who helped me with this!
User avatar
Knossos
Posts: 56
Joined: Tue, 1. Jun 04, 19:47
x4

Re: Linux Support (Beta)

Post by Knossos »

radcapricorn wrote: Sat, 2. Mar 19, 17:04
Knossos wrote: Sat, 2. Mar 19, 16:57 do I need to do anything special to download the Linux beta? I previously installed X4 on Steam to see whether their Proton system worked with X4.
Check that you indeed have the Linux version installed. In the game's directory you should have, among others, these files:

Code: Select all

testandlaunch
testcommon
testfailed
test_txc
test_X4
X4
There should be no .exe files in there.
Looks to be the Linux version. Those files exist. No exe files.

Looking at the X4 binary file there exists "/lib64/ld-linux-x86-64.so.2" inside it.

version.dat = 200
Android Software Engineer
Try my hands-free notification reader for your car.

Return to “X4: Foundations - Technical Support”