Linux support thread

Ask here if you experience technical problems with X Rebirth.

Moderator: Moderators for English X Forum

Post Reply
memtha
Posts: 9
Joined: Wed, 5. Dec 18, 23:37
x4

Re: Linux support thread

Post by memtha »

Crashs on startup after a clean install.
Screenshot and details on the rebirth reddit.
https://www.reddit.com/r/XRebirth/comme ... nce_after/

This is primarily for informational purposes. After the horrible time I had last time I tried to play if (technically functional but very buggy) shortly after release, and considering recent reviews are still largely bad, I am not willing to put much effort into making it work. You should patch it, and I'll check back at some future timem to see if it begins working.
Alan Phipps
Moderator (English)
Moderator (English)
Posts: 31200
Joined: Fri, 16. Apr 04, 19:21
x4

Re: Linux support thread

Post by Alan Phipps »

@ memtha: Well as you can see above in this thread and elsewhere in the forums, others on Linux are indeed playing X Rebirth (not that I am saying it is free of all in-game issues, but it plays) and so you may need to look closer to home for the issue. I would start by verifying your game installation.
A dog has a master; a cat has domestic staff.
memtha
Posts: 9
Joined: Wed, 5. Dec 18, 23:37
x4

Re: Linux support thread

Post by memtha »

@Alan Phipps. I am not an idiot. I ran through the usual steps, even reinstalling. I am also an independent game developer, so the error being "EOF inside comment" tells me the shader has an intrinsic bug, or else a compatibility issue with the os or driver (because perhaps ending the file mid-comment is allowed by some other driver). I most definitely am not going to be installing a bunch of different os and driver versions to try to find a combo that works for this half-baked garbage game. I'm playing x4.

If you/egosoft cares about compatibility for what now must be a legacy product, they will try to replicate the error by testing it on xubuntu 20.04.3 lts. I will not put any additional effort into it until I see that you have at least tried to reproduce it.
Alan Phipps
Moderator (English)
Moderator (English)
Posts: 31200
Joined: Fri, 16. Apr 04, 19:21
x4

Re: Linux support thread

Post by Alan Phipps »

Ah well, I took your undetailed statement 'I am not willing to put much effort into making it work." at your word. As far as I know you are the only one reporting this issue so far, but I could be wrong. I am a player/volunteer moderator and not an Egosoft dev, so trying to reproduce it in an OS I don't have is beyond me. :wink:
A dog has a master; a cat has domestic staff.
memtha
Posts: 9
Joined: Wed, 5. Dec 18, 23:37
x4

Re: Linux support thread

Post by memtha »

@Alan Phipps another redditor, who obviously cares more about rebirth than I do, sent me a link to another forum where others have reported the same problem, and have posted the code diff that patches the shader.

https://bbs.archlinux.org/viewtopic.php?id=258020

> Apparently, the compiler from the latest drivers is no longer condescending to such errors.

Yeah that's not the oses fault, and "upgrading" to a os that includes a driver that tolerates blatant shader code errors is not the answer.

Which brings me back to the original point of my post: the error message requested that I report the problem to egosoft. Not only am I reporting the problem, but providing the patch (credit to hhrhhr) that egosoft could release, to make the game work on the lts version without relying on drivers that allow obviously flawed shader code. Since the issue tracking tool (that is linked by the first post of this thread) apparently no longer accepts anonymous reports, nor allows account creation without invitation, this forum is the best I can do. Hopefully you have some level of contact with egosoft to relay the community-provided fix for their product, or else they are watching this forum for themselves.

For the record, I am not wasting any further time on this issue, nor am I re-downloading rebirth to try this fix. I am trying to play a game, not provide egosoft with free labour in fixing their product.
Unbekanntes Feindschiff
Posts: 654
Joined: Wed, 4. Feb 09, 17:30
x4

Re: Linux support thread

Post by Unbekanntes Feindschiff »

