Linux support thread
Moderator: Moderators for English X Forum
Hey!
First of all, your Linux version runs great on my machine, thank you for that. I'm also very impressed by the amount of work you guys put into the game after the release to give it the look and feel it deserves.
However, I would like to see some graphics improvements. So far I am able to max everything out and the game runs very smoothly. The only thing I am missing on linux is the anti aliasing, because a lot of the very tiny objects/textures tend to flicker a lot when you rotate the screen. I'm playing in 1920x1080 and I guess a 4k monitor would do a lot, but that's nothing I'll buy anytime soon. Anti-Aliasing would be great to solve this, even if it's FXAA. I just don't want to be distracted when I look at the gorgeous space stations from a distance.
So, will this be a thing and when maybe?
greetings
First of all, your Linux version runs great on my machine, thank you for that. I'm also very impressed by the amount of work you guys put into the game after the release to give it the look and feel it deserves.
However, I would like to see some graphics improvements. So far I am able to max everything out and the game runs very smoothly. The only thing I am missing on linux is the anti aliasing, because a lot of the very tiny objects/textures tend to flicker a lot when you rotate the screen. I'm playing in 1920x1080 and I guess a 4k monitor would do a lot, but that's nothing I'll buy anytime soon. Anti-Aliasing would be great to solve this, even if it's FXAA. I just don't want to be distracted when I look at the gorgeous space stations from a distance.
So, will this be a thing and when maybe?
greetings
Missing libbz2.so.1 when doing ldd ./XRebirth only. Steam runtime has libbz2.so.1.0.4. ln -s that.dark7np wrote:What mesa version do you have? I'm running Arch, I'd be surprised if your mesa version is newer than mine (10.6.3). Generally, Steam brings it's own sets of libraries (Ubuntu ones) and set's the LD_LIBRARY_PATH accordingly. That sometimes causes issues due to incompatibilities with system ones. You'd have to check Fedory Steam docs for that, probably.
For me on Arch, I once had to remove some steam libs so that it used the system libraries instead of the older steam ones. I also had to install a number of 32 bit libraries - but that was not for X Rebirth, and I don't know if that applies here.
The segmentation fault is not really pointing at any missing things, though. You could try to check some things manually...
For me, things look as follows:
XRebirth directory for Steam:
cd ~/.local/share/Steam/steamapps/common/X\ Rebirth
export LD_LIBRARY_PATH=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/
./XRebirth
This seems to work (at least when steam is running). Note that I needed the export only for glew 1.10. You could see wether you can start the binary directly, and have a look at what's missing with ldd. Then maybe search for the missing lib in the steam folder, or do that export LD_LIBRARY_PATH if the directory layout is the same for you, see if that helps. Maybe check Fedory packages for missing libs.
My desktop has a nVidia Graphics, I could in theory see if I can run it on my laptop with the OSS radeon...
@timon37: That glew thing seems to be a bit strange though. The XRebirth binary seems to be build agains 1.10 (ldd...), but in your lib directory, you ship a glew lib, albeit version 1.12? Why is that?
Then when trying to launch the game - no launch options I get the red dialog with CORE PROFILE etc.[Deiu@deiu X Rebirth]$ rpm -qa | grep mesa
mesa-libgbm-10.6.3-1.20150729.fc22.i686
mesa-libgbm-10.6.3-1.20150729.fc22.x86_64
mesa-libEGL-10.6.3-1.20150729.fc22.x86_64
mesa-libxatracker-10.6.3-1.20150729.fc22.x86_64
mesa-libGLU-9.0.0-7.fc22.x86_64
mesa-filesystem-10.6.3-1.20150729.fc22.x86_64
mesa-libGL-10.6.3-1.20150729.fc22.x86_64
mesa-dri-drivers-10.6.3-1.20150729.fc22.i686
mesa-libglapi-10.6.3-1.20150729.fc22.x86_64
mesa-dri-drivers-10.6.3-1.20150729.fc22.x86_64
mesa-libwayland-egl-10.6.3-1.20150729.fc22.x86_64
mesa-filesystem-10.6.3-1.20150729.fc22.i686
mesa-libGLES-10.6.3-1.20150729.fc22.x86_64
mesa-libglapi-10.6.3-1.20150729.fc22.i686
mesa-libGL-10.6.3-1.20150729.fc22.i686
mesa-libEGL-10.6.3-1.20150729.fc22.i686
When adding MESA_GL_VERSION_OVERRIDE=3.3COMPAT %command% to launch options in Steam. The game doesn't start.
Yes, see my first post, there's a full log about it.
EDIT: So, after upgrading mesa to version 11-devel, the game started and is playable using the radeon OSS driver on my Radeon R9 280.
So that's nice.
Could be some other packages, will report back, with detailed info after I try doing it from scratch again.
Running without steam runtime, no MESA_GL override needed.
EDIT #2: Ok, so installing mesa* 11.devel packages from griever/mesa-git copr repo gets the game starting and working.
If anyone is using Fedora Workstation and having problems launching the game using the FOSS drivers, try adding the copr repo and do yum/dnf update to upgrade mesa version.
Otherwise use AMD's Catalyst driver.
EDIT: So, after upgrading mesa to version 11-devel, the game started and is playable using the radeon OSS driver on my Radeon R9 280.
So that's nice.
Could be some other packages, will report back, with detailed info after I try doing it from scratch again.
Running without steam runtime, no MESA_GL override needed.
EDIT #2: Ok, so installing mesa* 11.devel packages from griever/mesa-git copr repo gets the game starting and working.
If anyone is using Fedora Workstation and having problems launching the game using the FOSS drivers, try adding the copr repo and do yum/dnf update to upgrade mesa version.
Otherwise use AMD's Catalyst driver.
Hi, I'm back from my semi-vacation;p
Which tools are we talking about exactly? If I remember correctly there was some linux .cat/.dat manager? The workshoptool as far as I can see is just command line and quite small, though unfortunately it's written windowsish so it doesn't look like a trivial recompile.
But maybe it goes well with wine?
@skoam
AA is coming soon. FXAA I didn't look into yet, but it'll probably be easy to fix.
@sirdeiu
Hmm that log unfortunately doesn't tell me much, I'd need a backtrace or better the full coredump. Though since you managed to work around it by updating I'm tempted to ignore it, at least for now because there's a lot I have to catch up on.
Unfortunately my first thought was "what tools?" so that's a no.Phipsz wrote:@timon: as my question in the discussion about the rebirth tools never got answered I'll ask again here: will the rebirth tools be coming to linux as well? would be great to be able to upload mods to the steam workshop from linux. I don't care if it will take some time still for that, I just would like to know if that is planned at all
Which tools are we talking about exactly? If I remember correctly there was some linux .cat/.dat manager? The workshoptool as far as I can see is just command line and quite small, though unfortunately it's written windowsish so it doesn't look like a trivial recompile.
But maybe it goes well with wine?
@skoam
AA is coming soon. FXAA I didn't look into yet, but it'll probably be easy to fix.
@sirdeiu
Hmm that log unfortunately doesn't tell me much, I'd need a backtrace or better the full coredump. Though since you managed to work around it by updating I'm tempted to ignore it, at least for now because there's a lot I have to catch up on.
-
- Posts: 628
- Joined: Tue, 13. Apr 10, 20:03
This is what he was talking about: https://steamdb.info/app/282160/Unfortunately my first thought was "what tools?" so that's a no.
Which tools are we talking about exactly? If I remember correctly there was some linux .cat/.dat manager? The workshoptool as far as I can see is just command line and quite small, though unfortunately it's written windowsish so it doesn't look like a trivial recompile.
But maybe it goes well with wine?
I tried to use the X Rebirth tools with Wine. Works pretty nicely. It's a hassle to download though.
Maybe Egosoft can release the tools as Open Source? At least the ones that don't affect the Steam workshop, like the cat manager. (A man can dream )
exactly these tools, yes. the cat/dat manager and the workshoptool. those would be pretty cool to have, though a basic cat/dat extractor or packager should be possible with bash alone. the workshoptool would be nice too, as I have mods there which I would like to update - without having to use windows. as they are working with wine, maybe it would be possible to have a wrapped version uploaded? (I don't know if there may be licence issues though) but I dislike to install a second steam on linux in wine... if the tools are not to be ported it would be sad, because steam workshop will drop as upload, but at least there is still the option of other modsites.fallenwizard wrote:This is what he was talking about: https://steamdb.info/app/282160/Unfortunately my first thought was "what tools?" so that's a no.
Which tools are we talking about exactly? If I remember correctly there was some linux .cat/.dat manager? The workshoptool as far as I can see is just command line and quite small, though unfortunately it's written windowsish so it doesn't look like a trivial recompile.
But maybe it goes well with wine?
I tried to use the X Rebirth tools with Wine. Works pretty nicely. It's a hassle to download though.
Maybe Egosoft can release the tools as Open Source? At least the ones that don't affect the Steam workshop, like the cat manager. (A man can dream )
on another note: a week or so ago I played X:R a bit on linux and was quite happy to see how great it actually looks already! although I will for now continue to play on on windows because I personally can't play any X-Game without controller and/or joystick support, I look forward to doing so on linux, many thanks already for this port!
AgreeAgreeAgreePhipsz wrote:(...) because I personally can't play any X-Game without controller and/or joystick support(...)
It's not for pleasure that I run like a coward. Normally I make run anything like a coward... Without it, it's inverted world
We still don't know when it should come...
On se rend vers la connaissance avec circonspection.
c.a.d, avec un immense respect et la peur au ventre.
c.a.d, avec un immense respect et la peur au ventre.
Hi Timon
Today I figured that I was using 'Nouveau' Xorg drivers instead of nv-33x out...
I was sure that wasn't the case...
Even after a mere (positive)verify
I wonder if you expect improvements and/or which kind...
They(Xorg) are a step or two late wrt new materials but for oldies, that shall not change a lot. What do you think?
I run actually a GTX9800 on Ubuntu 14.04
( I think a will make a 3rd series of test with my unsupported 275...)
Today I figured that I was using 'Nouveau' Xorg drivers instead of nv-33x out...
I was sure that wasn't the case...
Even after a mere (positive)verify
Code: Select all
/usr/lib/nux/unity_support_test -p
They(Xorg) are a step or two late wrt new materials but for oldies, that shall not change a lot. What do you think?
I run actually a GTX9800 on Ubuntu 14.04
( I think a will make a 3rd series of test with my unsupported 275...)
On se rend vers la connaissance avec circonspection.
c.a.d, avec un immense respect et la peur au ventre.
c.a.d, avec un immense respect et la peur au ventre.
@Gligli
In general afaik Nouveau is a lot slower than the proprietary (evil) driver, and compatibility isn't particularly good either. Though it probably depends a lot on the exact gpu model.
Unfortunately I didn't have time to test how XR works with nouveau yet.
I do hope to do that at some point and if there are any issues maybe workaround them.
But honestly the intel driver takes priority and afaik it has issues currently.
In general afaik Nouveau is a lot slower than the proprietary (evil) driver, and compatibility isn't particularly good either. Though it probably depends a lot on the exact gpu model.
Unfortunately I didn't have time to test how XR works with nouveau yet.
I do hope to do that at some point and if there are any issues maybe workaround them.
But honestly the intel driver takes priority and afaik it has issues currently.
I hoped for a "not that lot" Thank you. You answered my questiontimon37 wrote:In general afaik Nouveau is a lot slower than the proprietary (evil) driver
Working? it does! afaik and atm (3.60), I didn't cross the way of an linux only related problem...timon37 wrote:Unfortunately I didn't have time to test how XR works with nouveau yet.
I'm quite sure that the actual linux product you provide is correctly took in charge by 'nouveau'. Or maybe in this "lot/not that lot" (through optimisation)timon37 wrote:I do hope to do that at some point and if there are any issues maybe workaround them.
Ah... and there, it seems that it was you who was hoping for a "not that lot"... Just kiddingtimon37 wrote:But honestly the intel driver takes priority and afaik it has issues currently.
---
I fell on this with big surprise:
https://help.ubuntu.com wrote: (...)
SLI / Multi-GPU on Ubuntu(and Linux in general)
NOTE: This was last tested with nVidia 343.13 drivers... despite these drivers adding support for the GTX Titan Z, a Multi-GPU videocard it still does not support SLI... so the GTX Titan Z is reduced to a single GTX Titan in Linux... same goes for other nVidia Multi-GPU cards such as the GTX 690. sad
For more information, please read SLI & Multi-GPU section of the ReadMe included with nVidia's drivers for Linux.
Current limitations (last tested on 343.22) on nVidia's drivers are as follows:
Linux only support SLI & Multi-GPU (Two-GPUs-on-one cards such as the GTX 690) can be enabled, but only via commant promts in the Terminal.
Only works on desktop platforms, SLI on mobile GPU's is unsupported.
Only ID Tech 4 Engine games are officially supported in SLI by creating an "Application Profile" with GLDoom3 set to "true". Games on ID Tech 4 engine includes Quake 4, Enemy Territory: Quake Wars, Doom 3, Prey and Open Source games on ID Tech 4 include The Dark Mod.
GPUs with ECC enabled may not be used in an SLI configuration.
SLI on Quadro-based graphics cards always requires a video bridge.
TwinView is also not supported with SLI or Multi-GPU. Only one display can be used when SLI or Multi-GPU is enabled, with the exception of Mosaic.
If X is configured to use multiple screens and screen 0 has SLI or Multi-GPU enabled, the other screens configured to use the nvidia driver will be disabled. Note that if SLI or Multi-GPU is enabled, the GPUs used by that configuration will be unavailable for single GPU rendering.
Alternate Frame Rendering (AFR) and Split Frame Rendering (SFR) are supported in Linux. AFR2 is not supported nor is it planned for Linux.
Alternate Frame Rendering (AFR) is supported. This SLI mode uses each card to render one frame then the next card renders the following. For example, in two-way AFR, GPU1 renders frames 1, 3, 5, etc. and GPU2 renders 2, 4, 6, etc. Outside of the ID Tech 4 engine Alternate Frame Rendering does not work on any card other than the first which causes framerates to drop by 50%. This is a known bug and nVidia are currently working on this issue.
SLI Profiles are NOT included with the drivers unlike the Windows version of the nVidia drivers. They must be manually created for ID Tech 4 Engine-based games. To learn how to make them yourself, please read the Creating Application Profiles section of this wiki page.
Split Frame Rendering (SFR) is also supported. This mode uses the first GPU to render the top half of the screen, and the second GPU to render the bottom half. This mode also does not function correctly outside of ID Tech 4. It will still render the full screen, but only at the speed of a single GPU.
Alternate Frame Rendering mode 2 (AFR2) is NOT supported in Linux. This mode is opposite of Alternate Frame rendering by instead using the last GPU as the primary, and every GPU above it as the next in line. For example, in three-way AFR2? GPU3 renders frames 1, 4, 7, etc. GPU2 renders frames 2, 5, 8, etc. and GPU1 renders frames 3, 6, 9, etc. In Windows, AFR2 is the preferred SLI mode as it tends to yeild higher performance over AFR. My theory is because GPU1 is the primary card for video out, it uses a different GPU for the primary calculations it better balances the work load. I have not seen any documentation as to the specific reason AFR2 performs better.(...)
On se rend vers la connaissance avec circonspection.
c.a.d, avec un immense respect et la peur au ventre.
c.a.d, avec un immense respect et la peur au ventre.
@timon37
But maybe it goes well with wine?
I tested X Rebirth Tools,for WineHQ...
- It requires native mfc100.dll.
- Drag-and-drop works (KDE).
Problems with unpacking,
It is necessary to select all files , specify the name of the folder to unpack.
No single file decompression.
But maybe it goes well with wine?
I tested X Rebirth Tools,for WineHQ...
- It requires native mfc100.dll.
- Drag-and-drop works (KDE).
Problems with unpacking,
It is necessary to select all files , specify the name of the folder to unpack.
No single file decompression.
IT-Service «Crimea-Karro» .
Ubuntu 14.04LTS, nvidia-340-updates (Ubuntu, Steam and X-Rebirth updated)
about 100h playtime (400h with XTC:)
I've been trying to launch X-Rebirth under Linux but only some kind of loading screen appeared then game crashed
This game worked fine before but I cannot specify when it broke (my last Linux save is from 14 march 2015)
and in system log (i've ben trying different SDL versions - from game, from steam and from base system - no change)
any ideas?
p.s. same effect with new nvidia drivers:
about 100h playtime (400h with XTC:)
I've been trying to launch X-Rebirth under Linux but only some kind of loading screen appeared then game crashed
This game worked fine before but I cannot specify when it broke (my last Linux save is from 14 march 2015)
Code: Select all
Game removed: AppID 2870 "X Rebirth", ProcID 2421
Game update: AppID 2870 "X Rebirth", ProcID 2456, IP 0.0.0.0:0
ERROR: ld.so: object '/home/nexus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/nexus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/nexus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 2460 != 2458, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/nexus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/nexus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Elephant Memory Manager Initialized with 0MB
Elephant Memory Manager Name And Callstack Base Address is 0x123e73b
Elephant Memory Manager Mode: Resizable Mode, Has small heap: No, 64bit, Version: 1.7.3
Heap Resize Generic 0x0x7f2668a77000 to 0x0x7f2672a76fc0
Setting breakpad minidump AppID = 2870
Steam_SetMinidumpSteamID: Caching Steam ID: 76561197978086703 [API loaded no]
Performance counter frequency: 1000.000000 MHz - Performance counter overflows in 106751 days
[...]
Create wh 1000 640
OpenGL-info
NVIDIA Corporation
NVS 3100M/PCIe/SSE2
3.3.0 NVIDIA 340.76
3.30 NVIDIA via Cg compiler
BE_UnitNum 32
[...]
Name shadergl\high_spec\xu_hologram compiled 1215
Name shadergl\high_spec\xu_hologram compiled 1218
Name shadergl\high_spec\xu_hologram compiled 1221
Name shadergl\high_spec\xu_hologram compiled 1224
/LINUX2/Steam/SteamApps/common/X Rebirth/testandlaunch: linia 32: 2465 Naruszenie ochrony pamięci ./$cmd "$@"
Game removed: AppID 2870 "X Rebirth", ProcID 2465
Code: Select all
[25326.382118] Rendering[1518]: segfault at 0 ip 00007fe64d4640a4 sp 00007ffdde39add8 error 4 in libSDL2-2.0.so.0[7fe64d3c6000+117000]
[25383.902243] Rendering[1864]: segfault at 0 ip 00007fc9f56fc0a4 sp 00007ffe941d59f8 error 4 in libSDL2-2.0.so.0[7fc9f565e000+117000]
[25803.545425] Rendering[2091]: segfault at 0 ip 00007f576f8330a4 sp 00007ffed94f8448 error 4 in libSDL2-2.0.so.0[7f576f795000+117000]
[25859.799733] Rendering[2124]: segfault at 0 ip 00007f11eae1a2b6 sp 00007ffe4e27f2d8 error 4 in libSDL2-2.0.so.0.2.1[7f11ead91000+f1000]
[26507.834291] Rendering[2262]: segfault at 0 ip 00007f2550f022b6 sp 00007ffde54f48e8 error 4 in libSDL2-2.0.so.0.2.1[7f2550e79000+f1000]
[26650.858820] Rendering[2421]: segfault at 0 ip 00007f6765f842f4 sp 00007ffe91d1f5b8 error 4 in libSDL2-2.0.so.0.2.0[7f6765ef9000+fa000]
[26750.845641] Rendering[2465]: segfault at 0 ip 00007f26c3d710a4 sp 00007ffcd5302d58 error 4 in libSDL2-2.0.so.0[7f26c3cd3000+117000]
p.s. same effect with new nvidia drivers:
Code: Select all
NVS 3100M/PCIe/SSE2
3.3.0 NVIDIA 340.93
So, there is hope for Intel driver? I tried the current update and it only displays the load screen and then crashes withtimon37 wrote: But honestly the intel driver takes priority and afaik it has issues currently.
kernel: [518039.990021] traps: Rendering[23332] general protection ip:11d3485 sp:7ffee1058640 error:0 in XRebirth[400000+165b000]
@Neksio
Hehe "naruszenie ochrony pamieci" brzmi grozniej niz "segmentation fault";)
I don't have any good ideas especially if you tried various libSDL. I'm running ubuntu 14.04 everyday here so it's a surprise that anything would go wrong.
First can you try windowed mode? Just edit "~/.config/EgoSoft/X Rebirth/config.xml" and set both fullscreen and borderless to false.
@kurush
Which cpu do you have exactly and which mesa version?
In the limited testing I had time to do, there's quite a few graphical glitches but no crashes.
Hehe "naruszenie ochrony pamieci" brzmi grozniej niz "segmentation fault";)
I don't have any good ideas especially if you tried various libSDL. I'm running ubuntu 14.04 everyday here so it's a surprise that anything would go wrong.
First can you try windowed mode? Just edit "~/.config/EgoSoft/X Rebirth/config.xml" and set both fullscreen and borderless to false.
@kurush
Which cpu do you have exactly and which mesa version?
In the limited testing I had time to do, there's quite a few graphical glitches but no crashes.
timon37 wrote: First can you try windowed mode? Just edit "~/.config/EgoSoft/X Rebirth/config.xml" and set both fullscreen and borderless to false.
Code: Select all
<fullscreen>false</fullscreen>
<borderless>false</borderless>
<res_width>1000</res_width>
<res_height>640</res_height>
some time ago XR was working fine in this computer.. (last save is from 14 march 2015) then something changed.. (kernel, libs, steam client, XR itself - no idea..)
UPDATE: I've just checked my other X Games
Gigabytes of download and:
X3: Reunion - works perfect
X3: Terran Conflict - works perfect
X3: Albion Prelude - works perfect
only X Rebirth don't start (only loading screen then crash)