gazebosim / gz-sim

Open source robotics simulator. The latest version of Gazebo.
https://gazebosim.org
Apache License 2.0
665 stars 261 forks source link

Fortress in WSL2 terminated on opening due to Ogre error #2502

Closed Domiragi closed 1 month ago

Domiragi commented 1 month ago

I am trying to run Fortress in WSL2, specifically on Ubuntu 22.04.3 LTS. I'm using an up-to-date Wins 10 with WSL2 and WSLg installed. After installing from binary, running ign gazebo shapes.sdf would show the GUI being opened brieftly before being terminated by an Ogre exception. This is very similar to issue #920 where this comment shows the exact same error message. This issue was supposedly fixed in the updated Garden and Fortress and the ticket was closed.

I also want to note that when I uninstalled Fortress and instead installed Garden from binary, Gazebo would actually run as expected, and I encountered no bug/crash at all.

Environment

``` 03:19:53: Creating resource group General 03:19:53: Creating resource group Internal 03:19:53: Creating resource group Autodetect 03:19:53: SceneManagerFactory for type 'DefaultSceneManager' registered. 03:19:53: Registering ResourceManager for type Material 03:19:53: Registering ResourceManager for type Mesh 03:19:53: Registering ResourceManager for type Mesh2 03:19:53: Registering ResourceManager for type OldSkeleton 03:19:53: MovableObjectFactory for type 'ParticleSystem' registered. 03:19:53: ArchiveFactory for archive type FileSystem registered. 03:19:53: ArchiveFactory for archive type Zip registered. 03:19:53: ArchiveFactory for archive type EmbeddedZip registered. 03:19:53: DDS codec registering 03:19:53: FreeImage version: 3.18.0 03:19:53: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details 03:19:53: 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 03:19:53: ETC codec registering 03:19:53: OITD codec registering 03:19:53: Registering ResourceManager for type HighLevelGpuProgram 03:19:53: MovableObjectFactory for type 'Decal' registered. 03:19:53: MovableObjectFactory for type 'InternalCubemapProbe' registered. 03:19:53: MovableObjectFactory for type 'Entity' registered. 03:19:53: MovableObjectFactory for type 'Item' registered. 03:19:53: MovableObjectFactory for type 'Light' registered. 03:19:53: MovableObjectFactory for type 'Rectangle2Dv2' registered. 03:19:53: MovableObjectFactory for type 'BillboardSet' registered. 03:19:53: MovableObjectFactory for type 'ManualObject2' registered. 03:19:53: MovableObjectFactory for type 'BillboardChain' registered. 03:19:53: MovableObjectFactory for type 'RibbonTrail' registered. 03:19:53: MovableObjectFactory for type 'WireAabb' registered. 03:19:53: *-*-* OGRE Initialising 03:19:53: *-*-* Version 2.3.1 (Daedalus) 03:19:53: OverlayElementFactory for type Panel registered. 03:19:53: OverlayElementFactory for type BorderPanel registered. 03:19:53: OverlayElementFactory for type TextArea registered. 03:19:53: Registering ResourceManager for type Font 03:19:53: Loading library /usr/lib/x86_64-linux-gnu/OGRE-2.3/OGRE/RenderSystem_GL3Plus.so 03:19:53: Installing plugin: GL 3+ RenderSystem 03:19:53: OpenGL 3+ Rendering Subsystem created. 03:19:53: Found Num EGL Devices: 2 03:19:53: EGL Device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 03:19:53: Trying to init device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0... 03:19:54: Created GL 4.2 context for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 03:19:54: Destroying device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0... 03:19:54: EGL Device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1 03:19:54: Trying to init device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1... 03:19:54: Created GL 4.2 context for device EGL_MESA_device_software EGL_EXT_device_drm_render_node #1 03:19:54: Destroying device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1... 03:19:54: Plugin successfully installed 03:19:54: Loading library /usr/lib/x86_64-linux-gnu/OGRE-2.3/OGRE/Plugin_ParticleFX.so 03:19:54: Installing plugin: ParticleFX 03:19:54: Particle Emitter Type 'Point' registered 03:19:54: Particle Emitter Type 'Box' registered 03:19:54: Particle Emitter Type 'Ellipsoid' registered 03:19:54: Particle Emitter Type 'Cylinder' registered 03:19:54: Particle Emitter Type 'Ring' registered 03:19:54: Particle Emitter Type 'HollowEllipsoid' registered 03:19:54: Particle Affector Type 'LinearForce' registered 03:19:54: Particle Affector Type 'ColourFader' registered 03:19:54: Particle Affector Type 'ColourFader2' registered 03:19:54: Particle Affector Type 'ColourImage' registered 03:19:54: Particle Affector Type 'ColourInterpolator' registered 03:19:54: Particle Affector Type 'Scaler' registered 03:19:54: Particle Affector Type 'Rotator' registered 03:19:54: Particle Affector Type 'DirectionRandomiser' registered 03:19:54: Particle Affector Type 'DeflectorPlane' registered 03:19:54: Plugin successfully installed 03:19:54: CPU Identifier & Features 03:19:54: ------------------------- 03:19:54: * CPU ID: GenuineIntel: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz 03:19:54: * Logical cores: 8 03:19:54: * SSE: yes 03:19:54: * SSE2: yes 03:19:54: * SSE3: yes 03:19:54: * MMX: yes 03:19:54: * MMXEXT: yes 03:19:54: * 3DNOW: no 03:19:54: * 3DNOWEXT: no 03:19:54: * CMOV: yes 03:19:54: * TSC: yes 03:19:54: * FPU: yes 03:19:54: * PRO: yes 03:19:54: * HT: no 03:19:54: ------------------------- 03:19:54: ****************************** *** Starting GLX Subsystem *** ****************************** 03:19:54: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_0", 1x1 windowed miscParams: FSAA=0 border=none contentScalingFactor=1.000000 currentGLContext=true externalGLControl=true gamma=Yes parentWindowHandle=6291474 stereoMode=Frame Sequential 03:19:54: GLXWindow::create used FBConfigID = 214 03:19:54: GL Version = 4.2.0.0 03:19:54: GL_VERSION = 4.2 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2 03:19:54: GL_VENDOR = Microsoft Corporation 03:19:54: GL_RENDERER = D3D12 (NVIDIA GeForce GTX 960M) 03:19:54: GL_EXTENSIONS = 03:19:54: GL_AMD_conservative_depth 03:19:54: GL_AMD_draw_buffers_blend 03:19:54: GL_AMD_multi_draw_indirect 03:19:54: GL_AMD_shader_trinary_minmax 03:19:54: GL_AMD_texture_texture4 03:19:54: GL_AMD_vertex_shader_layer 03:19:54: GL_AMD_vertex_shader_viewport_index 03:19:54: GL_ANGLE_texture_compression_dxt3 03:19:54: GL_ANGLE_texture_compression_dxt5 03:19:54: GL_APPLE_packed_pixels 03:19:54: GL_ARB_ES2_compatibility 03:19:54: GL_ARB_ES3_1_compatibility 03:19:54: GL_ARB_ES3_compatibility 03:19:54: GL_ARB_arrays_of_arrays 03:19:54: GL_ARB_base_instance 03:19:54: GL_ARB_blend_func_extended 03:19:54: GL_ARB_buffer_storage 03:19:54: GL_ARB_clear_buffer_object 03:19:54: GL_ARB_clear_texture 03:19:54: GL_ARB_clip_control 03:19:54: GL_ARB_color_buffer_float 03:19:54: GL_ARB_compatibility 03:19:54: GL_ARB_compressed_texture_pixel_storage 03:19:54: GL_ARB_compute_shader 03:19:54: GL_ARB_compute_variable_group_size 03:19:54: GL_ARB_conditional_render_inverted 03:19:54: GL_ARB_conservative_depth 03:19:54: GL_ARB_copy_buffer 03:19:54: GL_ARB_debug_output 03:19:54: GL_ARB_depth_buffer_float 03:19:54: GL_ARB_depth_clamp 03:19:54: GL_ARB_depth_texture 03:19:54: GL_ARB_direct_state_access 03:19:54: GL_ARB_draw_buffers 03:19:54: GL_ARB_draw_buffers_blend 03:19:54: GL_ARB_draw_elements_base_vertex 03:19:54: GL_ARB_draw_indirect 03:19:54: GL_ARB_draw_instanced 03:19:54: GL_ARB_explicit_attrib_location 03:19:54: GL_ARB_explicit_uniform_location 03:19:54: GL_ARB_fragment_coord_conventions 03:19:54: GL_ARB_fragment_layer_viewport 03:19:54: GL_ARB_fragment_program 03:19:54: GL_ARB_fragment_program_shadow 03:19:54: GL_ARB_fragment_shader 03:19:54: GL_ARB_framebuffer_no_attachments 03:19:54: GL_ARB_framebuffer_object 03:19:54: GL_ARB_framebuffer_sRGB 03:19:54: GL_ARB_get_program_binary 03:19:54: GL_ARB_get_texture_sub_image 03:19:54: GL_ARB_gpu_shader5 03:19:54: GL_ARB_gpu_shader_fp64 03:19:54: GL_ARB_gpu_shader_int64 03:19:54: GL_ARB_half_float_pixel 03:19:54: GL_ARB_half_float_vertex 03:19:54: GL_ARB_indirect_parameters 03:19:54: GL_ARB_instanced_arrays 03:19:54: GL_ARB_internalformat_query 03:19:54: GL_ARB_internalformat_query2 03:19:54: GL_ARB_invalidate_subdata 03:19:54: GL_ARB_map_buffer_alignment 03:19:54: GL_ARB_map_buffer_range 03:19:54: GL_ARB_multi_bind 03:19:54: GL_ARB_multi_draw_indirect 03:19:54: GL_ARB_multisample 03:19:54: GL_ARB_multitexture 03:19:54: GL_ARB_occlusion_query 03:19:54: GL_ARB_occlusion_query2 03:19:54: GL_ARB_parallel_shader_compile 03:19:54: GL_ARB_pixel_buffer_object 03:19:54: GL_ARB_point_parameters 03:19:54: GL_ARB_point_sprite 03:19:54: GL_ARB_program_interface_query 03:19:54: GL_ARB_provoking_vertex 03:19:54: GL_ARB_robust_buffer_access_behavior 03:19:54: GL_ARB_robustness 03:19:54: GL_ARB_sample_shading 03:19:54: GL_ARB_sampler_objects 03:19:54: GL_ARB_seamless_cube_map 03:19:54: GL_ARB_separate_shader_objects 03:19:54: GL_ARB_shader_atomic_counter_ops 03:19:54: GL_ARB_shader_atomic_counters 03:19:54: GL_ARB_shader_bit_encoding 03:19:54: GL_ARB_shader_draw_parameters 03:19:54: GL_ARB_shader_image_load_store 03:19:54: GL_ARB_shader_image_size 03:19:54: GL_ARB_shader_objects 03:19:54: GL_ARB_shader_precision 03:19:54: GL_ARB_shader_storage_buffer_object 03:19:54: GL_ARB_shader_subroutine 03:19:54: GL_ARB_shader_texture_lod 03:19:54: GL_ARB_shading_language_100 03:19:54: GL_ARB_shading_language_420pack 03:19:54: GL_ARB_shading_language_include 03:19:54: GL_ARB_shading_language_packing 03:19:54: GL_ARB_shadow 03:19:54: GL_ARB_stencil_texturing 03:19:54: GL_ARB_sync 03:19:54: GL_ARB_tessellation_shader 03:19:54: GL_ARB_texture_border_clamp 03:19:54: GL_ARB_texture_buffer_object 03:19:54: GL_ARB_texture_buffer_object_rgb32 03:19:54: GL_ARB_texture_buffer_range 03:19:54: GL_ARB_texture_compression 03:19:54: GL_ARB_texture_compression_bptc 03:19:54: GL_ARB_texture_compression_rgtc 03:19:54: GL_ARB_texture_cube_map 03:19:54: GL_ARB_texture_cube_map_array 03:19:54: GL_ARB_texture_env_add 03:19:54: GL_ARB_texture_env_combine 03:19:54: GL_ARB_texture_env_crossbar 03:19:54: GL_ARB_texture_env_dot3 03:19:54: GL_ARB_texture_filter_anisotropic 03:19:54: GL_ARB_texture_float 03:19:54: GL_ARB_texture_gather 03:19:54: GL_ARB_texture_mirrored_repeat 03:19:54: GL_ARB_texture_multisample 03:19:54: GL_ARB_texture_non_power_of_two 03:19:54: GL_ARB_texture_query_levels 03:19:54: GL_ARB_texture_query_lod 03:19:54: GL_ARB_texture_rectangle 03:19:54: GL_ARB_texture_rg 03:19:54: GL_ARB_texture_rgb10_a2ui 03:19:54: GL_ARB_texture_stencil8 03:19:54: GL_ARB_texture_storage 03:19:54: GL_ARB_texture_storage_multisample 03:19:54: GL_ARB_texture_swizzle 03:19:54: GL_ARB_timer_query 03:19:54: GL_ARB_transform_feedback2 03:19:54: GL_ARB_transform_feedback3 03:19:54: GL_ARB_transform_feedback_instanced 03:19:54: GL_ARB_transpose_matrix 03:19:54: GL_ARB_uniform_buffer_object 03:19:54: GL_ARB_vertex_array_bgra 03:19:54: GL_ARB_vertex_array_object 03:19:54: GL_ARB_vertex_attrib_64bit 03:19:54: GL_ARB_vertex_attrib_binding 03:19:54: GL_ARB_vertex_buffer_object 03:19:54: GL_ARB_vertex_program 03:19:54: GL_ARB_vertex_shader 03:19:54: GL_ARB_vertex_type_10f_11f_11f_rev 03:19:54: GL_ARB_vertex_type_2_10_10_10_rev 03:19:54: GL_ARB_viewport_array 03:19:54: GL_ARB_window_pos 03:19:54: GL_ATI_blend_equation_separate 03:19:54: GL_ATI_draw_buffers 03:19:54: GL_ATI_fragment_shader 03:19:54: GL_ATI_separate_stencil 03:19:54: GL_ATI_texture_env_combine3 03:19:54: GL_ATI_texture_float 03:19:54: GL_EXT_EGL_image_storage 03:19:54: GL_EXT_EGL_sync 03:19:54: GL_EXT_abgr 03:19:54: GL_EXT_bgra 03:19:54: GL_EXT_blend_color 03:19:54: GL_EXT_blend_equation_separate 03:19:54: GL_EXT_blend_func_separate 03:19:54: GL_EXT_blend_minmax 03:19:54: GL_EXT_blend_subtract 03:19:54: GL_EXT_compiled_vertex_array 03:19:54: GL_EXT_copy_texture 03:19:54: GL_EXT_debug_label 03:19:54: GL_EXT_direct_state_access 03:19:54: GL_EXT_draw_buffers2 03:19:54: GL_EXT_draw_instanced 03:19:54: GL_EXT_draw_range_elements 03:19:54: GL_EXT_fog_coord 03:19:54: GL_EXT_framebuffer_blit 03:19:54: GL_EXT_framebuffer_multisample 03:19:54: GL_EXT_framebuffer_multisample_blit_scaled 03:19:54: GL_EXT_framebuffer_object 03:19:54: GL_EXT_framebuffer_sRGB 03:19:54: GL_EXT_gpu_program_parameters 03:19:54: GL_EXT_gpu_shader4 03:19:54: GL_EXT_memory_object 03:19:54: GL_EXT_memory_object_fd 03:19:54: GL_EXT_multi_draw_arrays 03:19:54: GL_EXT_packed_depth_stencil 03:19:54: GL_EXT_packed_float 03:19:54: GL_EXT_packed_pixels 03:19:54: GL_EXT_pixel_buffer_object 03:19:54: GL_EXT_point_parameters 03:19:54: GL_EXT_provoking_vertex 03:19:54: GL_EXT_rescale_normal 03:19:54: GL_EXT_secondary_color 03:19:54: GL_EXT_semaphore 03:19:54: GL_EXT_semaphore_fd 03:19:54: GL_EXT_separate_specular_color 03:19:54: GL_EXT_shader_integer_mix 03:19:54: GL_EXT_shadow_funcs 03:19:54: GL_EXT_stencil_two_side 03:19:54: GL_EXT_stencil_wrap 03:19:54: GL_EXT_subtexture 03:19:54: GL_EXT_texture 03:19:54: GL_EXT_texture3D 03:19:54: GL_EXT_texture_array 03:19:54: GL_EXT_texture_buffer_object 03:19:54: GL_EXT_texture_compression_dxt1 03:19:54: GL_EXT_texture_compression_rgtc 03:19:54: GL_EXT_texture_compression_s3tc 03:19:54: GL_EXT_texture_cube_map 03:19:54: GL_EXT_texture_edge_clamp 03:19:54: GL_EXT_texture_env_add 03:19:54: GL_EXT_texture_env_combine 03:19:54: GL_EXT_texture_env_dot3 03:19:54: GL_EXT_texture_filter_anisotropic 03:19:54: GL_EXT_texture_integer 03:19:54: GL_EXT_texture_lod_bias 03:19:54: GL_EXT_texture_object 03:19:54: GL_EXT_texture_rectangle 03:19:54: GL_EXT_texture_sRGB 03:19:54: GL_EXT_texture_sRGB_decode 03:19:54: GL_EXT_texture_shared_exponent 03:19:54: GL_EXT_texture_snorm 03:19:54: GL_EXT_texture_swizzle 03:19:54: GL_EXT_timer_query 03:19:54: GL_EXT_transform_feedback 03:19:54: GL_EXT_vertex_array 03:19:54: GL_EXT_vertex_array_bgra 03:19:54: GL_EXT_vertex_attrib_64bit 03:19:54: GL_IBM_multimode_draw_arrays 03:19:54: GL_IBM_rasterpos_clip 03:19:54: GL_IBM_texture_mirrored_repeat 03:19:54: GL_INGR_blend_func_separate 03:19:54: GL_KHR_context_flush_control 03:19:54: GL_KHR_debug 03:19:54: GL_KHR_no_error 03:19:54: GL_KHR_parallel_shader_compile 03:19:54: GL_KHR_robust_buffer_access_behavior 03:19:54: GL_KHR_robustness 03:19:54: GL_KHR_texture_compression_astc_ldr 03:19:54: GL_KHR_texture_compression_astc_sliced_3d 03:19:54: GL_MESA_pack_invert 03:19:54: GL_MESA_shader_integer_functions 03:19:54: GL_MESA_texture_signed_rgba 03:19:54: GL_MESA_window_pos 03:19:54: GL_NV_ES1_1_compatibility 03:19:54: GL_NV_blend_square 03:19:54: GL_NV_conditional_render 03:19:54: GL_NV_copy_depth_to_color 03:19:54: GL_NV_copy_image 03:19:54: GL_NV_depth_clamp 03:19:54: GL_NV_fog_distance 03:19:54: GL_NV_half_float 03:19:54: GL_NV_light_max_exponent 03:19:54: GL_NV_packed_depth_stencil 03:19:54: GL_NV_primitive_restart 03:19:54: GL_NV_texgen_reflection 03:19:54: GL_NV_texture_env_combine4 03:19:54: GL_NV_texture_rectangle 03:19:54: GL_NV_vdpau_interop 03:19:54: GL_OES_EGL_image 03:19:54: GL_OES_read_format 03:19:54: GL_S3_s3tc 03:19:54: GL_SGIS_generate_mipmap 03:19:54: GL_SGIS_texture_border_clamp 03:19:54: GL_SGIS_texture_edge_clamp 03:19:54: GL_SGIS_texture_lod 03:19:54: GL_SUN_multi_draw_arrays 03:19:54: ************************************** 03:19:54: *** OpenGL 3+ Renderer Started *** 03:19:54: ************************************** 03:19:54: Registering ResourceManager for type GpuProgram 03:19:54: RenderSystem capabilities 03:19:54: ------------------------- 03:19:54: RenderSystem Name: OpenGL 3+ Rendering Subsystem 03:19:54: GPU Vendor: microsoft 03:19:54: Device Name: D3D12 (NVIDIA GeForce GTX 960M) 03:19:54: Driver Version: 4.2.0.0 03:19:54: * Fixed function pipeline: no 03:19:54: * Hardware generation of mipmaps: yes 03:19:54: * Texture blending: yes 03:19:54: * Anisotropic texture filtering: yes 03:19:54: * Dot product texture operation: yes 03:19:54: * Cube mapping: yes 03:19:54: * Hardware stencil buffer: yes 03:19:54: - Stencil depth: 8 03:19:54: - Two sided stencil support: yes 03:19:54: - Wrap stencil values: yes 03:19:54: * Hardware vertex / index buffers: yes 03:19:54: * 32-bit index buffers: yes 03:19:54: * Vertex programs: yes 03:19:54: * Number of floating-point constants for vertex programs: 16352 03:19:54: * Number of integer constants for vertex programs: 16352 03:19:54: * Number of boolean constants for vertex programs: 16352 03:19:54: * Fragment programs: yes 03:19:54: * Number of floating-point constants for fragment programs: 16380 03:19:54: * Number of integer constants for fragment programs: 16380 03:19:54: * Number of boolean constants for fragment programs: 16380 03:19:54: * Geometry programs: yes 03:19:54: * Number of floating-point constants for geometry programs: 16352 03:19:54: * Number of integer constants for geometry programs: 16352 03:19:54: * Number of boolean constants for geometry programs: 16352 03:19:54: * Tessellation Hull programs: yes 03:19:54: * Number of floating-point constants for tessellation hull programs: 16384 03:19:54: * Number of integer constants for tessellation hull programs: 16384 03:19:54: * Number of boolean constants for tessellation hull programs: 16384 03:19:54: * Tessellation Domain programs: yes 03:19:54: * Number of floating-point constants for tessellation domain programs: 16352 03:19:54: * Number of integer constants for tessellation domain programs: 16352 03:19:54: * Number of boolean constants for tessellation domain programs: 16352 03:19:54: * Compute programs: yes 03:19:54: * Number of floating-point constants for compute programs: 16384 03:19:54: * Number of integer constants for compute programs: 16384 03:19:54: * Number of boolean constants for compute programs: 16384 03:19:54: * Supported Shader Profiles: glsl glsl130 glsl140 glsl150 glsl330 glsl400 glsl410 glsl420 03:19:54: * Texture Compression: yes 03:19:54: - DXT: yes 03:19:54: - VTC: no 03:19:54: - PVRTC: no 03:19:54: - ATC: no 03:19:54: - ETC1: no 03:19:54: - ETC2: yes 03:19:54: - BC4/BC5: yes 03:19:54: - BC6H/BC7: yes 03:19:54: - ASTC: yes 03:19:54: * Hardware Occlusion Query: yes 03:19:54: * User clip planes: yes 03:19:54: * VET_UBYTE4 vertex element type: yes 03:19:54: * Infinite far plane projection: yes 03:19:54: * Hardware render-to-texture: yes 03:19:54: * Floating point textures: yes 03:19:54: * Non-power-of-two textures: yes 03:19:54: * 1d textures: yes 03:19:54: * Volume textures: yes 03:19:54: * Max Texture resolution (2D) 16384 03:19:54: * Max Texture resolution (3D) 2048 03:19:54: * Max Texture resolution (Cubemaps) 16384 03:19:54: * Multiple Render Targets: 8 03:19:54: - With different bit depths: yes 03:19:54: * Point Sprites: yes 03:19:54: * Extended point parameters: yes 03:19:54: * Max Point Size: 255 03:19:54: * Vertex texture fetch: yes 03:19:54: * Number of world matrices: 0 03:19:54: * Number of texture units: 16 03:19:54: * Stencil buffer depth: 8 03:19:54: * Number of vertex blend matrices: 0 03:19:54: - Max vertex textures: 32 03:19:54: - Vertex textures shared: yes 03:19:54: * Render to Vertex Buffer : yes 03:19:54: * Hardware Atomic Counters: yes 03:19:54: * Compute max threads per threadgroup per axis: 1024, 1024, 64 03:19:54: * Compute max threads per threadgroup total: 1024 03:19:54: * GL 1.5 without VBO workaround: no 03:19:54: * Frame Buffer objects: yes 03:19:54: * Frame Buffer objects (ARB extension): no 03:19:54: * Frame Buffer objects (ATI extension): no 03:19:54: * PBuffer support: no 03:19:54: * GL 1.5 without HW-occlusion workaround: no 03:19:54: * Vertex Array Objects: yes 03:19:54: * Separate shader objects: no 03:19:54: * Using Reverse Z: yes 03:19:54: DefaultWorkQueue('Root') initialising on thread main. 03:19:54: Particle Renderer Type 'billboard' registered 03:19:54: Added resource location '/usr/share/gz/gz-rendering7/ogre2/media/2.0/scripts/Compositors' of type 'FileSystem' to resource group 'General' 03:19:54: Added resource location '/usr/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Common' of type 'FileSystem' to resource group 'General' 03:19:54: Added resource location '/usr/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Common/GLSL' of type 'FileSystem' to resource group 'General' 03:19:54: Added resource location '/usr/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Terra' of type 'FileSystem' to resource group 'General' 03:19:54: Added resource location '/usr/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Terra/GLSL' of type 'FileSystem' to resource group 'General' 03:19:54: HLMS Library path '/usr/share/gz/gz-rendering7/ogre2/media/Hlms/Gz' has no piece files. Are you sure you provided the right path with read access? 03:19:54: HLMS Library path '/usr/share/gz/gz-rendering7/ogre2/media/Hlms/Gz' has no piece files. Are you sure you provided the right path with read access? 03:19:54: Added resource location '/usr/share/gz/gz-rendering7/ogre2/media' of type 'FileSystem' to resource group 'General' 03:19:54: Added resource location '/usr/share/gz/gz-rendering7/ogre2/media/materials/programs' of type 'FileSystem' to resource group 'General' 03:19:54: Added resource location '/usr/share/gz/gz-rendering7/ogre2/media/materials/programs/GLSL' of type 'FileSystem' to resource group 'General' 03:19:54: Added resource location '/usr/share/gz/gz-rendering7/ogre2/media/materials/programs/Metal' of type 'FileSystem' to resource group 'General' 03:19:54: Added resource location '/usr/share/gz/gz-rendering7/ogre2/media/materials/scripts' of type 'FileSystem' to resource group 'General' 03:19:54: Added resource location '/usr/share/gz/gz-rendering7/ogre2/media/materials/textures' of type 'FileSystem' to resource group 'General' 03:19:54: Parsing scripts for resource group Autodetect 03:19:54: Finished parsing scripts for resource group Autodetect 03:19:54: Creating resources for group Autodetect 03:19:54: All done 03:19:54: Parsing scripts for resource group General 03:19:54: Parsing script Quad.program 03:19:54: Parsing script picker.program 03:19:54: Parsing script DPSM.material 03:19:54: Parsing script EsmGaussianBlurLogFilter.material 03:19:54: Parsing script DepthUtils.material 03:19:54: Parsing script Copyback.material 03:19:54: Parsing script GpuNormalMapper.material 03:19:54: Parsing script skybox.material 03:19:54: Parsing script point_cloud_point.material 03:19:54: Parsing script picker.material 03:19:54: Parsing script gaussian_noise.material 03:19:54: Parsing script depth_camera.material 03:19:54: Parsing script gpu_rays.material 03:19:54: Parsing script thermal.material 03:19:54: Parsing script selection_buffer.material 03:19:54: Parsing script GpuNormalMapper.compositor 03:19:54: Parsing script TerraShadowGenerator.compositor 03:19:54: Parsing script GpuRays.compositor 03:19:54: Parsing script EsmGaussianBlurLogFilter.material.json 03:19:54: Parsing script Mipmaps.material.json 03:19:54: Parsing script TerraShadowGenerator.material.json 03:19:54: Finished parsing scripts for resource group General 03:19:54: Creating resources for group General 03:19:54: All done 03:19:54: Parsing scripts for resource group Internal 03:19:54: Finished parsing scripts for resource group Internal 03:19:54: Creating resources for group Internal 03:19:54: All done 03:19:54: Added resource location '/usr/share/gz/gz-rendering7/media/materials/textures/' of type 'FileSystem' to resource group 'General' 03:19:55: Can't assign material [Default] because this Material does not exist. Have you forgotten to define it in a .material script? 03:19:55: Can't assign material scene::Material(65508) because this Material does not exist. Have you forgotten to define it in a .material script? 03:19:55: Can't assign material scene::Material(65502) because this Material does not exist. Have you forgotten to define it in a .material script? 03:19:55: Can't assign material scene::Material(65496) because this Material does not exist. Have you forgotten to define it in a .material script? 03:19:55: Can't assign material scene::Material(65496) because this Material does not exist. Have you forgotten to define it in a .material script? 03:19:55: Can't assign material scene::Material(65485) because this Material does not exist. Have you forgotten to define it in a .material script? 03:19:55: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material scene::Material(65518) must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:19:55: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material scene::Material(65518) must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:19:55: Couldn't apply datablock '[Hash 0x973c97a7]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:19:55: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material scene::Material(65518) must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:19:55: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material scene::Material(65518) must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:19:55: Couldn't apply datablock '[Hash 0x973c97a7]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:19:55: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material Default/TransGreen must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:19:55: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material Default/TransGreen must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:19:55: Couldn't apply datablock '[Hash 0x4dac4408]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:19:55: Vertex Shader: 100000001VertexShader_vs Fragment Shader: 100000001PixelShader_ps GLSL validation result : active samplers with a different type refer to the same texture image unit 03:19:57: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:19:57: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:19:57: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:19:57: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:19:58: Can't assign material scene::Material(65485) because this Material does not exist. Have you forgotten to define it in a .material script? 03:19:58: Vertex Shader: 100000005VertexShader_vs Fragment Shader: 100000005PixelShader_ps GLSL validation result : active samplers with a different type refer to the same texture image unit 03:19:59: Can't assign material [Default] because this Material does not exist. Have you forgotten to define it in a .material script? 03:19:59: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:19:59: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:19:59: Couldn't apply datablock '[Hash 0xae9cf106]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:19:59: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:19:59: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:19:59: Couldn't apply datablock '[Hash 0xae9cf106]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:20:00: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:20:00: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:20:00: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:20:01: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:01: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:01: Couldn't apply datablock '[Hash 0xae9cf106]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:20:01: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:01: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:01: Couldn't apply datablock '[Hash 0xae9cf106]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:20:01: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:20:01: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:20:02: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:02: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:02: Couldn't apply datablock '[Hash 0xae9cf106]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:20:02: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:02: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:02: Couldn't apply datablock '[Hash 0xae9cf106]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:20:02: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:20:02: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:20:04: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:04: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:04: Couldn't apply datablock '[Hash 0xae9cf106]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:20:04: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:04: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:04: Couldn't apply datablock '[Hash 0xae9cf106]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:20:04: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:20:04: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:20:10: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:10: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:10: Couldn't apply datablock '[Hash 0xae9cf106]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:20:10: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:10: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:10: Couldn't apply datablock '[Hash 0xae9cf106]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:20:10: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:20:10: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:20:15: Can't assign material [Default] because this Material does not exist. Have you forgotten to define it in a .material script? 03:20:15: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:15: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:15: Couldn't apply datablock '[Hash 0xae9cf106]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:20:15: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:15: OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material highlight_material must use shaders in HlmsLowLevel::calculateHashFor at ./OgreMain/src/OgreHlmsLowLevel.cpp (line 160) 03:20:15: Couldn't apply datablock '[Hash 0xae9cf106]' to this renderable. Using default one. Check previous log messages to see if there's more information. 03:20:15: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:20:15: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... 03:20:15: WARNING: Deleting mapped buffer without having it unmapped. This is often sign of a resource leak or a bad pattern. Umapping the buffer for you... ```

