Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.
More details in this thread.
shader on amd radeon linux oolite trunk
Moderators: winston, another_commander, Getafix
shader on amd radeon linux oolite trunk
After some updates I see what you see below with Shader Enabled and with Extra Details ( my default ),
normal detail shows 'the normal cobra' which is also Thargoid Green in the startup screen.
this time it occured after the update around the time of the new planet options for custom planets
Latest Log says Shaders enabled.
I think it has to do with the standard ships using the default shader ? Some oxp/oxz ships are not affected with this Thargoid Green.
Testing and bugs or Linux oolite?
normal detail shows 'the normal cobra' which is also Thargoid Green in the startup screen.
this time it occured after the update around the time of the new planet options for custom planets
Latest Log says Shaders enabled.
I think it has to do with the standard ships using the default shader ? Some oxp/oxz ships are not affected with this Thargoid Green.
Testing and bugs or Linux oolite?
-
- Quite Grand Sub-Admiral
- Posts: 6570
- Joined: Wed Feb 28, 2007 7:54 am
Re: shader on amd radeon linux oolite trunk
What OXPs are running here and which system (planet) is this? Do you have a savegame we can use to test and/or any Latest.log?
Re: shader on amd radeon linux oolite trunk
I did a restart without any OXPs and launch out to Lave
Code: Select all
Opening log for Oolite development version 1.89.0.7225-200507-9049ab9 (x86-64 test release) under Linux 4.4.0-148-generic at 2020-05-09 20:20:49 +0200.
AMD Athlon(tm) II X2 250 Processor 2 processors detected.
Build options: OpenAL, new planets, 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.
20:20:49.545 [dataCache.rebuild.explicitFlush]: Cache explicitly flushed with always-flush-cache preference. Rebuilding from scratch.
20:20:49.718 [display.mode.list.native]: X11 native resolution detected: 1920 x 1080
20:20:49.718 [display.mode.found.failed]: Failed to find mode: width=832 height=624 refresh=0
20:20:49.718 [display.mode.found.failed.list]: Contents of list: ({Height = 1080; RefreshRate = 0; Width = 1920; }, {Height = 1024; RefreshRate = 0; Width = 1280; }, {Height = 720; RefreshRate = 0; Width = 1280; }, {Height = 768; RefreshRate = 0; Width = 1024; }, {Height = 600; RefreshRate = 0; Width = 800; }, {Height = 576; RefreshRate = 0; Width = 720; }, {Height = 480; RefreshRate = 0; Width = 720; }, {Height = 480; RefreshRate = 0; Width = 640; })
20:20:49.792 [joystick.init]: Number of joysticks detected: 0
20:20:49.793 [rendering.opengl.version]: OpenGL renderer version: 3.0.0 ("3.0 Mesa 10.1.3"). Vendor: "X.Org". Renderer: "Gallium 0.4 on AMD RV730".
20:20:49.793 [rendering.opengl.extensions]: OpenGL extensions (188):
GL_ATI_texture_mirror_once, GL_ARB_framebuffer_sRGB, GL_AMD_draw_buffers_blend, GL_ARB_transform_feedback_instanced, GL_ARB_depth_texture, GL_ARB_invalidate_subdata, GL_ARB_texture_env_add, GL_NV_texture_barrier, GL_EXT_pixel_buffer_object, GL_ARB_draw_instanced, 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_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_ARB_texture_rgb10_a2ui, 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_NV_fog_distance, GL_ARB_shading_language_packing, GL_INGR_blend_func_separate, GL_EXT_bgra, GL_ARB_texture_storage_multisample, 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_clear_buffer_object, GL_ARB_vertex_program, GL_IBM_rasterpos_clip, GL_EXT_texture_object, GL_ARB_base_instance, GL_ARB_get_program_binary, GL_ATI_texture_env_combine3, GL_EXT_framebuffer_sRGB, GL_ARB_texture_float, GL_NV_texture_env_combine4, GL_ARB_draw_buffers_blend, GL_AMD_shader_stencil_export, GL_ATI_texture_compression_3dc, GL_ARB_fragment_coord_conventions, GL_EXT_stencil_wrap, GL_EXT_texture_swizzle, GL_ARB_uniform_buffer_object, GL_EXT_framebuffer_blit, GL_NV_primitive_restart, GL_MESA_pack_invert, GL_ARB_vertex_array_bgra, GL_NV_packed_depth_stencil, GL_ARB_texture_compression, GL_KHR_debug, 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_ARB_shader_bit_encoding, GL_EXT_texture_compression_s3tc, GL_EXT_subtexture, GL_ARB_occlusion_query2, GL_ARB_timer_query, GL_MESA_texture_signed_rgba, GL_ARB_debug_output, 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_ARB_vertex_attrib_binding, GL_ARB_instanced_arrays, GL_EXT_framebuffer_multisample, 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_ARB_transform_feedback2, GL_ARB_transform_feedback3, GL_ARB_shadow, GL_EXT_draw_instanced, GL_EXT_blend_subtract, GL_ARB_internalformat_query, GL_ARB_fragment_program_shadow, GL_MESA_window_pos, GL_ARB_texture_storage, GL_ARB_shader_stencil_export, GL_ARB_window_pos, GL_ARB_texture_multisample, GL_EXT_texture_lod_bias, GL_IBM_texture_mirrored_repeat, GL_ARB_texture_mirror_clamp_to_edge, GL_EXT_texture_snorm, GL_ARB_texture_env_crossbar, GL_ARB_point_parameters, GL_ARB_depth_buffer_float, GL_ARB_shading_language_420pack, GL_ARB_vertex_type_2_10_10_10_rev, GL_EXT_texture_sRGB_decode, GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_robustness, GL_ARB_texture_rg, GL_EXT_timer_query, GL_EXT_texture_edge_clamp, GL_EXT_copy_texture, GL_ANGLE_texture_compression_dxt3, GL_EXT_texture_sRGB, GL_EXT_texture_compression_dxt1, GL_ARB_texture_env_combine, GL_ANGLE_texture_compression_dxt5, GL_EXT_framebuffer_multisample_blit_scaled, 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_AMD_conservative_depth, GL_EXT_fog_coord, GL_ARB_ES2_compatibility, GL_SGIS_texture_lod, GL_EXT_gpu_program_parameters, GL_ARB_fragment_shader, GL_OES_EGL_image, GL_NV_vdpau_interop, GL_EXT_polygon_offset, GL_ARB_shading_language_100, GL_SGIS_texture_border_clamp, GL_EXT_secondary_color, GL_EXT_point_parameters, GL_AMD_shader_trinary_minmax, GL_ARB_draw_buffers, GL_SGIS_generate_mipmap, GL_EXT_draw_buffers2, GL_EXT_texture_rectangle, GL_ATI_blend_equation_separate, GL_ARB_blend_func_extended, GL_OES_read_format, GL_EXT_blend_func_separate, GL_ARB_texture_cube_map, GL_EXT_texture_array, GL_S3_s3tc, GL_ARB_occlusion_query, GL_EXT_texture_mirror_clamp, GL_EXT_framebuffer_object, GL_EXT_packed_pixels, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_env_dot3, GL_ARB_map_buffer_alignment, GL_EXT_texture_compression_latc, 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, GL_ARB_conservative_depth
20:20:49.802 [rendering.opengl.shader.support]: Shaders are supported.
20:20:49.908 [dataCache.rebuild.explicitFlush]: Cache explicitly flushed with always-flush-cache preference. Rebuilding from scratch.
20:20:49.909 [dataCache.rebuild.explicitFlush]: Cache explicitly flushed with always-flush-cache preference. Rebuilding from scratch.
20:20:49.909 [searchPaths.dumpAll]: Resource paths:
~/GNUstep/Applications/Oolite-trunk/oolite.app/Resources
20:20:50.124 [shipData.load.begin]: Loading ship data.
20:20:50.815 [script.javascript.init]: JavaScript reset successful.
20:20:51.658 [startup.complete]: ========== Loading complete in 2.06 seconds. ==========
20:20:56.837 [rendering.detail-level]: Detail level set to DETAIL_LEVEL_SHADERS.
20:20:56.837 [rendering.reset.start]: Resetting graphics state.
20:20:56.839 [rendering.opengl.version]: OpenGL renderer version: 3.0.0 ("3.0 Mesa 10.1.3"). Vendor: "X.Org". Renderer: "Gallium 0.4 on AMD RV730".
20:20:56.840 [rendering.opengl.extensions]: OpenGL extensions (188):
GL_ATI_texture_mirror_once, GL_ARB_framebuffer_sRGB, GL_AMD_draw_buffers_blend, GL_ARB_transform_feedback_instanced, GL_ARB_depth_texture, GL_ARB_invalidate_subdata, GL_ARB_texture_env_add, GL_NV_texture_barrier, GL_EXT_pixel_buffer_object, GL_ARB_draw_instanced, 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_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_ARB_texture_rgb10_a2ui, 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_NV_fog_distance, GL_ARB_shading_language_packing, GL_INGR_blend_func_separate, GL_EXT_bgra, GL_ARB_texture_storage_multisample, 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_clear_buffer_object, GL_ARB_vertex_program, GL_IBM_rasterpos_clip, GL_EXT_texture_object, GL_ARB_base_instance, GL_ARB_get_program_binary, GL_ATI_texture_env_combine3, GL_EXT_framebuffer_sRGB, GL_ARB_texture_float, GL_NV_texture_env_combine4, GL_ARB_draw_buffers_blend, GL_AMD_shader_stencil_export, GL_ATI_texture_compression_3dc, GL_ARB_fragment_coord_conventions, GL_EXT_stencil_wrap, GL_EXT_texture_swizzle, GL_ARB_uniform_buffer_object, GL_EXT_framebuffer_blit, GL_NV_primitive_restart, GL_MESA_pack_invert, GL_ARB_vertex_array_bgra, GL_NV_packed_depth_stencil, GL_ARB_texture_compression, GL_KHR_debug, 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_ARB_shader_bit_encoding, GL_EXT_texture_compression_s3tc, GL_EXT_subtexture, GL_ARB_occlusion_query2, GL_ARB_timer_query, GL_MESA_texture_signed_rgba, GL_ARB_debug_output, 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_ARB_vertex_attrib_binding, GL_ARB_instanced_arrays, GL_EXT_framebuffer_multisample, 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_ARB_transform_feedback2, GL_ARB_transform_feedback3, GL_ARB_shadow, GL_EXT_draw_instanced, GL_EXT_blend_subtract, GL_ARB_internalformat_query, GL_ARB_fragment_program_shadow, GL_MESA_window_pos, GL_ARB_texture_storage, GL_ARB_shader_stencil_export, GL_ARB_window_pos, GL_ARB_texture_multisample, GL_EXT_texture_lod_bias, GL_IBM_texture_mirrored_repeat, GL_ARB_texture_mirror_clamp_to_edge, GL_EXT_texture_snorm, GL_ARB_texture_env_crossbar, GL_ARB_point_parameters, GL_ARB_depth_buffer_float, GL_ARB_shading_language_420pack, GL_ARB_vertex_type_2_10_10_10_rev, GL_EXT_texture_sRGB_decode, GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_robustness, GL_ARB_texture_rg, GL_EXT_timer_query, GL_EXT_texture_edge_clamp, GL_EXT_copy_texture, GL_ANGLE_texture_compression_dxt3, GL_EXT_texture_sRGB, GL_EXT_texture_compression_dxt1, GL_ARB_texture_env_combine, GL_ANGLE_texture_compression_dxt5, GL_EXT_framebuffer_multisample_blit_scaled, 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_AMD_conservative_depth, GL_EXT_fog_coord, GL_ARB_ES2_compatibility, GL_SGIS_texture_lod, GL_EXT_gpu_program_parameters, GL_ARB_fragment_shader, GL_OES_EGL_image, GL_NV_vdpau_interop, GL_EXT_polygon_offset, GL_ARB_shading_language_100, GL_SGIS_texture_border_clamp, GL_EXT_secondary_color, GL_EXT_point_parameters, GL_AMD_shader_trinary_minmax, GL_ARB_draw_buffers, GL_SGIS_generate_mipmap, GL_EXT_draw_buffers2, GL_EXT_texture_rectangle, GL_ATI_blend_equation_separate, GL_ARB_blend_func_extended, GL_OES_read_format, GL_EXT_blend_func_separate, GL_ARB_texture_cube_map, GL_EXT_texture_array, GL_S3_s3tc, GL_ARB_occlusion_query, GL_EXT_texture_mirror_clamp, GL_EXT_framebuffer_object, GL_EXT_packed_pixels, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_env_dot3, GL_ARB_map_buffer_alignment, GL_EXT_texture_compression_latc, 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, GL_ARB_conservative_depth
20:20:56.842 [rendering.opengl.shader.support]: Shaders are supported.
20:20:57.405 [rendering.detail-level]: Detail level set to DETAIL_LEVEL_EXTRAS.
20:20:57.405 [rendering.reset.start]: Resetting graphics state.
20:20:57.406 [rendering.opengl.version]: OpenGL renderer version: 3.0.0 ("3.0 Mesa 10.1.3"). Vendor: "X.Org". Renderer: "Gallium 0.4 on AMD RV730".
20:20:57.406 [rendering.opengl.extensions]: OpenGL extensions (188):
GL_ATI_texture_mirror_once, GL_ARB_framebuffer_sRGB, GL_AMD_draw_buffers_blend, GL_ARB_transform_feedback_instanced, GL_ARB_depth_texture, GL_ARB_invalidate_subdata, GL_ARB_texture_env_add, GL_NV_texture_barrier, GL_EXT_pixel_buffer_object, GL_ARB_draw_instanced, 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_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_ARB_texture_rgb10_a2ui, 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_NV_fog_distance, GL_ARB_shading_language_packing, GL_INGR_blend_func_separate, GL_EXT_bgra, GL_ARB_texture_storage_multisample, 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_clear_buffer_object, GL_ARB_vertex_program, GL_IBM_rasterpos_clip, GL_EXT_texture_object, GL_ARB_base_instance, GL_ARB_get_program_binary, GL_ATI_texture_env_combine3, GL_EXT_framebuffer_sRGB, GL_ARB_texture_float, GL_NV_texture_env_combine4, GL_ARB_draw_buffers_blend, GL_AMD_shader_stencil_export, GL_ATI_texture_compression_3dc, GL_ARB_fragment_coord_conventions, GL_EXT_stencil_wrap, GL_EXT_texture_swizzle, GL_ARB_uniform_buffer_object, GL_EXT_framebuffer_blit, GL_NV_primitive_restart, GL_MESA_pack_invert, GL_ARB_vertex_array_bgra, GL_NV_packed_depth_stencil, GL_ARB_texture_compression, GL_KHR_debug, 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_ARB_shader_bit_encoding, GL_EXT_texture_compression_s3tc, GL_EXT_subtexture, GL_ARB_occlusion_query2, GL_ARB_timer_query, GL_MESA_texture_signed_rgba, GL_ARB_debug_output, 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_ARB_vertex_attrib_binding, GL_ARB_instanced_arrays, GL_EXT_framebuffer_multisample, 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_ARB_transform_feedback2, GL_ARB_transform_feedback3, GL_ARB_shadow, GL_EXT_draw_instanced, GL_EXT_blend_subtract, GL_ARB_internalformat_query, GL_ARB_fragment_program_shadow, GL_MESA_window_pos, GL_ARB_texture_storage, GL_ARB_shader_stencil_export, GL_ARB_window_pos, GL_ARB_texture_multisample, GL_EXT_texture_lod_bias, GL_IBM_texture_mirrored_repeat, GL_ARB_texture_mirror_clamp_to_edge, GL_EXT_texture_snorm, GL_ARB_texture_env_crossbar, GL_ARB_point_parameters, GL_ARB_depth_buffer_float, GL_ARB_shading_language_420pack, GL_ARB_vertex_type_2_10_10_10_rev, GL_EXT_texture_sRGB_decode, GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_robustness, GL_ARB_texture_rg, GL_EXT_timer_query, GL_EXT_texture_edge_clamp, GL_EXT_copy_texture, GL_ANGLE_texture_compression_dxt3, GL_EXT_texture_sRGB, GL_EXT_texture_compression_dxt1, GL_ARB_texture_env_combine, GL_ANGLE_texture_compression_dxt5, GL_EXT_framebuffer_multisample_blit_scaled, 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_AMD_conservative_depth, GL_EXT_fog_coord, GL_ARB_ES2_compatibility, GL_SGIS_texture_lod, GL_EXT_gpu_program_parameters, GL_ARB_fragment_shader, GL_OES_EGL_image, GL_NV_vdpau_interop, GL_EXT_polygon_offset, GL_ARB_shading_language_100, GL_SGIS_texture_border_clamp, GL_EXT_secondary_color, GL_EXT_point_parameters, GL_AMD_shader_trinary_minmax, GL_ARB_draw_buffers, GL_SGIS_generate_mipmap, GL_EXT_draw_buffers2, GL_EXT_texture_rectangle, GL_ATI_blend_equation_separate, GL_ARB_blend_func_extended, GL_OES_read_format, GL_EXT_blend_func_separate, GL_ARB_texture_cube_map, GL_EXT_texture_array, GL_S3_s3tc, GL_ARB_occlusion_query, GL_EXT_texture_mirror_clamp, GL_EXT_framebuffer_object, GL_EXT_packed_pixels, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_env_dot3, GL_ARB_map_buffer_alignment, GL_EXT_texture_compression_latc, 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, GL_ARB_conservative_depth
20:20:57.407 [rendering.opengl.shader.support]: Shaders are supported.
20:21:04.027 [shipData.load.begin]: Loading ship data.
20:21:04.615 [script.javascript.init]: JavaScript reset successful.
20:21:04.644 [script.javascript.init]: JavaScript reset successful.
20:21:04.753 [script.load.world.listAll]: Loaded 16 world scripts:
Oolite Equipment Control 1.89
Oolite Ship Library 1.89
oolite-cloaking-device 1.89
oolite-constrictor-hunt 1.89
oolite-contracts-cargo 1.89
oolite-contracts-helpers 1.89
oolite-contracts-parcels 1.89
oolite-contracts-passengers 1.89
oolite-libPriorityAI 1.89
oolite-nova 1.89
oolite-populator 1.89
oolite-primable-equipment-register 1.89
oolite-registership 1.89
oolite-thargoid-plans 1.89
oolite-trumbles 1.89
oolite-tutorial 1.89
20:22:04.146 [screenshot]: Saved screen shot "oolite-257.png" (1912 x 1049 pixels).
20:22:20.770 [shipData.load.begin]: Loading ship data.
20:22:21.419 [script.javascript.init]: JavaScript reset successful.
20:22:26.950 [exit.context]: Exiting: SDL_QUIT event received.
20:22:26.954 [gameController.exitApp]: .GNUstepDefaults synchronized.
Closing log at 2020-05-09 20:22:26 +0200.
-
- Quite Grand Sub-Admiral
- Posts: 6570
- Joined: Wed Feb 28, 2007 7:54 am
Re: shader on amd radeon linux oolite trunk
Something else you can try is go back to previous versions of the nightlies until you find the actual version that breaks the graphics. That would be really helpful.
Re: shader on amd radeon linux oolite trunk
To be honest I do not know how to go back, I use the oolite-trunk-update to go forward
-
- Quite Grand Sub-Admiral
- Posts: 6570
- Joined: Wed Feb 28, 2007 7:54 am
Re: shader on amd radeon linux oolite trunk
We have Linux binary installers for all previous nightly versions on github here: https://github.com/OoliteProject/nightlies/releases. Expand the Assets selection for the version you are interested in and you can download the installer.
Re: shader on amd radeon linux oolite trunk
The earliest available installer is 1.89.0.200411 which gives the same greenish effect. So my trunk must've been from before that date.
I also installed a stable version and updated it, 1.88 this looks normal with extra details
I also installed a stable version and updated it, 1.88 this looks normal with extra details
-
- Quite Grand Sub-Admiral
- Posts: 6570
- Joined: Wed Feb 28, 2007 7:54 am
Re: shader on amd radeon linux oolite trunk
Try this:
Open the oolite-default-shader.fragment from 1.89 in an editor. Find this part at the end:and replace it with
Does this help get rid of the green ships?
Open the oolite-default-shader.fragment from 1.89 in an editor. Find this part at the end:
Code: Select all
// gamma correction
// using Jim Hejl's filmic tonemapping and gamma correction approximation.
// Normally this would require HDR, but I think it works extremely well in Oolite.
// Formula taken from https://www.gdcvault.com/play/1012351/Uncharted-2-HDR
// jump to 27:40 in the video. Note the pow 1.0/2.2 is baked into these numbers
if (uGammaCorrect)
{
vec3 x = max(vec3(0.0), totalColor.rgb - 0.004);
totalColor.rgb = (x * (6.2 * x + 0.5)) / (x * (6.2 * x + 1.7) + 0.06);
}
Code: Select all
// gamma correction
if (uGammaCorrect) totalColor = pow(totalColor, vec4(OOLINEAR_TO_SRGB));
Re: shader on amd radeon linux oolite trunk
Yes! no more green ships! with current updated oolite-trunk and installed oxp/oxzs
-
- Quite Grand Sub-Admiral
- Posts: 6570
- Joined: Wed Feb 28, 2007 7:54 am
Re: shader on amd radeon linux oolite trunk
OK, your drivers are bad. The filmic tonemapping calculation that had to be removed in order to make it work is just standard vector math on the rgb parts of the processed pixel color. If it fails on the Gallium drivers, then there is something wrong with them.
As a final test, let's try this: Does it still work if you change the gamma correction line back to filmic tonemapping, but like this?
As a final test, let's try this: Does it still work if you change the gamma correction line back to filmic tonemapping, but like this?
Code: Select all
// using Jim Hejl's filmic tonemapping and gamma correction approximation.
// Normally this would require HDR, but I think it works extremely well in Oolite.
// Formula taken from https://www.gdcvault.com/play/1012351/Uncharted-2-HDR
// jump to 27:40 in the video. Note the pow 1.0/2.2 is baked into these numbers
if (uGammaCorrect)
{
vec4 x = max(vec4(0.0), totalColor - 0.004);
totalColor = (x * (6.2 * x + 0.5)) / (x * (6.2 * x + 1.7) + 0.06);
}
Re: shader on amd radeon linux oolite trunk
With
The ships are still ok!
Code: Select all
vec4 x = max(vec4(0.0), totalColor - 0.004);
totalColor = (x * (6.2 * x + 0.5)) / (x * (6.2 * x + 1.7) + 0.06);
-
- Quite Grand Sub-Admiral
- Posts: 6570
- Joined: Wed Feb 28, 2007 7:54 am
Re: shader on amd radeon linux oolite trunk
What the...
OK, can we try one more thing? I believe there might be residual values higher than 1.0 in totalColor's alpha component following all the calculations going on in the shader and maybe this is what throws gl_FragColor off (still, the driver is messed up if it does not clamp alpha to 1.0). So, what happens if you put back the original 1.89 filmic tonemapping code (the problematic one), but having this line inserted just before it?Does that still work?
OK, can we try one more thing? I believe there might be residual values higher than 1.0 in totalColor's alpha component following all the calculations going on in the shader and maybe this is what throws gl_FragColor off (still, the driver is messed up if it does not clamp alpha to 1.0). So, what happens if you put back the original 1.89 filmic tonemapping code (the problematic one), but having this line inserted just before it?
Code: Select all
totalColor.a = 1.0;
Re: shader on amd radeon linux oolite trunk
This also works...
Code: Select all
totalColor.a = 1.0;
if (uGammaCorrect)
{
vec3 x = max(vec3(0.0), totalColor.rgb - 0.004);
totalColor.rgb = (x * (6.2 * x + 0.5)) / (x * (6.2 * x + 1.7) + 0.06);
}
-
- Quite Grand Sub-Admiral
- Posts: 6570
- Joined: Wed Feb 28, 2007 7:54 am
Re: shader on amd radeon linux oolite trunk
Thanks for testing. I think I will commit this as final fix:
I expect this to not be causing any issues and it should allow calculated alpha values within the 0.0 to 1.0 range to still be usable if necessary.
Code: Select all
totalColor.a = clamp(totalColor.a, 0.0, 1.0);