Page 1 of 1

Error message in my log

Posted: Wed Oct 10, 2012 6:54 pm
by Shipbuilder
This is one that I have been meaning to ask about for a while but never got around to it.

When I read my latest log I get the following error message
19:36:30.821 [shader.uniform.unpermittedMethod]: Did not bind uniform "alertlevel" to property -[ShipEntity alertCondition] - unpermitted method.
Does anyone know what this is and how to fix it ?

My system is as follows: -
Windows 7 home premium (Service pack 1)
Intel Pentium Dual CPU E2180 @ 2.00GHz processor
3.00GB RAM
32-bit Operating System

I have attached below a full copy of my latest log incase this helps
19:36:13.668 [log.header]: Opening log for Oolite version 1.76.1 (x86-32 test release) under Windows at 2012-10-10 19:36:13 +0100.
2 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:36:14.031 [display.mode.list.native]: Windows native resolution detected: 1440 x 900
19:36:14.416 [joystick.init]: Number of joysticks detected: 1
19:36:14.825 [dataCache.rebuild.explicitFlush]: Cache explicitly flushed with shift key. Rebuilding from scratch.
19:36:14.830 [rendering.opengl.version]: OpenGL renderer version: 4.2.0 ("4.2.0"). Vendor: "NVIDIA Corporation". Renderer: "GeForce GT 520/PCIe/SSE2".
19:36:14.831 [rendering.opengl.extensions]: OpenGL extensions (265):
GL_ARB_draw_instanced, GL_NV_texture_lod_clamp, GL_NV_float_buffer, GL_NV_vertex_attrib_integer_64bit, GL_ARB_occlusion_query, GL_EXT_texture_env_add, GL_ARB_texture_storage, GL_ARB_texture_env_dot3, GL_ARB_sync, GL_EXTX_framebuffer_mixed_formats, GL_ARB_texture_multisample, GL_NV_texture_env_combine4, GL_ARB_point_parameters, GL_OES_depth24, GL_ARB_vertex_array_object, GL_NVX_gpu_memory_info, GL_NV_vertex_buffer_unified_memory, GL_ARB_blend_func_extended, GL_NV_explicit_multisample, GL_EXT_provoking_vertex, GL_NV_texture_shader2, GL_EXT_blend_equation_separate, GL_ARB_compressed_texture_pixel_storage, GL_NV_texture_shader3, GL_ARB_texture_non_power_of_two, GL_ARB_texture_mirrored_repeat, GL_EXT_multi_draw_arrays, GL_NV_fence, GL_ARB_timer_query, GL_ARB_texture_buffer_object, GL_OES_packed_depth_stencil, GL_NV_occlusion_query, GL_EXT_abgr, GL_ARB_vertex_program, GL_NV_shader_buffer_load, GL_ATI_texture_float, GL_ARB_draw_buffers_blend, GL_ARB_viewport_array, GL_KTX_buffer_region, GL_ARB_shadow, GL_NV_light_max_exponent, GL_EXT_texture_cube_map, GL_EXT_texture_compression_dxt1, GL_ARB_shader_atomic_counters, GL_NV_texture_multisample, GL_NV_primitive_restart, GL_EXT_framebuffer_object, GL_EXT_texture_sRGB, GL_ARB_conservative_depth, GL_ARB_get_program_binary, GL_ARB_multitexture, GL_NV_half_float, GL_NV_copy_image, GL_NV_path_rendering, GL_OES_depth32, GL_NV_register_combiners, GL_EXT_texture_compression_rgtc, GL_ARB_shader_objects, GL_EXT_blend_func_separate, GL_EXT_bgra, GL_ARB_pixel_buffer_object, GL_ARB_vertex_attrib_64bit, GL_NV_fragment_program2, GL_EXT_Cg_shader, GL_ARB_draw_buffers, GL_EXT_separate_shader_objects, GL_NV_texgen_reflection, GL_ARB_texture_env_crossbar, GL_ARB_fragment_shader, GL_EXT_texture_swizzle, GL_EXT_fog_coord, GL_EXT_vertex_array_bgra, GL_EXT_framebuffer_blit, GL_NV_copy_depth_to_color, GL_ARB_texture_compression_rgtc, GL_ARB_sample_shading, GL_NV_vertex_program1_1, GL_ARB_seamless_cube_map, GL_WIN_swap_hint, GL_EXT_texture_shared_exponent, GL_ARB_shading_language_420pack, GL_ARB_shader_subroutine, GL_EXT_texture_format_BGRA8888, GL_EXT_geometry_shader4, GL_EXT_direct_state_access, GL_EXT_compiled_vertex_array, GL_NV_parameter_buffer_object2, GL_ARB_shader_image_load_store, GL_NV_vertex_array_range2, GL_ARB_shading_language_include, GL_EXT_texture_storage, GL_EXT_shader_image_load_store, GL_EXT_separate_specular_color, GL_ARB_vertex_type_2_10_10_10_rev, GL_EXT_vertex_array, GL_ARB_shading_language_100, GL_OES_texture_float, GL_EXT_rescale_normal, GL_ARB_texture_float, GL_EXT_packed_depth_stencil, GL_EXT_bindable_uniform, GL_ARB_texture_swizzle, GL_ARB_half_float_pixel, GL_EXT_texture_compression_s3tc, GL_EXT_draw_instanced, GL_ARB_occlusion_query2, GL_NV_transform_feedback, GL_NV_texture_compression_vtc, GL_ARB_texture_rgb10_a2ui, GL_SGIS_texture_lod, WGL_EXT_swap_control, GL_ARB_geometry_shader4, GL_NV_point_sprite, GL_ARB_framebuffer_object, GL_NV_conditional_render, GL_EXT_stencil_two_side, GL_ARB_texture_rg, GL_OES_get_program_binary, GL_NV_texture_expand_normal, GL_EXT_texture_type_2_10_10_10_REV, GL_ARB_color_buffer_float, GL_NV_gpu_program4_1, GL_NV_framebuffer_multisample_coverage, GL_EXT_blend_color, GL_NV_packed_depth_stencil, GL_NV_geometry_shader4, GL_NV_texture_rectangle, GL_ARB_vertex_array_bgra, GL_EXT_texture_integer, GL_EXT_texture_array, GL_ARB_base_instance, GL_EXT_import_sync_object, GL_ARB_shading_language_packing, GL_ARB_fragment_program_shadow, GL_NV_gpu_program4, GL_NV_fragdepth, GL_EXT_texture_buffer_object, GL_OES_standard_derivatives, GL_NV_vertex_program2_option, GL_NV_gpu_program5, GL_ARB_map_buffer_range, GL_ARB_fragment_program, GL_ARB_copy_buffer, GL_NV_blend_minmax, GL_ARB_tessellation_shader, GL_NV_gpu_shader5, GL_S3_s3tc, GL_NV_depth_clamp, GL_EXT_texture_lod_bias, GL_EXT_texture_filter_anisotropic, GL_EXT_draw_buffers2, GL_OES_texture_3D, GL_NV_fragment_program, GL_EXT_secondary_color, GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, GL_EXT_framebuffer_multisample, GL_ARB_window_pos, GL_IBM_rasterpos_clip, GL_EXT_texture_env_combine, GL_ARB_vertex_shader, GL_ARB_texture_compression_bptc, GL_SGIS_generate_mipmap, GL_ARB_compatibility, GL_ATI_texture_mirror_once, GL_EXT_packed_float, GL_ARB_texture_border_clamp, GL_ARB_explicit_attrib_location, GL_NV_blend_square, GL_ARB_internalformat_query, GL_EXT_texture3D, GL_SUN_slice_accum, GL_NV_vertex_array_range, GL_ARB_ES2_compatibility, GL_NV_vertex_program, GL_ARB_texture_query_lod, GL_NV_multisample_filter_hint, GL_EXT_texture_mirror_clamp, GL_EXT_texture_sRGB_decode, GL_ARB_texture_compression, GL_NV_vertex_program2, GL_NV_multisample_coverage, GL_ARB_texture_env_add, GL_ARB_imaging, GL_NV_vertex_program3, GL_ARB_provoking_vertex, GL_EXT_gpu_shader4, GL_ARB_texture_rectangle, GL_EXT_texture_edge_clamp, GL_NV_transform_feedback2, GL_OES_texture_half_float_linear, GL_ARB_draw_elements_base_vertex, GL_ARB_fragment_coord_conventions, GL_OES_texture_half_float, GL_ARB_separate_shader_objects, GL_SGIX_shadow, GL_ARB_texture_cube_map, GL_EXT_transform_feedback2, GL_NV_alpha_test, GL_OES_vertex_array_object, GL_EXT_framebuffer_sRGB, GL_NV_fragment_program_option, GL_EXT_texture_compression_latc, GL_ARB_robustness, GL_ARB_point_sprite, GL_ARB_texture_gather, GL_ARB_texture_buffer_object_rgb32, GL_OES_depth_texture, GL_NV_depth_buffer_float, GL_ARB_depth_texture, GL_EXT_texture_object, GL_EXT_depth_bounds_test, GL_NV_fog_distance, GL_ARB_instanced_arrays, GL_EXT_blend_minmax, GL_SGIX_depth_texture, GL_ATI_draw_buffers, GL_ARB_framebuffer_sRGB, GL_NV_fbo_color_attachments, GL_EXT_blend_subtract, GL_NV_register_combiners2, GL_EXT_packed_pixels, GL_IBM_texture_mirrored_repeat, GL_NV_texture_shader, GL_EXT_draw_range_elements, GL_ARB_texture_cube_map_array, GL_ARB_sampler_objects, GL_ARB_half_float_vertex, GL_OES_mapbuffer, GL_ARB_shader_precision, GL_ARB_gpu_shader5, GL_OES_rgb8_rgba8, GL_ARB_depth_clamp, GL_ARB_transpose_matrix, GL_NV_parameter_buffer_object, GL_ARB_vertex_buffer_object, GL_ARB_draw_indirect, GL_EXT_pixel_buffer_object, GL_EXT_vertex_attrib_64bit, GL_ARB_transform_feedback_instanced, GL_OES_texture_npot, GL_NVX_conditional_render, GL_ARB_texture_env_combine, GL_OES_vertex_half_float, GL_ARB_shader_bit_encoding, GL_EXT_timer_query, GL_EXT_gpu_program_parameters, GL_ARB_uniform_buffer_object, GL_ARB_multisample, GL_EXT_texture_env_dot3, GL_OES_texture_float_linear, GL_NV_shader_atomic_counters, GL_EXT_shadow_funcs, GL_EXT_texture_lod, GL_ARB_depth_buffer_float, GL_NV_pixel_data_range, GL_ARB_map_buffer_alignment, GL_ARB_gpu_shader_fp64, GL_EXT_stencil_wrap, GL_OES_fbo_render_mipmap, GL_EXT_point_parameters, GL_OES_element_index_uint, GL_NV_texture_barrier, GL_NV_gpu_program_fp64, GL_NV_complex_primitives
19:36:14.848 [rendering.opengl.shader.support]: Shaders are supported.
19:36:14.849 [speech.synthesis]: Spoken messages are off.
19:36:15.093 [dataCache.rebuild.explicitFlush]: Cache explicitly flushed with shift key. Rebuilding from scratch.
19:36:15.098 [searchPaths.dumpAll]: Unrestricted mode - resource paths:
Resources
../AddOns
../AddOns/Apache_class_heavy_freighter_V0.9.oxp
../AddOns/Asteroids3D1.0.oxp
../AddOns/AsteroidStorm 4.02.oxp
../AddOns/Basic-debug.oxp
../AddOns/behemoth 2.6.oxp
../AddOns/BGS-A1.4.oxp
../AddOns/BigShips 1.02.oxp
../AddOns/Cabal_Common_Library1.5.1.oxp
../AddOns/Chimera_Gunship_V1.00.oxp
../AddOns/Clear-HUD.oxp
../AddOns/Colonial Viper Mark 1.oxp
../AddOns/Constitution Class Heavy Cruiser.oxp
../AddOns/CustomShieldsv083.oxp
../AddOns/Cylon_Raider_Mk1_higher_detail_model_V1.0.oxp
../AddOns/DeepSpacePirates 1.3.oxp
../AddOns/Deep_Horizon_Nav_Buoy.oxp
../AddOns/dev_Gemini.oxp
../AddOns/Escort_Formations_1.0.oxp
../AddOns/Explorers'_Club_1.3.1_2012-01-21.oxp
../AddOns/GalDrivePod v1.3.oxp
../AddOns/GalTech_Escape_Pods_V1.01.oxp
../AddOns/Gorgon.oxp
../AddOns/Green Gecko v1.0 SA.oxp
../AddOns/griff_alloys_and_wreckage.oxp
../AddOns/griff_asteroids_normalmapped.oxp
../AddOns/griff_boa_prototype_normalmapped.oxp
../AddOns/griff_cobra_mk1_alt.oxp
../AddOns/griff_krait_v1.1.oxp
../AddOns/Griff_Shipset_Replace_v1.1.oxp
../AddOns/Griff_Shipset_Resources_v1.2.22.oxp
../AddOns/Lightning Mk1.oxp
../AddOns/Ore_processor 1.58.oxp
../AddOns/ramon_anaconda.oxp
../AddOns/RandomHits1.4.12.oxp
../AddOns/randomshipnames1.2.oxp
../AddOns/RomulanBOPv1.3.oxp
../AddOns/SecondWave 1.34.oxp
../AddOns/Serpent_Class_Cruiser_Thargoids_Bane.oxp
../AddOns/Serpent_Class_Cruiser_V1.01.oxp
../AddOns/Shipviewer_Goliath_lander.oxp
../AddOns/Staer9_fireflyV0.5.oxp
../AddOns/System_Redux.oxp
../AddOns/TrophyCollector_1.3_2112-10-02.oxp
../AddOns/WildShips 1.04.oxp
../AddOns/XeptatlsSwordv1.0.2.oxp
19:36:15.459 [shipData.load.begin]: Loading ship data.
19:36:19.427 [script.load.world.listAll]: Loaded 38 world scripts:
anni_cm_script 0.1
asteroids3D 1.0
AsteroidStorm 4.02
behemoth 2.6
BGS-M 1.4
bigShips_populator 1.0.2
Cabal_Common_Briefing 1.5.1
Cabal_Common_Comms 1.5.1
Cabal_Common_Functions 1.5.1
Cabal_Common_Keyboard 1.5.1
Cabal_Common_MissionHandling 1.5.1
Cabal_Common_Music 1.5.1
Cabal_Common_OXPStrength 1.5.1
Cabal_Common_SpecialMarkets 1.5.1
customshields 0.83
Cylonraider 1.0
deep_space_pirates 1.3
el_viejo_green_gecko 1.0
Escort Formations Randomiser 1.0
explorer_club.js 1.3.1
explorer_club_snapshot.js 1.3
GalDrivePod_main_script 1.0
GeminiWorldScript.js 0.1
general_test_script 1.0
gg-character 0.1
oolite-cloaking-device 1.76.1
oolite-constrictor-hunt 1.76.1
oolite-nova 1.76.1
oolite-thargoid-plans 1.76.1
oolite-trumbles 1.76.1
oreProcessor 1.57
Random_Hits 1.4.12
randomshipnames 1.2
System Redux 1.2 1.2
trophy_col 1.3
wildShips_populator.js 1.02
XeptatlsSword-Main 1.0.2
XeptatlsSword-Main-Remover 0.1.15
19:36:29.925 [loading.complete]: ========== Loading complete. ==========
19:36:30.821 [shader.uniform.unpermittedMethod]: Did not bind uniform "alertlevel" to property -[ShipEntity alertCondition] - unpermitted method.
19:36:31.131 [debugTCP.connected]: Connected to debug console "DebugConsole".
19:36:38.333 [script.load.world.listAll]: Loaded 38 world scripts:
anni_cm_script 0.1
asteroids3D 1.0
AsteroidStorm 4.02
behemoth 2.6
BGS-M 1.4
bigShips_populator 1.0.2
Cabal_Common_Briefing 1.5.1
Cabal_Common_Comms 1.5.1
Cabal_Common_Functions 1.5.1
Cabal_Common_Keyboard 1.5.1
Cabal_Common_MissionHandling 1.5.1
Cabal_Common_Music 1.5.1
Cabal_Common_OXPStrength 1.5.1
Cabal_Common_SpecialMarkets 1.5.1
customshields 0.83
Cylonraider 1.0
deep_space_pirates 1.3
el_viejo_green_gecko 1.0
Escort Formations Randomiser 1.0
explorer_club.js 1.3.1
explorer_club_snapshot.js 1.3
GalDrivePod_main_script 1.0
GeminiWorldScript.js 0.1
general_test_script 1.0
gg-character 0.1
oolite-cloaking-device 1.76.1
oolite-constrictor-hunt 1.76.1
oolite-nova 1.76.1
oolite-thargoid-plans 1.76.1
oolite-trumbles 1.76.1
oreProcessor 1.57
Random_Hits 1.4.12
randomshipnames 1.2
System Redux 1.2 1.2
trophy_col 1.3
wildShips_populator.js 1.02
XeptatlsSword-Main 1.0.2
XeptatlsSword-Main-Remover 0.1.15
19:36:46.491 [bigShips_populator]: 0 big trader(s) added to the Erlaza system.

Re: Error message in my log

Posted: Wed Oct 10, 2012 6:55 pm
by Cody
It's to do with Griff's ships, and is entirely harmless... ignore it!

Re: Error message in my log

Posted: Wed Oct 10, 2012 6:59 pm
by Shipbuilder
Thanks EV :wink:

Re: Error message in my log

Posted: Wed Oct 10, 2012 7:01 pm
by Thargoid
To be a little more specific only stations and the player ship have an alert level. But Griff's shaders try and bind it also for general NPC ships, hence the error.

But as EV says, it's just a warning and entirely ignorable.

Re: Error message in my log

Posted: Wed Oct 10, 2012 7:19 pm
by cim
But Griff's shaders try and bind it also for general NPC ships,
Not even that. It's the spinning cobra at the start of the game, which is a cobra3-player, and so normally has player shaders available (but when displayed at the start of the game, it's as an NPC ship, and doesn't)

In 1.77, NPCs have alertLevel available as a shader binding, which will solve that one.

Re: Error message in my log

Posted: Wed Oct 10, 2012 8:28 pm
by JensAyton
Fixed the general fix in r5418.

Re: Error message in my log

Posted: Wed Oct 10, 2012 9:22 pm
by Shipbuilder
Thanks everyone for the information and advice.