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

Ogre2.2 errors when launching ign gazebo #402

Closed
1 task done
jennuine opened this issue Sep 9, 2021 · 3 comments
Closed
1 task done

Ogre2.2 errors when launching ign gazebo #402

jennuine opened this issue Sep 9, 2021 · 3 comments
Labels
bug Something isn't working 🏯 fortress Ignition Fortress ogre2.x

Comments

@jennuine
Copy link
Contributor

jennuine commented Sep 9, 2021

Environment

  • OS Version: Ubuntu 20.04
  • Source or binary build? Source, main branch, commit: 7def756
  • If this is a GUI or sensor rendering bug, describe your GPU and rendering system. Otherwise delete this section.
    • Rendering plugin: ogre2.2
      • GUI rendering error.

When running ign gazebo -v 4 shapes.sdf, the following errors appear:

[GUI] [Msg] Loading plugin [ignition-rendering-ogre2]
[GUI] [Err] [Ogre2RenderEngine.cc:319] Failed to initialize render-engine
[GUI] [Dbg] [RenderUtil.cc:2267] Create scene [scene]
[GUI] [Err] [BaseRenderEngine.cc:215] Render-engine has not been initialized
[GUI] [Err] [MarkerManager.cc:156] Scene pointer is invalid
[GUI] [Err] [Scene3D.cc:2546] Unable to initialize renderer
[GUI] [Msg] Loading plugin [ignition-rendering-ogre2]
[GUI] [Wrn] [BaseRenderEngine.cc:42] Render-engine has already been loaded
[GUI] [Dbg] [RenderUtil.cc:2267] Create scene [scene]
Error at line 57: @piece 'FresnelSwizzle' already definedError at line 16: @piece 'getSpecularFresnel' already definedError at line 6: @piece 'NormalNonPremul' already definedError at line 6: @piece 'detail_swizzle0' already definedError at line 57: @piece 'FresnelSwizzle' already definedError at line 102: @piece 'FresnelSwizzle' already definedError at line 14: @piece 'getSpecularFresnel' already definedError at line 5: @piece 'NormalNonPremul' already definedError at line 6: @piece 'detail_swizzle0' already definedError at line 102: @piece 'FresnelSwizzle' already definedError at line 8: @piece 'SampleSpecularMap' already definedError at line 102: @piece 'FresnelSwizzle' already definedError at line 14: @piece 'getSpecularFresnel' already definedError at line 5: @piece 'NormalNonPremul' already definedError at line 6: @piece 'detail_swizzle0' already definedError at line 102: @piece 'FresnelSwizzle' already definedError at line 8: @piece 'SampleSpecularMap' already defined
[GUI] [Msg] Loading plugin [ignition-rendering-ogre2]

Rendering system info:

  • Rendering system info:
LANG=C lspci -nn | grep VGA  
### Output
05:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1660 SUPER] [10de:21c4] (rev a1)

echo "$DISPLAY"
### Output
:1

LANG=C glxinfo -B | grep -i '\(direct rendering\|opengl\|profile\)'  
### Output
direct rendering: Yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1660 SUPER/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 460.91.03
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6.0 NVIDIA 460.91.03
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 460.91.03
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

ps aux | grep Xorg
### Output
root        1345  0.0  0.1 177356 50636 tty1     Sl+  08:24   0:02 /usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/125/gdm/Xauthority -background none -noreset -keeptty -verbose 3
root        2923  2.1  0.2 230076 98156 tty2     Sl+  08:27  10:09 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
osrf      105452  0.0  0.0   9040  2428 pts/4    S+   16:28   0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox Xorg

sudo env LANG=C X -version
### Output
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Ubuntu
Current Operating System: Linux osrf-MS-7885 5.11.0-34-generic #36~20.04.1-Ubuntu SMP Fri Aug 27 08:06:32 UTC 2021 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.11.0-34-generic root=UUID=5f4a51f9-a8a6-41f8-8317-6d55c97f96e9 ro quiet splash vt.handoff=7
Build Date: 06 July 2021  10:17:51AM
xorg-server 2:1.20.11-1ubuntu1~20.04.2 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.38.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
ogre2.log

