Linux support thread

Ask here if you experience technical problems with X Rebirth.

Moderator: Moderators for English X Forum

Post Reply
pop2010
Posts: 2
Joined: Sun, 12. Mar 06, 19:53
x4

Post by pop2010 » Sat, 10. Sep 16, 15:07

Hello,

I have a big issue with the game, it freezes randomly. At first the mouse is still usable, but then the computer completely hangs to a point I have to hard-reset it.

I tried several things:
- Removing all mods
- Changing graphics settings
- Updating my drivers (nVidia GTX 770 2GB driver 370.28 )

The rest of my config:
- Intel i5-4670K
- 16GB RAM
- Ubuntu 16.04 x64
- Running the game with Steam
- Outputing the sound to a USB Modi device (DAC), I have a dedicated Asus Xonar DX, I still have to try switching between them.

Here is my latest quicksave: https://drive.google.com/open?id=0B8YJw ... jBxZ2pWbnM
And an output dump of steam console: https://drive.google.com/open?id=0B8YJw ... XZyZ1ZpSjA

I haven't found anything related closely to what's happening, so I guess it's something related to my rig I didn't think about, but if someone has a clue to give, I'd be grateful :)

EDIT: A small update on my situation:

I keep on having screen freezes. Sometimes I'm able to quit the game. I had an entry Xorg log that indicated a bug with the graphics driver, so I downgraded to 361.42, which is supplied by Canonical. I still had a complete freeze.

I monitored my computer temperatures and did not find anything wrong.

I'm still investigating...

EDIT 2: After days and days of testing, I still have that issue. I happen sometimes to have these lines in my Xorg log:
(EE) [mi] EQ overflowing. Additional events will be discarded until existing events are processed.
(EE) [mi] These backtraces from mieqEnqueue may point to a culprit higher up the stack.
(EE) [mi] mieq is *NOT* the cause. It is a victim.
(EE) [mi] EQ overflow continuing. 100 events have been dropped.
[160905.184] [mi] Increasing EQ size to 2048 to prevent dropped events.
[160905.185] [mi] EQ processing has resumed after 276 dropped events.
[160905.185] [mi] This may be caused by a misbehaving driver monopolizing the server's resources.
To a point where the computer becomes irresponsive and I must reset. I tried several different drivers since it may be related to that, but nothing works.

Neksio
Posts: 9
Joined: Mon, 2. Jun 14, 12:23

Post by Neksio » Sun, 30. Oct 16, 11:57

Neksio wrote: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)

Code: Select all

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

and in system log (i've ben trying different SDL versions - from game, from steam and from base system - no change)

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]
any ideas?
same problem with a new computer

4 cores, 16G mem, NVidia M1000M with 2G mem
Ubuntu 16.04LTS (was 14.04LTS)

Code: Select all

NVIDIA Corporation
Quadro M1000M/PCIe/SSE2
3.3.0 NVIDIA 361.42
3.30 NVIDIA via Cg compiler

Code: Select all

[16627.416305] Rendering[22915]: segfault at 0 ip 00007f6e0d4c92b4 sp 00007ffed09bc188 error 4 in libSDL2-2.0.so.0[7f6e0d427000+121000]
[16844.975986] Rendering[23197]: segfault at 0 ip 00007f18efdc02b4 sp 00007ffebf1d2968 error 4 in libSDL2-2.0.so.0[7f18efd1e000+121000]
[17908.081593] Rendering[26295]: segfault at 0 ip 00007f7001f092b4 sp 00007ffef5d0e688 error 4 in libSDL2-2.0.so.0[7f7001e67000+121000]
[18103.779802] Rendering[26401]: segfault at 0 ip 00007ff5358672b4 sp 00007ffd8faa3aa8 error 4 in libSDL2-2.0.so.0[7ff5357c5000+121000]
any new ideas?

Neksio
Posts: 9
Joined: Mon, 2. Jun 14, 12:23

Post by Neksio » Mon, 31. Oct 16, 13:17

This is fresh install (fresh steam + fresh XRebirth download)

