athackst / vscode_ros2_workspace

A template for using VSCode as an IDE for ROS2 development.
https://althack.dev/vscode_ros2_workspace
Apache License 2.0
805 stars 167 forks source link

humble: can not render rviz content #43

Closed relffok closed 1 year ago

relffok commented 1 year ago

Hello! I am having trouble with the graphical contents (I am assuming OpenGL) when using the humble dockerimage (rviz and gazebo). For example, when running rviz2 I can see the window frame but the content inside is black.

rviz2
QStandardPaths: error creating runtime directory '/run/user/1000' (Permission denied)
[INFO] [1677491393.132043876] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1677491393.132131561] [rviz2]: OpenGl version: 4.5 (GLSL 4.5)
[INFO] [1677491393.198597490] [rviz2]: Stereo is NOT SUPPORTED

EDIT: I just tested with the foxy branch, and it seems like the QStandardPaths led me on a false path ;) rviz renders the contents without any problem, output of foxy docker:

rviz2
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/1000', please create it with 0700 permissions.
[INFO] [1677492241.436167737] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1677492241.436336775] [rviz2]: OpenGl version: 3.1 (GLSL 1.4)
[INFO] [1677492241.513477716] [rviz2]: Stereo is NOT SUPPORTED

It happens on both, Ubuntu 20.04 and 22.04 and on CPU and GPU computers, so I am assuming its an issue of the docker/vscode settings for the graphics? Running rviz2 on humble native usage does not show any problems.

Maybe the extended logs can help too:

