• 0
Sign in to follow this  
Followers 0
bassmannate

KSP 1.2.x on Ubuntu

Question

I finally upgraded from 1.1.3 to 1.2.2 and I'm having issues. Fresh, clean install of Ubuntu Gnome 16.04 and a newly extracted install of KSP 1.2.2. I've also tried with 1.2 with the same problem.

I start KSP and I get the loading screen and it does it's thing. However, once the main menu loads, KSP crashes and I get logged out of the OS. Not sure if it's the xserver that's restarting or what. I'm including the last bit of my ksp.log file. If there's a way to post the whole thing, let me know. This is the only part that I see that has anything that looks bad. Everything else looks like it's loading just fine.

[LOG 07:43:48.512] Loading Systems: Elapsed time is 70.94635s
[WRN 07:43:50.135] The referenced script on this Behaviour (Game Object '<null>') is missing!
[WRN 07:43:50.135] The referenced script on this Behaviour (Game Object '<null>') is missing!
[WRN 07:43:50.135] The referenced script on this Behaviour (Game Object '<null>') is missing!
[WRN 07:43:50.135] The referenced script on this Behaviour (Game Object '<null>') is missing!
[WRN 07:43:50.135] The referenced script on this Behaviour (Game Object '<null>') is missing!
[WRN 07:43:50.135] The referenced script on this Behaviour (Game Object '<null>') is missing!
[WRN 07:43:50.135] The referenced script on this Behaviour (Game Object '<null>') is missing!
[WRN 07:43:50.135] The referenced script on this Behaviour (Game Object '<null>') is missing!
[WRN 07:43:50.135] The referenced script on this Behaviour (Game Object '<null>') is missing!
[LOG 07:43:55.830] [UIMasterController]: HideUI
[LOG 07:43:55.836] [Agent]: Found 19 agent mentality types

 

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Hi @bassmannate, yes it's the xserver crashing from a bad resolution passed by the Unity engine, it affects all window managers except xfwm.

A somewhat reliable workaround is to delete the Unity prefs file before KSP starts, you can use a script like this to do it.

Quote

#! /bin/sh
rm ~/.config/unity3d/Squad/Kerbal\ Space\ Program/prefs
cd ~/.steam/steam/steamapps/common/Kerbal\ Space\ Program/
./KSP.x86_64

This is for Steam 64bit.

Share this post


Link to post
Share on other sites
  • 0

Thanks, @sal_vager. I also figured out that if I run in fullscreen, it works fine as well. Guessing that fullscreen just bypasses the WM completely and goes directly to xorg. I guess not being able to run windowed bothers some people but I'm perfectly fine with it.

Share this post


Link to post
Share on other sites
  • 0

Are you using unity? Try gnome. Also, are you using the graphics-drivers ppa?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0