however I copy my /home from old computer (without steam folder) - maybe this is the clue (some desktop option is the cause? I really don't know)

Alien Isolation, EU4, CK2 works here without any problems (on my old computer X3 and X3 TC also works fine - only XRebirth was crashing)

md5

Code: Select all

c610fec68cd90bfb32de442d1679b769  XRebirth
file

Code: Select all

core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from './XRebirth'
dmesg

Code: Select all

[72043.150419] Rendering[4186]: segfault at 0 ip 00007f57ffaea2b4 sp 00007ffd9550d448 error 4 in libSDL2-2.0.so.0[7f57ffa48000+121000]
gdb bt

Code: Select all

#0  0x00007f57ffaea2b4 in BlitNtoNCopyAlpha (info=<optimised out>)
    at /home/Projects/EgoSoft/XR/git/src/SDKs/sdl2/src/video/SDL_blit_N.c:2198
#1  0x00007f57ffada66f in SDL_SoftBlit (src=0xb28c2d0, srcrect=0x7ffd9550d520, 
    dst=0xb312790, dstrect=<optimised out>)
    at /home/Projects/EgoSoft/XR/git/src/SDKs/sdl2/src/video/SDL_blit.c:88
#2  0x00007f57ffb0ff5f in SDL_LowerBlit_REAL (dstrect=0x7ffd9550d520, dst=0xb312790, 
    srcrect=0x7ffd9550d520, src=0xb28c2d0)
    at /home/Projects/EgoSoft/XR/git/src/SDKs/sdl2/src/video/SDL_surface.c:518
#3  SDL_ConvertSurface_REAL (surface=surface@entry=0xb28c2d0, 
    format=format@entry=0xb312750, flags=flags@entry=0)
    at /home/Projects/EgoSoft/XR/git/src/SDKs/sdl2/src/video/SDL_surface.c:900
#4  0x00007f57ffb10397 in SDL_ConvertSurfaceFormat_REAL (surface=0xb28c2d0, 
    pixel_format=pixel_format@entry=372645892, flags=flags@entry=0)
    at /home/Projects/EgoSoft/XR/git/src/SDKs/sdl2/src/video/SDL_surface.c:974
#5  0x00007f57ffaa0485 in SDL_CreateColorCursor_REAL (surface=<optimised out>, 
    hot_x=16299, hot_y=2)
    at /home/Projects/EgoSoft/XR/git/src/SDKs/sdl2/src/events/SDL_mouse.c:736
#6  0x00000000011a7f3c in ?? ()
#7  0x00000000010b0f93 in ?? ()
#8  0x00000000010b5abd in ?? ()
#9  0x0000000000571b8d in ?? ()
#10 0x00007f57fe9be830 in __libc_start_main (main=0x571970, argc=1, argv=0x7ffd9550fab8, 
    init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, 
    stack_end=0x7ffd9550faa8) at ../csu/libc-start.c:291
#11 0x000000000058014d in _start ()
p.s. I've just checked: X3TC works without any problems on this new computer

timon37
EGOSOFT
EGOSOFT
Posts: 485
Joined: Fri, 14. Dec 12, 11:02
x4

Post by timon37 » Fri, 16. Dec 16, 14:46

@Neksio
Sorry for the late reply but it seems I didn't get or missed an update email:(

Can you try deleting libSDL-* files from the lib folder (in the game folder)?
If that doesn't help you can try deleting the whole lib folder.
Finally you can also try running without the steam runtime from a console just do:
STEAM_RUNTIME=0 steam

Of course tell me if any of this helped or not.

Neksio
Posts: 9
Joined: Mon, 2. Jun 14, 12:23

Post by Neksio » Sat, 17. Dec 16, 00:57

timon37 wrote:@Neksio
Can you try deleting libSDL-* files from the lib folder (in the game folder)?
If that doesn't help you can try deleting the whole lib folder.
Finally you can also try running without the steam runtime from a console just do:
STEAM_RUNTIME=0 steam
default:

Code: Select all

[232513.351881] Rendering[13118]: segfault at 0 ip 00007fe2f5b052b4 sp 00007ffc82cc64d8 error 4 in libSDL2-2.0.so.0[7fe2f5a63000+121000]
without libSDL from game (using steam one .local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.4.0 )

Code: Select all

[232574.223994] Rendering[13226]: segfault at 0 ip 00007f157bf96e86 sp 00007ffcfd650098 error 4 in libSDL2-2.0.so.0.4.0[7f157bf0b000+fb000]
without libSDL from game (using system one /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.4.0)

Code: Select all

[232668.705918] Rendering[13270]: segfault at 0 ip 00007f7a58a03f84 sp 00007fff964ba028 error 4 in libSDL2-2.0.so.0.4.0[7f7a58974000+109000]
without whole lib folder: don't start at all (a lot of libs missing)