Alan Phipps wrote: Mon, 21. Feb 22, 21:28 As far as I know you are the only one reporting this issue so far, but I could be wrong
This affects everyone using a 600 series or newer nvidia GPU on Linux(sorry, just discovered the thread as I don't frequent the XR forums). nVidia's shader compiler became more strict over time and this issue is obviously just a typo which older versions of the shader compiler let slip which is why nobody noticed until nvidia got more strict,(pre-600 series gpus are only supported by a driver package where the shader compiler is still more lenient). It's just that there are very few people still playing Rebirth while using this forum.
HGN
Alan Phipps
Moderator (English)
Moderator (English)
Posts: 31200
Joined: Fri, 16. Apr 04, 19:21
x4

Re: Linux support thread

Post by Alan Phipps »

Thanks. The devs have acknowledged the issue and will seek to correct it in any future XR update or hotfix.
A dog has a master; a cat has domestic staff.
lahtis
Posts: 4
Joined: Mon, 7. Mar 22, 15:23

Re: Linux support thread

Post by lahtis »

If the X rebirth demo version doesn't work then you can even expect it from the purchase version. How to get shaders working.

Demo version.

A fatal error has occurred and X cannot recover:
Shader::Compile(tag.f) '0(610) : error C0151: EOF inside comment'
Version: 4.00 - Code revision: 208346
Please inform EGOSOFT GmbH technical support.

Using Ubuntu 18.04.6 LTS Nvidia GTX 770, 470.103.01 drivers. 8 gb ram (8 gb swap)
by the way: X4 foundation 4.20 version working, it has some bugs. But working.

test log say ERROR: ld.so: object '~/.steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
CBJ
EGOSOFT
EGOSOFT
Posts: 53046
Joined: Tue, 29. Apr 03, 00:56
x4

Re: Linux support thread

Post by CBJ »

lahtis wrote: Mon, 7. Mar 22, 17:33 Shader::Compile(tag.f) '0(610) : error C0151: EOF inside comment'
This suggests an incomplete file. Please try a full file verification.
Grundik
Posts: 1
Joined: Sun, 7. Aug 22, 17:10
x4

Re: Linux support thread

Post by Grundik »

CBJ wrote: Fri, 18. Mar 22, 10:36
lahtis wrote: Mon, 7. Mar 22, 17:33 Shader::Compile(tag.f) '0(610) : error C0151: EOF inside comment'
This suggests an incomplete file. Please try a full file verification.
Two years have passed, and this bug is still there. No, thats not an incomplete file: its an error in shader file: viewtopic.php?p=4979651#p4979651. There are even a patch in subsequent comments.
User avatar
beko
Posts: 68
Joined: Thu, 11. Jun 20, 21:14
x4

Re: Linux support thread

Post by beko »

I only noticed it yesterday for the Steam version: My joysticks didn't show up any more. It worked just fine before and I still have a valid keymapping config from the last time.

I disabled Steam Controllers (Input) for this game via override and all started showing up again. I guess Steam made a virtual gamepad out of it (AGAIN :evil: ) hiding the real thing resulting in zero found joysticks.

Note: "Real" joysticks as in with plenty of buttons, not gamepad controllers or something.
Uraael
Posts: 2
Joined: Sun, 5. Apr 20, 17:36
x4

Re: Linux support thread

Post by Uraael »

Grundik wrote: Tue, 13. Sep 22, 13:02
CBJ wrote: Fri, 18. Mar 22, 10:36
lahtis wrote: Mon, 7. Mar 22, 17:33 Shader::Compile(tag.f) '0(610) : error C0151: EOF inside comment'
This suggests an incomplete file. Please try a full file verification.
Two years have passed, and this bug is still there. No, thats not an incomplete file: its an error in shader file: viewtopic.php?p=4979651#p4979651. There are even a patch in subsequent comments.

Hi folks.

ANOTHER two years have passed. Just popping back in 2024 to say I've just encountered this exact issue, the boot crash and the alarmingly ugly error message, that amending shader file common.fh in the solution linked above has totally resolved. You need to snip out literally four characters in that file for the game to work normally again.

This tiny fix should have been done four years ago according to the age of the link above and the ProtonDB reports. Egosoft do look after their older games very well but letting this issue lie for so long threatens to tarnish that very hard-earned reputation.
Post Reply

Return to “X Rebirth - Technical Support”