Description

Steps to reproduce

  1. Enter the command ign gazebo shapes.sdf into the terminal and run

Output

Console Log ``` vndrx@DESKTOP-2OA43P3:~$ ign gazebo shapes.sdf QStandardPaths: wrong permissions on runtime directory /run/user/1000/, 0755 instead of 0700 libEGL warning: failed to open /dev/dri/renderD128: Permission denied libEGL warning: NEEDS EXTENSION: falling back to kms_swrast terminate called after throwing an instance of 'Ogre::UnimplementedException' what(): OGRE EXCEPTION(9:UnimplementedException): in GL3PlusTextureGpu::copyTo at /build/ogre-next-UFfg83/ogre-next-2.2.5+dfsg3/RenderSystems/GL3Plus/src/OgreGL3PlusTextureGpu.cpp (line 677) Stack trace (most recent call last) in thread 36676: #10 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in #9 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f3c3d33484f, in #8 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f3c3d2a2ac2, in #7 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f3c379c199d, in #6 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f3c379bff90, in qTerminate() #5 Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f3c39845276, in std::terminate() #4 Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f3c3984520b, in #3 Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f3c39839b9d, in #2 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f3c3d2367f2, in abort #1 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f3c3d250475, in raise #0 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f3c3d2a49fc, in pthread_kill Aborted (Signal sent by tkill() 36600 1000) ```
GIF displaying the bug ![Gazebo_Fortress_WSL2_Ogre2_Crash](https://github.com/user-attachments/assets/973c99c6-f6e8-43ee-af87-95efe1553b23)
traversaro commented 1 month ago

As mentioned in https://community.gazebosim.org/t/wslg-with-gpu-support-available-on-latest-version-of-gazebo-garden-and-harmonic/2360 the fix in ogre-next was backported in Garden and Harmonic, not Fortess.

Possible workarounds are:

Domiragi commented 1 month ago

Thank you for pointing out that the fix was with Garden and Harmonic, and not Fortress. I will try the different methods you suggested and see what works best. I will close this issue ticket then.