Jump to content

KSP won't launch on arch linux


Recommended Posts

I recently installed KSP on my arch linux laptop (System 76 Galago, i7-4750HQ, 16 GB RAM, intel iris pro 5200) via steam.  I installed a few addons and launched it.  The game started for a little bit, showed something about installing add-ons and then crashed.  After that when I try to launch the game from steam nothing appears to happen.  When I try and launch it from the command line with ./KSP.x86 or ./KSP.x86_64 I see the following at the terminal before the program exits:

Set current directory to /home/darren/.local/share/Steam/SteamApps/common/Kerbal Space Program
Found path: /home/darren/.local/share/Steam/SteamApps/common/Kerbal Space Program/KSP.x86_64
Mono path[0] = '/home/darren/.local/share/Steam/SteamApps/common/Kerbal Space Program/KSP_Data/Managed'
Mono path[1] = '/home/darren/.local/share/Steam/SteamApps/common/Kerbal Space Program/KSP_Data/Mono'
Mono config path = '/home/darren/.local/share/Steam/SteamApps/common/Kerbal Space Program/KSP_Data/Mono/etc'
displaymanager : xrandr version warning. 1.5
displaymanager : trying .X11-unix
client :0 has 1 screens
displaymanager screen (0): 1920 x 1080
Using libudev for joystick management


Importing game controller configs

I then tried deleting the game and reinstalling it (without addons) and now the same thing still happens (I just see the above text in the terminal).  I've also verified the game data and that hasn't found anything.  I even deleted the game and redownloaded it one more time (again leaving it stock) and still it won't launch.  The game doesn't create a new window and I don't get a KSP.log file, I just see the text from above in the terminal.  The arch linux wiki mentions launching the game with "LC_ALL=C" so I've tried both "LC_ALL=C ./KSP.x86_64" and "LC_ALL=C ./KSP.x86"  I also do have pulse audio running and the  ttf-ms-fonts package installed from the AUR.  Also I'm running Awesome WM for my window manager if that matters.  Does anyone have any ideas on how I can get this to run on my machine?

Edited by nobled
Link to comment
Share on other sites

Hi @nobled, can you locate the player/log file, it should be in .config/unity3d/Squad/Kerbal Space Program/

It should show the graphics card and driver that Unity detected, this is what mine looks like.

Spoiler

Desktop is 1920 x 1080 @ 60 Hz
Initialize engine version: 5.2.4f1 (98095704e6fe)
GfxDevice: creating device client; threaded=1
GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX: 1048576
OpenGL:
    Version:  OpenGL 4.5 [4.5.0 NVIDIA 361.45.18]
    Renderer: GeForce GTX 650/PCIe/SSE2
    Vendor:   NVIDIA Corporation
    VRAM:     1024 MB
    Extensions: GL_AMD_multi_draw_indirect

Also if it doesn't get past this line then it's Unity crashing before KSP loads.

Quote

Begin MonoManager ReloadAssembly

This usually occurs when Unity cannot start the graphics engine, and can be worked around by using the -force-glcore command line argument to force Unity to redetect your OpenGL version.

Link to comment
Share on other sites

Here is the entire contents of my Player.log:

 


Selecting FBConfig
GLX_FBCONFIG_ID=121
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 1920 x 1080 @ 60 Hz
Invalid resolution: 2 x 1058
Failed to initialize ScreenManager

I also tried using -force-glcore after I posted this question and it didn't do anything.

Link to comment
Share on other sites

I found the solution.  I had to delete the file ~/.config/unity3d/Squad/Kerbal Space Program/prefs and then when I ran "LC_ALL=C ./KSP.x86_64" it ran fine.  I'm not sure what was wrong with my prefs file, but I'm guessing it had to do with the "Invalid resolution: 2 x 1058" line in my Player.log

Link to comment
Share on other sites

I do have the exact same problem.

This problem arose after I tried to change the KSP window to my second screen. The window got instantly really tiny. I had to close KSP and when I tried to launch it again, I would have the exact same problem.

 

The file ~/.config/unity3d/Squad/Kerbal Space Program/prefs shows screen size at 0. I had to delete the file and start it again.

 

I also have to use -force-glcore so I can have text displayed in in-game screen (installing ttf-ms-fonts or ttf-freefonts makes the game crash on startup, but this is another matter entirely that will get its own bug report).

Link to comment
Share on other sites

Same problem here. And it was so for a quite long time already. It started ~ after the 1.0 release.

