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

black window when running depth_camera example on Win 10/Intel iGPU with ogre #1059

Open
4 of 19 tasks
peci1 opened this issue Sep 16, 2024 · 0 comments
Open
4 of 19 tasks
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@peci1
Copy link
Contributor

peci1 commented Sep 16, 2024

Environment

  • OS Version: Win 10
  • Source or binary build? Source Ionic prerelease
  • If this is a GUI or sensor rendering bug, describe your GPU and rendering system. Otherwise delete this section.
    • Rendering plugin: ogre (the example crashes with ogre2, but as that has limited win support, I don't consider it a problem)
      • Sensor rendering error.
      • GUI rendering error.
    • EGL headless mode:
      • Running in EGL headless mode
    • Generally, mention all circumstances that might affect rendering capabilities:
      • running on a dual GPU machine (integrated GPU + discrete GPU)
      • running on a multi-GPU machine (it has multiple discrete GPUs)
      • running on real hardware
      • running in virtual machine
      • running in Docker/Singularity
      • running remotely (e.g. via SSH)
      • running in a cloud
      • using VirtualGL, XVFB, Xdummy, XVNC or other indirect rendering utilities
      • GPU is concurrently used for other tasks
        • desktop acceleration
        • video decoding (i.e. a playing Youtube video)
        • video encoding
        • CUDA/ROCm computations (Tensorflow, Torch, Caffe running)
        • multiple simulators running at the same time
      • other...
    • Rendering system info: Intel HD Graphics 4600, driver 20.19.15.5166, DirectX 12
    • Please, attach the ogre.log or ogre2.log file from ~/.gz/rendering
02:55:42: Creating resource group General
02:55:42: Creating resource group Internal
02:55:42: Creating resource group Autodetect
02:55:42: SceneManagerFactory for type 'DefaultSceneManager' registered.
02:55:42: Registering ResourceManager for type Material
02:55:42: Registering ResourceManager for type Mesh
02:55:42: Registering ResourceManager for type Skeleton
02:55:42: MovableObjectFactory for type 'ParticleSystem' registered.
02:55:42: ArchiveFactory for archive type FileSystem registered.
02:55:42: ArchiveFactory for archive type Zip registered.
02:55:42: ArchiveFactory for archive type EmbeddedZip registered.
02:55:42: DDS codec registering
02:55:42: ETC codec registering
02:55:42: stb_image - v2.15 - public domain JPEG/PNG reader
02:55:42: Supported formats: jpeg,jpg,png,bmp,psd,tga,gif,pic,ppm,pgm,hdr
02:55:42: Registering ResourceManager for type HighLevelGpuProgram
02:55:42: Registering ResourceManager for type Compositor
02:55:42: MovableObjectFactory for type 'Entity' registered.
02:55:42: MovableObjectFactory for type 'Light' registered.
02:55:42: MovableObjectFactory for type 'BillboardSet' registered.
02:55:42: MovableObjectFactory for type 'ManualObject' registered.
02:55:42: MovableObjectFactory for type 'BillboardChain' registered.
02:55:42: MovableObjectFactory for type 'RibbonTrail' registered.
02:55:42: *-*-* OGRE Initialising
02:55:42: *-*-* Version 1.10.12 (Xalafu)
02:55:42: OverlayElementFactory for type Panel registered.
02:55:42: OverlayElementFactory for type BorderPanel registered.
02:55:42: OverlayElementFactory for type TextArea registered.
02:55:42: Registering ResourceManager for type Font
02:55:42: Installing plugin: GL RenderSystem
02:55:42: OpenGL Rendering Subsystem created.
02:55:42: Plugin successfully installed
02:55:42: Loading library D:/programming/gz9-ws/conda/Library/bin/Plugin_ParticleFX.dll
02:55:42: Installing plugin: ParticleFX
02:55:42: Particle Emitter Type 'Point' registered
02:55:42: Particle Emitter Type 'Box' registered
02:55:42: Particle Emitter Type 'Ellipsoid' registered
02:55:42: Particle Emitter Type 'Cylinder' registered
02:55:42: Particle Emitter Type 'Ring' registered
02:55:42: Particle Emitter Type 'HollowEllipsoid' registered
02:55:42: Particle Affector Type 'LinearForce' registered
02:55:42: Particle Affector Type 'ColourFader' registered
02:55:42: Particle Affector Type 'ColourFader2' registered
02:55:42: Particle Affector Type 'ColourImage' registered
02:55:42: Particle Affector Type 'ColourInterpolator' registered
02:55:42: Particle Affector Type 'Scaler' registered
02:55:42: Particle Affector Type 'Rotator' registered
02:55:42: Particle Affector Type 'DirectionRandomiser' registered
02:55:42: Particle Affector Type 'DeflectorPlane' registered
02:55:42: Plugin successfully installed
02:55:42: Loading library D:/programming/gz9-ws/conda/Library/bin/Plugin_BSPSceneManager.dll
02:55:42: Installing plugin: BSP Scene Manager
02:55:42: Plugin successfully installed
02:55:42: Loading library D:/programming/gz9-ws/conda/Library/bin/Plugin_OctreeSceneManager.dll
02:55:42: Installing plugin: Octree Scene Manager
02:55:42: Plugin successfully installed
02:55:42: CPU Identifier & Features
02:55:42: -------------------------
02:55:42:  *   CPU ID: GenuineIntel: Intel(R) Core(TM) i7-4702MQ CPU @ 2.20GHz
02:55:42:  *          SSE: yes
02:55:42:  *         SSE2: yes
02:55:42:  *         SSE3: yes
02:55:42:  *        SSE41: yes
02:55:42:  *        SSE42: yes
02:55:42:  *          MMX: yes
02:55:42:  *       MMXEXT: yes
02:55:42:  *        3DNOW: no
02:55:42:  *     3DNOWEXT: no
02:55:42:  *         CMOV: yes
02:55:42:  *          TSC: yes
02:55:42:  *INVARIANT TSC: yes
02:55:42:  *          FPU: yes
02:55:42:  *          PRO: yes
02:55:42:  *           HT: no
02:55:42: -------------------------
02:55:42: *** Starting Win32GL Subsystem ***
02:55:42: Registering ResourceManager for type Texture
02:55:42: Added resource location 'D:\programming\gz9-ws\gz-ws\install\share\gz\gz-rendering9\ogre\media' of type 'FileSystem' to resource group 'General'
02:55:42: Added resource location 'D:\programming\gz9-ws\gz-ws\install\share\gz\gz-rendering9\ogre\media/materials/programs' of type 'FileSystem' to resource group 'General'
02:55:42: Added resource location 'D:\programming\gz9-ws\gz-ws\install\share\gz\gz-rendering9\ogre\media/materials/scripts' of type 'FileSystem' to resource group 'General'
02:55:42: Added resource location 'D:\programming\gz9-ws\gz-ws\install\share\gz\gz-rendering9\ogre\media/materials/textures' of type 'FileSystem' to resource group 'General'
02:55:42: Creating resource group Fonts
02:55:42: Added resource location 'D:\programming\gz9-ws\gz-ws\install\share\gz\gz-rendering9\ogre\media/fonts' of type 'FileSystem' to resource group 'Fonts'
02:55:42: GLRenderSystem::_createRenderWindow "OgreWindow(0)_0", 1x1 windowed  miscParams: FSAA=0 border=none contentScalingFactor=1.000000 externalWindowHandle=0 macAPI=cocoa macAPICocoaUseNSView=true stereoMode=Frame Sequential 
02:55:42: Created Win32Window 'OgreWindow(0)_0' : 1x1, 32bpp
02:55:42: Supported WGL extensions: WGL_EXT_depth_float WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_pixel_format WGL_ARB_pbuffer WGL_EXT_extensions_string WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_ARB_multisample WGL_ARB_pixel_format_float WGL_ARB_framebuffer_sRGB WGL_ARB_create_context WGL_ARB_create_context_profile WGL_EXT_pixel_format_packed_float WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_NV_DX_interop WGL_INTEL_cl_sharing WGL_NV_DX_interop2 WGL_ARB_create_context_robustness 
02:55:42: GL_VERSION = 4.3.0 - Build 20.19.15.5166
02:55:42: GL_VENDOR = Intel
02:55:42: GL_RENDERER = Intel(R) HD Graphics 4600
02:55:42: GL_EXTENSIONS = GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_blend_color GL_EXT_abgr GL_EXT_texture3D GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_SGIS_texture_edge_clamp GL_SGIS_generate_mipmap GL_EXT_draw_range_elements GL_SGIS_texture_lod GL_EXT_rescale_normal GL_EXT_packed_pixels GL_EXT_texture_edge_clamp GL_EXT_separate_specular_color GL_ARB_multitexture GL_ARB_map_buffer_alignment GL_ARB_conservative_depth GL_EXT_texture_env_combine GL_EXT_bgra GL_EXT_blend_func_separate GL_EXT_secondary_color GL_EXT_fog_coord GL_EXT_texture_env_add GL_ARB_texture_cube_map GL_ARB_transpose_matrix GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_texture_env_add GL_IBM_texture_mirrored_repeat GL_ARB_texture_mirrored_repeat GL_EXT_multi_draw_arrays GL_SUN_multi_draw_arrays GL_NV_blend_square GL_ARB_texture_compression GL_3DFX_texture_compression_FXT1 GL_EXT_texture_filter_anisotropic GL_ARB_texture_border_clamp GL_ARB_point_parameters GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_env_crossbar GL_EXT_texture_compression_s3tc GL_ARB_shadow GL_ARB_window_pos GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_ARB_vertex_program GL_EXT_texture_rectangle GL_ARB_fragment_program GL_EXT_stencil_two_side GL_ATI_separate_stencil GL_ARB_vertex_buffer_object GL_EXT_texture_lod_bias GL_ARB_occlusion_query GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_non_power_of_two GL_ARB_vertex_shader GL_NV_texgen_reflection GL_ARB_point_sprite GL_ARB_fragment_program_shadow GL_EXT_blend_equation_separate GL_ARB_depth_texture GL_ARB_texture_rectangle GL_ARB_draw_buffers GL_ARB_color_buffer_float GL_ARB_half_float_pixel GL_ARB_texture_float GL_ARB_pixel_buffer_object GL_ARB_texture_barrier GL_EXT_framebuffer_object GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_occlusion_query2 GL_EXT_draw_buffers2 GL_WIN_swap_hint GL_EXT_texture_sRGB GL_ARB_multisample GL_EXT_packed_float GL_EXT_texture_shared_exponent GL_ARB_texture_rg GL_ARB_texture_compression_rgtc GL_NV_conditional_render GL_ARB_texture_swizzle GL_EXT_texture_swizzle GL_ARB_texture_gather GL_ARB_sync GL_ARB_cl_event GL_ARB_framebuffer_sRGB GL_EXT_packed_depth_stencil GL_ARB_depth_buffer_float GL_EXT_transform_feedback GL_ARB_transform_feedback2 GL_ARB_draw_indirect GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_ARB_framebuffer_object GL_ARB_framebuffer_no_attachments GL_EXT_texture_array GL_EXT_texture_integer GL_ARB_map_buffer_range GL_ARB_texture_buffer_range GL_EXT_texture_snorm GL_ARB_blend_func_extended GL_INTEL_performance_query GL_ARB_copy_buffer GL_ARB_sampler_objects GL_NV_primitive_restart GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_uniform_buffer_object GL_ARB_depth_clamp GL_ARB_vertex_array_bgra GL_ARB_shader_bit_encoding GL_ARB_draw_buffers_blend GL_ARB_geometry_shader4 GL_EXT_geometry_shader4 GL_ARB_texture_query_lod GL_ARB_explicit_attrib_location GL_ARB_draw_elements_base_vertex GL_EXT_shader_integer_mix GL_ARB_instanced_arrays GL_ARB_base_instance GL_ARB_fragment_coord_conventions GL_EXT_gpu_program_parameters GL_ARB_texture_buffer_object_rgb32 GL_ARB_compatibility GL_ARB_texture_rgb10_a2ui GL_ARB_texture_multisample GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_timer_query GL_EXT_timer_query GL_ARB_tessellation_shader GL_ARB_vertex_array_object GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_texture_cube_map_array GL_EXT_gpu_shader4 GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_INTEL_fragment_shader_ordering GL_ARB_fragment_shader_interlock GL_ARB_clip_control GL_ARB_shader_subroutine GL_ARB_transform_feedback3 GL_ARB_get_program_binary GL_ARB_separate_shader_objects GL_ARB_shader_precision GL_ARB_vertex_attrib_64bit GL_ARB_viewport_array GL_ARB_transform_feedback_instanced GL_ARB_compressed_texture_pixel_storage GL_ARB_shader_atomic_counters GL_ARB_shading_language_packing GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_texture_storage GL_EXT_texture_storage GL_ARB_compute_shader GL_ARB_vertex_attrib_binding GL_ARB_texture_view GL_ARB_fragment_layer_viewport GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_texture_storage_multisample GL_ARB_buffer_storage GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ARB_query_buffer_object GL_EXT_polygon_offset_clamp GL_ARB_clear_texture GL_ARB_texture_mirror_clamp_to_edge GL_ARB_debug_output GL_ARB_enhanced_layouts GL_KHR_debug GL_ARB_arrays_of_arrays GL_ARB_texture_query_levels GL_ARB_invalidate_subdata GL_ARB_clear_buffer_object GL_INTEL_map_texture GL_ARB_texture_compression_bptc GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_robustness GL_ARB_robust_buffer_access_behavior GL_EXT_texture_sRGB_decode GL_ARB_copy_image GL_KHR_blend_equation_advanced GL_EXT_direct_state_access GL_ARB_stencil_texturing GL_ARB_texture_stencil8 GL_ARB_explicit_uniform_location GL_ARB_multi_bind GL_ARB_indirect_parameters 
02:55:42: ***************************
02:55:42: *** GL Renderer Started ***
02:55:42: ***************************
02:55:42: Registering ResourceManager for type GpuProgram
02:55:42: GLSL support detected
02:55:42: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
02:55:42: FBO PF_UNKNOWN depth/stencil support: D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_R5G6B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_B5G6R5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_A8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_R8G8B8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_R3G3B2 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 
02:55:42: [GL] : Valid FBO targets PF_UNKNOWN PF_A8 PF_R5G6B5 PF_B5G6R5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_A8B8G8R8 PF_B8G8R8A8 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_R8G8B8A8 PF_SHORT_RGBA PF_R3G3B2 PF_SHORT_RGB 
02:55:42: RenderSystem capabilities
02:55:42: -------------------------
02:55:42: RenderSystem Name: OpenGL Rendering Subsystem
02:55:42: GPU Vendor: intel
02:55:42: Device Name: Intel(R) HD Graphics 4600
02:55:42: Driver Version: 4.3.0.0
02:55:42:  * Fixed function pipeline: yes
02:55:42:  * Anisotropic texture filtering: yes
02:55:42:  * Cube mapping: yes
02:55:42:  * Hardware stencil buffer: yes
02:55:42:    - Stencil depth: 8
02:55:42:    - Two sided stencil support: yes
02:55:42:    - Wrap stencil values: yes
02:55:42:  * 32-bit index buffers: yes
02:55:42:  * Vertex programs: yes
02:55:42:  * Number of floating-point constants for vertex programs: 256
02:55:42:  * Number of integer constants for vertex programs: 0
02:55:42:  * Number of boolean constants for vertex programs: 0
02:55:42:  * Fragment programs: yes
02:55:42:  * Number of floating-point constants for fragment programs: 256
02:55:42:  * Number of integer constants for fragment programs: 0
02:55:42:  * Number of boolean constants for fragment programs: 0
02:55:42:  * Geometry programs: yes
02:55:42:  * Number of floating-point constants for geometry programs: 4096
02:55:42:  * Number of integer constants for geometry programs: 0
02:55:42:  * Number of boolean constants for geometry programs: 0
02:55:42:  * Tessellation Hull programs: no
02:55:42:  * Number of floating-point constants for tessellation hull programs: 0
02:55:42:  * Number of integer constants for tessellation hull programs: 0
02:55:42:  * Number of boolean constants for tessellation hull programs: 15
02:55:42:  * Tessellation Domain programs: no
02:55:42:  * Number of floating-point constants for tessellation domain programs: 0
02:55:42:  * Number of integer constants for tessellation domain programs: 0
02:55:42:  * Number of boolean constants for tessellation domain programs: 0
02:55:42:  * Compute programs: no
02:55:42:  * Number of floating-point constants for compute programs: 0
02:55:42:  * Number of integer constants for compute programs: 0
02:55:42:  * Number of boolean constants for compute programs: 0
02:55:42:  * Supported Shader Profiles: arbfp1 arbvp1 glsl glsl100 glsl110 glsl120
02:55:42:  * Texture Compression: yes
02:55:42:    - DXT: yes
02:55:42:    - VTC: no
02:55:42:    - PVRTC: no
02:55:42:    - ATC: no
02:55:42:    - ETC1: no
02:55:42:    - ETC2: no
02:55:42:    - BC4/BC5: no
02:55:42:    - BC6H/BC7: no
02:55:42:    - ASTC: no
02:55:42:    - Mipmaps for compressed formats: yes
02:55:42:  * Hardware Occlusion Query: yes
02:55:42:  * User clip planes: yes
02:55:42:  * VET_UBYTE4 vertex element type: yes
02:55:42:  * Infinite far plane projection: yes
02:55:42:  * Hardware render-to-texture: yes
02:55:42:  * Floating point textures: yes
02:55:42:  * Non-power-of-two textures: yes
02:55:42:  * 1d textures: yes
02:55:42:  * Volume textures: yes
02:55:42:  * Multiple Render Targets: 8
02:55:42:    - With different bit depths: yes
02:55:42:  * Point Sprites: yes
02:55:42:  * Hardware Gamma: yes
02:55:42:  * Extended point parameters: yes
02:55:42:  * Max Point Size: 255
02:55:42:  * Vertex texture fetch: yes
02:55:42:  * Number of texture units: 16
02:55:42:  * Number of vertex attributes: 16
02:55:42:  * Stencil buffer depth: 8
02:55:42:  * Number of vertex blend matrices: 0
02:55:42:    - Max vertex textures: 32
02:55:42:    - Vertex textures shared: yes
02:55:42:  * Render to Vertex Buffer : no
02:55:42:  * Hardware Atomic Counters: no
02:55:42:  * PBuffer support: yes
02:55:42:  * Vertex Array Objects: no
02:55:42:  * Separate shader objects: no
02:55:42:  * GLSL SSO redeclare interface block: no
02:55:42:  * Debugging/ profiling events: no
02:55:42:  * Map buffer storage: yes
02:55:42: DefaultWorkQueue('Root') initialising on thread 10556.
02:55:42: DefaultWorkQueue('Root')::WorkerFunc - thread 8336 starting.
02:55:42: DefaultWorkQueue('Root')::WorkerFunc - thread 15568 starting.
02:55:42: DefaultWorkQueue('Root')::WorkerFunc - thread 10640 starting.
02:55:42: DefaultWorkQueue('Root')::WorkerFunc - thread 20432 starting.
02:55:42: DefaultWorkQueue('Root')::WorkerFunc - thread 19412 starting.
02:55:42: Particle Renderer Type 'billboard' registered
02:55:42: DefaultWorkQueue('Root')::WorkerFunc - thread 15792 starting.
02:55:42: DefaultWorkQueue('Root')::WorkerFunc - thread 19840 starting.
02:55:42: DefaultWorkQueue('Root')::WorkerFunc - thread 1392 starting.
02:55:42: SceneManagerFactory for type 'BspSceneManager' registered.
02:55:42: Registering ResourceManager for type BspLevel
02:55:42: SceneManagerFactory for type 'OctreeSceneManager' registered.
02:55:42: Parsing scripts for resource group Autodetect
02:55:42: Finished parsing scripts for resource group Autodetect
02:55:42: Creating resources for group Autodetect
02:55:42: All done
02:55:42: Parsing scripts for resource group Fonts
02:55:42: Parsing script gz-rendering.fontdef
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:1
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:9
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:17
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:25
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:33
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:41
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:49
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:57
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:65
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:73
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:81
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:89
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:97
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:105
02:55:42: Warning: missing 'font' keyword at gz-rendering.fontdef:113
02:55:42: Finished parsing scripts for resource group Fonts
02:55:42: Creating resources for group Fonts
02:55:42: All done
02:55:42: Parsing scripts for resource group General
02:55:42: Parsing script distortion.material
02:55:42: Parsing script gaussian_noise.material
02:55:42: Parsing script gpu_rays.material
02:55:42: Parsing script lens_flare.material
02:55:42: Parsing script picker.material
02:55:42: Parsing script point_cloud_point.material
02:55:42: Parsing script pssm.material
02:55:42: Parsing script thermal.material
02:55:42: Parsing script wide_angle_camera.material
02:55:42: Parsing script distortion.compositor
02:55:42: Parsing script gaussian_noise.compositor
02:55:42: Parsing script lens_flare.compositor
02:55:42: Parsing script thermal_camera.compositor
02:55:42: Parsing script wide_camera_lens_map.compositor
02:55:42: Finished parsing scripts for resource group General
02:55:42: Creating resources for group General
02:55:42: All done
02:55:42: Parsing scripts for resource group Internal
02:55:42: Finished parsing scripts for resource group Internal
02:55:42: Creating resources for group Internal
02:55:42: All done
02:55:42: Added resource location 'D:\programming\gz9-ws\gz-ws\install\share\gz\gz-rendering9\ogre\media\rtshaderlib150' of type 'FileSystem' to resource group 'General'
02:55:42: Added resource location 'D:\programming\gz9-ws\gz-ws\install\share\gz\gz-rendering9\media\materials\textures\com.png' of type 'FileSystem' to resource group 'General'
02:55:42: Added resource location 'D:\programming\gz9-ws\gz-ws\src\gz-rendering\examples\depth_camera\media' of type 'FileSystem' to resource group 'General' with recursive option
02:55:42: Initialising resource group General
02:55:42: Texture: D:\programming\gz9-ws\gz-ws\src\gz-rendering\examples\depth_camera\media\duck.png: Loading 1 faces(PF_B8G8R8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,512x512x1.
02:55:42: Added resource location 'D:\programming\gz9-ws\gz-ws\install\share\gz\gz-rendering9\ogre\media\materials\programs\depth_points_vs.glsl' of type 'FileSystem' to resource group 'General'
02:55:42: Added resource location 'D:\programming\gz9-ws\gz-ws\install\share\gz\gz-rendering9\ogre\media\materials\programs\depth_points_fs.glsl' of type 'FileSystem' to resource group 'General'
02:55:42: Texture: Warning: Loading 1 faces(PF_R5G6B5,8x8x1) with 3 hardware generated mipmaps from Image. Internal format is PF_R5G6B5,8x8x1.
02:55:42: GLSL compiling: __gz_rendering_vertex__D:\programming\gz9-ws\gz-ws\install\share\gz\gz-rendering9\ogre\media\materials\programs\depth_points_vs.glsl
02:55:42: GLSL compiled: WARNING: 0:19: '' :  #version directive missing


02:55:42: GLSL compiling: __gz_rendering_fragment__D:\programming\gz9-ws\gz-ws\install\share\gz\gz-rendering9\ogre\media\materials\programs\depth_points_fs.glsl
02:55:42: GLSL compiled: WARNING: 0:19: '' :  #version directive missing


02:55:42: Vertex Program:__gz_rendering_vertex__D:\programming\gz9-ws\gz-ws\install\share\gz\gz-rendering9\ogre\media\materials\programs\depth_points_vs.glsl Fragment Program:__gz_rendering_fragment__D:\programming\gz9-ws\gz-ws\install\share\gz\gz-rendering9\ogre\media\materials\programs\depth_points_fs.glsl GLSL link result : 

That's it, nothing more.

Description

  • Expected behavior: I can see depth images in the GL window.
  • Actual behavior: I see only black frame.

Steps to reproduce

  1. Just follow https://gazebosim.org/api/rendering/9/depth_camera.html
  2. Fix the #elif in Main.cc to allow compilation on Windows.
  3. Build: mkdir build; cd build; cmake ..; cmake --build . --config Release
  4. Run: .\Release\depth_camera.exe ogre

Output

.\Release\depth_camera.exe ogre
(2024-09-16 02:55:42.626) [info] [RenderEngineManager.cc:455] Loading plugin [gz-rendering-ogre]
===============================
  ESC - Exit
===============================
@peci1 peci1 added the bug Something isn't working label Sep 16, 2024
@caguero caguero added the help wanted Extra attention is needed label Nov 18, 2024
@caguero caguero moved this from Inbox to To do in Core development Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Status: To do
Development

No branches or pull requests

2 participants