Linux Support (Beta)

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

Moderator: Moderators for English X Forum

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

Re: Linux Support (Beta)

Post by andrewpc » Sun, 5. May 19, 08:20

hakzsam wrote:
Tue, 23. Apr 19, 14:25
Found the root cause of the GPU hangs with RADV!

Some vertex shaders actually consume vertex attributes that are not provided by the pipeline. Per the Vulkan spec this is definitely invalid and it's undefined, and might hang...
After running the game with validation layers, I found this:

Code: Select all

Validation(ERROR): msg_code: 0:  [ UNASSIGNED-CoreValidation-Shader-InputNotProduced ] Object: 0x1 (Type = 15) | Vertex shader consumes input at location 5 but not provided
UNASSIGNED-CoreValidation-Shader-InputNotProduced(ERROR / SPEC): msgNum: 0 - Vertex shader consumes input at location 6 but not provided
I wrote a workaround for Mesa 19.0.x [1] which will be part of Mesa 19.0.3 hopefully.

I will report the problem to EGOSOFT.

[1] https://patchwork.freedesktop.org/patch ... 9824&rev=1
I can confirm that the game is running fine with the following versions without the need to turn off dcc and I no longer need to have either of the workarounds.

Code: Select all

 
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: Radeon RX Vega (VEGA10, DRM 3.27.0, 5.0.10-1-default, LLVM 8.0.0) (0x687f)
    Version: 19.1.0
Good catch on the root cause; a user program doing an illegal call shouldn't cause a GPU hang.

radcapricorn
Moderator (English)
Moderator (English)
Posts: 3230
Joined: Mon, 14. Jul 08, 13:07
x4

Re: Linux Support (Beta)

Post by radcapricorn » Fri, 17. May 19, 15:49

With latest updates (can't say which, I haven't played in a while, currently at 2.50b4), the crash-on-launch seems to have gotten much worse. Just now I had to click "Play" in Steam about 10 times before the game actually started.

Another issue I've noticed, if I cause a system overlay to appear while the game is loading, then the main menu will look like this. For example, I'm using Plasma, and have sound volume controls bound to mouse shift button + wheel. This causes a volume indicator to appear at the topmost level. If I use such shortcut while X4 is loading, the screen blinks, the indicator appears, and shortly after that - the empty menu.

radcapricorn
Moderator (English)
Moderator (English)
Posts: 3230
Joined: Mon, 14. Jul 08, 13:07
x4

Re: Linux Support (Beta)

Post by radcapricorn » Fri, 17. May 19, 16:42

