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

Camera sensor images intermittently turn to black. #2708

Open
2 of 19 tasks
david-wb opened this issue Jan 6, 2025 · 2 comments
Open
2 of 19 tasks

Camera sensor images intermittently turn to black. #2708

david-wb opened this issue Jan 6, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@david-wb
Copy link

david-wb commented Jan 6, 2025

Environment

  • OS Version: Ubuntu 22.04
  • Binary version 6.16.0
  • If this is a GUI or sensor rendering bug, describe your GPU and rendering system. Otherwise delete this section.
    • Rendering plugin: [ogre2].
      • 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:
      • On Linux, provide the outputs of the following commands:
        LANG=C lspci -nn | grep VGA  # might require installing pciutils
        echo "$DISPLAY"
        LANG=C glxinfo -B | grep -i '\(direct rendering\|opengl\|profile\)'  # might require installing mesa-utils package
        ps aux | grep Xorg
        sudo env LANG=C X -version  # if you don't have root access, try to tell the version of Xorg e.g. via package manager
      • On Windows, run dxdiag and report the GPU-related information.
      • On Mac OS, open a terminal and type system_profiler SPDisplaysDataType. Copy the output here.
    • Please, attach the ogre.log or ogre2.log file from ~/.gz/rendering
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:a788] (rev 04)
0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:27ba] (rev a1)
:1
direct rendering: Yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Graphics (RPL-S)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.2.1-1ubuntu3.1~22.04.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
chroma      2700  3.0  0.2 29702672 178052 tty2  Sl+  08:24  10:33 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1001/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -novtswitch -verbose 3
chroma    275067  0.0  0.0  11760  2304 pts/0    S+   14:07   0:00 grep --color=auto Xorg
[sudo] password for chroma: 
14:11:06: Creating resource group General
14:11:06: Creating resource group Internal
14:11:06: Creating resource group Autodetect
14:11:06: SceneManagerFactory for type 'DefaultSceneManager' registered.
14:11:06: Registering ResourceManager for type Material
14:11:06: Registering ResourceManager for type Mesh
14:11:06: Registering ResourceManager for type Mesh2
14:11:06: Registering ResourceManager for type OldSkeleton
14:11:06: MovableObjectFactory for type 'ParticleSystem' registered.
14:11:06: ArchiveFactory for archive type FileSystem registered.
14:11:06: ArchiveFactory for archive type Zip registered.
14:11:06: ArchiveFactory for archive type EmbeddedZip registered.
14:11:06: DDS codec registering
14:11:06: FreeImage version: 3.18.0
14:11:06: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
14:11:06: 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
14:11:06: OITD codec registering
14:11:06: Registering ResourceManager for type HighLevelGpuProgram
14:11:06: MovableObjectFactory for type 'Decal' registered.
14:11:06: MovableObjectFactory for type 'InternalCubemapProbe' registered.
14:11:06: MovableObjectFactory for type 'Entity' registered.
14:11:06: MovableObjectFactory for type 'Item' registered.
14:11:06: MovableObjectFactory for type 'Light' registered.
14:11:06: MovableObjectFactory for type 'Rectangle2Dv2' registered.
14:11:06: MovableObjectFactory for type 'BillboardSet' registered.
14:11:06: MovableObjectFactory for type 'ManualObject2' registered.
14:11:06: MovableObjectFactory for type 'BillboardChain' registered.
14:11:06: MovableObjectFactory for type 'RibbonTrail' registered.
14:11:06: MovableObjectFactory for type 'WireAabb' registered.
14:11:06: *-*-* OGRE Initialising
14:11:06: *-*-* Version 2.2.5 (Cerberus)
14:11:06: OverlayElementFactory for type Panel registered.
14:11:06: OverlayElementFactory for type BorderPanel registered.
14:11:06: OverlayElementFactory for type TextArea registered.
14:11:06: Registering ResourceManager for type Font
14:11:06: Loading library /usr/lib/x86_64-linux-gnu/OGRE-Next/RenderSystem_GL3Plus.so
14:11:06: Installing plugin: GL 3+ RenderSystem
14:11:06: OpenGL 3+ Rendering Subsystem created.
14:11:07: Found Num EGL Devices: 4
14:11:07: EGL Device: EGL_NV_device_cuda EGL_EXT_device_drm EGL_EXT_device_drm_render_node EGL_EXT_device_query_name EGL_EXT_device_persistent_id #0 /dev/dri/card1
14:11:07: Trying to init device: EGL_NV_device_cuda EGL_EXT_device_drm EGL_EXT_device_drm_render_node EGL_EXT_device_query_name EGL_EXT_device_persistent_id #0 /dev/dri/card1...
14:11:07: Created GL 4.5 context for device EGL_NV_device_cuda EGL_EXT_device_drm EGL_EXT_device_drm_render_node EGL_EXT_device_query_name EGL_EXT_device_persistent_id #0 /dev/dri/card1
14:11:07: Destroying device: EGL_NV_device_cuda EGL_EXT_device_drm EGL_EXT_device_drm_render_node EGL_EXT_device_query_name EGL_EXT_device_persistent_id #0 /dev/dri/card1...
14:11:07: EGL Device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #1 /dev/dri/card1
14:11:07: Trying to init device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #1 /dev/dri/card1...
14:11:07: OGRE EXCEPTION(3:RenderingAPIException): eglInitialize failed for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #1 /dev/dri/card1 in EGLSupport::getGLDisplay at /build/ogre-next-UFfg83/ogre-next-2.2.5+dfsg3/RenderSystems/GL3Plus/src/windowing/EGL/PBuffer/OgreEglPBufferSupport.cpp (line 320)
14:11:07: OGRE EXCEPTION(3:RenderingAPIException): eglInitialize failed for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #1 /dev/dri/card1 in EGLSupport::getGLDisplay at /build/ogre-next-UFfg83/ogre-next-2.2.5+dfsg3/RenderSystems/GL3Plus/src/windowing/EGL/PBuffer/OgreEglPBufferSupport.cpp (line 320)
14:11:07: Destroying device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #1 /dev/dri/card1...
14:11:07: EGL Device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #2 /dev/dri/card2
14:11:07: Trying to init device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #2 /dev/dri/card2...
14:11:07: Created GL 4.5 context for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #2 /dev/dri/card2
14:11:07: Destroying device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #2 /dev/dri/card2...
14:11:07: EGL Device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #3
14:11:07: Trying to init device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #3...
14:11:07: Created GL 4.5 context for device EGL_MESA_device_software EGL_EXT_device_drm_render_node #3
14:11:07: Destroying device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #3...
14:11:07: Plugin successfully installed
14:11:07: Loading library /usr/lib/x86_64-linux-gnu/OGRE-Next/Plugin_ParticleFX.so
14:11:07: Installing plugin: ParticleFX
14:11:07: Particle Emitter Type 'Point' registered
14:11:07: Particle Emitter Type 'Box' registered
14:11:07: Particle Emitter Type 'Ellipsoid' registered
14:11:07: Particle Emitter Type 'Cylinder' registered
14:11:07: Particle Emitter Type 'Ring' registered
14:11:07: Particle Emitter Type 'HollowEllipsoid' registered
14:11:07: Particle Affector Type 'LinearForce' registered
14:11:07: Particle Affector Type 'ColourFader' registered
14:11:07: Particle Affector Type 'ColourFader2' registered
14:11:07: Particle Affector Type 'ColourImage' registered
14:11:07: Particle Affector Type 'ColourInterpolator' registered
14:11:07: Particle Affector Type 'Scaler' registered
14:11:07: Particle Affector Type 'Rotator' registered
14:11:07: Particle Affector Type 'DirectionRandomiser' registered
14:11:07: Particle Affector Type 'DeflectorPlane' registered
14:11:07: Plugin successfully installed
14:11:07: CPU Identifier & Features
14:11:07: -------------------------
14:11:07:  *   CPU ID: GenuineIntel: 13th Gen Intel(R) Core(TM) i9-13950HX
14:11:07:  *   Logical cores: 32
14:11:07:  *      SSE: yes
14:11:07:  *     SSE2: yes
14:11:07:  *     SSE3: yes
14:11:07:  *      MMX: yes
14:11:07:  *   MMXEXT: yes
14:11:07:  *    3DNOW: no
14:11:07:  * 3DNOWEXT: no
14:11:07:  *     CMOV: yes
14:11:07:  *      TSC: yes
14:11:07:  *      FPU: yes
14:11:07:  *      PRO: yes
14:11:07:  *       HT: no
14:11:07: -------------------------
14:11:07: ******************************
*** Starting GLX Subsystem ***
******************************
14:11:07: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_98566145", 1x1 windowed  miscParams: FSAA=0 border=none contentScalingFactor=1.000000 gamma=Yes parentWindowHandle=98566145 stereoMode=Frame Sequential 
14:11:07: Created GL 4.5 context
14:11:07: GLXWindow::create used FBConfigID = 1099
14:11:07: GL Version = 4.6.0.0
14:11:07: GL_VERSION = 4.6 (Core Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2
14:11:07: GL_VENDOR = Intel
14:11:07: GL_RENDERER = Mesa Intel(R) Graphics (RPL-S)
14:11:07: GL_EXTENSIONS = 
14:11:07: GL_3DFX_texture_compression_FXT1
14:11:07: GL_AMD_conservative_depth
14:11:07: GL_AMD_depth_clamp_separate
14:11:07: GL_AMD_draw_buffers_blend
14:11:07: GL_AMD_gpu_shader_int64
14:11:07: GL_AMD_multi_draw_indirect
14:11:07: GL_AMD_performance_monitor
14:11:07: GL_AMD_pinned_memory
14:11:07: GL_AMD_query_buffer_object
14:11:07: GL_AMD_seamless_cubemap_per_texture
14:11:07: GL_AMD_shader_stencil_export
14:11:07: GL_AMD_shader_trinary_minmax
14:11:07: GL_AMD_texture_texture4
14:11:07: GL_AMD_vertex_shader_layer
14:11:07: GL_AMD_vertex_shader_viewport_index
14:11:07: GL_ANGLE_texture_compression_dxt3
14:11:07: GL_ANGLE_texture_compression_dxt5
14:11:07: GL_ARB_ES2_compatibility
14:11:07: GL_ARB_ES3_1_compatibility
14:11:07: GL_ARB_ES3_2_compatibility
14:11:07: GL_ARB_ES3_compatibility
14:11:07: GL_ARB_arrays_of_arrays
14:11:07: GL_ARB_base_instance
14:11:07: GL_ARB_blend_func_extended
14:11:07: GL_ARB_buffer_storage
14:11:07: GL_ARB_clear_buffer_object
14:11:07: GL_ARB_clear_texture
14:11:07: GL_ARB_clip_control
14:11:07: GL_ARB_compressed_texture_pixel_storage
14:11:07: GL_ARB_compute_shader
14:11:07: GL_ARB_compute_variable_group_size
14:11:07: GL_ARB_conditional_render_inverted
14:11:07: GL_ARB_conservative_depth
14:11:07: GL_ARB_copy_buffer
14:11:07: GL_ARB_copy_image
14:11:07: GL_ARB_cull_distance
14:11:07: GL_ARB_debug_output
14:11:07: GL_ARB_depth_buffer_float
14:11:07: GL_ARB_depth_clamp
14:11:07: GL_ARB_derivative_control
14:11:07: GL_ARB_direct_state_access
14:11:07: GL_ARB_draw_buffers
14:11:07: GL_ARB_draw_buffers_blend
14:11:07: GL_ARB_draw_elements_base_vertex
14:11:07: GL_ARB_draw_indirect
14:11:07: GL_ARB_draw_instanced
14:11:07: GL_ARB_enhanced_layouts
14:11:07: GL_ARB_explicit_attrib_location
14:11:07: GL_ARB_explicit_uniform_location
14:11:07: GL_ARB_fragment_coord_conventions
14:11:07: GL_ARB_fragment_layer_viewport
14:11:07: GL_ARB_fragment_shader
14:11:07: GL_ARB_fragment_shader_interlock
14:11:07: GL_ARB_framebuffer_no_attachments
14:11:07: GL_ARB_framebuffer_object
14:11:07: GL_ARB_framebuffer_sRGB
14:11:07: GL_ARB_get_program_binary
14:11:07: GL_ARB_get_texture_sub_image
14:11:07: GL_ARB_gl_spirv
14:11:07: GL_ARB_gpu_shader5
14:11:07: GL_ARB_gpu_shader_fp64
14:11:07: GL_ARB_gpu_shader_int64
14:11:07: GL_ARB_half_float_pixel
14:11:07: GL_ARB_half_float_vertex
14:11:07: GL_ARB_indirect_parameters
14:11:07: GL_ARB_instanced_arrays
14:11:07: GL_ARB_internalformat_query
14:11:07: GL_ARB_internalformat_query2
14:11:07: GL_ARB_invalidate_subdata
14:11:07: GL_ARB_map_buffer_alignment
14:11:07: GL_ARB_map_buffer_range
14:11:07: GL_ARB_multi_bind
14:11:07: GL_ARB_multi_draw_indirect
14:11:07: GL_ARB_occlusion_query2
14:11:07: GL_ARB_parallel_shader_compile
14:11:07: GL_ARB_pipeline_statistics_query
14:11:07: GL_ARB_pixel_buffer_object
14:11:07: GL_ARB_point_sprite
14:11:07: GL_ARB_polygon_offset_clamp
14:11:07: GL_ARB_post_depth_coverage
14:11:07: GL_ARB_program_interface_query
14:11:07: GL_ARB_provoking_vertex
14:11:07: GL_ARB_query_buffer_object
14:11:07: GL_ARB_robust_buffer_access_behavior
14:11:07: GL_ARB_robustness
14:11:07: GL_ARB_sample_shading
14:11:07: GL_ARB_sampler_objects
14:11:07: GL_ARB_seamless_cube_map
14:11:07: GL_ARB_seamless_cubemap_per_texture
14:11:07: GL_ARB_separate_shader_objects
14:11:07: GL_ARB_shader_atomic_counter_ops
14:11:07: GL_ARB_shader_atomic_counters
14:11:07: GL_ARB_shader_ballot
14:11:07: GL_ARB_shader_bit_encoding
14:11:07: GL_ARB_shader_clock
14:11:07: GL_ARB_shader_draw_parameters
14:11:07: GL_ARB_shader_group_vote
14:11:07: GL_ARB_shader_image_load_store
14:11:07: GL_ARB_shader_image_size
14:11:07: GL_ARB_shader_objects
14:11:07: GL_ARB_shader_precision
14:11:07: GL_ARB_shader_stencil_export
14:11:07: GL_ARB_shader_storage_buffer_object
14:11:07: GL_ARB_shader_subroutine
14:11:07: GL_ARB_shader_texture_image_samples
14:11:07: GL_ARB_shader_texture_lod
14:11:07: GL_ARB_shader_viewport_layer_array
14:11:07: GL_ARB_shading_language_420pack
14:11:07: GL_ARB_shading_language_include
14:11:07: GL_ARB_shading_language_packing
14:11:07: GL_ARB_spirv_extensions
14:11:07: GL_ARB_stencil_texturing
14:11:07: GL_ARB_sync
14:11:07: GL_ARB_tessellation_shader
14:11:07: GL_ARB_texture_barrier
14:11:07: GL_ARB_texture_buffer_object
14:11:07: GL_ARB_texture_buffer_object_rgb32
14:11:07: GL_ARB_texture_buffer_range
14:11:07: GL_ARB_texture_compression_bptc
14:11:07: GL_ARB_texture_compression_rgtc
14:11:07: GL_ARB_texture_cube_map_array
14:11:07: GL_ARB_texture_filter_anisotropic
14:11:07: GL_ARB_texture_float
14:11:07: GL_ARB_texture_gather
14:11:07: GL_ARB_texture_mirror_clamp_to_edge
14:11:07: GL_ARB_texture_multisample
14:11:07: GL_ARB_texture_non_power_of_two
14:11:07: GL_ARB_texture_query_levels
14:11:07: GL_ARB_texture_query_lod
14:11:07: GL_ARB_texture_rectangle
14:11:07: GL_ARB_texture_rg
14:11:07: GL_ARB_texture_rgb10_a2ui
14:11:07: GL_ARB_texture_stencil8
14:11:07: GL_ARB_texture_storage
14:11:07: GL_ARB_texture_storage_multisample
14:11:07: GL_ARB_texture_swizzle
14:11:07: GL_ARB_texture_view
14:11:07: GL_ARB_timer_query
14:11:07: GL_ARB_transform_feedback2
14:11:07: GL_ARB_transform_feedback3
14:11:07: GL_ARB_transform_feedback_instanced
14:11:07: GL_ARB_transform_feedback_overflow_query
14:11:07: GL_ARB_uniform_buffer_object
14:11:07: GL_ARB_vertex_array_bgra
14:11:07: GL_ARB_vertex_array_object
14:11:07: GL_ARB_vertex_attrib_64bit
14:11:07: GL_ARB_vertex_attrib_binding
14:11:07: GL_ARB_vertex_buffer_object
14:11:07: GL_ARB_vertex_shader
14:11:07: GL_ARB_vertex_type_10f_11f_11f_rev
14:11:07: GL_ARB_vertex_type_2_10_10_10_rev
14:11:07: GL_ARB_viewport_array
14:11:07: GL_ATI_blend_equation_separate
14:11:07: GL_ATI_texture_float
14:11:07: GL_EXT_EGL_image_storage
14:11:07: GL_EXT_EGL_sync
14:11:07: GL_EXT_abgr
14:11:07: GL_EXT_blend_equation_separate
14:11:07: GL_EXT_debug_label
14:11:07: GL_EXT_demote_to_helper_invocation
14:11:07: GL_EXT_depth_bounds_test
14:11:07: GL_EXT_draw_buffers2
14:11:07: GL_EXT_draw_instanced
14:11:07: GL_EXT_framebuffer_blit
14:11:07: GL_EXT_framebuffer_multisample
14:11:07: GL_EXT_framebuffer_multisample_blit_scaled
14:11:07: GL_EXT_framebuffer_object
14:11:07: GL_EXT_framebuffer_sRGB
14:11:07: GL_EXT_memory_object
14:11:07: GL_EXT_memory_object_fd
14:11:07: GL_EXT_packed_depth_stencil
14:11:07: GL_EXT_packed_float
14:11:07: GL_EXT_pixel_buffer_object
14:11:07: GL_EXT_polygon_offset_clamp
14:11:07: GL_EXT_provoking_vertex
14:11:07: GL_EXT_semaphore
14:11:07: GL_EXT_semaphore_fd
14:11:07: GL_EXT_shader_framebuffer_fetch
14:11:07: GL_EXT_shader_framebuffer_fetch_non_coherent
14:11:07: GL_EXT_shader_integer_mix
14:11:07: GL_EXT_shader_samples_identical
14:11:07: GL_EXT_texture_array
14:11:07: GL_EXT_texture_compression_dxt1
14:11:07: GL_EXT_texture_compression_rgtc
14:11:07: GL_EXT_texture_compression_s3tc
14:11:07: GL_EXT_texture_filter_anisotropic
14:11:07: GL_EXT_texture_integer
14:11:07: GL_EXT_texture_sRGB
14:11:07: GL_EXT_texture_sRGB_R8
14:11:07: GL_EXT_texture_sRGB_decode
14:11:07: GL_EXT_texture_shadow_lod
14:11:07: GL_EXT_texture_shared_exponent
14:11:07: GL_EXT_texture_snorm
14:11:07: GL_EXT_texture_swizzle
14:11:07: GL_EXT_timer_query
14:11:07: GL_EXT_transform_feedback
14:11:07: GL_EXT_vertex_array_bgra
14:11:07: GL_EXT_vertex_attrib_64bit
14:11:07: GL_IBM_multimode_draw_arrays
14:11:07: GL_INTEL_blackhole_render
14:11:07: GL_INTEL_conservative_rasterization
14:11:07: GL_INTEL_performance_query
14:11:07: GL_INTEL_shader_atomic_float_minmax
14:11:07: GL_INTEL_shader_integer_functions2
14:11:07: GL_KHR_blend_equation_advanced
14:11:07: GL_KHR_blend_equation_advanced_coherent
14:11:07: GL_KHR_context_flush_control
14:11:07: GL_KHR_debug
14:11:07: GL_KHR_no_error
14:11:07: GL_KHR_parallel_shader_compile
14:11:07: GL_KHR_robust_buffer_access_behavior
14:11:07: GL_KHR_robustness
14:11:07: GL_KHR_texture_compression_astc_ldr
14:11:07: GL_KHR_texture_compression_astc_sliced_3d
14:11:07: GL_MESA_framebuffer_flip_y
14:11:07: GL_MESA_pack_invert
14:11:07: GL_MESA_shader_integer_functions
14:11:07: GL_MESA_texture_signed_rgba
14:11:07: GL_NV_alpha_to_coverage_dither_control
14:11:07: GL_NV_compute_shader_derivatives
14:11:07: GL_NV_conditional_render
14:11:07: GL_NV_copy_image
14:11:07: GL_NV_depth_clamp
14:11:07: GL_NV_fragment_shader_interlock
14:11:07: GL_NV_packed_depth_stencil
14:11:07: GL_NV_texture_barrier
14:11:07: GL_OES_EGL_image
14:11:07: GL_S3_s3tc
14:11:07: **************************************
14:11:07: ***   OpenGL 3+ Renderer Started   ***
14:11:07: **************************************
14:11:07: Registering ResourceManager for type GpuProgram
14:11:07: RenderSystem capabilities
14:11:07: -------------------------
14:11:07: RenderSystem Name: OpenGL 3+ Rendering Subsystem
14:11:07: GPU Vendor: intel
14:11:07: Device Name: Mesa Intel(R) Graphics (RPL-S)
14:11:07: Driver Version: 4.6.0.0
14:11:07:  * Fixed function pipeline: no
14:11:07:  * Hardware generation of mipmaps: no
14:11:07:  * Texture blending: yes
14:11:07:  * Anisotropic texture filtering: yes
14:11:07:  * Dot product texture operation: yes
14:11:07:  * Cube mapping: yes
14:11:07:  * Hardware stencil buffer: yes
14:11:07:    - Stencil depth: 8
14:11:07:    - Two sided stencil support: yes
14:11:07:    - Wrap stencil values: yes
14:11:07:  * Hardware vertex / index buffers: yes
14:11:07:  * 32-bit index buffers: yes
14:11:07:  * Vertex programs: yes
14:11:07:  * Number of floating-point constants for vertex programs: 16384
14:11:07:  * Number of integer constants for vertex programs: 16384
14:11:07:  * Number of boolean constants for vertex programs: 16384
14:11:07:  * Fragment programs: yes
14:11:07:  * Number of floating-point constants for fragment programs: 16384
14:11:07:  * Number of integer constants for fragment programs: 16384
14:11:07:  * Number of boolean constants for fragment programs: 16384
14:11:07:  * Geometry programs: yes
14:11:07:  * Number of floating-point constants for geometry programs: 16384
14:11:07:  * Number of integer constants for geometry programs: 16384
14:11:07:  * Number of boolean constants for geometry programs: 16384
14:11:07:  * Tessellation Hull programs: yes
14:11:07:  * Number of floating-point constants for tessellation hull programs: 16384
14:11:07:  * Number of integer constants for tessellation hull programs: 16384
14:11:07:  * Number of boolean constants for tessellation hull programs: 16384
14:11:07:  * Tessellation Domain programs: yes
14:11:07:  * Number of floating-point constants for tessellation domain programs: 16384
14:11:07:  * Number of integer constants for tessellation domain programs: 16384
14:11:07:  * Number of boolean constants for tessellation domain programs: 16384
14:11:07:  * Compute programs: yes
14:11:07:  * Number of floating-point constants for compute programs: 16384
14:11:07:  * Number of integer constants for compute programs: 16384
14:11:07:  * Number of boolean constants for compute programs: 16384
14:11:07:  * Supported Shader Profiles: glsl glsl130 glsl140 glsl150 glsl330 glsl400 glsl410 glsl420 glsl430 glsl440
14:11:07:  * Texture Compression: yes
14:11:07:    - DXT: yes
14:11:07:    - VTC: no
14:11:07:    - PVRTC: no
14:11:07:    - ATC: no
14:11:07:    - ETC1: no
14:11:07:    - ETC2: yes
14:11:07:    - BC4/BC5: yes
14:11:07:    - BC6H/BC7: yes
14:11:07:    - ASTC: yes
14:11:07:  * Hardware Occlusion Query: yes
14:11:07:  * User clip planes: yes
14:11:07:  * VET_UBYTE4 vertex element type: yes
14:11:07:  * Infinite far plane projection: yes
14:11:07:  * Hardware render-to-texture: yes
14:11:07:  * Floating point textures: yes
14:11:07:  * Non-power-of-two textures: yes
14:11:07:  * 1d textures: yes
14:11:07:  * Volume textures: yes
14:11:07:  * Max Texture resolution (2D) 16384
14:11:07:  * Max Texture resolution (3D) 2048
14:11:07:  * Max Texture resolution (Cubemaps) 16384
14:11:07:  * Multiple Render Targets: 8
14:11:07:    - With different bit depths: yes
14:11:07:  * Point Sprites: yes
14:11:07:  * Extended point parameters: yes
14:11:07:  * Max Point Size: 255
14:11:07:  * Vertex texture fetch: yes
14:11:07:  * Number of world matrices: 0
14:11:07:  * Number of texture units: 16
14:11:07:  * Stencil buffer depth: 8
14:11:07:  * Number of vertex blend matrices: 0
14:11:07:    - Max vertex textures: 32
14:11:07:    - Vertex textures shared: yes
14:11:07:  * Render to Vertex Buffer : yes
14:11:07:  * Hardware Atomic Counters: yes
14:11:07:  * Compute max threads per threadgroup per axis: 1024, 1024, 64
14:11:07:  * Compute max threads per threadgroup total: 1024
14:11:07:  * GL 1.5 without VBO workaround: no
14:11:07:  * Frame Buffer objects: yes
14:11:07:  * Frame Buffer objects (ARB extension): no
14:11:07:  * Frame Buffer objects (ATI extension): no
14:11:07:  * PBuffer support: no
14:11:07:  * GL 1.5 without HW-occlusion workaround: no
14:11:07:  * Vertex Array Objects: yes
14:11:07:  * Separate shader objects: no
14:11:07:  * Using Reverse Z: yes
14:11:07: DefaultWorkQueue('Root') initialising on thread main.
14:11:07: Particle Renderer Type 'billboard' registered
14:11:07: Added resource location '/usr/share/ignition/ignition-rendering6/ogre2/media/2.0/scripts/Compositors' of type 'FileSystem' to resource group 'General'
14:11:07: Added resource location '/usr/share/ignition/ignition-rendering6/ogre2/media/2.0/scripts/materials/Common' of type 'FileSystem' to resource group 'General'
14:11:07: Added resource location '/usr/share/ignition/ignition-rendering6/ogre2/media/2.0/scripts/materials/Common/GLSL' of type 'FileSystem' to resource group 'General'
14:11:07: Added resource location '/usr/share/ignition/ignition-rendering6/ogre2/media/2.0/scripts/materials/Common/GLSLES' of type 'FileSystem' to resource group 'General'
14:11:07: Added resource location '/usr/share/ignition/ignition-rendering6/ogre2/media/2.0/scripts/materials/Terra' of type 'FileSystem' to resource group 'General'
14:11:07: Added resource location '/usr/share/ignition/ignition-rendering6/ogre2/media/2.0/scripts/materials/Terra/GLSL' of type 'FileSystem' to resource group 'General'
14:11:07: Added resource location '/usr/share/ignition/ignition-rendering6/ogre2/media' of type 'FileSystem' to resource group 'General'
14:11:07: Added resource location '/usr/share/ignition/ignition-rendering6/ogre2/media/materials/programs' of type 'FileSystem' to resource group 'General'
14:11:07: Added resource location '/usr/share/ignition/ignition-rendering6/ogre2/media/materials/programs/GLSL' of type 'FileSystem' to resource group 'General'
14:11:07: Added resource location '/usr/share/ignition/ignition-rendering6/ogre2/media/materials/programs/Metal' of type 'FileSystem' to resource group 'General'
14:11:07: Added resource location '/usr/share/ignition/ignition-rendering6/ogre2/media/materials/scripts' of type 'FileSystem' to resource group 'General'
14:11:07: Added resource location '/usr/share/ignition/ignition-rendering6/ogre2/media/materials/textures' of type 'FileSystem' to resource group 'General'
14:11:07: Parsing scripts for resource group Autodetect
14:11:07: Finished parsing scripts for resource group Autodetect
14:11:07: Creating resources for group Autodetect
14:11:07: All done
14:11:07: Parsing scripts for resource group General
14:11:07: Parsing script Quad.program
14:11:07: Parsing script DPSM.material
14:11:07: Parsing script Copyback.material
14:11:07: Parsing script EsmGaussianBlurLogFilter.material
14:11:07: Parsing script DepthUtils.material
14:11:07: Parsing script GpuNormalMapper.material
14:11:07: Parsing script gaussian_noise.material
14:11:07: Parsing script picker.material
14:11:07: Parsing script gpu_rays.material
14:11:07: Parsing script depth_camera.material
14:11:07: Parsing script point_cloud_point.material
14:11:07: Parsing script thermal.material
14:11:07: Parsing script skybox.material
14:11:07: Parsing script selection_buffer.material
14:11:07: Parsing script TerraShadowGenerator.compositor
14:11:07: Parsing script GpuNormalMapper.compositor
14:11:07: Parsing script Mipmaps.material.json
14:11:07: Parsing script EsmGaussianBlurLogFilter.material.json
14:11:07: Parsing script TerraShadowGenerator.material.json
14:11:07: Finished parsing scripts for resource group General
14:11:07: Creating resources for group General
14:11:07: All done
14:11:07: Parsing scripts for resource group Internal
14:11:07: Finished parsing scripts for resource group Internal
14:11:07: Creating resources for group Internal
14:11:07: All done
14:11:07: Added resource location '/usr/share/ignition/ignition-rendering6/media/materials/textures/' of type 'FileSystem' to resource group 'General'
14:11:07: Can't assign material scene::Material(65512) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:07: Added resource location '/home/chroma/code/namo_turtlebot_host/src/namoros/install/namoros/share/namoros/../namoros/models/movable_box' of type 'FileSystem' to resource group 'General' with recursive option
14:11:07: Initialising resource group General
14:11:07: Added resource location '/home/chroma/code/namo_turtlebot_host/src/namoros/install/namoros/share/namoros/../namoros/models/movable_box/' of type 'FileSystem' to resource group 'General'
14:11:07: Texture memory budget exceeded. Stalling GPU.
14:11:07: Stalling was not enough. Freeing memory.
14:11:07: Can't assign material scene::Material(65506) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:07: Can't assign material scene::Material(65505) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:07: Can't assign material scene::Material(65506) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:07: Can't assign material scene::Material(65505) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:07: OGRE EXCEPTION(5:ItemIdentityException): Cannot locate an appropriate 2D texture coordinate set for all the vertex data in this mesh to create tangents from.  in Mesh::suggestTangentVectorBuildParams at /build/ogre-next-UFfg83/ogre-next-2.2.5+dfsg3/OgreMain/src/OgreMesh.cpp (line 1881)
14:11:07: Can't assign material scene::Material(65492) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:07: Added resource location '/home/chroma/code/namo_turtlebot_host/src/namoros/install/namoros/share/namoros/../namoros/models/kobuki_description/meshes' of type 'FileSystem' to resource group 'General' with recursive option
14:11:07: Initialising resource group General
14:11:07: Added resource location '/home/chroma/code/namo_turtlebot_host/src/namoros/install/namoros/share/namoros/../namoros/models/kobuki_description/meshes/./images/' of type 'FileSystem' to resource group 'General'
14:11:07: Texture memory budget exceeded. Stalling GPU.
14:11:07: Stalling was not enough. Freeing memory.
14:11:07: Can't assign material scene::Material(65486) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Added resource location '/home/chroma/code/namo_turtlebot_host/src/namoros/install/namoros/share/namoros/../namoros/models/turtlebot_description/meshes/sensors' of type 'FileSystem' to resource group 'General' with recursive option
14:11:08: Initialising resource group General
14:11:08: Added resource location '/home/chroma/code/namo_turtlebot_host/src/namoros/install/namoros/share/namoros/../namoros/models/turtlebot_description/meshes/sensors/' of type 'FileSystem' to resource group 'General'
14:11:08: Texture memory budget exceeded. Stalling GPU.
14:11:08: Stalling was not enough. Freeing memory.
14:11:08: Can't assign material scene::Material(65481) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65480) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65479) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65478) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65477) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65476) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65475) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65474) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65473) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65472) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65471) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65470) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65469) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65468) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65467) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65466) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65465) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65464) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65463) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65462) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65461) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65460) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Added resource location '/home/chroma/code/namo_turtlebot_host/src/namoros/install/namoros/share/namoros/../namoros/models/turtlebot_description/meshes/stacks/hexagons' of type 'FileSystem' to resource group 'General' with recursive option
14:11:08: Initialising resource group General
14:11:08: Added resource location '/home/chroma/code/namo_turtlebot_host/src/namoros/install/namoros/share/namoros/../namoros/models/turtlebot_description/meshes/stacks/hexagons/./images/' of type 'FileSystem' to resource group 'General'
14:11:08: Can't assign material scene::Material(65413) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65408) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Texture memory budget exceeded. Stalling GPU.
14:11:08: Can't assign material scene::Material(65403) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Texture memory budget exceeded. Stalling GPU.
14:11:08: Stalling was not enough. Freeing memory.
14:11:08: Can't assign material scene::Material(65398) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65398) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65398) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65398) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65398) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65398) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Texture memory budget exceeded. Stalling GPU.
14:11:08: Can't assign material scene::Material(65373) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65373) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Texture memory budget exceeded. Stalling GPU.
14:11:08: Can't assign material scene::Material(65364) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65364) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65364) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65364) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Texture memory budget exceeded. Stalling GPU.
14:11:08: Can't assign material scene::Material(65347) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65347) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65347) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65347) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: OGRE EXCEPTION(5:ItemIdentityException): Cannot locate an appropriate 2D texture coordinate set for all the vertex data in this mesh to create tangents from.  in Mesh::suggestTangentVectorBuildParams at /build/ogre-next-UFfg83/ogre-next-2.2.5+dfsg3/OgreMain/src/OgreMesh.cpp (line 1881)
14:11:08: Can't assign material scene::Material(65330) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65324) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Can't assign material scene::Material(65324) because this Material does not exist. Have you forgotten to define it in a .material script?
14:11:08: Texture memory budget exceeded. Stalling GPU.
14:11:08: Stalling was not enough. Freeing memory.
14:11:08: Vertex Shader: 100000000VertexShader_vs
Fragment Shader: 100000000PixelShader_ps
 GLSL validation result : 
active samplers with a different type refer to the same texture image unit
14:11:09: 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...
14:11:34: Vertex Shader: 100000003VertexShader_vs
Fragment Shader: 100000003PixelShader_ps
 GLSL validation result : 
active samplers with a different type refer to the same texture image unit
idation result : 
active samplers with a different type refer to the same texture image unit

Description

  • Expected behavior: Gazebo Fortress camera sensor should function properly and not return black/empty images.
  • Actual behavior: The images are intermittently black/empty. Please see screenshots below.

Steps to reproduce

  1. Create simulation of a robot with a camera sensor.
  2. Move the robot around the environment.
  3. Watch the camera output and notice that it turns to black.

Output

Screenshot from 2025-01-06 11-50-43
Screenshot from 2025-01-06 11-50-07

@david-wb david-wb added the bug Something isn't working label Jan 6, 2025
@azeey
Copy link
Contributor

azeey commented Jan 7, 2025

This might be an issue with the graphics driver. I noticed that you have both an Intel and NVIDIA graphics cards, but you are currently using the Intel. Have you tried with the NVIDIA? Another thing to try would be to update your Mesa drivers (https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa). Also, can you fill out the "Generally, mention all circumstances that might affect rendering capabilities:" section on the issue template?

@azeey azeey self-assigned this Jan 7, 2025
@azeey azeey moved this from Inbox to In progress in Core development Jan 7, 2025
@david-wb
Copy link
Author

david-wb commented Jan 7, 2025

Here is the rendering system info.

$ LANG=C lspci -nn | grep VGA  # might require installing pciutils
echo "$DISPLAY"
LANG=C glxinfo -B | grep -i '\(direct rendering\|opengl\|profile\)'  # might require installing mesa-utils package
ps aux | grep Xorg
sudo env LANG=C X -version  # if you don't have root access, try to tell the version of Xorg e.g. via package manager
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:a788] (rev 04)
0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:27ba] (rev a1)
:1
direct rendering: Yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA RTX 4000 Ada Generation Laptop GPU/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 535.183.01
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 535.183.01
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 535.183.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
chroma      2941  3.5  0.3 27704240 201680 tty2  Sl+  10:21   0:32 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1001/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -novtswitch -verbose 3
chroma     21134  0.0  0.0  11760  2304 pts/0    S+   10:36   0:00 grep --color=auto Xorg

X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
Current Operating System: Linux chroma 6.8.0-50-generic #51~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 21 12:03:03 UTC 2 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.8.0-50-generic root=UUID=ad140d1c-624f-4fe2-b717-212eeb39b772 ro quiet splash vt.handoff=7
xorg-server 2:21.1.4-2ubuntu1.7~22.04.12 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.

I tried using the nvidia gpu vs the intel one and it makes no difference. The gazebo log and ogre2 log are attached. One interesting thing is this problem does not occur when using ogre in place of ogre2.

server_console.log
ogre2.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In progress
Development

No branches or pull requests

2 participants