Jump to content

The Linux compatibility thread!


Recommended Posts

In my case, this problem was fixed by the following the instructions for enabling (or rather preventing the disabling of) shadows under Intel graphics cards. This fixed the crashes in both the 64 bit and 32 bit binaries. I noticed some other posts mentioning that this fixed crashes for other people with these cards. Perhaps the OP could be changed to note that this fixes more than just shadows?

Fresh install here. Upon arriving at the launchpad, throttling up, and launching, everything is normal. Shortly after launch, the game crashes (process reports abortion and core dump [which I guess I can retrieve for you guys if it's somehow helpful... ]). Specs and situation leading up to the crash are present in this linked log file.

The log appears identical in both 64-bit and 32-bit versions (launching them manually from the binaries present in the Steam installation folder). If necessary, the 64-bit log can be retrieved.

This is strange, given that with higher graphics settings (and roughly the same process environment on my machine) the game ran slowly but didn't crash during the launch cycle...

Edited by tgvaughan
Link to comment
Share on other sites

TeddyDD, please post your KSP.log to pastebin for us and try starting both versions of KSP with ldd to check for missing dependencies :)

The segfault fix is not likely to help you with your issue I think, but what may help is starting KSP with LC_ALL=C, don't forget to delete your settings.cfg first though.

styckx, that's great to hear, thanks :)

tgvaughan, yeah 'll mention that.

Link to comment
Share on other sites

ldd KSP.x86_64 
linux-vdso.so.1 => (0x00007fff933fe000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f14d4413000)
libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007f14d4194000)
libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007f14d3f35000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f14d3c00000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f14d39ee000)
libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f14d37e3000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f14d35df000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f14d33c2000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f14d31b9000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f14d2eb5000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f14d2c9f000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f14d28d6000)
/lib64/ld-linux-x86-64.so.2 (0x00007f14d4738000)
libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f14d26b0000)
libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f14d24ad000)
libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f14d22a6000)
libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f14d20a4000)
libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f14d1e8d000)
libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f14d1c87000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f14d1a69000)
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f14d1863000)
libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f14d1656000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f14d144c000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f14d1247000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f14d1041000)

 ldd KSP.x86
linux-gate.so.1 => (0xf773c000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7631000)
libGLU.so.1 => /usr/lib/i386-linux-gnu/libGLU.so.1 (0xf75ab000)
libGL.so.1 => /usr/lib/i386-linux-gnu/mesa/libGL.so.1 (0xf7551000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf741c000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf7409000)
libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xf73fe000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf73f9000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf73dd000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf73d4000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7391000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7374000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf71c0000)
/lib/ld-linux.so.2 (0xf773d000)
libglapi.so.0 => /usr/lib/i386-linux-gnu/libglapi.so.0 (0xf71a9000)
libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xf71a5000)
libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xf719f000)
libX11-xcb.so.1 => /usr/lib/i386-linux-gnu/libX11-xcb.so.1 (0xf719c000)
libxcb-glx.so.0 => /usr/lib/i386-linux-gnu/libxcb-glx.so.0 (0xf7184000)
libxcb-dri2.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri2.so.0 (0xf717d000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf715c000)
libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xf7156000)
libdrm.so.2 => /usr/lib/i386-linux-gnu/libdrm.so.2 (0xf7149000)
libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xf713e000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf7139000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf7132000)

When I using optirun ./KSP.x86 (optimus) game don't starts but it runs from Steam.

KSP.log here: http://pastebin.com/wjT7cxwK

Thanks for your help :)

Link to comment
Share on other sites

Getting a tonne of crashes with the new 0.23.5 update. Running ubuntu 13.10 64bit and run KSP through steam. Here's what happens for me;

Hit play on steam, ksp window boots up for about a second then crashes.

This happens maybe 3-4 times before the game boots properly.

Sometimes I can play for quite a while and then it will just CTD while I'm actively flying a ship but most of the time I get a CTD when restarting a flight or returning to hangar.

Ran 'Verify integrity of game cache' on steam and got the window; "1060 files failed to validate" It then re-downloads the update but the same error occurs every time I check.

Uninstalled ksp and deleted all of my files, Then reinstalled, same CTD's, 1060 files failed to validate.

No idea why it keeps crashing, it's run flawlessly on 0.23. Below is the KSP.log

http://pastebin.com/1G768zq4

Link to comment
Share on other sites