...and these 3km distances are likely a result of an alt-tab :gruebel: (notice I've dropped a beacon nearby, which also happens to be ~3km away).

radcapricorn
Moderator (English)
Moderator (English)
Posts: 3230
Joined: Mon, 14. Jul 08, 13:07
x4

Re: Linux Support (Beta)

Post by radcapricorn » Mon, 20. May 19, 19:15

Does anyone encounter crashes in combat with 2.50 Beta 4?

steve_v
Posts: 164
Joined: Sun, 12. Jun 16, 08:39
x4

Re: Linux Support (Beta)

Post by steve_v » Sat, 25. May 19, 10:19

Awaiting removal of Steam requirement.

Forcing the use of a third-party DRM platform is simply not okay, I'd love to give you money and provide some useful feedback on the beta, but I'm not going to install Steam - ever.
Please push the linux builds to GOG or some other non-obnoxious distribution platform.

Rastuasi
Posts: 460
Joined: Mon, 1. Oct 18, 16:28
x4

Re: Linux Support (Beta)

Post by Rastuasi » Sat, 25. May 19, 14:54

steve_v wrote:
Sat, 25. May 19, 10:19
Awaiting removal of Steam requirement.

Forcing the use of a third-party DRM platform is simply not okay, I'd love to give you money and provide some useful feedback on the beta, but I'm not going to install Steam - ever.
Please push the linux builds to GOG or some other non-obnoxious distribution platform.
GOG is a new unvetted version of Steam. They're the same thing, only GOG has no proof of security and skill. Inaccurate argument.

Just say you don't want to install steam. I for one, don't trust GOG, all their certificates are expired.

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

Re: Linux Support (Beta)

Post by CBJ » Sat, 25. May 19, 16:30

Let's not start the Steam discussion all over again. If you don't want to use Steam then that's your choice, and the Linux version will be available on GOG when 2.50 is released, which is not far away now.

g04tn4d0
Posts: 2040
Joined: Mon, 26. Apr 04, 12:58
x4

Re: Linux Support (Beta)

Post by g04tn4d0 » Thu, 30. May 19, 06:10

CBJ wrote:
Sat, 25. May 19, 16:30
Let's not start the Steam discussion all over again. If you don't want to use Steam then that's your choice, and the Linux version will be available on GOG when 2.50 is released, which is not far away now.
I'm excited for the GOG version, as well!

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

Re: Linux Support (Beta)

Post by CBJ » Thu, 30. May 19, 09:37

Well it's out now, so you can try it.

radcapricorn
Moderator (English)
Moderator (English)
Posts: 3230
Joined: Mon, 14. Jul 08, 13:07
x4

Re: Linux Support (Beta)

Post by radcapricorn » Thu, 30. May 19, 11:13

CBJ wrote:
Thu, 30. May 19, 09:37
Well it's out now, so you can try it.
It doesn't look like GOG has updated the information. Looking at https://www.gog.com/game/x4_foundations, they still advertise only Windows support.

User avatar
xezwary
Posts: 1
Joined: Thu, 30. May 19, 11:33
x4

Re: Linux Support (Beta)

Post by xezwary » Thu, 30. May 19, 11:35

Still can't download the Linux version on GOG, is it gog.com taking their time?

omgoshlol
Posts: 6
Joined: Wed, 15. May 19, 23:43

Re: Linux Support (Beta)

Post by omgoshlol » Thu, 30. May 19, 17:21

Not sure if this has been reported but audio breaks when switching devices (onboard line out -> bluetooth). Pulseaudio. Game needs a reboot before audio starts working again.

strask412
Posts: 615
Joined: Thu, 29. Nov 07, 20:34
x4

Re: Linux Support (Beta)

Post by strask412 » Thu, 30. May 19, 17:34

omgoshlol wrote:
Thu, 30. May 19, 17:21
Not sure if this has been reported but audio breaks when switching devices (onboard line out -> bluetooth). Pulseaudio. Game needs a reboot before audio starts working again.
That is a known bug in the basic game: viewtopic.php?f=180&t=410609

Last word from Egosoft was essentially "we won't fix it, just don't switch audio devices while playing".
"If I were a shadowy nemesis that wanted to strike the Protectorate where it's weakest, Pioneers space is where I'd begin."
- Delilah Shiratori

strask412
Posts: 615
Joined: Thu, 29. Nov 07, 20:34
x4

Re: Linux Support (Beta)

Post by strask412 » Thu, 30. May 19, 17:41

xezwary wrote:
Thu, 30. May 19, 11:35
Still can't download the Linux version on GOG, is it gog.com taking their time?
I confirm that as of Thu May 30 15:40:50 UTC 2019, only Windows version is available at GoG. I tried logging out and back in again, all that stuff.
"If I were a shadowy nemesis that wanted to strike the Protectorate where it's weakest, Pioneers space is where I'd begin."
- Delilah Shiratori

omgoshlol
Posts: 6
Joined: Wed, 15. May 19, 23:43

Re: Linux Support (Beta)

Post by omgoshlol » Thu, 30. May 19, 18:33

strask412 wrote:
Thu, 30. May 19, 17:34
Last word from Egosoft was essentially "we won't fix it, just don't switch audio devices while playing".
That's rather irksome. My dev workstation + htpc + gaming is all done on one device (with long cables) so I switch audio/monitors frequently. I would consider it a bug as the audio doesn't work after switching back to the device used when starting the game

strask412
Posts: 615
Joined: Thu, 29. Nov 07, 20:34
x4

Re: Linux Support (Beta)

Post by strask412 » Thu, 30. May 19, 22:12

omgoshlol wrote:
Thu, 30. May 19, 18:33
That's rather irksome.
Agreed.
I would consider it a bug as the audio doesn't work after switching back to the device used when starting the game
Also agreed; as noted in that other thread, if I'm using my monitor's built-in speakers, and the monitor blanks to power save, the sound breaks until I restart X4. Or did, when I was running the windows version... haven't had a chance to try linux version yet as it's not (fully?) deployed at gog.

However: This isn't the thread for the audio issue, if further discussion on that is desired, let's take it to the bug report thread I linked above.
"If I were a shadowy nemesis that wanted to strike the Protectorate where it's weakest, Pioneers space is where I'd begin."
- Delilah Shiratori

KlausM
EGOSOFT
EGOSOFT
Posts: 639
Joined: Wed, 6. Nov 02, 20:31
x4

Re: Linux Support (Beta)

Post by KlausM » Fri, 31. May 19, 18:39

xezwary wrote:
Thu, 30. May 19, 11:35
Still can't download the Linux version on GOG, is it gog.com taking their time?
We're sorry for the delay. GOG is in the process of setting up the Linux version, and it looks like it will take a bit more time than expected.

steve_v
Posts: 164
Joined: Sun, 12. Jun 16, 08:39
x4

Re: Linux Support (Beta)

Post by steve_v » Fri, 31. May 19, 21:58

KlausM wrote:
Fri, 31. May 19, 18:39
We're sorry for the delay.
I for one appreciate the communication. :)
Thanks for the update, here's hoping GOG gets their end sorted out soon.

strask412
Posts: 615
Joined: Thu, 29. Nov 07, 20:34
x4

Re: Linux Support (Beta)

Post by strask412 » Fri, 31. May 19, 22:34

steve_v wrote:
Fri, 31. May 19, 21:58
KlausM wrote:
Fri, 31. May 19, 18:39
We're sorry for the delay.
I for one appreciate the communication. :)
Thanks for the update, here's hoping GOG gets their end sorted out soon.
+1, thanks for keeping us updated! :)
"If I were a shadowy nemesis that wanted to strike the Protectorate where it's weakest, Pioneers space is where I'd begin."
- Delilah Shiratori

KlausM
EGOSOFT
EGOSOFT
Posts: 639
Joined: Wed, 6. Nov 02, 20:31
x4

Re: Linux Support (Beta)

Post by KlausM » Mon, 3. Jun 19, 16:44

The Linux version is now available on GOG. :)

Post Reply

Return to “X4: Foundations - Technical Support”