Linux support thread

Ask here if you experience technical problems with X Rebirth.

Moderator: Moderators for English X Forum

Post Reply
User avatar
ezra-r
Posts: 3420
Joined: Fri, 14. Oct 05, 21:04
x4

Post by ezra-r » Fri, 8. Dec 17, 14:24

lately my mouse is detected like a joystick or similar under Linux

In the menu when I click mouse pointer dissapears.

In the game when I click ship stops.

Not sure how to handle this.

Btw, my mouse:
Corsair M65 RGB Gaming Mouse

-----------

Edit:

Ok , my system detects the mouse as a joystick not just a mouse, if I rm the devices that refer it by joystick under /dev, the game behaves correctly and uses it as a normal mouse.

/dev/input/by-id:
lrwxrwxrwx 1 root root 10 dic 8 18:04 usb-Corsair_Corsair_M65_RGB_Gaming_Mouse_0D00502EAE3D8C6953998B42F5001943-if01-event-joystick -> ../event11
lrwxrwxrwx 1 root root 6 dic 8 18:04 usb-Corsair_Corsair_M65_RGB_Gaming_Mouse_0D00502EAE3D8C6953998B42F5001943-if01-joystick -> ../js0

/dev/input/by-path:
lrwxrwxrwx 1 root root 10 dic 8 18:04 pci-0000:00:1d.0-usb-0:1.6:1.1-event-joystick -> ../event11
lrwxrwxrwx 1 root root 6 dic 8 18:04 pci-0000:00:1d.0-usb-0:1.6:1.1-joystick -> ../js0

I'm trying to diasble these atuomatically through udev but probably I'm doing something wrong, will update when I manage to set things right.

-- So far the only working method that allows me to use the mouse and make Rebirth not detect it as a joystick is deleting the deteced devices manually

rm /dev/input/js0
rm /dev/input/event11

If I try to delete event11 through udev mouse does not work at all under linux, so that's what I'm doing for now.

User avatar
ezra-r
Posts: 3420
Joined: Fri, 14. Oct 05, 21:04
x4

Post by ezra-r » Sun, 10. Dec 17, 15:41

I want to send my congrats to @timon37 and/or any other Egosoft devs working in the Linux port.

It works like a charm, long range scanner sounds alright now too!

reteo
Posts: 4
Joined: Wed, 15. Jun 16, 19:26
x4

X Rebirth refuses to let the mouse go

Post by reteo » Sun, 1. Apr 18, 00:59

When I attempt to play X Rebirth (4.30, Linux version, downloaded from GOG, windowed), I find that no matter what I do, the game won't release the mouse. This is particularly frustrating, since I keep a text editor in the second monitor to keep notes as I play (most games)... and, of course, I will occasionally consult the oracle of Google to find answers to all my spacefaring questions. You know how it goes.

What makes this more frustrating is that "confine mouse to window" is set to "off." I'm not sure what is causing this, so if anyone has resolved this issue, I'd appreciate some help.

User avatar
alexalsp
Posts: 1819
Joined: Fri, 18. Jul 14, 05:28
x4

Re: Linux support thread

Post by alexalsp » Wed, 12. Dec 18, 15:05

Please tell me if there is a nosteam for the linux version of the game. Under the link here, exe is skipped only.

https://www.egosoft.com/support/faq/faq ... &version=0

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

Re: Linux support thread

Post by radcapricorn » Thu, 27. Dec 18, 06:15

alexalsp wrote:
Wed, 12. Dec 18, 15:05
Please tell me if there is a nosteam for the linux version of the game...
Насколько я знаю, его так и не выпустили. Что есть странно, ведь сделали же GOG версию.

AFAIK, none was ever released. Which is weird considering there's a GOG version.

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

Re: Linux support thread

Post by CBJ » Wed, 2. Jan 19, 18:25

There being a GOG version doesn't really come into the equation as that's not the same as a NoSteam build (due mainly to Galaxy integration). And no, there isn't a Linux NoSteam version, mainly because the demand for it (this being the first time I've seen it requested!) has never really justified the additional work that would be required each time a build was created.

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

Re: Linux support thread

Post by radcapricorn » Wed, 2. Jan 19, 18:49

CBJ wrote:
Wed, 2. Jan 19, 18:25
And no, there isn't a Linux NoSteam version, mainly because the demand for it (this being the first time I've seen it requested!) has never really justified the additional work that would be required each time a build was created.
I can't really agree with that. The lack of explicit "demand" isn't indicative of the situation in this case. Linux X3s all work with and without a Steam connection. Personally, I just assumed same would be true for Rebirth, and was surprised to find out it wasn't after noticing Alex's post (yup, the ol' "but it worked before!" attitude ;) ). Moreover, it stands to reason that between platforms, the game should still provide a common feature set, unless a particular platform technically prohibits implementation of a given feature, of course. At least, that's how I look at it.

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

Re: Linux support thread

Post by CBJ » Wed, 2. Jan 19, 19:00

Each different build requires extra work, and it requires that work every time a new version is created. Why would be do that if nobody has made us aware that they would even use it?

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

Re: Linux support thread

Post by radcapricorn » Wed, 2. Jan 19, 19:35

I believe I already answered that?
- why would anyone explicitly ask for a feature when they have no reason to believe that feature wouldn't make it otherwise? Previous games had it, Windows version got it, GoG version got it...
- why should a Linux/Mac build of the game not have the same features as a Windows build, or even a different Linux build, barring platform limitations?

I mean, when players ask for a NoSteam executable, they're not asking for a NoSteam Windows executable, they're asking for an executable that'd allow them to play the game without having to connect to Steam. As developers, you understand the difference, players don't necessarily. It's weird that you did the work to appeal to one category of players, but not the other, based on a technicality :(

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

Re: Linux support thread

Post by CBJ » Thu, 3. Jan 19, 15:28

And I believe I answered that too. Why would we do extra work, every time we did a build, for a tiny minority (people who want a NoSteam exe) of a tiny minority (Linux players) when we had no indication that the number of people in that group was non-zero?

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: 30299
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!

Post Reply

Return to “X Rebirth - Technical Support”