I tried to do the same things as @nobled suggested, but seems like it does not help.

If try to launch KSP from the Stem, the console output is:

Game update: AppID 220200 "Kerbal Space Program", ProcID 3970, IP 0.0.0.0:0
ERROR: ld.so: object '/home/sundaero/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/sundaero/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Found path: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP.x86_64
Mono path[0] = '/mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed'
Mono path[1] = '/mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Mono'
Mono config path = '/mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Mono/etc'
displaymanager : xrandr version warning. 1.4
client has 2 screens
displaymanager screen (0)(DVI-I-3): 1920 x 1080
Using libudev for joystick management


Importing game controller configs
Game removed: AppID 220200 "Kerbal Space Program", ProcID 3970 
No cached sticky mapping in ActivateActionSet.

 

In the folder '~/.config/unity3d/Squad/Kerbal Space Program' I don't have anything else except Player.log file

After launching 'SteamLibrary/steamapps/common/Kerbal Space Program$ LC_ALL=C ./KSP.x86_64', console output is:

Set current directory to /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program
Found path: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP.x86_64
Mono path[0] = '/mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed'
Mono path[1] = '/mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Mono'
Mono config path = '/mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Mono/etc'
displaymanager : xrandr version warning. 1.5
client has 2 screens
displaymanager screen (0)(DVI-I-3): 1920 x 1080
Using libudev for joystick management


Importing game controller configs
Aborted (core dumped)

 

And the ~/.config/unity3d/Squad/Kerbal Space Program/Player.log file is

Stacktrace:


Native stacktrace:

	/mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Mono/x86_64/libmono.so(+0x91772) [0x7ff812721772]
	/mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Mono/x86_64/libmono.so(+0x348e4) [0x7ff8126c48e4]
	/usr/lib/libpthread.so.0(+0x10f00) [0x7ff8158a7f00]
	./KSP.x86_64() [0xb4acfa]
	./KSP.x86_64() [0xb05b0e]
	./KSP.x86_64() [0xb07352]
	./KSP.x86_64() [0xb07717]
	./KSP.x86_64() [0x7f9ec9]
	./KSP.x86_64() [0x75ed82]
	./KSP.x86_64() [0x7352b9]
	./KSP.x86_64() [0x72f784]
	./KSP.x86_64() [0x72ffba]
	./KSP.x86_64() [0x54bb52]
	./KSP.x86_64() [0x72a665]
	./KSP.x86_64() [0x461dd1]
	/usr/lib/libc.so.6(__libc_start_main+0xf1) [0x7ff81409e741]
	./KSP.x86_64() [0x46b4ed]

Debug info from gdb:

ptrace: Operation not permitted.
No threads.

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

vative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_bit_encoding GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sparse_buffer GL_ARB_sparse_texture GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shader_image_load_store GL_EXT_shader_integer_mix GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback2 GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_EXT_x11_sync_object GL_EXT_import_sync_object GL_NV_robustness_video_memory_purge GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KTX_buffer_region GL_NV_bindless_multi_draw_indirect GL_NV_bindless_multi_draw_indirect_count GL_NV_blend_equation_advanced GL_NV_blend_square GL_NV_command_list GL_NV_compute_program5 GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_draw_texture GL_NV_ES1_1_compatibility GL_NV_ES3_1_compatibility GL_NV_explicit_multisample GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_gpu_program4 GL_NV_internalformat_sample_query GL_NV_gpu_program4_1 GL_NV_gpu_program5 GL_NV_gpu_program5_mem_extended GL_NV_gpu_program_fp64 GL_NV_gpu_shader5 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_parameter_buffer_object2 GL_NV_path_rendering GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_shader_atomic_counters GL_NV_shader_atomic_float GL_NV_shader_buffer_load GL_NV_shader_storage_buffer_object GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_multisample GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_transform_feedback2 GL_NV_uniform_buffer_unified_memory GL_NV_vdpau_interop GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_attrib_integer_64bit GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_NVX_gpu_memory_info GL_NV_shader_thread_group GL_KHR_blend_equation_advanced GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum 
GLX Extensions: GLX_EXT_visual_info GLX_EXT_visual_rating GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_video_sync GLX_SGI_swap_control GLX_EXT_swap_control GLX_EXT_swap_control_tear GLX_EXT_texture_from_pixmap GLX_EXT_buffer_age GLX_ARB_create_context GLX_ARB_create_context_profile GLX_EXT_create_context_es_profile GLX_EXT_create_context_es2_profile GLX_ARB_create_context_robustness GLX_NV_delay_before_swap GLX_EXT_stereo_tree GLX_ARB_context_flush_control GLX_NV_robustness_video_memory_purge GLX_ARB_multisample GLX_NV_float_buffer GLX_ARB_fbconfig_float GLX_EXT_framebuffer_sRGB GLX_NV_multisample_coverage GLX_NV_copy_image GLX_ARB_get_proc_address 
Setting maxVSyncInterval to 4
GL: Detected 1024 MB VRAM
FMOD failed to get number of drivers ... An error occured that wasn't supposed to.  Contact support. 
 