16:17:00: Creating resource group General
16:17:00: Creating resource group Internal
16:17:00: Creating resource group Autodetect
16:17:00: SceneManagerFactory for type 'DefaultSceneManager' registered.
16:17:00: Registering ResourceManager for type Material
16:17:00: Registering ResourceManager for type Mesh
16:17:00: Registering ResourceManager for type Mesh2
16:17:00: Registering ResourceManager for type OldSkeleton
16:17:00: MovableObjectFactory for type 'ParticleSystem' registered.
16:17:00: ArchiveFactory for archive type FileSystem registered.
16:17:00: ArchiveFactory for archive type Zip registered.
16:17:00: ArchiveFactory for archive type EmbeddedZip registered.
16:17:00: DDS codec registering
16:17:00: FreeImage version: 3.18.0
16:17:00: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
16:17:00: 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
16:17:00: OITD codec registering
16:17:00: Registering ResourceManager for type HighLevelGpuProgram
16:17:00: MovableObjectFactory for type 'Decal' registered.
16:17:00: MovableObjectFactory for type 'InternalCubemapProbe' registered.
16:17:00: MovableObjectFactory for type 'Entity' registered.
16:17:00: MovableObjectFactory for type 'Item' registered.
16:17:00: MovableObjectFactory for type 'Light' registered.
16:17:00: MovableObjectFactory for type 'Rectangle2Dv2' registered.
16:17:00: MovableObjectFactory for type 'BillboardSet' registered.
16:17:00: MovableObjectFactory for type 'ManualObject2' registered.
16:17:00: MovableObjectFactory for type 'BillboardChain' registered.
16:17:00: MovableObjectFactory for type 'RibbonTrail' registered.
16:17:00: MovableObjectFactory for type 'WireAabb' registered.
16:17:00: --* OGRE Initialising
16:17:00: --* Version 2.2.6 (Cerberus)
16:17:00: OverlayElementFactory for type Panel registered.
16:17:00: OverlayElementFactory for type BorderPanel registered.
16:17:00: OverlayElementFactory for type TextArea registered.
16:17:00: Registering ResourceManager for type Font
16:17:00: Loading library /usr/lib/x86_64-linux-gnu/OGRE-2.2/OGRE/RenderSystem_GL3Plus.so
16:17:00: Installing plugin: GL 3+ RenderSystem
16:17:00: OpenGL 3+ Rendering Subsystem created.
16:17:00: Plugin successfully installed
16:17:00: Loading library /usr/lib/x86_64-linux-gnu/OGRE-2.2/OGRE/Plugin_ParticleFX.so
16:17:00: Installing plugin: ParticleFX
16:17:00: Particle Emitter Type 'Point' registered
16:17:00: Particle Emitter Type 'Box' registered
16:17:00: Particle Emitter Type 'Ellipsoid' registered
16:17:00: Particle Emitter Type 'Cylinder' registered
16:17:00: Particle Emitter Type 'Ring' registered
16:17:00: Particle Emitter Type 'HollowEllipsoid' registered
16:17:00: Particle Affector Type 'LinearForce' registered
16:17:00: Particle Affector Type 'ColourFader' registered
16:17:00: Particle Affector Type 'ColourFader2' registered
16:17:00: Particle Affector Type 'ColourImage' registered
16:17:00: Particle Affector Type 'ColourInterpolator' registered
16:17:00: Particle Affector Type 'Scaler' registered
16:17:00: Particle Affector Type 'Rotator' registered
16:17:00: Particle Affector Type 'DirectionRandomiser' registered
16:17:00: Particle Affector Type 'DeflectorPlane' registered
16:17:00: Plugin successfully installed
16:17:00: CPU Identifier & Features
16:17:00: -------------------------
16:17:00: * CPU ID: GenuineIntel: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
16:17:00: * Logical cores: 12
16:17:00: * SSE: yes
16:17:00: * SSE2: yes
16:17:00: * SSE3: yes
16:17:00: * MMX: yes
16:17:00: * MMXEXT: yes
16:17:00: * 3DNOW: no
16:17:00: * 3DNOWEXT: no
16:17:00: * CMOV: yes
16:17:00: * TSC: yes
16:17:00: * FPU: yes
16:17:00: * PRO: yes
16:17:00: * HT: no
16:17:00: -------------------------
16:17:00: ******************************
*** Starting GLX Subsystem ***


