Linux support thread

Ask here if you experience technical problems with X Rebirth.

Moderator: Moderators for English X Forum

Post Reply
timon37
EGOSOFT
EGOSOFT
Posts: 493
Joined: Fri, 14. Dec 12, 11:02
x4

Linux support thread

Post by timon37 »

Linux support thread

Please attach savegames for almost any issue, it'll help a lot. In case you can't or don't want to include it in the forum post, my email address is: tim13on ( on ) egosoft.com, of course remove the 13 and ( on ) is @ (hope not too many spam bots figure that out);p

If textures are broken (red green blue stripes):
You are running open-source drivers without support for texture compression.
If you have an AMD/ATI or NVIDIA graphics card you should install the proprietary drivers.
If you are running Intel graphics or wish to use open-source drivers you will have to install libtxc-dxtn.

Ubuntu: you should get a prompt to install the library, if not report a bug and either:
search for libtxc-dxtn-s2tc0 in the "ubuntu software center",
or open a terminal and type in: "sudo apt-get install libtxc-dxtn-s2tc0" when prompted enter your password and follow any later instructions
Mint/Debian: probably same as ubuntu (the terminal instructions)
Gentoo: "sudo emerge media-libs/libtxc_dxtn"

Generic information:

Cloud-sync between Windows and Linux is not supported.
Savegames are by default stored in a hidden folder ".config/EgoSoft/X Rebirth/save/" in your home directory as save_001.xml, save_002.xml etc.
Windows savegames should be two-way compatible, if there are any issues please report a bug.

System and driver compatibility:
There is and will only be a 64bit version on Linux.
Steam is required to run the game.
Currently we only support SteamOS and Ubuntu 14.04, however it's likely to run on any reasonably modern linux distribution.
Only proprietary drivers from nvidia and amd are officially supported, however we do hope to add support for open source drivers in the future.

Joystick/Controller setup:
Controllers:
If you have a relatively common xbox-like controller it should work fine out-of-the-box. Please report a bug if that's not the case.

Joysticks:
First go to Settings, Controls, Load Profile and select "Default - Joystick".
After that you will need to setup button mappings (mainly in Controls, Space), as the default will most likely not fit your joystick.
If the default axis configuration is incorrect you can remap them the same way as buttons.
To invert an axis search for "Invert Axes" in the Controls menu in the "Controller / Joystick" sub-section.

Known issues and missing features:
  • Weapon overheating may sometimes stop/block temporarily
  • Long game launch time (window/screen may be black during this so please give it a few minutes)
  • Transparency order issues for ice asteroids on amd-catalyst driver
  • Performance issues in asteroid fields
Bugreporting:

We now have a proper Bug Tracker, so feel free to report issues in it.

Please prefix each comment in the bug tracker with "<forum_name>:" so I can tell who's who (you can use a fake name if you want, just keep using it, even between different bugs because they can be related).
Please always post gpu & driver, preferably also cpu/ram, distro and version.

Please attach screenshots & savegames for almost any issue, it'll help a lot. In case you can't or don't want to include it in the forum post, my email address is: tim13on ( on ) egosoft.com, of course remove the 13 and ( on ) is @ (hope not too many spam bots figure that out);p

If you notice anything "pink/blue/green" the best thing to do is give us a screenshot & savegame.
If you notice something looking ugly it would help a lot if you can verify it's linux specific first, then give us a screenshot & savegame.

To get a debug game log (in desktop mode) please:
  • Completely close steam
  • Open a terminal/console
  • Type in: steam -console
  • Steam should now run and redirect all of its output to that terminal/console window.
  • Launch XRebirth from steam, you should get output from the game to that terminal window.
Build history:
General Release patch notes

2016-02-25 15:30 UTC - 4.00 208311 Build 50:
- fixed envmap orientation and filtering
- updated to SDL 2.0.4
- fixed "steam screenshot breaks cockpit instruments"

2016-01-15 15:00 UTC - 4.00 Build 31 (205888 beta):
- fixed "subtitles don't progress"
- fixed "text input doesn't block shortcuts"
- fixed "joystick buttons map to POV hat (and have weird numbering)"
- implemented low/medium quality shaders
- improved glow performance
- graphical quality fixes/improvements
- improved fullscreen and resolution changing

2015-11-03 15:15 UTC - 3.61 Build 19 (202267):
- joystick/controller support (see Joystick/Controller setup section above)
- implemented sound effects
- improved sound distance attenuation
- improved intel-gpu driver compatibility