STEAM_RUNTIME=0 steam don't start at all:

Code: Select all

Running Steam on ubuntu 16.10 64-bit
STEAM_RUNTIME is disabled by the user
Error: You are missing the following 32-bit libraries, and Steam may not run:
libXtst.so.6
libXrandr.so.2
libgobject-2.0.so.0
libglib-2.0.so.0
libgtk-x11-2.0.so.0
libpulse.so.0
libgdk_pixbuf-2.0.so.0
I really have no idea what could be the reason of this SDL crashes.. all other games/apps works without any problems

and gdb bt from current X-R 4.0:

Code: Select all

Core was generated by `./XRebirth'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fea2f05c2b4 in BlitNtoNCopyAlpha (info=<optimized out>)
    at /home/Projects/EgoSoft/XR/git/src/SDKs/sdl2/src/video/SDL_blit_N.c:2198
2198	/home/Projects/EgoSoft/XR/git/src/SDKs/sdl2/src/video/SDL_blit_N.c: No such file or directory.
[Current thread is 1 (Thread 0x7fea31a3f7c0 (LWP 17380))]
(gdb) bt
#0  0x00007fea2f05c2b4 in BlitNtoNCopyAlpha (info=<optimized out>)
    at /home/Projects/EgoSoft/XR/git/src/SDKs/sdl2/src/video/SDL_blit_N.c:2198
#1  0x00007fea2f04c66f in SDL_SoftBlit (src=0xbbbf4f0, srcrect=0x7ffdec005dd0, 
    dst=0xbbbfb70, dstrect=<optimized out>)
    at /home/Projects/EgoSoft/XR/git/src/SDKs/sdl2/src/video/SDL_blit.c:88
#2  0x00007fea2f081f5f in SDL_LowerBlit_REAL (dstrect=0x7ffdec005dd0, dst=0xbbbfb70, 
    srcrect=0x7ffdec005dd0, src=0xbbbf4f0)
    at /home/Projects/EgoSoft/XR/git/src/SDKs/sdl2/src/video/SDL_surface.c:518
#3  SDL_ConvertSurface_REAL (surface=surface@entry=0xbbbf4f0, 
    format=format@entry=0xbbbfb30, flags=flags@entry=0)
    at /home/Projects/EgoSoft/XR/git/src/SDKs/sdl2/src/video/SDL_surface.c:900
#4  0x00007fea2f082397 in SDL_ConvertSurfaceFormat_REAL (surface=0xbbbf4f0, 
    pixel_format=pixel_format@entry=372645892, flags=flags@entry=0)
    at /home/Projects/EgoSoft/XR/git/src/SDKs/sdl2/src/video/SDL_surface.c:974
#5  0x00007fea2f012485 in SDL_CreateColorCursor_REAL (surface=<optimized out>, 
    hot_x=16372, hot_y=2)
    at /home/Projects/EgoSoft/XR/git/src/SDKs/sdl2/src/events/SDL_mouse.c:736
#6  0x00000000011a7f3c in ?? ()
#7  0x00000000010b0f93 in ?? ()
#8  0x00000000010b5abd in ?? ()
#9  0x0000000000571b8d in ?? ()
#10 0x00007fea2df323f1 in __libc_start_main (main=0x571970, argc=1, argv=0x7ffdec008368, 
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 
    stack_end=0x7ffdec008358) at ../csu/libc-start.c:291
#11 0x000000000058014d in _start ()

Neksio
Posts: 9
Joined: Mon, 2. Jun 14, 12:23

Post by Neksio » Mon, 26. Dec 16, 12:59

I've just solved the problem!

"Orange Mouse Cursor" from Workshop was the reason.. : ( I should start with uninstall all the mods (don't even remembered that I have that one installed..)

rboerdijk
EGOSOFT
EGOSOFT
Posts: 1672
Joined: Fri, 11. Jan 13, 14:26
x4

Post by rboerdijk » Mon, 26. Dec 16, 13:54

If I remember correctly, the file format for mousecursors is different for windows vs osx/linux... The orange-cursor was made as a first example of a mod (at a time we didn't even have osx/linux-support), so I bet it doesn't have the osx/linux specific version of the cursor and that goes wrong...
Will check it out after the holidays.

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

Post by radcapricorn » Wed, 8. Feb 17, 02:36

Haven't checked this thread in a while. Indeed the cursor mod has cursors in *.cur format, which causes the game to crash. Converting the *.cur files to *.png, i.e. using ImageMagick, solves the problem.

User avatar
daret
Posts: 6
Joined: Mon, 30. Nov 15, 11:14
x4

Image flickering on Startup / map not visible

Post by daret » Sat, 11. Feb 17, 22:07

I lately started this game and found out, that it is not working properly.

Startup video started with flickering and in the game, the map is not visible - black box.

It probably is because new the nVidia drivers 378.09 have GLThreadedOptimizations enabled by default and it's turning it off only if it degrades performance.

I turned it off with nVidia configuration - Application profiles - GLThreadedOptimizations=false for Process name matches XRebirth and the flickering is gone, as well as map problem.

It looks like GLThreadedOptimizations is not working correctly with X Rebirth.

timon37
EGOSOFT
EGOSOFT
Posts: 485
Joined: Fri, 14. Dec 12, 11:02
x4

Post by timon37 » Mon, 13. Feb 17, 09:43

@daret
Thanks for the feedback, I'll take a look and if I can't get it to work, I'll add that to the script.

@everyone
Btw the cursor issues should be fixed with the next version.

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

Post by radcapricorn » Mon, 13. Feb 17, 10:33

timon37,

is there any luck with this graphical issue? I've recently switched to a GTX980 Ti, and I'm currently on the 361.28 driver. So adifferent GPU and driver. The problem does pop up pretty commonly, and often persists until a restart. Sometimes the "garbage" geometry drawn covers half the screen, so basically makes the game unplayable :(

timon37
EGOSOFT
EGOSOFT
Posts: 485
Joined: Fri, 14. Dec 12, 11:02
x4

Post by timon37 » Mon, 13. Feb 17, 17:24

@radcapricorn

That's a very good question. I wish I could answer it conclusively:(
The good news is that I currently can't reproduce it.
But this issue is very finicky, so I'm sceptical about it being truly resolved.

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

Post by radcapricorn » Tue, 14. Feb 17, 04:21

Understood. Resuming the "wait and see" pattern.

timon37
EGOSOFT
EGOSOFT
Posts: 485
Joined: Fri, 14. Dec 12, 11:02
x4

Post by timon37 » Mon, 20. Feb 17, 14:54

So finally the public_beta's out with linux support http://forum.egosoft.com/viewtopic.php?t=355582

Anyone willing to give it a shot? (remember to backup savegames)

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

Post by radcapricorn » Mon, 20. Feb 17, 15:20

That's great news! Installing right now.

Corbet
Posts: 75
Joined: Sat, 12. Dec 15, 07:30

Post by Corbet » Sat, 25. Feb 17, 18:02

timon37 wrote:So finally the public_beta's out with linux support http://forum.egosoft.com/viewtopic.php?t=355582

Anyone willing to give it a shot? (remember to backup savegames)
Thank you for your hard work.

Is the JIRA still the right place to file the bug reports or do you prefer this forum/thread?

timon37
EGOSOFT
EGOSOFT
Posts: 485
Joined: Fri, 14. Dec 12, 11:02
x4

Post by timon37 » Mon, 27. Feb 17, 12:21

Uhh, I don't like the sound of that;p

But yeah JIRA's best. Because there I can easily browse through them whenever I can squeeze out some time for linux work.
Unless the issue's not linux specific or not a graphical glitch, then it probably belongs in http://forum.egosoft.com/viewforum.php?f=141

timon37
EGOSOFT
EGOSOFT
Posts: 485
Joined: Fri, 14. Dec 12, 11:02
x4

Post by timon37 » Fri, 3. Mar 17, 16:11

@daret

I think the "GLThreadedOptimizations" thing is fixed with the public_beta, would be awesome if you had a moment to confirm/deny;)

syt3c
Posts: 22
Joined: Tue, 30. Aug 11, 19:47
x4

Post by syt3c » Thu, 27. Apr 17, 13:41

4.10 runs well with nv 378.13 on Linux Mint 18.1. I've tested a new game a few hours in OL. My Core i5 and GTX960 creates stable 60fps. thx ;)

De-/activating of ThreadedOtimizations (profile) showed no difference.

bye
stc
Ich bin lieber der Erste in der Hölle als der Zweite im Himmel!

Avaricia
Posts: 12
Joined: Sat, 27. Jun 15, 17:55
xr

Post by Avaricia » Tue, 30. May 17, 21:44

The public beta works fine for me on Arch Linux with the AMDGPU driver and Mesa.

Post Reply

Return to “X Rebirth - Technical Support”