Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ogre render MT_POINTS has problem #890

Open
championAI opened this issue Sep 1, 2023 · 0 comments
Open

Ogre render MT_POINTS has problem #890

championAI opened this issue Sep 1, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@championAI
Copy link

Environment

  • OS Version: Ubuntu 20.04
  • Source build on branch gz-rendering7.
  • If this is a GUI or sensor rendering bug, describe your GPU and rendering system. Otherwise delete this section.
    • Rendering plugin: ogre
    • Generally, mention all circumstances that might affect rendering capabilities:
      • running in virtual machine
19:33:37: Creating resource group General
19:33:37: Creating resource group Internal
19:33:37: Creating resource group Autodetect
19:33:37: SceneManagerFactory for type 'DefaultSceneManager' registered.
19:33:37: Registering ResourceManager for type Material
19:33:37: Registering ResourceManager for type Mesh
19:33:37: Registering ResourceManager for type Skeleton
19:33:37: MovableObjectFactory for type 'ParticleSystem' registered.
19:33:37: ArchiveFactory for archive type FileSystem registered.
19:33:37: ArchiveFactory for archive type Zip registered.
19:33:37: ArchiveFactory for archive type EmbeddedZip registered.
19:33:37: DDS codec registering
19:33:37: FreeImage version: 3.18.0
19:33:37: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
19:33:37: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,psb,cut,xbm,xpm,gif,hdr,g3,sgi,rgb,rgba,bw,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,srw,sti,x3f,webp,jxr,wdp,hdp
19:33:37: PVRTC codec registering
19:33:37: ETC codec registering
19:33:37: Registering ResourceManager for type HighLevelGpuProgram
19:33:37: Registering ResourceManager for type Compositor
19:33:37: MovableObjectFactory for type 'Entity' registered.
19:33:37: MovableObjectFactory for type 'Light' registered.
19:33:37: MovableObjectFactory for type 'BillboardSet' registered.
19:33:37: MovableObjectFactory for type 'ManualObject' registered.
19:33:37: MovableObjectFactory for type 'BillboardChain' registered.
19:33:37: MovableObjectFactory for type 'RibbonTrail' registered.
19:33:37: *-*-* OGRE Initialising
19:33:37: *-*-* Version 1.9.0 (Ghadamon)
19:33:37: OverlayElementFactory for type Panel registered.
19:33:37: OverlayElementFactory for type BorderPanel registered.
19:33:37: OverlayElementFactory for type TextArea registered.
19:33:37: Registering ResourceManager for type Font
19:33:37: Loading library /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/RenderSystem_GL.so
19:33:37: Installing plugin: GL RenderSystem
19:33:37: OpenGL Rendering Subsystem created.
19:33:37: Plugin successfully installed
19:33:37: Loading library /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/Plugin_ParticleFX.so
19:33:37: Installing plugin: ParticleFX
19:33:37: Particle Emitter Type 'Point' registered
19:33:37: Particle Emitter Type 'Box' registered
19:33:37: Particle Emitter Type 'Ellipsoid' registered
19:33:37: Particle Emitter Type 'Cylinder' registered
19:33:37: Particle Emitter Type 'Ring' registered
19:33:37: Particle Emitter Type 'HollowEllipsoid' registered
19:33:37: Particle Affector Type 'LinearForce' registered
19:33:37: Particle Affector Type 'ColourFader' registered
19:33:37: Particle Affector Type 'ColourFader2' registered
19:33:37: Particle Affector Type 'ColourImage' registered
19:33:37: Particle Affector Type 'ColourInterpolator' registered
19:33:37: Particle Affector Type 'Scaler' registered
19:33:37: Particle Affector Type 'Rotator' registered
19:33:37: Particle Affector Type 'DirectionRandomiser' registered
19:33:37: Particle Affector Type 'DeflectorPlane' registered
19:33:37: Plugin successfully installed
19:33:37: Loading library /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/Plugin_BSPSceneManager.so
19:33:37: Installing plugin: BSP Scene Manager
19:33:37: Plugin successfully installed
19:33:37: Loading library /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/Plugin_OctreeSceneManager.so
19:33:37: Installing plugin: Octree Scene Manager
19:33:37: Plugin successfully installed
19:33:37: CPU Identifier & Features
19:33:37: -------------------------
19:33:37:  *   CPU ID: GenuineIntel: 13th Gen Intel(R) Core(TM) i5-13400F
19:33:37:  *      SSE: yes
19:33:37:  *     SSE2: yes
19:33:37:  *     SSE3: yes
19:33:37:  *      MMX: yes
19:33:37:  *   MMXEXT: yes
19:33:37:  *    3DNOW: no
19:33:37:  * 3DNOWEXT: no
19:33:37:  *     CMOV: yes
19:33:37:  *      TSC: yes
19:33:37:  *      FPU: yes
19:33:37:  *      PRO: yes
19:33:37:  *       HT: no
19:33:37: -------------------------
19:33:37: ******************************
*** Starting GLX Subsystem ***
******************************
19:33:37: Registering ResourceManager for type Texture
19:33:37: Added resource location '/usr/local/share/gz/gz-rendering7/ogre/media' of type 'FileSystem' to resource group 'General'
19:33:37: Added resource location '/usr/local/share/gz/gz-rendering7/ogre/media/materials/programs' of type 'FileSystem' to resource group 'General'
19:33:37: Added resource location '/usr/local/share/gz/gz-rendering7/ogre/media/materials/scripts' of type 'FileSystem' to resource group 'General'
19:33:37: Added resource location '/usr/local/share/gz/gz-rendering7/ogre/media/materials/textures' of type 'FileSystem' to resource group 'General'
19:33:37: Creating resource group Fonts
19:33:37: Added resource location '/usr/local/share/gz/gz-rendering7/ogre/media/fonts' of type 'FileSystem' to resource group 'Fonts'
19:33:37: GLRenderSystem::_createRenderWindow "OgreWindow(0)_65011713", 1x1 windowed  miscParams: FSAA=0 border=none contentScalingFactor=1.000000 macAPI=cocoa macAPICocoaUseNSView=true parentWindowHandle=65011713 stereoMode=Frame Sequential 
19:33:37: GLXWindow::create used FBConfigID = 325
19:33:37: GL_VERSION = 4.1 (Compatibility Profile) Mesa 21.2.6
19:33:37: GL_VENDOR = VMware, Inc.
19:33:37: GL_RENDERER = SVGA3D; build: RELEASE;  LLVM;
19:33:37: GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_NV_half_float GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_EXT_texture_buffer_object GL_AMD_texture_texture4 GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_buffer_object GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_compatibility GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_texture_lod GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_copy_image GL_ARB_draw_indirect GL_ARB_get_program_binary GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_shader_subroutine GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_viewport_array GL_EXT_direct_state_access GL_EXT_vertex_attrib_64bit GL_AMD_multi_draw_indirect GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_invalidate_subdata GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_texture_buffer_range GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_shading_language_include GL_EXT_shader_integer_mix GL_ARB_direct_state_access GL_ARB_get_texture_sub_image GL_KHR_context_flush_control GL_ARB_parallel_shader_compile GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_MESA_shader_integer_functions GL_ARB_texture_filter_anisotropic GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_EXT_EGL_sync 
19:33:37: Supported GLX extensions: GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_buffer_age GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_no_config_context GLX_EXT_swap_control GLX_EXT_swap_control_tear GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_video_sync 
19:33:37: ***************************
19:33:37: *** GL Renderer Started ***
19:33:37: ***************************
19:33:37: Registering ResourceManager for type GpuProgram
19:33:37: GLSL support detected
19:33:37: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
19:33:37: FBO PF_UNKNOWN depth/stencil support: D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_L8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_L16 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_A4L4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_BYTE_LA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_R5G6B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_B5G6R5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_R3G3B2 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_FLOAT16_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_FLOAT32_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_SHORT_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_FLOAT16_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_FLOAT32_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
19:33:37: [GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_L16 PF_A8 PF_A4L4 PF_BYTE_LA PF_R5G6B5 PF_B5G6R5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_B8G8R8A8 PF_A2R10G10B10 PF_A2B10G10R10 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_SHORT_RGBA PF_R3G3B2 PF_FLOAT16_R PF_FLOAT32_R PF_SHORT_GR PF_FLOAT16_GR PF_FLOAT32_GR PF_SHORT_RGB 
19:33:37: RenderSystem capabilities
19:33:37: -------------------------
19:33:37: RenderSystem Name: OpenGL Rendering Subsystem
19:33:37: GPU Vendor: unknown
19:33:37: Device Name: SVGA3D; build: RELEASE;  LLVM;
19:33:37: Driver Version: 4.1.0.0
19:33:37:  * Fixed function pipeline: yes
19:33:37:  * Hardware generation of mipmaps: yes
19:33:37:  * Texture blending: yes
19:33:37:  * Anisotropic texture filtering: yes
19:33:37:  * Dot product texture operation: yes
19:33:37:  * Cube mapping: yes
19:33:37:  * Hardware stencil buffer: yes
19:33:37:    - Stencil depth: 8
19:33:37:    - Two sided stencil support: yes
19:33:37:    - Wrap stencil values: yes
19:33:37:  * Hardware vertex / index buffers: yes
19:33:37:  * Vertex programs: yes
19:33:37:  * Number of floating-point constants for vertex programs: 2048
19:33:37:  * Number of integer constants for vertex programs: 0
19:33:37:  * Number of boolean constants for vertex programs: 0
19:33:37:  * Fragment programs: yes
19:33:37:  * Number of floating-point constants for fragment programs: 2048
19:33:37:  * Number of integer constants for fragment programs: 0
19:33:37:  * Number of boolean constants for fragment programs: 0
19:33:37:  * Geometry programs: no
19:33:37:  * Number of floating-point constants for geometry programs: 0
19:33:37:  * Number of integer constants for geometry programs: 0
19:33:37:  * Number of boolean constants for geometry programs: 0
19:33:37:  * Tesselation Hull programs: no
19:33:37:  * Number of floating-point constants for tesselation hull programs: 0
19:33:37:  * Number of integer constants for tesselation hull programs: 0
19:33:37:  * Number of boolean constants for tesselation hull programs: 0
19:33:37:  * Tesselation Domain programs: no
19:33:37:  * Number of floating-point constants for tesselation domain programs: 0
19:33:37:  * Number of integer constants for tesselation domain programs: 0
19:33:37:  * Number of boolean constants for tesselation domain programs: 0
19:33:37:  * Compute programs: no
19:33:37:  * Number of floating-point constants for compute programs: 0
19:33:37:  * Number of integer constants for compute programs: 0
19:33:37:  * Number of boolean constants for compute programs: 0
19:33:37:  * Supported Shader Profiles: arbfp1 arbvp1 glsl ps_1_1 ps_1_2 ps_1_3 ps_1_4
19:33:37:  * Texture Compression: yes
19:33:37:    - DXT: yes
19:33:37:    - VTC: no
19:33:37:    - PVRTC: no
19:33:37:    - ATC: no
19:33:37:    - ETC1: no
19:33:37:    - ETC2: no
19:33:37:    - BC4/BC5: no
19:33:37:    - BC6H/BC7: no
19:33:37:  * Scissor Rectangle: yes
19:33:37:  * Hardware Occlusion Query: yes
19:33:37:  * User clip planes: yes
19:33:37:  * VET_UBYTE4 vertex element type: yes
19:33:37:  * Infinite far plane projection: yes
19:33:37:  * Hardware render-to-texture: yes
19:33:37:  * Floating point textures: yes
19:33:37:  * Non-power-of-two textures: yes
19:33:37:  * 1d textures: yes
19:33:37:  * Volume textures: yes
19:33:37:  * Multiple Render Targets: 8
19:33:37:    - With different bit depths: yes
19:33:37:  * Point Sprites: yes
19:33:37:  * Extended point parameters: yes
19:33:37:  * Max Point Size: 80
19:33:37:  * Vertex texture fetch: yes
19:33:37:  * Number of world matrices: 0
19:33:37:  * Number of texture units: 16
19:33:37:  * Stencil buffer depth: 8
19:33:37:  * Number of vertex blend matrices: 0
19:33:37:    - Max vertex textures: 16
19:33:37:    - Vertex textures shared: yes
19:33:37:  * Render to Vertex Buffer : no
19:33:37:  * Hardware Atomic Counters: no
19:33:37:  * GL 1.5 without VBO workaround: no
19:33:37:  * Frame Buffer objects: yes
19:33:37:  * Frame Buffer objects (ARB extension): no
19:33:37:  * Frame Buffer objects (ATI extension): no
19:33:37:  * PBuffer support: yes
19:33:37:  * GL 1.5 without HW-occlusion workaround: no
19:33:37:  * Vertex Array Objects: no
19:33:37:  * Separate shader objects: no
19:33:37: DefaultWorkQueue('Root') initialising on thread 7fd4ddbc4800.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4d262a700 starting.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4d1e29700 starting.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4d2e2b700 starting.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4c3fff700 starting.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4d1628700 starting.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4d0e27700 starting.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4cbfff700 starting.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4cb7fe700 starting.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4caffd700 starting.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4ca7fc700 starting.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4c97fa700 starting.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4c9ffb700 starting.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4c8ff9700 starting.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4c2ffd700 starting.
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4c37fe700 starting.
19:33:37: Particle Renderer Type 'billboard' registered
19:33:37: DefaultWorkQueue('Root')::WorkerFunc - thread 7fd4c27fc700 starting.
19:33:37: SceneManagerFactory for type 'BspSceneManager' registered.
19:33:37: Registering ResourceManager for type BspLevel
19:33:37: SceneManagerFactory for type 'OctreeSceneManager' registered.
19:33:37: Parsing scripts for resource group Autodetect
19:33:37: Finished parsing scripts for resource group Autodetect
19:33:37: Creating resources for group Autodetect
19:33:37: All done
19:33:37: Parsing scripts for resource group Fonts
19:33:37: Parsing script gz-rendering.fontdef
19:33:37: Finished parsing scripts for resource group Fonts
19:33:37: Creating resources for group Fonts
19:33:37: All done
19:33:37: Parsing scripts for resource group General
19:33:37: Parsing script picker.material
19:33:37: Parsing script point_cloud_point.material
19:33:37: Parsing script gaussian_noise.material
19:33:37: Parsing script distortion.material
19:33:37: Parsing script thermal.material
19:33:37: Parsing script wide_angle_camera.material
19:33:37: Parsing script gpu_rays.material
19:33:37: Parsing script pssm.material
19:33:37: Parsing script distortion.compositor
19:33:37: Parsing script gaussian_noise.compositor
19:33:37: Parsing script thermal_camera.compositor
19:33:37: Parsing script wide_camera_lens_map.compositor
19:33:37: Finished parsing scripts for resource group General
19:33:37: Creating resources for group General
19:33:37: All done
19:33:37: Parsing scripts for resource group Internal
19:33:37: Finished parsing scripts for resource group Internal
19:33:37: Creating resources for group Internal
19:33:37: All done
19:33:37: Added resource location '/usr/local/share/gz/gz-rendering7/ogre/media/rtshaderlib150' of type 'FileSystem' to resource group 'General'
19:33:37: Creating resource group ShaderGeneratorResourceGroup
19:33:37: Added resource location '/home/caixinxin/.gz/rendering/ogre-rtshader/caixinxin-rtshaderlibcache/' of type 'FileSystem' to resource group 'ShaderGeneratorResourceGroup'
19:33:37: Added resource location '/usr/local/share/gz/gz-rendering7/media/materials/textures/com.png' of type 'FileSystem' to resource group 'General'
19:33:37: Added resource location '/home/caixinxin/git_clone_project/gazebo_libraries/gz-rendering/examples/mesh_viewer/build/media' of type 'FileSystem' to resource group 'General' with recursive option
19:33:37: Initialising resource group General
19:33:37: Texture: /home/caixinxin/git_clone_project/gazebo_libraries/gz-rendering/examples/mesh_viewer/build/media/duck.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
19:33:37: WARNING: the mesh '/home/caixinxin/git_clone_project/gazebo_libraries/gz-rendering/examples/mesh_viewer/build/media/AmbulanceStretcher.glb::::ORIGINAL' includes vertices without bone assignments. Those vertices will transform to wrong position when skeletal animation enabled. To eliminate this, assign at least one bone assignment per vertex on your mesh.
19:33:37: Texture: spot_shadow_fade.png: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.

Description

  • Expected behavior: render MT_POINTS
  • Actual behavior: *** stack smashing detected ***: terminated
    [1] 6628 abort (core dumped)
    and sometime can run but not display MT_POINTS

Steps to reproduce

  1. paste follow code to examples/mesh_viewer/Main.cc
    '''
    //! [create point cloud]
    gz::rendering::VisualPtr ign_point_cloud = _scene->CreateVisual();
    gz::rendering::MarkerPtr markerPtr = _scene->CreateMarker();
    markerPtr->SetType(gz::rendering::MarkerType::MT_POINTS);
    markerPtr->SetMaterial(gray);
    ign_point_cloud->AddGeometry(markerPtr);
    root->AddChild(ign_point_cloud);
    gz::math::Vector3d vector(1, 1, 1);
    gz::math::Color color{0.9f, 0.9f, 0.9f};
    markerPtr->AddPoint(vector, color);
    markerPtr->AddPoint(vector, color);
    markerPtr->SetSize(5); // 像素大小
    //! [create point cloud]
    '''
  2. build examples/mesh_viewer
  3. terminal: ./mesh_viewer

Output

image
image

(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007f03803e9859 in __GI_abort () at abort.c:79
#2 0x00007f038045426e in __libc_message (action=action@entry=do_abort,
fmt=fmt@entry=0x7f038057e08f "*** %s : terminated\n") at ../sysdeps/posix/libc_fatal.c:155
#3 0x00007f03804f6aba in __GI___fortify_fail (msg=msg@entry=0x7f038057e077 "stack smashing detected")
at fortify_fail.c:26
#4 0x00007f03804f6a86 in __stack_chk_fail () at stack_chk_fail.c:24
#5 0x00007f037b57c3e5 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
#6 0x008ed0100000562a in ?? ()
#7 0x0000562a00c01650 in ?? ()
#8 0x0000562a00c01650 in ?? ()
--Type for more, q to quit, c to continue without paging--
#9 0x0000562a018700e0 in ?? ()
#10 0x0000562a00e0b260 in ?? ()
#11 0x00007fffd4ca3bd0 in ?? ()
#12 0x00007f037ba4e2d4 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
#13 0x00007f037ba4e55c in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
#14 0x00007f037ba4841b in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
#15 0x00007f037ba484a4 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
#16 0x00007f037ba3d225 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
#17 0x00007f037b5a02c6 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
#18 0x00007f037b53ffd7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
#19 0x00007f037b0af863 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
#20 0x00007f0373c5eb11 in Ogre::GLRenderSystem::_render(Ogre::RenderOperation const&) ()
from /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/RenderSystem_GL.so
#21 0x00007f037db6216e in Ogre::SceneManager::renderSingleObject(Ogre::Renderable
, Ogre::Pass const
, bool, bool, Ogre::HashedVectorOgre::Light* const
) () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
#22 0x00007f037db12679 in Ogre::QueuedRenderableCollection::acceptVisitorGrouped(Ogre::QueuedRenderableVisitor*) const ()
from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
#23 0x00007f037db1278c in Ogre::QueuedRenderableCollection::acceptVisitor(Ogre::QueuedRenderableVisitor*, Ogre::QueuedRend--Type for more, q to quit, c to continue without paging--
erableCollection::OrganisationMode) const () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
#24 0x00007f037db5493a in Ogre::SceneManager::renderBasicQueueGroupObjects(Ogre::RenderQueueGroup*, Ogre::QueuedRenderableCollection::OrganisationMode) () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
#25 0x00007f037db547d7 in Ogre::SceneManager::renderVisibleObjectsDefaultSequence() ()
from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
#26 0x00007f037db664a7 in Ogre::SceneManager::_renderScene(Ogre::Camera*, Ogre::Viewport*, bool) ()
from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
#27 0x00007f037d9a0c3a in Ogre::Camera::_renderScene(Ogre::Viewport*, bool) ()
from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
#28 0x00007f037db2c805 in Ogre::RenderTarget::_updateViewport(Ogre::Viewport*, bool) ()
from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
#29 0x00007f037db2c612 in Ogre::RenderTarget::_updateAutoUpdatedViewports(bool) ()
from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
#30 0x00007f037db2c363 in Ogre::RenderTarget::updateImpl() () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
#31 0x00007f037db2cd18 in Ogre::RenderTarget::update(bool) () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
#32 0x00007f037df5376e in gz::rendering::v7::BaseCameragz::rendering::v7::OgreSensor::Update (this=0x562a00900d28)
at /usr/include/c++/9/ext/atomicity.h:82
#33 0x00007f037df50c3a in gz::rendering::v7::BaseCameragz::rendering::v7::OgreSensor::Capture (this=0x562a00900d28,
--Type for more, q to quit, c to continue without paging--
_image=...)
at /home/caixinxin/git_clone_project/gazebo_libraries/gz-rendering/include/gz/rendering/base/BaseCamera.hh:431
#34 0x00005629fefff817 in initCamera(std::shared_ptrgz::rendering::v7::Camera) ()
#35 0x00005629fefffaa1 in run(std::vector<std::shared_ptrgz::rendering::v7::Camera, std::allocator<std::shared_ptrgz::rendering::v7::Camera > >) ()
#36 0x00005629feff87e1 in main ()
(gdb) q

@championAI championAI added the bug Something isn't working label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To do
Development

No branches or pull requests

2 participants