2015-10-19 10:45 UTC - 3.61 Build 18 (200382) codename: Ooh, Shiny!
- implemented MSAA
- implemented FXAA (only high-quality)
- implemented post-effects: glow, ssao (only high-quality for now)
- implemented motion blur
- implemented build shader (station/ship building looks correct now)
- implemented particles shader (sparks/smoke on platforms)
- fixed and improved fill/outline rendering (station scan mode)
- fixed radar issues: white objects, missing highways
- fixed rectangles on new UI elements

2015-09-24 15:00 UTC - 3.61 Build 17 (200382):
- nothing linux specific

2015-09-18 14:45 UTC - 3.61 Build 16 (public beta rc3, 200202):
- nothing linux specific

2015-09-16 13:00 UTC - 3.61 Build 15 (public beta rc2, 200075):
- improved NPC performance (especially noticeable on stations)
- nothing linux specific

2015-07-29 11:00 UTC - 3.60 Build 14 (198327):
- nothing linux specific

2015-07-27 11:30 UTC - 3.60 Build 13 (public beta rc1, 198294):
- nothing linux specific

2015-07-21 11:10 UTC - 3.60 Build 12 (public beta 4, 198196):
- partially fixed distortion effect

2015-07-10 14:00 UTC - 3.60 Build 11 (public beta 3, 197837):
- nothing linux specific

2015-07-02 14:00 UTC - 3.60 Build 10 (public beta 2, 197519):
- nothing linux specific

2015-06-25 14:00 UTC - 3.60 Build 9 (public beta 1, 197172):
- fixed "Error 0x10005: Memory could not be found [...]"

2015-06-24 12:15 UTC - 3.60 Build 8 (public beta 1, 197172):
- removed incorrect outlines around objects in certain foggy sectors
- hotfixed "fails to start on some distros" at 15:00 UTC

2015-04-24 16:00 UTC - 3.53 Build 6:
- fixed text input (e.g. renaming ships)
- fixed mouse scroll wheel
- fixed nvidia 304 driver compatibility
- fixed small-talk UI scaling
- improved compatibility with foss drivers
- improved issues with memory-leaks and alt+tab in low-memory situations

2015-04-02 13:15 UTC - 3.53 Build 5:
- fixed player weapons overheating too fast
- fixed crash in TO dangerous regions
- fixed crash on start (related to the workshop)
- fixed TO station bushes
- partially fixed startup parameters (e.g. -skipintro should work now)

2015-03-21 12:15 UTC - Build 4 codename: Living up to status ALPHA
- hopefully fixed shaking ships (and potentialy a lot more)
- fixed crash on shutdown

