OoliteProject / oolite

The main Oolite repository.
https://www.oolite.space
556 stars 71 forks source link

Flashing compass in 1.77.1 #59

Open Norbylite opened 10 years ago

Norbylite commented 10 years ago

Something happened between 1.77.1.5687 and 1.77.1.5701 which cause flashing compass ring in my Linux-i3-HD4000-no OXPs. I remembered to a similar bug so I put compass to the first dial in hud.plist and the problem solved (and also not in my old v5687), but should be fixed in the core source to avoid fixing all OXP HUDs. My log:

Opening log for Oolite version 1.77.1 (x86-32 test release) under Linux 3.7-trunk-686-pae at 2013-10-27 19:18:10 +0100. 4 processors detected. Build options: spoken messages, mass/fuel pricing, JavaScript console support, OXP verifier, localization tools, debug GraphViz support, JavaScript profiling.

Note that the contents of the log file can be adjusted by editing logcontrol.plist.

19:18:10.402 [dataCache.rebuild.explicitFlush] +ResourceManager checkCacheUpToDateForPaths:: Cache explicitly flushed with always-flush-cache preference. Rebuilding from scratch. 19:18:10.458 [display.mode.list.native] +MyOpenGLView getNativeSize: X11 native resolution detected: 2048 x 1152 19:18:10.490 [joystick.init] -OOSDLJoystickManager init: Number of joysticks detected: 0 19:18:10.490 [rendering.opengl.version] -OOOpenGLExtensionManager reset: OpenGL renderer version: 3.0.0 ("3.0 Mesa 8.0.5"). Vendor: "Tungsten Graphics, Inc". Renderer: "Mesa DRI Intel(R) Ivybridge Desktop x86/MMX/SSE2". 19:18:10.490 [rendering.opengl.extensions] -OOOpenGLExtensionManager reset: OpenGL extensions (146): GL_ARB_framebuffer_sRGB, GL_ARB_depth_texture, GL_MESA_texture_array, GL_ARB_texture_env_add, GL_EXT_pixel_buffer_object, GL_EXT_texture_compression_rgtc, GL_ARB_half_float_vertex, GL_IBM_multimode_draw_arrays, GL_EXT_texture3D, GL_EXT_compiled_vertex_array, GL_EXT_texture_shared_exponent, GL_NV_vertex_program1_1, GL_ARB_framebuffer_object, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_ARB_shader_texture_lod, GL_EXT_texture_cube_map, GL_EXT_rescale_normal, GL_ATI_draw_buffers, GL_ARB_transpose_matrix, GL_ARB_texture_compression_rgtc, GL_ARB_half_float_pixel, GL_EXT_stencil_two_side, GL_ARB_texture_border_clamp, GL_ARB_multisample, GL_ATI_separate_stencil, GL_ARB_texture_non_power_of_two, GL_INGR_blend_func_separate, GL_EXT_bgra, GL_ARB_sync, GL_EXT_texture_env_dot3, GL_EXT_provoking_vertex, GL_APPLE_packed_pixels, GL_NV_light_max_exponent, GL_ARB_sampler_objects, GL_SUN_multi_draw_arrays, GL_ARB_map_buffer_range, GL_ARB_vertex_shader, GL_ARB_shader_objects, GL_NV_texgen_reflection, GL_EXT_multi_draw_arrays, GL_ARB_vertex_program, GL_IBM_rasterpos_clip, GL_EXT_texture_object, GL_ATI_texture_env_combine3, GL_EXT_framebuffer_sRGB, GL_ARB_texture_float, GL_NV_texture_env_combine4, GL_ARB_fragment_coord_conventions, GL_EXT_stencil_wrap, GL_EXT_texture_swizzle, GL_EXT_framebuffer_blit, GL_MESA_pack_invert, GL_ARB_vertex_array_bgra, GL_NV_packed_depth_stencil, GL_ARB_texture_compression, GL_ARB_vertex_array_object, GL_EXT_blend_color, GL_EXT_blend_minmax, GL_ARB_texture_swizzle, GL_EXT_texture_integer, GL_APPLE_vertex_array_object, GL_EXT_transform_feedback, GL_EXT_subtexture, GL_MESA_texture_signed_rgba, GL_ARB_point_sprite, GL_ARB_depth_clamp, GL_NV_depth_clamp, GL_EXT_vertex_array, GL_EXT_abgr, GL_ARB_vertex_buffer_object, GL_NV_blend_square, GL_EXT_framebuffer_multisample, GL_ATI_envmap_bumpmap, GL_NV_conditional_render, GL_NV_texture_rectangle, GL_ARB_multitexture, GL_EXT_texture, GL_ARB_seamless_cube_map, GL_EXT_vertex_array_bgra, GL_ARB_copy_buffer, GL_ARB_draw_elements_base_vertex, GL_APPLE_object_purgeable, GL_ARB_shadow, GL_EXT_blend_subtract, GL_EXT_separate_shader_objects, GL_ARB_fragment_program_shadow, GL_MESA_window_pos, GL_ARB_window_pos, GL_EXT_texture_lod_bias, GL_IBM_texture_mirrored_repeat, GL_EXT_texture_snorm, GL_ARB_texture_env_crossbar, GL_ARB_point_parameters, GL_ARB_depth_buffer_float, GL_EXT_texture_sRGB_decode, GL_ARB_robustness, GL_ARB_texture_rg, GL_EXT_timer_query, GL_EXT_texture_edge_clamp, GL_EXT_copy_texture, GL_EXT_texture_sRGB, GL_MESA_ycbcr_texture, GL_ARB_texture_env_combine, GL_ARB_fragment_program, GL_ARB_explicit_attrib_location, GL_EXT_packed_float, GL_EXT_texture_filter_anisotropic, GL_EXT_draw_range_elements, GL_ARB_pixel_buffer_object, GL_EXT_packed_depth_stencil, GL_ARB_texture_rectangle, GL_EXT_fog_coord, GL_ARB_ES2_compatibility, GL_SGIS_texture_lod, GL_3DFX_texture_compression_FXT1, GL_EXT_gpu_program_parameters, GL_ARB_fragment_shader, GL_OES_EGL_image, GL_EXT_polygon_offset, GL_ARB_shading_language_100, GL_SGIS_texture_border_clamp, GL_EXT_secondary_color, GL_EXT_point_parameters, GL_ARB_draw_buffers, GL_NV_vertex_program, GL_SGIS_generate_mipmap, GL_EXT_draw_buffers2, GL_EXT_texture_rectangle, GL_ATI_blend_equation_separate, GL_OES_read_format, GL_EXT_blend_func_separate, GL_ARB_texture_cube_map, GL_EXT_texture_array, GL_ARB_occlusion_query, GL_EXT_framebuffer_object, GL_EXT_packed_pixels, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_env_dot3, GL_ARB_provoking_vertex, GL_EXT_blend_equation_separate, GL_ARB_color_buffer_float, GL_ATI_texture_float, GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_SGIS_texture_edge_clamp 19:18:10.494 [rendering.opengl.shader.support] -OOOpenGLExtensionManager reset: Shaders are supported. 19:18:10.506 [dataCache.rebuild.explicitFlush] +ResourceManager checkCacheUpToDateForPaths:: Cache explicitly flushed with always-flush-cache preference. Rebuilding from scratch. 19:18:10.506 [searchPaths.dumpAll] +ResourceManager logPaths: Unrestricted mode - resource paths: ~/GNUstep/Applications/Oolite/oolite.app/Resources 19:18:10.572 [shipData.load.begin] +OOShipRegistry(Singleton) allocWithZone:: Loading ship data. 19:18:10.684 [script.javascript.init] -OOJavaScriptEngine reset: JavaScript reset successful. 19:18:10.695 [script.load.world.listAll] +ResourceManager loadScripts: Loaded 9 world scripts: oolite-cloaking-device 1.77.1 oolite-constrictor-hunt 1.77.1 oolite-contracts-cargo 1.77.1 oolite-contracts-helpers 1.77.1 oolite-contracts-parcels 1.77.1 oolite-contracts-passengers 1.77.1 oolite-nova 1.77.1 oolite-thargoid-plans 1.77.1 oolite-trumbles 1.77.1 19:18:11.254 [startup.complete] -GameController applicationDidFinishLaunching:: ========== Loading complete in 0.84 seconds. ========== 19:18:15.131 [screenshot] -MyOpenGLView snapShot:: Saved screen shot "oolite-042.png" (1152 x 864 pixels). 19:18:18.232 [exit.context] -GameController exitAppWithContext:: Exiting: SDL_QUIT event received. 19:18:18.241 [gameController.exitApp] -GameController exitAppWithContext:: .GNUstepDefaults synchronized.

