Linux Standalone player slow startup after version 5.2
Hi all,
We are using Unity in a timing-sensitive application where we need a game to start more or less at exactly a given timeslot.
When we built the game using Unity 5.2, we saw now problems and the game started almost immediately. However, if we build with 5.3 or 5.4, we see a big lag of 15+ seconds at startup. Perhaps Unity is looking for some driver or hardware but times out.
Below is a sample of the player's log. I'm puzzled by the request for a 0 hz refresh rate, and later what appears to be the player asking for a change to the same resolution 7 times in a row??
Any suggestions or pointers are greatly appreciated, we would rather not revert to building on 5.2 as we need some of the features and bugfixes of later versions. TIA
Selecting FBConfig
GLX_FBCONFIG_ID=102
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_STEREO=0
GLX_CONFIG_CAVEAT=NONE
Desktop is 1920 x 1080 @ 60 Hz
XError: GLXBadFBConfig (error 178, opcode 155/34, serial 61, XID 02400002, display 0x2a20730
XError: GLXBadFBConfig (error 178, opcode 155/34, serial 64, XID 02400002, display 0x2a20730
XError: GLXBadFBConfig (error 178, opcode 155/34, serial 67, XID 02400002, display 0x2a20730
XError: GLXBadFBConfig (error 178, opcode 155/34, serial 70, XID 02400002, display 0x2a20730
XError: GLXBadFBConfig (error 178, opcode 155/34, serial 73, XID 02400002, display 0x2a20730
XError: GLXBadFBConfig (error 178, opcode 155/34, serial 76, XID 02400002, display 0x2a20730
Initialize engine version: 5.4.1p2 (a8ddefd1bf1d)
GfxDevice: creating device client; threaded=1
GLX Extensions: GLX_ARB_create_context GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_framebuffer_sRGB GLX_EXT_create_context_es2_profile GLX_MESA_copy_sub_buffer GLX_MESA_multithread_makecurrent GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_EXT_texture_from_pixmap GLX_INTEL_swap_event
Setting maxVSyncInterval to 4
Renderer: Mesa DRI Intel(R) Haswell Mobile
Vendor: Intel Open Source Technology Center
Version: 3.3 (Core Profile) Mesa 10.1.3
GLES: 0
GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_clear_buffer_object GL_ARB_copy_buffer GL_ARB_conservative_depth GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binary GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_occlusion_query2 GL_ARB_pixel_buffer_object GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_atomic_counters GL_ARB_shader_bit_encoding GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_packing GL_ARB_shading_languag
e_420pack GL_ARB_sync GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map_array GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge 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_rgb10_a2ui GL_ARB_texture_rg GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_binding 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_EXT_abgr GL_EXT_blend_equation_separate GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_sRGB GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_pi
xel_buffer_object GL_EXT_provoking_vertex GL_EXT_shader_integer_mix GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_OES_EGL_image GL_OES_read_format GL_KHR_debug GL_3DFX_texture_compression_FXT1 GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_trinary_minmax GL_AMD_vertex_shader_layer GL_APPLE_object_purgeable GL_ATI_blend_equation_separate GL_ATI_texture_float GL_IBM_multimode_draw_arrays GL_MESA_pack_invert GL_MESA_texture_signed_rgba GL_NV_conditional_render GL_NV_depth_clamp GL_NV_packed_depth_stencil GL_S3_s3tc
OPENGL LOG: Creating OpenGL 3.3 graphics device ; Context level <OpenGL 3.3> ; Context handle 44307792
AudioManager: Using PulseAudio: Default Output Device
Begin MonoManager ReloadAssembly
[...]
- Completed reload, in 0.060 seconds
[...]
Default vsync count 1
requesting resize 1920 x 1080
Using native desktop resolution 1920 x 1080
Selecting FBConfig
GLX_FBCONFIG_ID=102
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_STEREO=0
GLX_CONFIG_CAVEAT=NONE
requesting fullscreen 1920 x 1080 at 0 Hz
Desktop is 1920 x 1080 @ 60 Hz
Using libudev for joystick management
Importing game controller configs
UnloadTime: 1.126000 ms
Changing real window size to 1920 x 1080
Changing real window size to 1920 x 1080
Changing real window size to 1920 x 1080
Changing real window size to 1920 x 1080
Changing real window size to 1920 x 1080
Changing real window size to 1920 x 1080
Changing real window size to 1920 x 1080
Your answer
Follow this Question
Related Questions
How to additional controlled fake/artificial input delay/lag? 0 Answers
Animation start delay 1 Answer
How can I show a prompt for the user when my standalone application crashes? 0 Answers
Having an issue with touch input lag on certain Android devices, any help? 1 Answer
my game freeze when arriving at a specific level at the first trigger 0 Answers