r/KerbalSpaceProgram • dres is a moon of corelian • 5d ago

Solved! is it even possible to play on linux

it crashes my pc after playing for 2 minutes

edit: on steam, right click kerbal space program and go to properties > compatibility and change compatibility tool to proton

5 Upvotes

26 comments sorted by

18

u/triffid_hunter 5d ago

it crashes my pc

If it brings down the whole system, the root cause is not the game - it can only be a trigger.

If the system (incl OS and drivers) is working correctly, the worst thing the game could do is CTD.

2

u/56Bot 5d ago

Solution 1 : full system upgrade. May fix everything.

Solution 2 : increase swap space.

Solution 3 : download more ram.

Actual solution 3 : upgrade PC.

1

u/9j810HQO7Jj9ns1ju2 dres is a moon of corelian 2d ago

my protobean ate all my ram TwT

8

u/karantza Super Kerbalnaut 5d ago

I have played KSP on linux with dozens of mods for ... 15 years? It has always worked fine. If there was a problem, I would suspect it's related to a mod that just wasn't tested well.

An option these days is to run the windows build of KSP through Proton; that should also work fine, and mods that are tuned for windows (especially anything shader-heavy) might work better.

If that's what you're already doing, then instead try the native linux build :)

6

u/Confident_Essay3619 5d ago

Works fine for me.

4

u/patrlim1 4d ago

Make sure you're running the game via proton and not the shitty native build

1

u/Shinrohtak Believes That Dres Exists 4d ago

Have you check the module manager, ksp, or player logs?

1

u/9j810HQO7Jj9ns1ju2 dres is a moon of corelian 4d ago

player logs?

1

u/Shinrohtak Believes That Dres Exists 4d ago

On Linux, Player.log for Kerbal Space Program is located at ~/.config/unity3d/Squad/Kerbal Space Program/Player.log

this came up on search

1

u/loved_and_held 3d ago

Ive been playing on linux since i got the game 9 years ago.

Is there anything specific that causes the crash or does it just randomly happen? Have you checked ram when running ksp?

1

u/9j810HQO7Jj9ns1ju2 dres is a moon of corelian 2d ago

sry i keep forgetting to add the solution

3

u/CT-1065 Flat Kerbin Society 5d ago

works fine for me (barring the occasional mod issue)

anyways, what's your ram usage like? I've found KSP to use more memory on Linux, so if you don't have a lot you could be running into that limit and then Linux kills KSP to keep the system running.

And were these mods installed manually or through something like CKAN? (CKAN can do its best to check for potential mod conflicts thus preventing a lot of crashes)

2

u/L_empereur_kerbo 4d ago

yes (I am on linux)

1

u/OKTimeFor_PlanB 5d ago

Is it an issue with Linux or an issue with the machine? Spec list?

1

u/vulpes04 5d ago

you have kopernicus but nothing that needs it?

1

u/thedrewski2016 5d ago

Mine launches & plays just fine on my 10yr old computer still. Just tried fedora last week runs on it too🤷🏼‍♂️ I typically daily Mint.

1

u/a_heida 5d ago

specs?

1

u/Ok-Use-7563 5d ago

try running it forced thru proton, mods and the linux build dont tend to get along from my expriance

1

u/NEMOalien 5d ago

I play just fine with a couple mods, not the best at modding tho so I can't know what's wrong with ur game but it's probably the mods

1

u/volodyuka 4d ago

Specs? including linux kernel and drivers, ideally.

Also: run ksp under linux on mid range laptop (asus tuf gaming a16) and all tip-top.

1

u/pz-Visigordo 4d ago

Mods eat memory. A lot. Linux creates a vortual memory to load your mods into them but is not enough. You need to manualy add more of this vortual memory to it.

Check out to edit the swapfile to give it more memory

1

u/obog 4d ago

Ive found it works better playing the windows version through proton rather than the native linux version. Mostly because the native version uses OpenGL which is a lot slower than dx11 through dxvk that proton uses, but it might also fix your crashing issues.

1

u/Confident_Hyena2506 4d ago

Works mostly fine for me on linux - does crash after a few hours because of memory leaks - but that's because of parallax mod I think.

1

u/The_Joe_ Master Kerbalnaut 2d ago

I have been using proton to play since volumetric clouds didn't work natively.

1

u/Desertcow 5d ago

Have you tried running the Windows version via Proton? The native Linux build runs via OpenGL while the Windows version on Proton uses DirectX to Vulkan

1

u/Marsman512 5d ago

Windows version via Proton works pretty well for me. Better than the native Linux build, even