(Filename:  Line: 533)

Begin MonoManager ReloadAssembly
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/UnityEngine.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/UnityEngine.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/Assembly-CSharp-firstpass.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/Assembly-CSharp.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/Assembly-CSharp.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/Assembly-UnityScript-firstpass.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/Assembly-UnityScript-firstpass.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/Assembly-UnityScript.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/Assembly-UnityScript.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/UnityEngine.UI.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/UnityEngine.UI.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/UnityEngine.Networking.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/UnityEngine.Networking.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/KSPCore.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/KSPCore.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/KSPUtil.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/KSPUtil.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/SaveUpgradePipeline.Core.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/SaveUpgradePipeline.Core.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/MiscUtil-r285.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/MiscUtil-r285.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/Mono.Cecil.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/Mono.Cecil.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/KSPAssets.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/KSPAssets.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/TrackIRUnity.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/TrackIRUnity.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/Vectrosity.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/Vectrosity.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/xmldiffpatch.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/xmldiffpatch.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/XmlDiffPatch.View.dll (this message is harmless)
Loading /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/XmlDiffPatch.View.dll into Unity Child Domain
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/System.Core.dll (this message is harmless)
- Completed reload, in  0.063 seconds
Default vsync count 0
requesting resize 1280 x 720
resizing window to 1280 x 720
Desktop is 1920 x 1080 @ 60 Hz
Using libudev for joystick management


Importing game controller configs
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/System.dll (this message is harmless)
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/Boo.Lang.dll (this message is harmless)
Platform assembly: /mnt/AGHOME/sundaero/games/SteamLibrary/steamapps/common/Kerbal Space Program/KSP_Data/Managed/System.Xml.dll (this message is harmless)
The referenced script on this Behaviour is missing!
 
(Filename:  Line: 1649)

The referenced script on this Behaviour is missing!
 
(Filename:  Line: 1649)

The referenced script on this Behaviour is missing!
 
(Filename:  Line: 1649)

The referenced script on this Behaviour is missing!
 
(Filename:  Line: 1649)

The referenced script on this Behaviour is missing!
 
(Filename:  Line: 1649)

The referenced script on this Behaviour is missing!
 
(Filename:  Line: 1649)

The referenced script on this Behaviour is missing!
 
(Filename:  Line: 1649)

The referenced script on this Behaviour is missing!
 
(Filename:  Line: 1649)

The referenced script on this Behaviour is missing!
 
(Filename:  Line: 1649)

The referenced script on this Behaviour is missing!
 
(Filename:  Line: 1649)

Can I get some help here? Any hints?

Too bad that I have to switch to Windows every time I want to play the KSP. Linux support was one of the reasons, why I bought this game.

Link to comment
Share on other sites

I too experience this problem.  OpenSuse Linux 64bit. 

Modded and unmodded.  No log files generated before it causes the issue.

The only file that gets created is the pref file.  I've had to create a bash script to auto-delete it before starting just to make the game playable.  So far nobody has an answer.   I've tried all of the above, and still get similar results.

Link to comment
Share on other sites

  • 2 months later...

Hi, 

So after finding this post, and digging around a bit myself. I finally got KSP to work on arch for me.

Basically KSP did not want to start because of the below error. 

FMOD failed to get number of drivers ... An error occured that wasn't supposed to.  Contact support. 

I dug around a bit and figured out from the below post that pulseaudio wasn't runing.

http://forum.unity3d.com/threads/failed-to-get-number-of-drivers.377026/

To solve it on my build i did the following.

# You only have to do the below once
sudo pacman -S pulseaudio-alsa
# You only have to do the above once
pulseaudio --start
cd ~/.steam/steam/steamapps/common/Kerbal Space Program/
LC_ALL=C ./KSP.x86_64

So to fix it permanently i think you would need to make sure the pulseaudio service starts at boot. Please do let me know if this fixes your issue.

 