Oh man, this may be part of it :(

GPU: Mesa DRI Intel® Haswell Mobile x86/MMX/SSE2 (256MB)

And:

[WRN 12:42:06.555] The image effect ImageEffects Unity3 (TiltShift) has been disabled as it's not supported on the current platform.

[WRN 12:42:06.555] The image effect ImageEffects Unity3 (SunShafts) has been disabled as it's not supported on the current platform.

[WRN 12:42:06.556] The image effect ImageEffects Unity3 (GlobalFog) has been disabled as it's not supported on the current platform.

[WRN 12:42:06.556] The image effect ImageEffects Unity3 (EdgeDetectEffectNormals) has been disabled as it's not supported on the current platform.

[WRN 12:42:06.557] The image effect ImageEffects Unity3 (DepthOfFieldScatter) has been disabled as it's not supported on the current platform.

[WRN 12:42:06.557] The image effect ImageEffects Unity3 (DepthOfField34) has been disabled as it's not supported on the current platform.

[WRN 12:42:06.557] The image effect ImageEffects Unity3 (Crease) has been disabled as it's not supported on the current platform.

This does not explain the 1060 files though, can you try starting the KSP.x86 and KSP.x86_64 directly?

Link to comment
Share on other sites

KSP crashes my GPU :( Used to be sporadically when in orbit around Kerbin, now it's standard when I open the tracking station. I'm going to try to figure out what causes this.

My system:

GNU/Linux Mint 13 (Maya) with Cinnamon

NVIDIA Quadro FX770M

Driver: nvidia-331

KSP: Steam 0.23.5

Conclusions so far:

Not mod related, the non-modded install had the same issue

Occurs in both 32-bit and 64-bit versions.

New game did not crash immediately upon opening the tracking station.

Opened persistent.sfs, removed every VESSEL in FLIGHTSTATE except for my painstakingly crafted space station / science outpost / refuel station built on an LKO asteroid. Bug does not immediately reoccur. I am happy with this.

Edited by Ghostbird
Link to comment
Share on other sites

Sierra004, to run the 32bit KSP on a 64bit system you will need to install the 32bit libraries, you can use "ldd ./KSP.x86" to see what's missing.

Ghostbird, please post your KSP.log to pastebin.

Edited by sal_vager
Clarification
Link to comment
Share on other sites

Ghostbird, please post your KSP.log to pastebin.

Uhm… This was a GPU crash as in:

Apr 6 15:29:14 XXXX kernel: [13746.936060] NVRM: GPU at 0000:01:00.0 has fallen off the bus.

Apr 6 15:29:14 XXXX kernel: [13746.936072] NVRM: GPU at 0000:01:00.0 has fallen off the bus.

Apr 6 15:34:08 XXXX kernel: [ 268.352023] NVRM: GPU at 0000:01:00.0 has fallen off the bus.

Apr 6 15:34:08 XXXX kernel: [ 268.352032] NVRM: GPU at 0000:01:00.0 has fallen off the bus.

Apr 6 15:44:18 XXXX kernel: [ 584.920029] NVRM: GPU at 0000:01:00.0 has fallen off the bus.

Apr 6 15:44:18 XXXX kernel: [ 584.920038] NVRM: GPU at 0000:01:00.0 has fallen off the bus.

Apr 6 16:42:07 XXXX kernel: [ 3438.004053] NVRM: GPU at 0000:01:00.0 has fallen off the bus.

Apr 6 16:42:07 XXXX kernel: [ 3438.004062] NVRM: GPU at 0000:01:00.0 has fallen off the bus.

The thing is going down so hard there's nothing left to do but interrupt the power supply and reboot the system.¹

Of course there's no KSP log.

On the other hand, I found that the bug was caused by something that wasn't very important in my savegame. I simply deleted every VESSEL in the FLIGHTSTATE except for my LKO asteroid space station / laboratory / gas station, and I can continue playing.

1) Thank goodness Linux uses journalling filesystems. With Windows' NTFS-3G I would've destroyed my system multiple times already.

Edited by Ghostbird
Link to comment
Share on other sites

Installing the 32bit libraries was a pain, in ubuntu 13.10 ia32-lib is no longer supported, so it can't be installed directly in the terminal. You can work around it here: http://ubuntuforums.org/showthread.php?t=2182653

Installed that, KSP.x86 now runs, but does the same as KSP.x86_64 did; boot, load, fly, crash, revert, CTD. http://pastebin.com/RTcqFdqX (KSP.log)

Link to comment
Share on other sites

In Ubuntu 13.10 it's enough to just install the 32bit version of the package you want, for example "sudo apt-get install libgl1-mesa-glx:i386"

I'm not seeing the crash in the log, just the graphics issues I noticed before, do you get any info in the terminal when you start KSP from there?

Link to comment
Share on other sites

Ahh ok didn't know that. I'm very much an end user so I'm not going to be the greatest help. (This is the first time I've booted a program from the terminal :rolleyes:)

/dev/input/js0: driver version: 2.1.0 (20100)

/dev/input/js0: fd 3, buttons 0, axes 3, name ST LIS3LV02DL Accelerometer

/dev/input/js0: axis 0: raw 0, mapped 0.000000

/dev/input/js0: axis 1: raw 0, mapped 0.000000

/dev/input/js0: axis 2: raw 16904, mapped 0.000000

Thats all I got from running via the terminal. No idea if that means anything.

Link to comment
Share on other sites

Well I use WADS and trackpad, so I'm not sure what that is.

With ubuntu or KSP? Yeah it 'reaquires' the files, but if you verify the local files again it says the same 1060 thing every time. I've uninstalled on steam and deleted all my KSP stuff from the steam folder (saves etc, the whole folder) Same issue after reinstalling

Edited by Sierra004
Link to comment
Share on other sites

Switched my Linux build over to a daily build of Ubuntu 14.04 today to see what Canonical cooked up for it.. KSP runs flawlessly on it also. No issues with dependencies or anything. I may stay running 14.04 as my daily driver. Really really nice Ubuntu build and added two features to Unity that I've been dying for. (Resize the Unity launcher, and disable that annoying global menu bar)

Edited by styckx
Link to comment
Share on other sites

That's good to hear styckx.

Sierra004, I'm stumped, ext4 should be perfectly fine, can you try "sudo apt-get install libgl1-mesa-glx:i386" ?

I'm wondering if this may be a hardware issue, gnome-disk-utility should allow you to check the hard drives S.M.A.R.T status.

Link to comment
Share on other sites

libgl1-mesa-glx:i386 was already installed and up to date. And my S.M.A.R.T status says my drive is OK. I've only had this whole computer for maybe 2 months. 0.23 ran without a hitch but the new hotness is a different story. I have no idea what the deal is either, I was hoping it was a common problem! Oh well hopefully someone figures it out. Thanks for the help.

Link to comment
Share on other sites

Yeah I thought it might be up to date but I wanted to make sure, I didn't know the PC was so new though.

Have you tried running KSP with "LC_ALL=C"? It forces Posix compatibility and may help.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...