16:17:00: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_0", 1x1 windowed miscParams: FSAA=0 border=none contentScalingFactor=1.000000 currentGLContext=true externalGLControl=true gamma=Yes stereoMode=Frame Sequential
16:17:00: GLXWindow::create used FBConfigID = 173
16:17:00: GL Version = 3.3.0.0
16:17:00: GL_VERSION = 3.3.0 NVIDIA 460.91.03
16:17:00: GL_VENDOR = NVIDIA Corporation
16:17:00: GL_RENDERER = GeForce GTX 1660 SUPER/PCIe/SSE2
16:17:00: GL_EXTENSIONS =
16:17:00: GL_AMD_multi_draw_indirect
16:17:00: GL_AMD_seamless_cubemap_per_texture
16:17:00: GL_AMD_vertex_shader_viewport_index
16:17:00: GL_AMD_vertex_shader_layer
16:17:00: GL_ARB_arrays_of_arrays
16:17:00: GL_ARB_base_instance
16:17:00: GL_ARB_bindless_texture
16:17:00: GL_ARB_blend_func_extended
16:17:00: GL_ARB_buffer_storage
16:17:00: GL_ARB_clear_buffer_object
16:17:00: GL_ARB_clear_texture
16:17:00: GL_ARB_clip_control
16:17:00: GL_ARB_color_buffer_float
16:17:00: GL_ARB_compressed_texture_pixel_storage
16:17:00: GL_ARB_conservative_depth
16:17:00: GL_ARB_compute_shader
16:17:00: GL_ARB_compute_variable_group_size
16:17:00: GL_ARB_conditional_render_inverted
16:17:00: GL_ARB_copy_buffer
16:17:00: GL_ARB_copy_image
16:17:00: GL_ARB_cull_distance
16:17:00: GL_ARB_debug_output
16:17:00: GL_ARB_depth_buffer_float
16:17:00: GL_ARB_depth_clamp
16:17:00: GL_ARB_depth_texture
16:17:00: GL_ARB_derivative_control
16:17:00: GL_ARB_direct_state_access
16:17:00: GL_ARB_draw_buffers
16:17:00: GL_ARB_draw_buffers_blend
16:17:00: GL_ARB_draw_indirect
16:17:00: GL_ARB_draw_elements_base_vertex
16:17:00: GL_ARB_draw_instanced
16:17:00: GL_ARB_enhanced_layouts
16:17:00: GL_ARB_ES2_compatibility
16:17:00: GL_ARB_ES3_compatibility
16:17:00: GL_ARB_ES3_1_compatibility
16:17:00: GL_ARB_ES3_2_compatibility
16:17:00: GL_ARB_explicit_attrib_location
16:17:00: GL_ARB_explicit_uniform_location
16:17:00: GL_ARB_fragment_coord_conventions
16:17:00: GL_ARB_fragment_layer_viewport
16:17:00: GL_ARB_fragment_program
16:17:00: GL_ARB_fragment_program_shadow
16:17:00: GL_ARB_fragment_shader
16:17:00: GL_ARB_fragment_shader_interlock
16:17:00: GL_ARB_framebuffer_no_attachments
16:17:00: GL_ARB_framebuffer_object
16:17:00: GL_ARB_framebuffer_sRGB
16:17:00: GL_ARB_geometry_shader4
16:17:00: GL_ARB_get_program_binary
16:17:00: GL_ARB_get_texture_sub_image
16:17:00: GL_ARB_gl_spirv
16:17:00: GL_ARB_gpu_shader5
16:17:00: GL_ARB_gpu_shader_fp64
16:17:00: GL_ARB_gpu_shader_int64
16:17:00: GL_ARB_half_float_pixel
16:17:00: GL_ARB_half_float_vertex
16:17:00: GL_ARB_imaging
16:17:00: GL_ARB_indirect_parameters
16:17:00: GL_ARB_instanced_arrays
16:17:00: GL_ARB_internalformat_query
16:17:00: GL_ARB_internalformat_query2
16:17:00: GL_ARB_invalidate_subdata
16:17:00: GL_ARB_map_buffer_alignment
16:17:00: GL_ARB_map_buffer_range
16:17:00: GL_ARB_multi_bind
16:17:00: GL_ARB_multi_draw_indirect
16:17:00: GL_ARB_multisample
16:17:00: GL_ARB_multitexture
16:17:00: GL_ARB_occlusion_query
16:17:00: GL_ARB_occlusion_query2
16:17:00: GL_ARB_parallel_shader_compile
16:17:00: GL_ARB_pipeline_statistics_query
16:17:00: GL_ARB_pixel_buffer_object
16:17:00: GL_ARB_point_parameters
16:17:00: GL_ARB_point_sprite
16:17:00: GL_ARB_polygon_offset_clamp
16:17:00: GL_ARB_post_depth_coverage
16:17:00: GL_ARB_program_interface_query
16:17:00: GL_ARB_provoking_vertex
16:17:00: GL_ARB_query_buffer_object
16:17:00: GL_ARB_robust_buffer_access_behavior
16:17:00: GL_ARB_robustness
16:17:00: GL_ARB_sample_locations
16:17:00: GL_ARB_sample_shading
16:17:00: GL_ARB_sampler_objects
16:17:00: GL_ARB_seamless_cube_map
16:17:00: GL_ARB_seamless_cubemap_per_texture
16:17:00: GL_ARB_separate_shader_objects
16:17:00: GL_ARB_shader_atomic_counter_ops
16:17:00: GL_ARB_shader_atomic_counters
16:17:00: GL_ARB_shader_ballot
16:17:00: GL_ARB_shader_bit_encoding
16:17:00: GL_ARB_shader_clock
16:17:00: GL_ARB_shader_draw_parameters
16:17:00: GL_ARB_shader_group_vote
16:17:00: GL_ARB_shader_image_load_store
16:17:00: GL_ARB_shader_image_size
16:17:00: GL_ARB_shader_objects
16:17:00: GL_ARB_shader_precision
16:17:00: GL_ARB_shader_storage_buffer_object
16:17:00: GL_ARB_shader_subroutine
16:17:00: GL_ARB_shader_texture_image_samples
16:17:00: GL_ARB_shader_texture_lod
16:17:00: GL_ARB_shading_language_100
16:17:00: GL_ARB_shader_viewport_layer_array
16:17:00: GL_ARB_shading_language_420pack
16:17:00: GL_ARB_shading_language_include
16:17:00: GL_ARB_shading_language_packing
16:17:00: GL_ARB_shadow
16:17:00: GL_ARB_sparse_buffer
16:17:00: GL_ARB_sparse_texture
16:17:00: GL_ARB_sparse_texture2
16:17:00: GL_ARB_sparse_texture_clamp
16:17:00: GL_ARB_spirv_extensions
16:17:00: GL_ARB_stencil_texturing
16:17:00: GL_ARB_sync
16:17:00: GL_ARB_tessellation_shader
16:17:00: GL_ARB_texture_barrier
16:17:00: GL_ARB_texture_border_clamp
16:17:00: GL_ARB_texture_buffer_object
16:17:00: GL_ARB_texture_buffer_object_rgb32
16:17:00: GL_ARB_texture_buffer_range
16:17:00: GL_ARB_texture_compression
16:17:00: GL_ARB_texture_compression_bptc
16:17:00: GL_ARB_texture_compression_rgtc
16:17:00: GL_ARB_texture_cube_map
16:17:00: GL_ARB_texture_cube_map_array
16:17:00: GL_ARB_texture_env_add
16:17:00: GL_ARB_texture_env_combine
16:17:00: GL_ARB_texture_env_crossbar
16:17:00: GL_ARB_texture_env_dot3
16:17:00: GL_ARB_texture_filter_anisotropic
16:17:00: GL_ARB_texture_filter_minmax
16:17:00: GL_ARB_texture_float
16:17:00: GL_ARB_texture_gather
16:17:00: GL_ARB_texture_mirror_clamp_to_edge
16:17:00: GL_ARB_texture_mirrored_repeat
16:17:00: GL_ARB_texture_multisample
16:17:00: GL_ARB_texture_non_power_of_two
16:17:00: GL_ARB_texture_query_levels
16:17:00: GL_ARB_texture_query_lod
16:17:00: GL_ARB_texture_rectangle
16:17:00: GL_ARB_texture_rg
16:17:00: GL_ARB_texture_rgb10_a2ui
16:17:00: GL_ARB_texture_stencil8
16:17:00: GL_ARB_texture_storage
16:17:00: GL_ARB_texture_storage_multisample
16:17:00: GL_ARB_texture_swizzle
16:17:00: GL_ARB_texture_view
16:17:00: GL_ARB_timer_query
16:17:00: GL_ARB_transform_feedback2
16:17:00: GL_ARB_transform_feedback3
16:17:00: GL_ARB_transform_feedback_instanced
16:17:00: GL_ARB_transform_feedback_overflow_query
16:17:00: GL_ARB_transpose_matrix
16:17:00: GL_ARB_uniform_buffer_object
16:17:00: GL_ARB_vertex_array_bgra
16:17:00: GL_ARB_vertex_array_object
16:17:00: GL_ARB_vertex_attrib_64bit
16:17:00: GL_ARB_vertex_attrib_binding
16:17:00: GL_ARB_vertex_buffer_object
16:17:00: GL_ARB_vertex_program
16:17:00: GL_ARB_vertex_shader
16:17:00: GL_ARB_vertex_type_10f_11f_11f_rev
16:17:00: GL_ARB_vertex_type_2_10_10_10_rev
16:17:00: GL_ARB_viewport_array
16:17:00: GL_ARB_window_pos
16:17:00: GL_ATI_draw_buffers
16:17:00: GL_ATI_texture_float
16:17:00: GL_ATI_texture_mirror_once
16:17:00: GL_S3_s3tc
16:17:00: GL_EXT_texture_env_add
16:17:00: GL_EXT_abgr
16:17:00: GL_EXT_bgra
16:17:00: GL_EXT_bindable_uniform
16:17:00: GL_EXT_blend_color
16:17:00: GL_EXT_blend_equation_separate
16:17:00: GL_EXT_blend_func_separate
16:17:00: GL_EXT_blend_minmax
16:17:00: GL_EXT_blend_subtract
16:17:00: GL_EXT_compiled_vertex_array
16:17:00: GL_EXT_Cg_shader
16:17:00: GL_EXT_depth_bounds_test
16:17:00: GL_EXT_direct_state_access
16:17:00: GL_EXT_draw_buffers2
16:17:00: GL_EXT_draw_instanced
16:17:00: GL_EXT_draw_range_elements
16:17:00: GL_EXT_fog_coord
16:17:00: GL_EXT_framebuffer_blit
16:17:00: GL_EXT_framebuffer_multisample
16:17:00: GL_EXTX_framebuffer_mixed_formats
16:17:00: GL_EXT_framebuffer_multisample_blit_scaled
16:17:00: GL_EXT_framebuffer_object
16:17:00: GL_EXT_framebuffer_sRGB
16:17:00: GL_EXT_geometry_shader4
16:17:00: GL_EXT_gpu_program_parameters
16:17:00: GL_EXT_gpu_shader4
16:17:00: GL_EXT_multi_draw_arrays
16:17:00: GL_EXT_multiview_texture_multisample
16:17:00: GL_EXT_multiview_timer_query
16:17:00: GL_EXT_packed_depth_stencil
16:17:00: GL_EXT_packed_float
16:17:00: GL_EXT_packed_pixels
16:17:00: GL_EXT_pixel_buffer_object
16:17:00: GL_EXT_point_parameters
16:17:00: GL_EXT_polygon_offset_clamp
16:17:00: GL_EXT_post_depth_coverage
16:17:00: GL_EXT_provoking_vertex
16:17:00: GL_EXT_raster_multisample
16:17:00: GL_EXT_rescale_normal
16:17:00: GL_EXT_secondary_color
16:17:00: GL_EXT_separate_shader_objects
16:17:00: GL_EXT_separate_specular_color
16:17:00: GL_EXT_shader_image_load_formatted
16:17:00: GL_EXT_shader_image_load_store
16:17:00: GL_EXT_shader_integer_mix
16:17:00: GL_EXT_shadow_funcs
16:17:00: GL_EXT_sparse_texture2
16:17:00: GL_EXT_stencil_two_side
16:17:00: GL_EXT_stencil_wrap
16:17:00: GL_EXT_texture3D
16:17:00: GL_EXT_texture_array
16:17:00: GL_EXT_texture_buffer_object
16:17:00: GL_EXT_texture_compression_dxt1
16:17:00: GL_EXT_texture_compression_latc
16:17:00: GL_EXT_texture_compression_rgtc
16:17:00: GL_EXT_texture_compression_s3tc
16:17:00: GL_EXT_texture_cube_map
16:17:00: GL_EXT_texture_edge_clamp
16:17:00: GL_EXT_texture_env_combine
16:17:00: GL_EXT_texture_env_dot3
16:17:00: GL_EXT_texture_filter_anisotropic
16:17:00: GL_EXT_texture_filter_minmax
16:17:00: GL_EXT_texture_integer
16:17:00: GL_EXT_texture_lod
16:17:00: GL_EXT_texture_lod_bias
16:17:00: GL_EXT_texture_mirror_clamp
16:17:00: GL_EXT_texture_object
16:17:00: GL_EXT_texture_shadow_lod
16:17:00: GL_EXT_texture_shared_exponent
16:17:00: GL_EXT_texture_sRGB
16:17:00: GL_EXT_texture_sRGB_R8
16:17:00: GL_EXT_texture_sRGB_decode
16:17:00: GL_EXT_texture_storage
16:17:00: GL_EXT_texture_swizzle
16:17:00: GL_EXT_timer_query
16:17:00: GL_EXT_transform_feedback2
16:17:00: GL_EXT_vertex_array
16:17:00: GL_EXT_vertex_array_bgra
16:17:00: GL_EXT_vertex_attrib_64bit
16:17:00: GL_EXT_window_rectangles
16:17:00: GL_EXT_x11_sync_object
16:17:00: GL_EXT_import_sync_object
16:17:00: GL_NV_robustness_video_memory_purge
16:17:00: GL_IBM_rasterpos_clip
16:17:00: GL_IBM_texture_mirrored_repeat
16:17:00: GL_KHR_context_flush_control
16:17:00: GL_KHR_debug
16:17:00: GL_EXT_memory_object
16:17:00: GL_EXT_memory_object_fd
16:17:00: GL_NV_memory_object_sparse
16:17:00: GL_KHR_parallel_shader_compile
16:17:00: GL_KHR_no_error
16:17:00: GL_KHR_robust_buffer_access_behavior
16:17:00: GL_KHR_robustness
16:17:00: GL_EXT_semaphore
16:17:00: GL_EXT_semaphore_fd
16:17:00: GL_NV_timeline_semaphore
16:17:00: GL_KHR_shader_subgroup
16:17:00: GL_KTX_buffer_region
16:17:00: GL_NV_alpha_to_coverage_dither_control
16:17:00: GL_NV_bindless_multi_draw_indirect
16:17:00: GL_NV_bindless_multi_draw_indirect_count
16:17:00: GL_NV_bindless_texture
16:17:00: GL_NV_blend_equation_advanced
16:17:00: GL_NV_blend_equation_advanced_coherent
16:17:00: GL_NVX_blend_equation_advanced_multi_draw_buffers
16:17:00: GL_NV_blend_minmax_factor
16:17:00: GL_NV_blend_square
16:17:00: GL_NV_clip_space_w_scaling
16:17:00: GL_NV_command_list
16:17:00: GL_NV_compute_program5
16:17:00: GL_NV_compute_shader_derivatives
16:17:00: GL_NV_conditional_render
16:17:00: GL_NV_conservative_raster
16:17:00: GL_NV_conservative_raster_dilate
16:17:00: GL_NV_conservative_raster_pre_snap
16:17:00: GL_NV_conservative_raster_pre_snap_triangles
16:17:00: GL_NV_conservative_raster_underestimation
16:17:00: GL_NV_copy_depth_to_color
16:17:00: GL_NV_copy_image
16:17:00: GL_NV_depth_buffer_float
16:17:00: GL_NV_depth_clamp
16:17:00: GL_NV_draw_texture
16:17:00: GL_NV_draw_vulkan_image
16:17:00: GL_NV_ES1_1_compatibility
16:17:00: GL_NV_ES3_1_compatibility
16:17:00: GL_NV_explicit_multisample
16:17:00: GL_NV_feature_query
16:17:00: GL_NV_fence
16:17:00: GL_NV_fill_rectangle
16:17:00: GL_NV_float_buffer
16:17:00: GL_NV_fog_distance
16:17:00: GL_NV_fragment_coverage_to_color
16:17:00: GL_NV_fragment_program
16:17:00: GL_NV_fragment_program_option
16:17:00: GL_NV_fragment_program2
16:17:00: GL_NV_fragment_shader_barycentric
16:17:00: GL_NV_fragment_shader_interlock
16:17:00: GL_NV_framebuffer_mixed_samples
16:17:00: GL_NV_framebuffer_multisample_coverage
16:17:00: GL_NV_geometry_shader4
16:17:00: GL_NV_geometry_shader_passthrough
16:17:00: GL_NV_gpu_program4
16:17:00: GL_NV_internalformat_sample_query
16:17:00: GL_NV_gpu_program4_1
16:17:00: GL_NV_gpu_program5
16:17:00: GL_NV_gpu_program5_mem_extended
16:17:00: GL_NV_gpu_program_fp64
16:17:00: GL_NV_gpu_shader5
16:17:00: GL_NV_half_float
16:17:00: GL_NV_light_max_exponent
16:17:00: GL_NV_memory_attachment
16:17:00: GL_NV_mesh_shader
16:17:00: GL_NV_multisample_coverage
16:17:00: GL_NV_multisample_filter_hint
16:17:00: GL_NV_occlusion_query
16:17:00: GL_NV_packed_depth_stencil
16:17:00: GL_NV_parameter_buffer_object
16:17:00: GL_NV_parameter_buffer_object2
16:17:00: GL_NV_path_rendering
16:17:00: GL_NV_path_rendering_shared_edge
16:17:00: GL_NV_pixel_data_range
16:17:00: GL_NV_point_sprite
16:17:00: GL_NV_primitive_restart
16:17:00: GL_NV_query_resource
16:17:00: GL_NV_query_resource_tag
16:17:00: GL_NV_register_combiners
16:17:00: GL_NV_register_combiners2
16:17:00: GL_NV_representative_fragment_test
16:17:00: GL_NV_sample_locations
16:17:00: GL_NV_sample_mask_override_coverage
16:17:00: GL_NV_scissor_exclusive
16:17:00: GL_NV_shader_atomic_counters
16:17:00: GL_NV_shader_atomic_float
16:17:00: GL_NV_shader_atomic_float64
16:17:00: GL_NV_shader_atomic_fp16_vector
16:17:00: GL_NV_shader_atomic_int64
16:17:00: GL_NV_shader_buffer_load
16:17:00: GL_NV_shader_storage_buffer_object
16:17:00: GL_NV_shader_subgroup_partitioned
16:17:00: GL_NV_shader_texture_footprint
16:17:00: GL_NV_shading_rate_image
16:17:00: GL_NV_stereo_view_rendering
16:17:00: GL_NV_texgen_reflection
16:17:00: GL_NV_texture_barrier
16:17:00: GL_NV_texture_compression_vtc
16:17:00: GL_NV_texture_env_combine4
16:17:00: GL_NV_texture_multisample
16:17:00: GL_NV_texture_rectangle
16:17:00: GL_NV_texture_rectangle_compressed
16:17:00: GL_NV_texture_shader
16:17:00: GL_NV_texture_shader2
16:17:00: GL_NV_texture_shader3
16:17:00: GL_NV_transform_feedback
16:17:00: GL_NV_transform_feedback2
16:17:00: GL_NV_uniform_buffer_unified_memory
16:17:00: GL_NV_vdpau_interop
16:17:00: GL_NV_vdpau_interop2
16:17:00: GL_NV_vertex_array_range
16:17:00: GL_NV_vertex_array_range2
16:17:00: GL_NV_vertex_attrib_integer_64bit
16:17:00: GL_NV_vertex_buffer_unified_memory
16:17:00: GL_NV_vertex_program
16:17:00: GL_NV_vertex_program1_1
16:17:00: GL_NV_vertex_program2
16:17:00: GL_NV_vertex_program2_option
16:17:00: GL_NV_vertex_program3
16:17:00: GL_NV_viewport_array2
16:17:00: GL_NV_viewport_swizzle
16:17:00: GL_NVX_conditional_render
16:17:00: GL_NV_gpu_multicast
16:17:00: GL_NVX_progress_fence
16:17:00: GL_NVX_gpu_memory_info
16:17:00: GL_NVX_nvenc_interop
16:17:00: GL_NV_shader_thread_group
16:17:00: GL_NV_shader_thread_shuffle
16:17:00: GL_KHR_blend_equation_advanced
16:17:00: GL_KHR_blend_equation_advanced_coherent
16:17:00: GL_OVR_multiview
16:17:00: GL_OVR_multiview2
16:17:00: GL_SGIS_generate_mipmap
16:17:00: GL_SGIS_texture_lod
16:17:00: GL_SGIX_depth_texture
16:17:00: GL_SGIX_shadow
16:17:00: GL_SUN_slice_accum
16:17:00: Supported GLX extensions: GLX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_import_context GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_video_sync GLX_SGI_swap_control GLX_EXT_swap_control GLX_EXT_swap_control_tear GLX_EXT_texture_from_pixmap GLX_EXT_buffer_age GLX_ARB_create_context GLX_ARB_create_context_profile GLX_EXT_create_context_es_profile GLX_EXT_create_context_es2_profile GLX_ARB_create_context_no_error GLX_ARB_create_context_robustness GLX_NV_delay_before_swap GLX_EXT_stereo_tree GLX_ARB_context_flush_control GLX_NV_robustness_video_memory_purge GLX_NV_multigpu_context GLX_ARB_multisample GLX_NV_float_buffer GLX_ARB_fbconfig_float GLX_EXT_framebuffer_sRGB GLX_NV_copy_image GLX_ARB_get_proc_address
16:17:00: **************************************
16:17:00: *** OpenGL 3+ Renderer Started ***
16:17:00: **************************************
16:17:00: Registering ResourceManager for type GpuProgram
16:17:00: RenderSystem capabilities
16:17:00: -------------------------
16:17:00: RenderSystem Name: OpenGL 3+ Rendering Subsystem
16:17:00: GPU Vendor: nvidia
16:17:00: Device Name: GeForce GTX 1660 SUPER/PCIe/SSE2
16:17:00: Driver Version: 3.3.0.0
16:17:00: * Fixed function pipeline: no
16:17:00: * Hardware generation of mipmaps: yes
16:17:00: * Texture blending: yes
16:17:00: * Anisotropic texture filtering: yes
16:17:00: * Dot product texture operation: yes
16:17:00: * Cube mapping: yes
16:17:00: * Hardware stencil buffer: yes
16:17:00: - Stencil depth: 8
16:17:00: - Two sided stencil support: yes
16:17:00: - Wrap stencil values: yes
16:17:00: * Hardware vertex / index buffers: yes
16:17:00: * 32-bit index buffers: yes
16:17:00: * Vertex programs: yes
16:17:00: * Number of floating-point constants for vertex programs: 4096
16:17:00: * Number of integer constants for vertex programs: 4096
16:17:00: * Number of boolean constants for vertex programs: 4096
16:17:00: * Fragment programs: yes
16:17:00: * Number of floating-point constants for fragment programs: 4096
16:17:00: * Number of integer constants for fragment programs: 4096
16:17:00: * Number of boolean constants for fragment programs: 4096
16:17:00: * Geometry programs: yes
16:17:00: * Number of floating-point constants for geometry programs: 2048
16:17:00: * Number of integer constants for geometry programs: 2048
16:17:00: * Number of boolean constants for geometry programs: 2048
16:17:00: * Tessellation Hull programs: yes
16:17:00: * Number of floating-point constants for tessellation hull programs: 2048
16:17:00: * Number of integer constants for tessellation hull programs: 2048
16:17:00: * Number of boolean constants for tessellation hull programs: 2048
16:17:00: * Tessellation Domain programs: yes
16:17:00: * Number of floating-point constants for tessellation domain programs: 2048
16:17:00: * Number of integer constants for tessellation domain programs: 2048
16:17:00: * Number of boolean constants for tessellation domain programs: 2048
16:17:00: * Compute programs: yes
16:17:00: * Number of floating-point constants for compute programs: 2048
16:17:00: * Number of integer constants for compute programs: 2048
16:17:00: * Number of boolean constants for compute programs: 2048
16:17:00: * Supported Shader Profiles: glsl glsl130 glsl140 glsl150 glsl330
16:17:00: * Texture Compression: yes
16:17:00: - DXT: yes
16:17:00: - VTC: yes
16:17:00: - PVRTC: no
16:17:00: - ATC: no
16:17:00: - ETC1: no
16:17:00: - ETC2: yes
16:17:00: - BC4/BC5: yes
16:17:00: - BC6H/BC7: yes
16:17:00: - ASTC: no
16:17:00: * Hardware Occlusion Query: yes
16:17:00: * User clip planes: yes
16:17:00: * VET_UBYTE4 vertex element type: yes
16:17:00: * Infinite far plane projection: yes
16:17:00: * Hardware render-to-texture: yes
16:17:00: * Floating point textures: yes
16:17:00: * Non-power-of-two textures: yes
16:17:00: * 1d textures: yes
16:17:00: * Volume textures: yes
16:17:00: * Max Texture resolution (2D) 32768
16:17:00: * Max Texture resolution (3D) 16384
16:17:00: * Max Texture resolution (Cubemaps) 32768
16:17:00: * Multiple Render Targets: 8
16:17:00: - With different bit depths: yes
16:17:00: * Point Sprites: yes
16:17:00: * Extended point parameters: yes
16:17:00: * Max Point Size: 2047
16:17:00: * Vertex texture fetch: yes
16:17:00: * Number of world matrices: 0
16:17:00: * Number of texture units: 16
16:17:00: * Stencil buffer depth: 8
16:17:00: * Number of vertex blend matrices: 0
16:17:00: - Max vertex textures: 32
16:17:00: - Vertex textures shared: yes
16:17:00: * Render to Vertex Buffer : yes
16:17:00: * Hardware Atomic Counters: yes
16:17:00: * Compute max threads per threadgroup per axis: 1024, 1024, 64
16:17:00: * Compute max threads per threadgroup total: 1024
16:17:00: * GL 1.5 without VBO workaround: no
16:17:00: * Frame Buffer objects: yes
16:17:00: * Frame Buffer objects (ARB extension): no
16:17:00: * Frame Buffer objects (ATI extension): no
16:17:00: * PBuffer support: no
16:17:00: * GL 1.5 without HW-occlusion workaround: no
16:17:00: * Vertex Array Objects: yes
16:17:00: * Separate shader objects: no
16:17:00: * Using Reverse Z: yes
16:17:00: DefaultWorkQueue('Root') initialising on thread main.
16:17:00: Particle Renderer Type 'billboard' registered
16:17:00: Added resource location '/home/osrf/Workspaces/ignFortress_ws/install/share/ignition/ignition-rendering6/ogre2/media/2.0/scripts/Compositors' of type 'FileSystem' to resource group 'General'
16:17:00: Added resource location '/home/osrf/Workspaces/ignFortress_ws/install/share/ignition/ignition-rendering6/ogre2/media/2.0/scripts/materials/Common' of type 'FileSystem' to resource group 'General'
16:17:00: Added resource location '/home/osrf/Workspaces/ignFortress_ws/install/share/ignition/ignition-rendering6/ogre2/media/2.0/scripts/materials/Common/GLSL' of type 'FileSystem' to resource group 'General'
16:17:00: Added resource location '/home/osrf/Workspaces/ignFortress_ws/install/share/ignition/ignition-rendering6/ogre2/media/2.0/scripts/materials/Common/GLSLES' of type 'FileSystem' to resource group 'General'
16:17:00: Added resource location '/home/osrf/Workspaces/ignFortress_ws/install/share/ignition/ignition-rendering6/ogre2/media' of type 'FileSystem' to resource group 'General'
16:17:00: Added resource location '/home/osrf/Workspaces/ignFortress_ws/install/share/ignition/ignition-rendering6/ogre2/media/materials/programs' of type 'FileSystem' to resource group 'General'
16:17:00: Added resource location '/home/osrf/Workspaces/ignFortress_ws/install/share/ignition/ignition-rendering6/ogre2/media/materials/scripts' of type 'FileSystem' to resource group 'General'
16:17:00: Added resource location '/home/osrf/Workspaces/ignFortress_ws/install/share/ignition/ignition-rendering6/ogre2/media/materials/textures' of type 'FileSystem' to resource group 'General'
16:17:00: Parsing scripts for resource group Autodetect
16:17:00: Finished parsing scripts for resource group Autodetect
16:17:00: Creating resources for group Autodetect
16:17:00: All done
16:17:00: Parsing scripts for resource group General
16:17:00: Parsing script Quad.program
16:17:00: Parsing script DepthUtils.material
16:17:00: Parsing script DPSM.material
16:17:00: Parsing script Copyback.material
16:17:00: Parsing script EsmGaussianBlurLogFilter.material
16:17:00: Parsing script gpu_rays.material
16:17:00: Parsing script thermal.material
16:17:00: Parsing script skybox.material
16:17:00: Parsing script picker.material
16:17:00: Parsing script gaussian_noise.material
16:17:00: Parsing script depth_camera.material
16:17:00: Parsing script GaussianNoise.compositor
16:17:00: Parsing script PbsMaterials.compositor
16:17:00: Compiler error: invalid parameters in PbsMaterials.compositor(4): Unrecognized PixelFormat
16:17:00: Compiler error: invalid parameters in PbsMaterials.compositor(8): Unrecognized PixelFormat
16:17:00: OGRE EXCEPTION(5:ItemIdentityException): Can't find texture with name: '[Hash 0x05f70bcc]' If it's a global texture, trying to use it in the output channel will fail. in CompositorNodeDef::getTextureSource at /home/jenkins/workspace/ogre-2.2-debbuilder/repo/OgreMain/src/Compositor/OgreTextureDefinition.cpp (line 214)
16:17:00: Compiler error: invalid parameters in PbsMaterials.compositor(25)
16:17:00: Parsing scripts for resource group Internal
16:17:00: Finished parsing scripts for resource group Internal
16:17:00: Creating resources for group Internal
16:17:00: All done
16:17:00: Added resource location '/home/osrf/Workspaces/ignFortress_ws/install/share/ignition/ignition-rendering6/media/materials/textures/' of type 'FileSystem' to resource group 'General'
16:17:00: Can't assign material scene::Material(65506) because this Material does not exist. Have you forgotten to define it in a .material script?
16:17:00: Can't assign material scene::Material(65500) because this Material does not exist. Have you forgotten to define it in a .material script?
16:17:00: Can't assign material scene::Material(65494) because this Material does not exist. Have you forgotten to define it in a .material script?
16:17:00: Can't assign material scene::Material(65488) because this Material does not exist. Have you forgotten to define it in a .material script?
16:17:00: Can't assign material scene::Material(65481) because this Material does not exist. Have you forgotten to define it in a .material script?
16:17:00: Can't assign material scene::Material(65488) because this Material does not exist. Have you forgotten to define it in a .material script?
16:17:00: Can't assign material scene::Material(65468) because this Material does not exist. Have you forgotten to define it in a .material script?
16:17: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...
16:17: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...
16:17: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...
16:17: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...