2015-03-18 15:00 UTC - Build 3 codename: Snailing along
- added build number to the options/start menu (it's the last bit)
- fixed pink DeVries
- fixed endless magnet-sound
- fixed page up/down keys
- fixed brightness issues related to sRGB (there ma
- fixed "Error 0x10005: Memory could not be found [...]" y be more brightness issues please report if they're still there)
- fixed the broken-moon disappearing with shadows enabled (under certain specific conditions)
- better opengl error reporting
- disabled broken FXAA (you can still set it but it won't do anything)

2015-03-13 17:20 UTC - Build 2 codename: Pictures of bugs
- fixed screenshots
- fixed vsync

2015-03-12 17:00 UTC - Build 1 codename: That was quick
- fixed crash on launch (related to workshop)

2015-03-12 16:00 UTC - Build 0 codename: Brave new world
- The beginning of a wonderful adventure (you know it's an adventure when it's not quite enjoyable when it happens)
Last edited by timon37 on Thu, 25. Feb 16, 16:39, edited 41 times in total.
fallenwizard
Posts: 634
Joined: Tue, 13. Apr 10, 20:03
x4

Post by fallenwizard »

EDIT:
I put all the (unfixed) posts into the bugtracker.
Last edited by fallenwizard on Thu, 19. Mar 15, 16:01, edited 11 times in total.
pete910
Posts: 8
Joined: Sun, 10. May 09, 16:18

Post by pete910 »

Awesome news, been waiting for this day. :D

Running a 4790k + 290x . Will post update/report.
User avatar
edqe
Posts: 73
Joined: Tue, 19. Nov 13, 15:30

Post by edqe »

- When V-Sync switched off it makes screen/resolution very tiny. Screen is visible on lower left corner but it doesn't draw menus anymore. It is still rendering the game itself so it is not freezed.
- Small icons on stations are covered by white boxes for a short amount of time (blinks).

+ Loading times are much faster on SteamOS compared to Windows 8.1 (cold: ~20s vs ~30s, warm: less than 10s vs ~25s);

CPU: i7-2600K
GPU: NVIDIA GTX 750Ti
Memory: 16G DDR3
Hard disk: HDD
OS: SteamOS
Graphics settings: Ultra
AA: FXAA-high
Fullscreen mode (SteamOS doesn't support windowing)
timon37
EGOSOFT
EGOSOFT
Posts: 493
Joined: Fri, 14. Dec 12, 11:02
x4

Post by timon37 »

Thanks for quick feedback.

@fallenwizard regarding brightness, can you also check if enabling/disabling shadows makes a difference?

@edqe forgot to list it, VSync is not implemented atm, and by default off (even if the settings say it's on). Which makes the issue even more confusing... but I've got some ideas.

For other stuff mentioned: "acknowledged, will fix soon".
fallenwizard
Posts: 634
Joined: Tue, 13. Apr 10, 20:03
x4

Post by fallenwizard »

timon37 wrote:Thanks for quick feedback.

@fallenwizard regarding brightness, can you also check if enabling/disabling shadows makes a difference?

@edqe forgot to list it, VSync is not implemented atm, and by default off (even if the settings say it's on). Which makes the issue even more confusing... but I've got some ideas.

For other stuff mentioned: "acknowledged, will fix soon".
Brightness issue is still there after enabling/disabling shadows.

EDIT: I recorded a video
https://www.youtube.com/watch?v=MNLWbzKBaFk
pete910
Posts: 8
Joined: Sun, 10. May 09, 16:18

Post by pete910 »

To update mine:

Started campaign, Done first mission/story line.(Taken erm whats her face back to her ship/people)

Have set at ultra @ 1440p fps is 70-80 nice and smooth too.

Only thing I could actually pick fault with is it seems a bit bright. But not played it via windows so not sure. Will have to look at some vids to check. Did try a screen shot same as fallenwizard tried, didn't crash mine but only showed opening screen, not actual in game shot. Buffer read maybe?

But apart from that seems a solid port timon especially for and alpha build!

Will have a proper play through over weekend.

Specs.

Mageia 5 beta3 (64bit)
4790k
290x (14.12)
16GB ram
512 vertex 4 ssd


Pete.
edmondo
Posts: 14
Joined: Wed, 6. Nov 02, 20:31
x4

Post by edmondo »

Hey timon37, once again: IMPRESSIVE PORT!! Thanks! :)

Started it with the open source r600g mesa driver (Mesa 10.6.0-devel (git-1ca39ec)) and not only it works, it runs with 35-40 FPS!!! I'm impressed and speechless.

I started steam with following command:

Code: Select all

MESA_GL_VERSION_OVERRIDE=3.3COMPAT steam
fallenwizard
Posts: 634
Joined: Tue, 13. Apr 10, 20:03
x4

Post by fallenwizard »

Are the shaders supposed to be readable by everyone? The shadergl/shaders/ directory is full of them.
rboerdijk
EGOSOFT
EGOSOFT
Posts: 1702
Joined: Fri, 11. Jan 13, 14:26
x4

Post by rboerdijk »

fallenwizard wrote:Are the shaders supposed to be readable by everyone? The shadergl/shaders/ directory is full of them.
For the moment yes. We expect to work on them still a bit, and this way it's (slightly) easier to update. At one point we might put them in a package again, we'll see.
fallenwizard
Posts: 634
Joined: Tue, 13. Apr 10, 20:03
x4

Post by fallenwizard »

rboerdijk wrote:
fallenwizard wrote:Are the shaders supposed to be readable by everyone? The shadergl/shaders/ directory is full of them.
For the moment yes. We expect to work on them still a bit, and this way it's (slightly) easier to update. At one point we might put them in a package again, we'll see.
That's fine. I expected it to be a mistake because they are a part of the source code.

Since they are open already, maybe you can make them moddable in the future. If you take a look what people made with shaders in the TES games, I have high hopes for XR :)

Back to topic then.
xarses
Posts: 3
Joined: Sat, 17. Jan 04, 05:29
x4

Post by xarses »

Debian Sid

http://pasteboard.co/1LEYbu7E.png

Code: Select all

./XRebirth 
Elephant Memory Manager Initialized with 0MB
Elephant Memory Manager Name And Callstack Base Address is 0x123b0f1
Elephant Memory Manager Mode: Resizable Mode, Has small heap: No, 64bit, Version: 1.7.1
Heap Resize Generic 0x0x7fba32398000 to 0x0x7fba3c397fc0 freeusable 167772160
szCmd: /bin/sh -c '"/home/andreww/.local/share/Steam/steam.sh" "steam://run/2870"' &
Segmentation fault
andreww@aw-linux:~/SteamApps/X Rebirth$ Running Steam on debian 8 64-bit
STEAM_RUNTIME is enabled automatically
Video driver is nouveau
timon37
EGOSOFT
EGOSOFT
Posts: 493
Joined: Fri, 14. Dec 12, 11:02
x4

Post by timon37 »

@xarses if you run from the terminal like that what you see is normal.
So first close steam, then from terminal run "steam -console", then just run the game from steam and you should get a full log, just put the last 200 lines online and link it here.
Not being able to load that shader means we're using something that your driver doesn't support (probably GL_ARB_shading_language_420pack), or there's a syntax/semantic incompatibility.

Also I didn't test nouveau, but it's quite likely not to work, even with fairly new mesa. I do hope to properly support the open-source drivers (for now I just tried not to use too many extensions above 3.3) but for now there are more important priorities.
Last edited by timon37 on Fri, 13. Mar 15, 13:39, edited 1 time in total.
User avatar
YorrickVander
Posts: 2759
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

From a quick test last night, when scanning station icons, i see a white square for a fraction of a second as it changes from not scanned to scanned. This covers all icons, i, mission + docks.

i5 2500k, geforce 550ti 24gb ram, mint 17.1 fully updated, current binary gfx drivers.

EDIT : Btw the linux loading screen is much cooler then the current windows one. Copy it over?
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
hhr
Posts: 61
Joined: Fri, 6. Oct 06, 15:18
x4

Post by hhr »

- I can not turn on the V-Sync option, the menu stated that ON, but the FPS counter in the Steam overlay shows 200-300.
- not working command line option, etc -language, have to change the file lang.dat. I play with the German voice acting and Russian subtitles:

Code: Select all

-skipintro -language 7 -voicelanguage 49
-skipintro also don't skip starting video.
- launched a campaign from the beginning. phrases in the dialogues have very large and noticeable pause.
Last edited by hhr on Sun, 15. Mar 15, 08:17, edited 2 times in total.
timon37
EGOSOFT
EGOSOFT
Posts: 493
Joined: Fri, 14. Dec 12, 11:02
x4

Post by timon37 »

hhr wrote:- launched a campaign from the beginning. phrases in the dialogues have very large and noticeable pause.
You'll also probably have really bad performance. This could happen if for some reason openal wasn't reading the attached config file properly. Can you try running "steam -console" from the terminal and see what you get? There'll probably be a lot of AL_OUT_OF_MEMORY errors.
YorrickVander wrote:Btw the linux loading screen is much cooler then the current windows one. Copy it over?
NO! It reflects the relative coolness between linux and anything else;p
hhr
Posts: 61
Joined: Fri, 6. Oct 06, 15:18
x4

Post by hhr »

i have a lot of "ShaderD3D::SetTechniqueByName() shader shadergl\high_spec\xu_ssao techinque SSAOPOST" in the log ;) but no OAL errors: https://gist.github.com/hhrhhr/818bf3f8e96d96530dea

I honestly do not know how to record video of the game and Steam Broadcasting in Linux does not work. I can record directly from the screen, if necessary.
timon37
EGOSOFT
EGOSOFT
Posts: 493
Joined: Fri, 14. Dec 12, 11:02
x4

Post by timon37 »

@hhr Did you start the campaign?
The errors will only happen when there's enough sound instances, and that's when you should also get the delays.

The log looks fine, though you might want to disable ssao since it won't work either way and could cause issues.
rboerdijk
EGOSOFT
EGOSOFT
Posts: 1702
Joined: Fri, 11. Jan 13, 14:26
x4

Post by rboerdijk »

fallenwizard wrote:Build 1

-----------------------------------------------------------------

Zone: Crimson Rocks

Pink background
Screenshot

(Seems to happen to most zones in DeVries. Maybe the sun shader is at fault?)

-----------------------------------------------------------------
Thanks for the report - I teleported around quite a bit looking for "pink stuff", but managed to miss that zone.
Just committed a fix - it will be included in the next linux-update.
hhr
Posts: 61
Joined: Fri, 6. Oct 06, 15:18
x4

Post by hhr »

timon37 wrote:@hhr Did you start the campaign?
no, this log was from save.

I set minimum settings, errors in the log has really become a lot less. but pauses between sentences remained.

I also think I know what the problem is. in the German dubbing subtitles do not always have time for a voice even in windows-version. phrase has ended, but the subtitles continue to show another second or two. this is happening in the story dialogues.

the English voice acting is not a problem. in general, this does not apply to the Linux-version ;)
Post Reply

Return to “X Rebirth - Technical Support”