Closing log at 2013-10-27 19:18:18 +0100.

cim-- commented 10 years ago

I suspect a driver issue of some sort since these seem to come up on the Intel HD 4000 only. Could you try gradually moving the compass down your hud.plist to see if you can find out exactly which dial breaks it if it's drawn after instead?

Norbylite commented 10 years ago

No problem if I place compass before scanner in any place within dials and flashing if placed anywhere after scanner. Other dials seems to be irrelevant.

cim-- commented 10 years ago

I thought it might be the scanner. Do you have the tools to compile your own version of Oolite from source? If so there's something you could test.

AnotherCommander commented 9 years ago

@Norbylite : Is this issue still present in trunk 1.81?

Norbylite commented 9 years ago

Yes, and surely Intel HD related. I used an nvidia card meantive without this problem, then show again since I returned to the integrated graphics.

AnotherCommander commented 9 years ago

Any chance of using an updated Intel driver to check whether things change or not?

If we are certain it's a driver issue, I believe we can close this. I have an Intel on Windows and do not see this problem, therefore it would be good to see if this has been fixed in newer Linux drivers.

Norbylite commented 9 years ago

Now I updated my xserver-xorg-video-intel package from 2.19.0 to 2.21.15 but the problem is the same. There is a 2.99.917 in the experimental distribution which need a full system update but I do not want unstable opsystem parts.