Linux support thread

Ask here if you experience technical problems with X Rebirth.

Moderator: Moderators for English X Forum

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

Re: Linux support thread

Post by radcapricorn » Thu, 3. Jan 19, 20:54

I can't compute that. Why did you then make a Linux version for GoG? If there was no "demand" for running the game without Steam...

If you add a feature for one build, there has to be a reason to not add that feature to another build, besides "no one's asked for it".

We're going in circles. As it stands right now, having bought the game on Steam, and having spent about 300 hours beta-testing it (as Linux version was in beta for a long, long time), the only way for me to play without Steam would be to... buy again, on GoG, is that correct? And at the same time, a Windows player won't have to do that? Don't you think it's "a little bit" unfair?

flyerv
Posts: 1
Joined: Tue, 9. Jul 19, 16:02

X-REBIRTH linux, no sound

Post by flyerv » Tue, 9. Jul 19, 16:14

I click the 3 installers in order. I have the game running. I have 'Pulse Volume Audio Control' loaded. I had a similar problem with VLC media player. I just changed the output channel to the right device, config device - hdmi1 - monitor sound. Then switched the device on the running program.

I click on the desktop icon 'X Rebirth". Then I do alt-tab and Launch PAV.

I can't switch the device on the running program. PAV won't change it. There is no method to change the device within the app.

Need help. Thanks.

AR_Starfighter

Re: Linux support thread

Post by AR_Starfighter » Fri, 12. Jul 19, 06:05

Does does the GOG version require superuser mode?

(mojosetup:5139): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine", What needs to be installed?

EDIT: I found and installed the package that was needed.


FYI, I got the same no sound problem on linux.
Last edited by AR_Starfighter on Sat, 20. Jul 19, 06:35, edited 1 time in total.

Junaru
Posts: 3
Joined: Tue, 21. Nov 17, 17:26

Re: Linux support thread

Post by Junaru » Fri, 19. Jul 19, 21:09

Xbox 360 wireless controller no longer works. No buttons work neither in menus nor in game. It did work flawlessly a year or so ago on this exact same machine.

If you move your your mouse around so the cursors becomes visible and then press any button on the gamepad the cursor disappears, this leads me to believe the game does pickup the controller inputs but fails to do anything with them.

Game is vanilla with all mods disabled.

Tried forcing the game to use system SDL:

Code: Select all

X Rebirth $  mv lib/libSDL2-2.0.so.0 lib/libSDL2-2.0.so.0--
This didn't help.

Launching with --debugfile didn't produce anything interesting:

Code: Select all