@jennuine jennuine added bug Something isn't working 🏯 fortress Ignition Fortress labels Sep 9, 2021
@jennuine
Copy link
Contributor Author

jennuine commented Sep 9, 2021

Also, when I try to expand the GUI, it crashes with:

ign gazebo gui: /home/osrf/Workspaces/ignFortress_ws/src/ign-rendering/ogre2/src/Ogre2Scene.cc:270: void ignition::rendering::v6::Ogre2Scene::StartRendering(): Assertion `("Started rendering without first calling Scene::PreRender. " "See Scene::SetCameraPassCountPerGpuFlush for details", this->dataPtr->frameUpdateStarted == true)' failed.
[Dbg] [SignalHandler.cc:141] Received signal[2].
[Dbg] [ServerPrivate.cc:108] Server received signal[2]
[Dbg] [ign.cc:353] Shutting down ign-gazebo-server
[Dbg] [SimulationRunner.cc:543] Exiting postupdate worker thread (0)

@iche033
Copy link
Contributor

iche033 commented Sep 10, 2021

I ran into the issue with failing to initialize the engine a few times. We recently merged #272 that upgrades ogre 2.1 to 2.2. The error and crash for me was due to leftover ogre2.1 media files in the colcon install directory. Looking at the ogre2.log:

Compiler error: invalid parameters in PbsMaterials.compositor(4): Unrecognized PixelFormat

The PbsMaterials.compositor exists in ign-rendering versions <5 but should be removed in the latest ign-rendering main branch. So it's trying to load a ogre 2.1 script that does work in ogre 2.2. So it may worth doing a clean rebuild and see if the issue still persists.

@jennuine
Copy link
Contributor Author

Thanks, a clean rebuild of the entire workspace worked for me. Yesterday I had only rebuilt rendering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🏯 fortress Ignition Fortress ogre2.x
Projects
None yet
Development

No branches or pull requests

3 participants