Jump to content

number of issues running KSP on Linux Ubuntu


Recommended Posts

Hello KSP community,

So I am a religious player of KSP, and after being fed up with the memory restrictions of KSP on Windows, I decided to install Ubuntu in dual boot on my PC just for KSP. Note, I am a IT professional of almost 10 years, I've had formal education and training in UNIX, so I'm very familiar with the environment, I just haven't dabbled with Linux in a good 5 years or so now. I should also mention, I have a very high end water cooled computer, so I am trying to get past the restrictions of windows/memory issues so I can fully enjoy this game with as many mods as I want. Anyway, for a quick breakdown, here are the issues I am currently having in KSP:

1) Camera movement stuttering - okay, so my game has a silky smooth framerate in terms of flying, maneuvering, and everything else. But I am having a problem, as soon as I move my camera, the game gets horrendous stuttering/framerate issues. I'm not sure why, it only happens when I manually pan the camera around my ship using the right mouse button. Has anyone else had this issue yet? If I move it slow, it doesn't do it as bad.

2) Delayed throttle - like I said, my game appears to be running great, but sometimes my throttle up/down feels delayed, I think it might have something to do with the deltatime setting. Anyone else have this issue in Linux? This is a minor issue. My game doesn't seem to lag or anything so much as it feels like there is some kind of input delay.

3) Steam Overlay / alt-tab issues - so something weird is going on with my KSP, and this is probably the biggest/annoying issue on Linux so far. Number one, my steam overlay isn't working correctly, I can't even take screenshots. When I try to load it or alt tab out of my game (including trying to put it in windows mode with alt + enter), my game flickers in a pink screen and gets stuck on KSP. Basically, I cannot get out of KSP without completely shutting the game. Kind of annoying if I want to check an email quick or message someone on steam. Anyone have any issues minimizing KSP on Linux?

I am running an AMD machine with an AMD Graphics card. To be exact, I am running the FX 8350 overclocked to 5Ghz and my graphics card is the Radeon HD 7950. I installed AMD's propreitary drivers for the GPU as I noticed my anti-aliasing wasn't working. Even after doing so, however, it still don't work. I now force my games to use AA via AMD catalyst control center. The steam and alt-tab problems didn't seem to occur before I installed the radeon / catalyst drivers, maybe that has something to do with it? Overall, things are getting better, I at least go to play the game for a bit. If I can just fix the camera stutter and possibly the alt-tab problem that would be great.

Link to comment
Share on other sites

Cant help you much on the first two issues but i know a little about the last one. If i recall correctly after you press alt+tab you can click in any other quadrant of the screen besides the one KSP is running in and switch to another workspace. Its hard to explain but i think it's one of many quirks with the proprietary drivers.

Link to comment
Share on other sites

this is no help at all, just another voice that has the same problems, albeit with a twist: i have the same stuttering while moving the camera round yet i also have a big drop in framerate when i have the GUI visible, so when i press F2 and get rid of the GUI my framerate jumps to a smoother and playable ksp. have no idea what it is but it's the last thing that i need to iron out in order to achieve a seamless ksp experience

Link to comment
Share on other sites

I see the #1 problem on Linux x64 with many mods, with my nVidia card. It doesn't happen with an unmodded install. I removed a portion of my mods temporarily and saw the issue lessen, but not eliminated. The part count of a craft doesn't seem to affect the camera-related stutter. Everything renders fine when using the keys to move the camera. I'm not sure if there's a single mod responsible for it or if it's just poor performance under high memory conditions on Linux with Unity.

Link to comment
Share on other sites

I see the #1 problem on Linux x64 with many mods, with my nVidia card. It doesn't happen with an unmodded install. I removed a portion of my mods temporarily and saw the issue lessen, but not eliminated. The part count of a craft doesn't seem to affect the camera-related stutter. Everything renders fine when using the keys to move the camera. I'm not sure if there's a single mod responsible for it or if it's just poor performance under high memory conditions on Linux with Unity.

that's exactly what's happening with my gtx750 NVidia. ok, time to go problem mod hunting tonight and bash out those mods one by one. ooooh, this is gonna take a loooong time and totally suck but I hope that I find a culprit... and hopefully it's not some essential mod like FAR or infernal or B9 or .. actually, almost every mod I have is 'essential'. :) if I had to choose a mod to sacrifice it could be NavHud or maybe TAC self destruct. haha

Link to comment
Share on other sites

  • 1 month later...

I noticed that camera stuttering was only happening when the UI was enabled. When I'd hit F2 to shut it off for a screenshot, the framerate shot back up. Try cutting back on UI-related mods, and close windows when they aren't needed. I noticed that Contract Window+ slows everything to a crawl.

Link to comment
Share on other sites

  • 3 weeks later...

I'm having the exact same issue as #1, I've determined it's not a problem with the camera movement but a problem with clicking and dragging, Even a left mouse drag causes horrible stuttering. Rotating the camera with my PS3 controller is smooth and dragging windows around with left mouse kills the framerate, I think the problem is KSP is being bombarded with mouse move events and performing ui logic hundreds(or thousands?) of times a second.

Link to comment
Share on other sites

What is performance like with the open source driver for you? I hear it's better than the proprietary driver these days.

I'm not sure about OP, but for me, when I use open source drivers, KSP is still slower/laggy/stuttery than on Windows or even Windows with Opengl. It's like everything is in molasses if you catch my meaning. Even when the camera is moving like in the VAB, it feels much slower (not really low fps slow, but slower in terms of speed) and sluggish. That's the only thing stopping me from transferring fully into the Linux bandwagon.

Oh and yes, the camera does stutter in-flight and the physics seems to go very slow also, in the yellow range, even when flying a ship with around 120 parts. Proprietary drivers make no difference.

Edited by Insanitic
Link to comment
Share on other sites

1) Camera movement stuttering - okay, so my game has a silky smooth framerate in terms of flying, maneuvering, and everything else. But I am having a problem, as soon as I move my camera, the game gets horrendous stuttering/framerate issues. I'm not sure why, it only happens when I manually pan the camera around my ship using the right mouse button. Has anyone else had this issue yet? If I move it slow, it doesn't do it as bad.

See this thread: http://forum.kerbalspaceprogram.com/threads/94378

Link to comment
Share on other sites

  • 2 months later...

Hello!

I've had the same problem (with KSP 0.90 as well as with KSP 1.0.x) and now I found the reason (and fix) for it, at least in my case:

The stutter was caused by the mouse-polling-rate (it was automatically set to 1000Hz on a Logitech G700s). Setting it to 125Hz completely removes the stutter when dragging the mouse right-clicked (I used the Logitech Tool in Windows 7 [Dual-boot] and saved it to the mouse internally). I have no idea how to change the polling rate in Linux without any Logitech driver available (for Archlinux this may help and this for Ubuntu, but these didn't work for me).

I came along this solution simply because I play on a laptop with a touchpad. Using the G700s to move the camera or UI-elements (such as mod-buttons) some CPU-cores went up to 100%. The stutter didn't occur when using the pad, but as soon as I used the mouse again, it stuttered. The only difference between the two was the polling rate (80Hz for the touchpad and 1000 Hz, as said, for the G700s). So I changed that and *boom*, it worked....

I commented on the squad-bugtracker (someone else filed this as a bug there without any idea what was causing it) with my system info available there.

I hope I could help anybody experiencing the same issue (actually, it's my first post here). ;)

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...