Jump to content

KSP 1.1.1 -> 1.1.2 update broke Linux


Recommended Posts

Ever since patching v1.1.1 to v1.1.2, startup on Linux (Ubuntu 14.04 LTS, x86_64, nvidia) results in the following error.

steve@hypernelson:~/KSP_linux$ ./KSP.x86_64
Set current directory to /home/steve/KSP_linux
Found path: /home/steve/KSP_linux/KSP.x86_64
Mono path[0] = '/home/steve/KSP_linux/KSP_Data/Managed'
Mono path[1] = '/home/steve/KSP_linux/KSP_Data/Mono'
Mono config path = '/home/steve/KSP_linux/KSP_Data/Mono/etc'
displaymanager : xrandr version warning. 1.4
client has 2 screens
displaymanager screen (0)(DP-2): 1920 x 1080
displaymanager screen (1)(DP-1): 1920 x 1080
Using libudev for joystick management


Importing game controller configs
PlayerInitEngineNoGraphics settings: Could..... not preload global game manager #0   i=0
Failed to initialize player

steve@hypernelson:~/KSP_linux$

 

Edited by evilwombat
Link to comment
Share on other sites

Do you have a preferences file -  .config/unity3d/Squad/Kerbal Space Program/prefs
 or .config/unity3d/SQUAD/KSPLauncher/prefs

I was getting logs even when the CLI messages only got to the game controller message

Link to comment
Share on other sites

The Unity3D prefs file could have been corrupt.

Quote

PlayerInitEngineNoGraphics settings:

If it doesn't exist yet it is created, but Unity can also fail to detect your screen correctly, if this reoccurs try editing the prefs file, as mentioned by @v8Dave.

Link to comment
Share on other sites

  • 2 weeks later...

I was having a similar issue with my fresh install of KSP 1.1.2 on my Opensuse 13.2 Box.

I was getting the following in the ~/.config/unity3d/Squad/Kerbal\ Space\ Program/Player.log:

Quote

Selecting FBConfig
GLX_FBCONFIG_ID=167
GLX_BUFFER_SIZE=32
GLX_DOUBLEBUFFER=1
GLX_RED_SIZE=8
GLX_GREEN_SIZE=8
GLX_BLUE_SIZE=8
GLX_ALPHA_SIZE=8
GLX_DEPTH_SIZE=24
GLX_STENCIL_SIZE=8
GLX_SAMPLES_ARB=0
GLX_SAMPLE_BUFFERS_ARB=0
GLX_CONFIG_CAVEAT=NONE

Desktop is 3200 x 1200 @ 60 Hz
Invalid resolution: 1920 x 24
Failed to initialize ScreenManager
 

Thanks to @v8Dave and his suggestion I looked in  the prefs file in the same directory and found it was trying to make my display 1920x24...... Not good...

Quote

unity_prefs version_major="1" version_minor="1">
        <pref name="Screenmanager Is Fullscreen mode" type="int">0</pref>
        <pref name="Screenmanager Resolution Height" type="int">24</pref>
        <pref name="Screenmanager Resolution Width" type="int">1920</pref>
        <pref name="UnityGraphicsQuality" type="int">5</pref>
        <pref name="UnitySelectMonitor" type="int">-1</pref>
</unity_prefs>
 

So I edited the "Screenmanager Resolution Height" to something more reasonable. E.G: "1200".

 

So you might check the prefs file to make sure the screen resolution matches that of one of your displays. 

 

Hope that helps, sorry for the long post, just wanted to to make sure all the info was there.

 

 

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...