Link to comment
Share on other sites

On 7/5/2016 at 9:53 PM, nobled said:

I found the solution.  I had to delete the file ~/.config/unity3d/Squad/Kerbal Space Program/prefs and then when I ran "LC_ALL=C ./KSP.x86_64" it ran fine.  I'm not sure what was wrong with my prefs file, but I'm guessing it had to do with the "Invalid resolution: 2 x 1058" line in my Player.log

 

This is not a solution, rather than part of it. The core issue is incorrect detection of OpenGL features on Mesa, hence weird window sizes. Sometimes it starts, but if you go to Settings from Mainmenu, most of the text will be blank.

You should run KSP with parameter -force-glcore33 / -force-glcore32 / -force-glcore31. Try each at least 3 times. When KSP starts it helps to "click" inside its newly opened black window. If it fails - delete prefs each time. Once you found the option that draws correct text in settings, you can go set Settings and keep this option for launch permanently. 

Rumors are 1.2 should solve this.

Link to comment
Share on other sites

1 hour ago, Kerbal101 said:

Rumors are 1.2 should solve this.

There are a number of problems, the one with pulseaudio should be fixed, so should the issue of missing text, these issues were Unity engine bugs that have been addressed by Unity technologies.

The weird window sizes is another Unity engine bug, sadly it is not fixed in Unity so far, not even in the latest version 5.5

Link to comment
Share on other sites

On 9/21/2016 at 4:44 PM, sal_vager said:

There are a number of problems, the one with pulseaudio should be fixed, so should the issue of missing text, these issues were Unity engine bugs that have been addressed by Unity technologies.

The weird window sizes is another Unity engine bug, sadly it is not fixed in Unity so far, not even in the latest version 5.5

Yes, but absence of text and bad window size both vanish with forced gl level.
I think this is really Mesa bug, because current stable Mesa is half-way between OpenGL3.3 and OpenGL4.5.

I have tried experimenting with forcing (-1) window size. This gives free antialiasing without performance impact (!!!) - everything becomes smooth! But the burn indicator -  in map view looses its "alpha" channel and large "burn triangle fan-strip" is visible. Also it resets the window on next restart to random values.

With forced GL to 3.2 (on current Debian Stable backports, mesa 11.x), both problems simply vanish.
Without - both are very evident and repeatable with 100% chance.

Also, speaking of bugs, KSP crashes sometimes (1-2 times in 12 hours). Fixed by reloading, no big deal.

And every third start - gets blackscreen, all the way through initial Squad logo to menu, with background music playing. The mouse pointer is also correct - KSP-one. Apparently the chances to get black screen become very low if I click within newly created window right from start. It is, as if sometimes KSP fails to get window focus and starts rendering on wrong (?) display.

 

Finally, KSP 1.1.3 has a new part limit around 2000, when fps go below 5fps and starts to drastically sink. At (some really weird craft with) 3200 parts, the performance is around 0.5 fps. BUT in the debug screen in fps graph, the fps rate never goes below 25 fps! I think this may be rendering bottleneck as physics are not calculated in VAB/SPH (?).  Still MUCH better than 1.0.5, with approx. 200 parts max.

Link to comment
Share on other sites

On 9/22/2016 at 11:41 PM, sal_vager said:

It might be a mesa bug, from what I've found out so far some drivers don't like Unity's stencilling.

There may be a brand new bug in Unity5.4.0, I keep finding that KSP 1.2 pre-release crashes with a segfault when I switch workspaces.

Its fixed for me with Mesa12/LLVM3.8.1 (Linux Kernel 4.6.4-1~bpo8+1) on KSP 1.1.3 (stable); OS: Debian Stable / backports on kernel/mesa/libgl* enabled.

Routine upgrade to Mesa12 fixed it. More here.
 

Btw "It is unfortunately, KSP on Linux just doesn't work with open source drivers.", been using only opensource drivers with HD5850 and they are supporting KSP way better than catalyst. Its just Unity5 asking for too much too soon. :)

Link to comment
Share on other sites

30 minutes ago, sal_vager said:

Things change in 6 months, for example now the drivers work better for KSP :P

Well, the Catalyst is about to be abandoned anyway in favor of amdgpu+, so all the pre hd7xxx cards will be running an open driver. And all post-hd7xxx cards will be running opendriver with optional  proprietary spice :)

Edited by Kerbal101
the "+/-pro" in amdgpu will be optional
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...