rviz2 -l
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[INFO] [1677252425.596934963] [rviz2]: Creating resource group General
[INFO] [1677252425.597433668] [rviz2]: Creating resource group OgreInternal
[INFO] [1677252425.598505243] [rviz2]: Creating resource group OgreAutodetect
[INFO] [1677252425.598796064] [rviz2]: SceneManagerFactory for type 'DefaultSceneManager' registered.
[INFO] [1677252425.599075671] [rviz2]: Registering ResourceManager for type Material
[INFO] [1677252425.599172289] [rviz2]: Registering ResourceManager for type Mesh
[INFO] [1677252425.599308996] [rviz2]: Registering ResourceManager for type Skeleton
[INFO] [1677252425.599360691] [rviz2]: MovableObjectFactory for type 'ParticleSystem' registered.
[INFO] [1677252425.599480037] [rviz2]: ArchiveFactory for archive type FileSystem registered.
[INFO] [1677252425.599567763] [rviz2]: DDS codec registering
[INFO] [1677252425.599668923] [rviz2]: ETC codec registering
[INFO] [1677252425.599749616] [rviz2]: Registering ResourceManager for type HighLevelGpuProgram
[INFO] [1677252425.599797284] [rviz2]: Registering ResourceManager for type Compositor
[INFO] [1677252425.599946643] [rviz2]: MovableObjectFactory for type 'Entity' registered.
[INFO] [1677252425.599992154] [rviz2]: MovableObjectFactory for type 'Light' registered.
[INFO] [1677252425.600064705] [rviz2]: MovableObjectFactory for type 'BillboardSet' registered.
[INFO] [1677252425.600163422] [rviz2]: MovableObjectFactory for type 'ManualObject' registered.
[INFO] [1677252425.600238116] [rviz2]: MovableObjectFactory for type 'BillboardChain' registered.
[INFO] [1677252425.600281011] [rviz2]: MovableObjectFactory for type 'RibbonTrail' registered.
[INFO] [1677252425.600381252] [rviz2]: *-*-* OGRE Initialising
[INFO] [1677252425.600424226] [rviz2]: *-*-* Version 1.12.1 (Rhagorthua)
[INFO] [1677252425.600549647] [rviz2]: OverlayElementFactory for type Panel registered.
[INFO] [1677252425.600604952] [rviz2]: OverlayElementFactory for type BorderPanel registered.
[INFO] [1677252425.600630718] [rviz2]: OverlayElementFactory for type TextArea registered.
[INFO] [1677252425.600657302] [rviz2]: Registering ResourceManager for type Font
[INFO] [1677252425.600698635] [rviz2]: Loading library /opt/ros/humble/opt/rviz_ogre_vendor/lib/OGRE/RenderSystem_GL.so.1.12.1
[INFO] [1677252425.605599142] [rviz2]: Installing plugin: GL RenderSystem
[INFO] [1677252425.605719075] [rviz2]: OpenGL Rendering Subsystem created.
[INFO] [1677252425.611710016] [rviz2]: Plugin successfully installed
[INFO] [1677252425.612003132] [rviz2]: Loading library /opt/ros/humble/opt/rviz_ogre_vendor/lib/OGRE/Codec_STBI.so.1.12.1
[INFO] [1677252425.612357704] [rviz2]: stb_image - v2.19 - public domain JPEG/PNG reader
[INFO] [1677252425.612475908] [rviz2]: Supported formats: jpeg,jpg,png,bmp,psd,tga,gif,pic,ppm,pgm,hdr
[INFO] [1677252425.612605615] [rviz2]: CPU Identifier & Features
[INFO] [1677252425.612704761] [rviz2]: -------------------------
[INFO] [1677252425.612796015] [rviz2]:  *   CPU ID: GenuineIntel: Intel(R) Core(TM) i5-7440HQ CPU @ 2.80GHz
[INFO] [1677252425.612853976] [rviz2]:  *          SSE: yes
[INFO] [1677252425.612946753] [rviz2]:  *         SSE2: yes
[INFO] [1677252425.613001468] [rviz2]:  *         SSE3: yes
[INFO] [1677252425.613122473] [rviz2]:  *        SSE41: yes
[INFO] [1677252425.613177440] [rviz2]:  *        SSE42: yes
[INFO] [1677252425.613241613] [rviz2]:  *          MMX: yes
[INFO] [1677252425.613304448] [rviz2]:  *       MMXEXT: yes
[INFO] [1677252425.613358759] [rviz2]:  *        3DNOW: no
[INFO] [1677252425.613411621] [rviz2]:  *     3DNOWEXT: no
[INFO] [1677252425.613467173] [rviz2]:  *         CMOV: yes
[INFO] [1677252425.613519523] [rviz2]:  *          TSC: yes
[INFO] [1677252425.613582935] [rviz2]:  *INVARIANT TSC: yes
[INFO] [1677252425.613635383] [rviz2]:  *          FPU: yes
[INFO] [1677252425.613686271] [rviz2]:  *          PRO: yes
[INFO] [1677252425.613735572] [rviz2]:  *           HT: no
[INFO] [1677252425.613787880] [rviz2]: -------------------------
[INFO] [1677252425.613852410] [rviz2]: ******************************
*** Starting GLX Subsystem ***
******************************
[INFO] [1677252425.614018199] [rviz2]: GLX_VERSION = 1.4
[INFO] [1677252425.614099077] [rviz2]: GLX_EXTENSIONS = GLX_ARB_context_flush_control GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_buffer_age GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_no_config_context GLX_EXT_swap_control GLX_EXT_swap_control_tear GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_ATI_pixel_format_float GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_MESA_swap_control GLX_NV_float_buffer GLX_OML_swap_method GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync 
[INFO] [1677252425.614891958] [rviz2]: Registering ResourceManager for type Texture
[INFO] [1677252425.615077389] [rviz2]: GLRenderSystem::_createRenderWindow "OgreWindow(0)", 1x1 windowed  miscParams: FSAA=4 border=none contentScalingFactor=1.000000 currentGLContext=false externalWindowHandle=37748737 left=0 parentWindowHandle=37748737 top=0 
[INFO] [1677252425.617356339] [rviz2]: Actual frame buffer FSAA: 4, gamma: 0, colourBufferSize: 32
[INFO] [1677252425.618532556] [rviz2]: Created GL 3.0 context
[INFO] [1677252425.622338010] [rviz2]: GLXWindow::create used FBConfigID = 418
[INFO] [1677252425.622551638] [rviz2]: GL_VERSION = 4.6.0.0
[INFO] [1677252425.622640422] [rviz2]: GL_VENDOR = Intel
[INFO] [1677252425.622710814] [rviz2]: GL_RENDERER = Mesa Intel(R) HD Graphics 630 (KBL GT2)
[INFO] [1677252425.626166318] [rviz2]: GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fog_distance GL_NV_half_float GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_AMD_performance_monitor GL_EXT_texture_buffer_object GL_AMD_texture_texture4 GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_buffer_object GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_compatibility GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_copy_image GL_NV_texture_barrier GL_ARB_draw_indirect GL_ARB_get_program_binary GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_shader_subroutine GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_viewport_array GL_EXT_direct_state_access GL_EXT_vertex_attrib_64bit GL_AMD_multi_draw_indirect GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_query_buffer_object GL_AMD_shader_trinary_minmax GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_buffer_range GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_AMD_pinned_memory GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_compute_variable_group_size GL_ARB_enhanced_layouts GL_ARB_indirect_parameters GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shading_language_include GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_framebuffer_fetch GL_EXT_shader_integer_mix GL_INTEL_performance_query GL_ARB_ES3_1_compatibility GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_texture_barrier GL_ARB_transform_feedback_overflow_query GL_EXT_polygon_offset_clamp GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_ARB_ES3_2_compatibility GL_ARB_fragment_shader_interlock GL_ARB_gpu_shader_int64 GL_ARB_parallel_shader_compile GL_ARB_post_depth_coverage GL_ARB_shader_atomic_counter_ops GL_ARB_shader_ballot GL_ARB_shader_clock GL_ARB_shader_viewport_layer_array GL_EXT_shader_samples_identical GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_NV_fragment_shader_interlock GL_ARB_gl_spirv GL_ARB_spirv_extensions GL_MESA_shader_integer_functions GL_ARB_polygon_offset_clamp GL_ARB_texture_filter_anisotropic GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_semaphore GL_EXT_semaphore_fd GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render GL_INTEL_shader_atomic_float_minmax GL_INTEL_shader_integer_functions2 GL_MESA_framebuffer_flip_y GL_NV_compute_shader_derivatives GL_EXT_EGL_sync GL_EXT_demote_to_helper_invocation 
[INFO] [1677252425.626531966] [rviz2]: ***************************
[INFO] [1677252425.626594624] [rviz2]: *** GL Renderer Started ***
[INFO] [1677252425.626648025] [rviz2]: ***************************
[INFO] [1677252425.632267451] [rviz2]: Registering ResourceManager for type GpuProgram
[INFO] [1677252425.632463461] [rviz2]: GLSL support detected
[INFO] [1677252425.632548296] [rviz2]: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
[INFO] [1677252425.632804356] [rviz2]: FBO PF_UNKNOWN depth/stencil support: D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.633076995] [rviz2]: FBO PF_L8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.633297419] [rviz2]: FBO PF_L16 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.633518294] [rviz2]: FBO PF_A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.633731256] [rviz2]: FBO PF_R5G6B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.633940090] [rviz2]: FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.634149022] [rviz2]: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.634367584] [rviz2]: FBO PF_R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.634592330] [rviz2]: FBO PF_B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.634862489] [rviz2]: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.635070731] [rviz2]: FBO PF_A8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.635278873] [rviz2]: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.635486877] [rviz2]: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.635690449] [rviz2]: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.635904708] [rviz2]: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.636112947] [rviz2]: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.636383335] [rviz2]: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.636609389] [rviz2]: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.636823766] [rviz2]: FBO PF_R8G8B8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.637061117] [rviz2]: FBO PF_DEPTH16 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.637273099] [rviz2]: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.637465692] [rviz2]: FBO PF_R3G3B2 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.637661882] [rviz2]: FBO PF_FLOAT16_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.637870779] [rviz2]: FBO PF_FLOAT32_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.638076283] [rviz2]: FBO PF_FLOAT16_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.638286985] [rviz2]: FBO PF_FLOAT32_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.638490962] [rviz2]: FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1677252425.638559081] [rviz2]: [GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_L16 PF_A8 PF_R5G6B5 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_DEPTH16 PF_SHORT_RGBA PF_R3G3B2 PF_FLOAT16_R PF_FLOAT32_R PF_FLOAT16_GR PF_FLOAT32_GR PF_SHORT_RGB 
[INFO] [1677252425.638626237] [rviz2]: RenderSystem capabilities
[INFO] [1677252425.638678282] [rviz2]: -------------------------
[INFO] [1677252425.638727816] [rviz2]: RenderSystem Name: OpenGL Rendering Subsystem
[INFO] [1677252425.638799987] [rviz2]: GPU Vendor: intel
[INFO] [1677252425.638851893] [rviz2]: Device Name: Mesa Intel(R) HD Graphics 630 (KBL GT2)
[INFO] [1677252425.638905747] [rviz2]: Driver Version: 4.6.0.0
[INFO] [1677252425.638960272] [rviz2]:  * Fixed function pipeline: yes
[INFO] [1677252425.639011053] [rviz2]:  * Anisotropic texture filtering: yes
[INFO] [1677252425.639061020] [rviz2]:  * Hardware stencil buffer: yes
[INFO] [1677252425.639114692] [rviz2]:    - Stencil depth: 8
[INFO] [1677252425.639173669] [rviz2]:    - Two sided stencil support: yes
[INFO] [1677252425.639231622] [rviz2]:    - Wrap stencil values: yes
[INFO] [1677252425.639284399] [rviz2]:  * 32-bit index buffers: yes
[INFO] [1677252425.639337184] [rviz2]:  * Vertex programs: yes
[INFO] [1677252425.639390946] [rviz2]:  * Number of floating-point constants for vertex programs: 2048
[INFO] [1677252425.639442813] [rviz2]:  * Number of integer constants for vertex programs: 0
[INFO] [1677252425.639493666] [rviz2]:  * Number of boolean constants for vertex programs: 0
[INFO] [1677252425.639548818] [rviz2]:  * Fragment programs: yes
[INFO] [1677252425.639601771] [rviz2]:  * Number of floating-point constants for fragment programs: 2048
[INFO] [1677252425.639653818] [rviz2]:  * Number of integer constants for fragment programs: 0
[INFO] [1677252425.639836627] [rviz2]:  * Number of boolean constants for fragment programs: 0
[INFO] [1677252425.640392329] [rviz2]:  * Geometry programs: no
[INFO] [1677252425.640481343] [rviz2]:  * Number of floating-point constants for geometry programs: 0
[INFO] [1677252425.641340257] [rviz2]:  * Number of integer constants for geometry programs: 23744
[INFO] [1677252425.641449291] [rviz2]:  * Number of boolean constants for geometry programs: 22117
[INFO] [1677252425.641499715] [rviz2]:  * Tessellation Hull programs: no
[INFO] [1677252425.641542426] [rviz2]:  * Number of floating-point constants for tessellation hull programs: 1
[INFO] [1677252425.641586046] [rviz2]:  * Number of integer constants for tessellation hull programs: 0
[INFO] [1677252425.641782210] [rviz2]:  * Number of boolean constants for tessellation hull programs: 13057
[INFO] [1677252425.641833885] [rviz2]:  * Tessellation Domain programs: no
[INFO] [1677252425.641878385] [rviz2]:  * Number of floating-point constants for tessellation domain programs: 8247
[INFO] [1677252425.641921387] [rviz2]:  * Number of integer constants for tessellation domain programs: 0
[INFO] [1677252425.641972213] [rviz2]:  * Number of boolean constants for tessellation domain programs: 0
[INFO] [1677252425.642019467] [rviz2]:  * Compute programs: no
[INFO] [1677252425.642070287] [rviz2]:  * Number of floating-point constants for compute programs: 8240
[INFO] [1677252425.642118003] [rviz2]:  * Number of integer constants for compute programs: 0
[INFO] [1677252425.642165015] [rviz2]:  * Number of boolean constants for compute programs: 0
[INFO] [1677252425.642243038] [rviz2]:  * Supported Shader Profiles: arbfp1 arbvp1 glsl glsl100 glsl110 glsl120 ps_1_1 ps_1_2 ps_1_3 ps_1_4
[INFO] [1677252425.642344736] [rviz2]:  * Texture Compression: yes
[INFO] [1677252425.642384538] [rviz2]:    - DXT: yes
[INFO] [1677252425.642417088] [rviz2]:    - VTC: no
[INFO] [1677252425.642450100] [rviz2]:    - PVRTC: no
[INFO] [1677252425.642482527] [rviz2]:    - ATC: no
[INFO] [1677252425.642514583] [rviz2]:    - ETC1: no
[INFO] [1677252425.642548216] [rviz2]:    - ETC2: no
[INFO] [1677252425.642580748] [rviz2]:    - BC4/BC5: no
[INFO] [1677252425.642613271] [rviz2]:    - BC6H/BC7: no
[INFO] [1677252425.642645806] [rviz2]:    - ASTC: no
[INFO] [1677252425.642677875] [rviz2]:    - Mipmaps for compressed formats: yes
[INFO] [1677252425.642711519] [rviz2]:  * Hardware Occlusion Query: yes
[INFO] [1677252425.642744767] [rviz2]:  * User clip planes: yes
[INFO] [1677252425.642789360] [rviz2]:  * VET_UBYTE4 vertex element type: yes
[INFO] [1677252425.642821061] [rviz2]:  * Infinite far plane projection: yes
[INFO] [1677252425.642852605] [rviz2]:  * Hardware render-to-texture: yes
[INFO] [1677252425.642884601] [rviz2]:  * Floating point textures: yes
[INFO] [1677252425.642917802] [rviz2]:  * Non-power-of-two textures: yes
[INFO] [1677252425.642950229] [rviz2]:  * 1d textures: yes
[INFO] [1677252425.642982503] [rviz2]:  * Volume textures: yes
[INFO] [1677252425.643015234] [rviz2]:  * Multiple Render Targets: 8
[INFO] [1677252425.643048898] [rviz2]:    - With different bit depths: yes
[INFO] [1677252425.643082811] [rviz2]:  * Point Sprites: yes
[INFO] [1677252425.643116035] [rviz2]:  * Wide Lines: yes
[INFO] [1677252425.643148212] [rviz2]:  * Hardware Gamma: yes
[INFO] [1677252425.643195591] [rviz2]:  * Extended point parameters: yes
[INFO] [1677252425.643251860] [rviz2]:  * Max Point Size: 255
[INFO] [1677252425.643288536] [rviz2]:  * Vertex texture fetch: yes
[INFO] [1677252425.643322099] [rviz2]:  * Number of texture units: 16
[INFO] [1677252425.643356056] [rviz2]:  * Number of vertex attributes: 16
[INFO] [1677252425.643389698] [rviz2]:  * Stencil buffer depth: 8
[INFO] [1677252425.643422820] [rviz2]:  * Number of vertex blend matrices: 0
[INFO] [1677252425.643456591] [rviz2]:    - Max vertex textures: 32
[INFO] [1677252425.643489325] [rviz2]:    - Vertex textures shared: yes
[INFO] [1677252425.643522866] [rviz2]:  * Render to Vertex Buffer : no
[INFO] [1677252425.643556235] [rviz2]:  * Hardware Atomic Counters: no
[INFO] [1677252425.643589210] [rviz2]:  * PBuffer support: yes
[INFO] [1677252425.643621938] [rviz2]:  * Vertex Array Objects: no
[INFO] [1677252425.643654927] [rviz2]:  * Separate shader objects: no
[INFO] [1677252425.643688015] [rviz2]:  * GLSL SSO redeclare interface block: no
[INFO] [1677252425.643720825] [rviz2]:  * Debugging/ profiling events: no
[INFO] [1677252425.643754336] [rviz2]:  * Map buffer storage: yes
[INFO] [1677252425.644427745] [rviz2]: Using FSAA from GL_ARB_multisample extension.
[INFO] [1677252425.644533221] [rviz2]: DefaultWorkQueue('Root') initialising on thread main.
[INFO] [1677252425.644628672] [rviz2]: Particle Renderer Type 'billboard' registered
[INFO] [1677252425.644713539] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1677252425.644751047] [rviz2]: OpenGl version: 4.6 (GLSL 4.6)
[INFO] [1677252425.644830609] [rviz2]: Creating resource group rviz_rendering
[INFO] [1677252425.644876176] [rviz2]: Added resource location '/opt/ros/humble/share/rviz_rendering/ogre_media' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1677252425.644940699] [rviz2]: Added resource location '/opt/ros/humble/share/rviz_rendering/ogre_media/textures' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1677252425.645008865] [rviz2]: Added resource location '/opt/ros/humble/share/rviz_rendering/ogre_media/fonts' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1677252425.645082719] [rviz2]: Added resource location '/opt/ros/humble/share/rviz_rendering/ogre_media/fonts/liberation-sans' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1677252425.645249322] [rviz2]: Added resource location '/opt/ros/humble/share/rviz_rendering/ogre_media/models' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1677252425.645332197] [rviz2]: Added resource location '/opt/ros/humble/share/rviz_rendering/ogre_media/materials' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1677252425.645403341] [rviz2]: Added resource location '/opt/ros/humble/share/rviz_rendering/ogre_media/materials/scripts' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1677252425.645542741] [rviz2]: Added resource location '/opt/ros/humble/share/rviz_rendering/ogre_media/materials/glsl120' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1677252425.645639816] [rviz2]: Added resource location '/opt/ros/humble/share/rviz_rendering/ogre_media/materials/glsl120/include' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1677252425.645716273] [rviz2]: Added resource location '/opt/ros/humble/share/rviz_rendering/ogre_media/materials/glsl120/nogp' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1677252425.645797147] [rviz2]: Added resource location '/opt/ros/humble/share/rviz_rendering/ogre_media/materials/scripts120' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1677252425.645899095] [rviz2]: Parsing scripts for resource group General
[INFO] [1677252425.645945968] [rviz2]: Finished parsing scripts for resource group General
[INFO] [1677252425.645982151] [rviz2]: Creating resources for group General
[INFO] [1677252425.646018294] [rviz2]: All done
[INFO] [1677252425.646054425] [rviz2]: Parsing scripts for resource group OgreAutodetect
[INFO] [1677252425.646090658] [rviz2]: Finished parsing scripts for resource group OgreAutodetect
[INFO] [1677252425.646125203] [rviz2]: Creating resources for group OgreAutodetect
[INFO] [1677252425.646159471] [rviz2]: All done
[INFO] [1677252425.646193229] [rviz2]: Parsing scripts for resource group OgreInternal
[INFO] [1677252425.646228635] [rviz2]: Finished parsing scripts for resource group OgreInternal
[INFO] [1677252425.646262997] [rviz2]: Creating resources for group OgreInternal
[INFO] [1677252425.646296570] [rviz2]: All done
[INFO] [1677252425.646330371] [rviz2]: Parsing scripts for resource group rviz_rendering
[INFO] [1677252425.647742740] [rviz2]: Parsing script glsl120.program
[INFO] [1677252425.654786655] [rviz2]: Parsing script nogp.program
[INFO] [1677252425.656858456] [rviz2]: Parsing script indexed_8bit_image.material
[INFO] [1677252425.657170504] [rviz2]: Parsing script point_cloud_point.material
[INFO] [1677252425.657376147] [rviz2]: Parsing script default_pick_and_depth.material
[INFO] [1677252425.657646591] [rviz2]: Parsing script point_cloud_tile.material
[INFO] [1677252425.657853865] [rviz2]: Parsing script point_cloud_square.material
[INFO] [1677252425.658014207] [rviz2]: Parsing script point_cloud_sphere.material
[INFO] [1677252425.658159002] [rviz2]: Parsing script point_cloud_box.material
[INFO] [1677252425.658292707] [rviz2]: Parsing script point_cloud_flat_square.material
[INFO] [1677252425.658445674] [rviz2]: Parsing script liberation_sans.fontdef
[INFO] [1677252425.658580922] [rviz2]: Finished parsing scripts for resource group rviz_rendering
[INFO] [1677252425.658606847] [rviz2]: Creating resources for group rviz_rendering
[INFO] [1677252425.658622941] [rviz2]: All done
[INFO] [1677252425.663128665] [rviz2]: GLRenderSystem::_createRenderWindow "OgreWindow(1)", 100x30 windowed  miscParams: FSAA=4 contentScalingFactor=1.000000 currentGLContext=false externalWindowHandle=18874387 left=0 parentWindowHandle=18874387 top=0 
[INFO] [1677252425.665240012] [rviz2]: Actual frame buffer FSAA: 4, gamma: 0, colourBufferSize: 32
[INFO] [1677252425.666225399] [rviz2]: Created GL 3.0 context
[INFO] [1677252425.669355947] [rviz2]: GLXWindow::create used FBConfigID = 418
[INFO] [1677252425.669512956] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1677252425.726916094] [rviz2]: Mesh: Loading rviz_sphere.mesh.
[INFO] [1677252425.731557193] [rviz2]: Texture 'SelectionRect0Texture': Loading 1 faces(PF_R8G8B8A8,1x1x1) Internal format is PF_R8G8B8A8,1x1x1.
[INFO] [1677252425.742717918] [rviz2]: Texture 'ROSImageTexture0': Loading 1 faces(PF_A8B8G8R8,420x300x1) Internal format is PF_A8B8G8R8,420x300x1.
[INFO] [1677252425.745991167] [rviz2]: Texture 'ROSImageTexture0': Loading 1 faces(PF_A8B8G8R8,420x300x1) Internal format is PF_A8B8G8R8,420x300x1.
[INFO] [1677252425.749919026] [rviz2]: Mesh: Loading rviz_cylinder.mesh.
[INFO] [1677252425.750153237] [rviz2]: Mesh: Loading rviz_cone.mesh.
[INFO] [1677252425.755776501] [rviz2]: Texture 'ROSImageTexture0': Loading 1 faces(PF_A8B8G8R8,420x300x1) Internal format is PF_A8B8G8R8,420x300x1.
[INFO] [1677252425.798338880] [rviz2]: Using FSAA from GL_ARB_multisample extension.
[INFO] [1677252425.808163178] [rviz2]: GLRenderSystem::_createRenderWindow "OgreWindow(2)", 324x565 windowed  miscParams: FSAA=4 contentScalingFactor=1.000000 currentGLContext=false externalWindowHandle=18874874 left=0 parentWindowHandle=18874874 top=0 
[INFO] [1677252425.810836526] [rviz2]: Actual frame buffer FSAA: 4, gamma: 0, colourBufferSize: 32
[INFO] [1677252425.813551803] [rviz2]: Created GL 3.0 context
[INFO] [1677252425.819396912] [rviz2]: GLXWindow::create used FBConfigID = 418
[INFO] [1677252425.819712522] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1677252425.821875162] [rviz2]: Using FSAA from GL_ARB_multisample extension.

Thanks for any hints! :)

relffok commented 1 year ago

I can workaround this issue by passing --ipc=host. I'm not sure if this is something to add to the devcontainer settings though. Maybe there's a better way to share the x11 server memory?

tomkimsour commented 1 year ago

I am encountering a similar issue. I can subscribe to topics published from another machine but that machine can't call any service from the rviz node running in the docker.

athackst commented 1 year ago

@relffok Thanks for the fix, I'm in the process of testing

athackst commented 1 year ago

@tomkimsour "--network=host" should open up your docker container to all of the network traffic on your host machine (this is already included in the devcontainer). I'm not sure why you would be having an issue with services. You would need to find out if it is an issue with the docker container or if it's a networking issue for your machine.