Logfile started, time Fri Jul 19 21:43:22 2019
[General] 0.00 ======================================
[=ERROR=] 0.00 File I/O: Could not find file './etc\xml\catalog'
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 FileIORequest::WaitForResult() Failed './etc\xml\catalog' with 3
[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 ======================================
[=ERROR=] 0.00 FileIORequest::WaitForResult() Failed './t\0002' with 3
[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 [Movie.LoadFormat] File videos/logo_publisher.mkv: avformat_open_input = -2 'No such file or directory'
[General] 0.00 ======================================
Given the xml parsing errors tried using system libXML:

Code: Select all

 X Rebirth $ mv lib/libxml2.so.2 lib/libxml2.so.2-- 
This didn't help either.

Launched via Steam under Gnome session in X11 mode.
AMD RX580 with opensource AMDGPU driver under Archlinux.

Relevant package versions:

Code: Select all

$ pacman -Q|grep 'vulkan\|mesa\|linux\|xorg-server\|sdl\|input'

lib32-mesa 19.1.2-1
lib32-sdl 1.2.15-7
lib32-sdl2 2.0.9-1
lib32-sdl2_image 2.0.5-1
lib32-sdl2_mixer 2.0.4-1
lib32-sdl2_ttf 2.0.15-1
lib32-sdl_image 1.2.12-6
lib32-sdl_mixer 1.2.12-3
lib32-sdl_ttf 2.0.11-5
lib32-util-linux 2.34-1
lib32-vulkan-icd-loader 1.1.115-1
lib32-vulkan-radeon 19.1.2-1
libinput 1.13.4-1
linux 5.2.1.arch1-1
mesa 19.1.2-1
sdl 1.2.15-10
sdl2 2.0.9-1
sdl2_image 2.0.5-1
sdl2_mixer 2.0.4-3
sdl2_ttf 2.0.15-1
sdl_image 1.2.12-5
sdl_mixer 1.2.12-7
sdl_ttf 2.0.11-5
vulkan-extra-layers 1.1.97.0+10340+118b2f331-1
vulkan-headers 1:1.1.115-1
vulkan-html-docs 1:1.1.115-1
vulkan-icd-loader 1.1.115-1
vulkan-radeon 19.1.2-1
vulkan-trace 1.1.97.0+10340+118b2f331-1
vulkan-validation-layers 1.1.112-2
xf86-input-libinput 0.28.2-1
xorg-server 1.20.5-2
xorg-server-common 1.20.5-2
xorg-server-devel 1.20.5-2
xorg-server-xdmx 1.20.5-2
xorg-server-xephyr 1.20.5-2
xorg-server-xnest 1.20.5-2
xorg-server-xvfb 1.20.5-2
xorg-server-xwayland 1.20.5-2
Cheers,
Justin

Alan Phipps
Moderator (English)
Moderator (English)
Posts: 30367
Joined: Fri, 16. Apr 04, 19:21
x4

Re: Linux support thread

Post by Alan Phipps » Fri, 19. Jul 19, 22:18

"a year or so ago on this exact same machine." How exactly the same? There must have been device driver or OS updates in a year or so. Obviously something has changed since but the gamefiles were indeed last updated 18 months ago (v 4.30) that included:

• Improved input mapping options (NOTE: some input profiles, especially for joysticks, may need to be reset).
• Replaced gamepad controls menu with auto targeting menu..
A dog has a master; a cat has domestic staff.

AR_Starfighter

Linux support thread

Post by AR_Starfighter » Mon, 22. Jul 19, 05:54

I'm using 'OPENSUSE 15.1 - 64 bit'. I have all system requirements. Installed in normal user mode.

Code: Select all

sh x_rebirth_en_4_30_16978.sh
sh x_rebirth_teladi_outpost_dlc_en_gog_3_16977.sh
sh x_rebirth_home_of_light_dlc_en_gog_3_16977.sh
After running the first time, XR said it needed package 'murine'. I found and installed it. Now, get these errors. All the GFX work, but there is no sound.

It's mentioning that XR can't install folders and files to the home directory. The paths include '\n'. ??

Code: Select all

Running X: Rebirth
Language detected: English
mkdir: cannot create directory ‘/home/username\nGames\nRebirth’: Permission denied
mkdir: cannot create directory ‘/home/username\nGames\nRebirth’: Permission denied
mkdir: cannot create directory ‘/home/username\nGames\nRebirth’: Permission denied
mkdir: cannot create directory ‘/home/username\nGames\nRebirth’: Permission denied
mkdir: cannot create directory ‘/home/username\nGames\nRebirth’: Permission denied
mkdir: cannot create directory ‘/home/username\nGames\nRebirth’: Permission denied
ln: failed to create symbolic link '/home/username/GOG Games/X Rebirth/game/support/drdump/drdump.ini': No such file or directory
mkdir: cannot create directory ‘/home/username\nGames\nRebirth’: Permission denied
mkdir: cannot create directory ‘/home/username\nGames\nRebirth’: Permission denied
mkdir: cannot create directory ‘/home/username\nGames\nRebirth’: Permission denied
mkdir: cannot create directory ‘/home/username\nGames\nRebirth’: Permission denied
mkdir: cannot create directory ‘/home/username\nGames\nRebirth’: Permission denied
mkdir: cannot create directory ‘/home/username\nGames\nRebirth’: Permission denied
mkdir: cannot create directory ‘/home/username\nGames\nRebirth’: Permission denied
ln: failed to create symbolic link '/home/username/GOG Games/X Rebirth/game/support/drdump/drdump.ini': No such file or directory
mkdir: cannot create directory ‘/home/username\nGames\nRebirth’: Permission denied
Elephant Memory Manager Initialized with 0MB
Elephant Memory Manager Name And Callstack Base Address is 0x142a2b9
Elephant Memory Manager Mode: Resizable Mode, Has small heap: No, 64bit, Version: 1.7.3
Heap Resize Generic 0x0x7f231a163000 to 0x0x7f2324162fc0
======================================
File I/O: Could not find file './etc\xml\catalog'
======================================
======================================
FileIORequest::WaitForResult() Failed './etc\xml\catalog' with 3
======================================
======================================
XLib::XMLInputOpenCallback(): Failed to open the file: etc/xml/catalog
======================================
======================================
File I/O: Could not find file './etc\xml\catalog-d.xml'
======================================
======================================
FileIORequest::WaitForResult() Failed './etc\xml\catalog-d.xml' with 3
======================================
======================================
XLib::XMLInputOpenCallback(): Failed to open the file: etc/xml/catalog-d.xml
======================================
======================================
File I/O: Could not find file './etc\xml\suse-catalog.xml'
======================================
======================================
FileIORequest::WaitForResult() Failed './etc\xml\suse-catalog.xml' with 3
======================================
======================================
XLib::XMLInputOpenCallback(): Failed to open the file: etc/xml/suse-catalog.xml
======================================
======================================
File I/O: Could not find file './t\0002'
======================================
======================================
FileIORequest::WaitForResult() Failed './t\0002' with 3
======================================
======================================
XLib::XMLInputOpenCallback(): Failed to open the file: t/0002
======================================
======================================
Error parsing text file t/0002 with libxml2
======================================
======================================
[Movie.LoadFormat] File videos/logo_publisher.mkv: avformat_open_input = -2 'No such file or directory'
======================================

User avatar
Lander1979
Posts: 1017
Joined: Mon, 4. Aug 14, 05:18
x4

Re: Linux support thread

Post by Lander1979 » Wed, 20. Nov 19, 03:58

X:Rebirth BUG: Dual T.16000M Flightsticks Naming Conflict.
OS: Arch Linux
VN: Steam Native

The game will initially detect 2 flightsticks and place them on slots 1 and 2. If this slot arrangement is modified in any way one of the flightsticks vanishes from the config and becomes unusable, even though still featured in the dropdown list, attemting to assign either controller to any slot will remove all controllers from all other slots.

This is a minor bug as the default allows me to map both flightsticks and use them providing I never touch the slot assignment page. The problem is much more severe for me in X4 where the second stick is not detected at all.
0101...0011...0011...0101...2!

hhr
Posts: 61
Joined: Fri, 6. Oct 06, 15:18
x4

Re: Linux support thread

Post by hhr » Thu, 3. Sep 20, 15:38

Steam version, haven't launched it for a long time. But today I ran into an error:

Code: Select all

[=ERROR=] 0.00 FATAL ERROR (version 4.30 - Code revision: 254587): A fatal error has occurred and X cannot recover:
Shader::Compile(tag.f) '0(612) : error C0151: EOF inside comment
'

Version: 4.30 - Code revision: 254587

Please inform EGOSOFT GmbH technical support.

hhr
Posts: 61
Joined: Fri, 6. Oct 06, 15:18
x4

Re: Linux support thread

Post by hhr » Tue, 8. Sep 20, 14:42

So, I found an error in shaders:

Code: Select all

--- ./common.fh.orig
+++ ./common.fh

@@ -574 +574 @@
-       /*      OUT_COLOR.rgb *= 0.0001; OUT_COLOR.rgb += half3(specstr);/**/   \
+       /*      OUT_COLOR.rgb *= 0.0001; OUT_COLOR.rgb += half3(specstr);*/     \

@@ -622 +622 @@
-       /*      OUT_COLOR.rgb *= 0.0001; OUT_COLOR.rgb += LightColor.xyz/ 10;/**/       \
+       /*      OUT_COLOR.rgb *= 0.0001; OUT_COLOR.rgb += LightColor.xyz/ 10;*/ \
After this patch game started without CTDs.

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

Re: Linux support thread

Post by tero » Fri, 7. May 21, 20:04

hhr wrote:
Tue, 8. Sep 20, 14:42
After this patch game started without CTDs.
Thx for that. The game works after these changes.
Waat dat wat? Dat waat wat!

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

Re: Linux support thread

Post by memtha » Mon, 21. Feb 22, 16:57

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: 30367
Joined: Fri, 16. Apr 04, 19:21
x4

Re: Linux support thread

Post by Alan Phipps » Mon, 21. Feb 22, 19:34

@ 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 » Mon, 21. Feb 22, 20:38

@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: 30367
Joined: Fri, 16. Apr 04, 19:21
x4

Re: Linux support thread

Post by Alan Phipps » Mon, 21. Feb 22, 21:28

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 » Tue, 22. Feb 22, 21:52

@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 » Mon, 28. Feb 22, 18:07

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: 30367
Joined: Fri, 16. Apr 04, 19:21
x4

Re: Linux support thread

Post by Alan Phipps » Mon, 28. Feb 22, 18:38

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 » Mon, 7. Mar 22, 17:33

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: 51740
Joined: Tue, 29. Apr 03, 00:56
x4

Re: Linux support thread

Post by CBJ » 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.

Grundik
Posts: 1
Joined: Sun, 7. Aug 22, 17:10
x4

Re: Linux support thread

Post by Grundik » 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.

Post Reply

Return to “X Rebirth - Technical Support”