ros2 / rviz

ROS 3D Robot Visualizer
BSD 3-Clause Clear License
296 stars 212 forks source link

[Jazzy] RViz fails to launch on ARM64 (aarch64) #1196

Closed coalman321 closed 4 months ago

coalman321 commented 4 months ago

System details

CPU Architecture: aarch64 (Apple M1) OS Version: Ubuntu 24.04 desktop (sourced from daily build) VM system: Vmware Fusion Player 13.5.1 (latest)

Issue

On aarch64 targets, RViz fails to launch without creating a traceable error message other than the error message below. running with the -l flag on startup doesn't add much more helpful info. I do see the RViz splash screen image pop up, but no window ever spawns. RViz operates on this setup under the humble release on 22.04 daily without any issues. As part of my troubleshooting steps, I also attempted to disable the VMware 3d acceleration. Disabling the 3d acceleration had no impact on the error messages produced by RViz. I would be more than happy to create / test possible solutions, I'm just not quite sure where to start...

launching Rviz without -l

SocketNotifier: Can only be used with threads started with QThread
[INFO] [1715272276.436787562] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1715272276.436915108] [rviz2]: OpenGl version: 4.3 (GLSL 4.3)
[ERROR] [1715272276.459431580] [rviz2]: rviz::RenderSystem: error creating render window: RenderingAPIException: Invalid parentWindowHandle (wrong server or screen) in GLXWindow::create at ./.obj-aarch64-linux-gnu/ogre_vendor-prefix/src/ogre_vendor/RenderSystems/GLSupport/src/GLX/OgreGLXWindow.cpp (line 246)
...
[ERROR] [1715272276.469762156] [rviz2]: rviz::RenderSystem: error creating render window: RenderingAPIException: Invalid parentWindowHandle (wrong server or screen) in GLXWindow::create at ./.obj-aarch64-linux-gnu/ogre_vendor-prefix/src/ogre_vendor/RenderSystems/GLSupport/src/GLX/OgreGLXWindow.cpp (line 246)
[ERROR] [1715272276.469774277] [rviz2]: Unable to create the rendering window after 100 tries
terminate called after throwing an instance of 'std::runtime_error'
  what():  Unable to create the rendering window after 100 tries
Aborted (core dumped)

Launching RViz with -l

coalman321@ubuntu-24-m1:~$ rviz2 -l
QSocketNotifier: Can only be used with threads started with QThread
[INFO] [1715272559.324647719] [rviz2]: Creating resource group General
[INFO] [1715272559.324775579] [rviz2]: Creating resource group OgreInternal
[INFO] [1715272559.324794810] [rviz2]: Creating resource group OgreAutodetect
[INFO] [1715272559.324827266] [rviz2]: SceneManagerFactory for type 'DefaultSceneManager' registered.
[INFO] [1715272559.324913952] [rviz2]: Registering ResourceManager for type Material
[INFO] [1715272559.324950412] [rviz2]: Registering ResourceManager for type Mesh
[INFO] [1715272559.324963344] [rviz2]: Registering ResourceManager for type Skeleton
[INFO] [1715272559.324989542] [rviz2]: MovableObjectFactory for type 'ParticleSystem' registered.
[INFO] [1715272559.325042355] [rviz2]: ArchiveFactory for archive type FileSystem registered.
[INFO] [1715272559.325055162] [rviz2]: DDS codec registering
[INFO] [1715272559.325063171] [rviz2]: ETC codec registering
[INFO] [1715272559.325075394] [rviz2]: ASTC codec registering
[INFO] [1715272559.325085406] [rviz2]: Registering ResourceManager for type HighLevelGpuProgram
[INFO] [1715272559.325109977] [rviz2]: Registering ResourceManager for type Compositor
[INFO] [1715272559.325180061] [rviz2]: MovableObjectFactory for type 'Entity' registered.
[INFO] [1715272559.325199667] [rviz2]: MovableObjectFactory for type 'Light' registered.
[INFO] [1715272559.325214268] [rviz2]: MovableObjectFactory for type 'BillboardSet' registered.
[INFO] [1715272559.325219816] [rviz2]: MovableObjectFactory for type 'ManualObject' registered.
[INFO] [1715272559.325233624] [rviz2]: MovableObjectFactory for type 'BillboardChain' registered.
[INFO] [1715272559.325252355] [rviz2]: MovableObjectFactory for type 'RibbonTrail' registered.
[INFO] [1715272559.325331449] [rviz2]: *-*-* OGRE Initialising
[INFO] [1715272559.325348636] [rviz2]: *-*-* Version 1.12.10 (Rhagorthua)
[INFO] [1715272559.325428648] [rviz2]: OverlayElementFactory for type Panel registered.
[INFO] [1715272559.325444167] [rviz2]: OverlayElementFactory for type BorderPanel registered.
[INFO] [1715272559.325449089] [rviz2]: OverlayElementFactory for type TextArea registered.
[INFO] [1715272559.325466109] [rviz2]: Registering ResourceManager for type Font
[INFO] [1715272559.325509786] [rviz2]: Loading library /opt/ros/jazzy/opt/rviz_ogre_vendor/lib/OGRE/RenderSystem_GL.so.1.12.10
[INFO] [1715272559.330280548] [rviz2]: Installing plugin: GL RenderSystem
[INFO] [1715272559.330336823] [rviz2]: OpenGL Rendering Subsystem created.
[INFO] [1715272559.332013903] [rviz2]: Plugin successfully installed
[INFO] [1715272559.332072473] [rviz2]: Loading library /opt/ros/jazzy/opt/rviz_ogre_vendor/lib/OGRE/Codec_STBI.so.1.12.10
[INFO] [1715272559.332199916] [rviz2]: stb_image - v2.23 - public domain image loader
[INFO] [1715272559.332238253] [rviz2]: Supported formats: jpeg,jpg,png,bmp,psd,tga,gif,pic,ppm,pgm,hdr
[INFO] [1715272559.332301787] [rviz2]: CPU Identifier & Features
[INFO] [1715272559.332313134] [rviz2]: -------------------------
[INFO] [1715272559.332319225] [rviz2]:  *   CPU ID: 
[INFO] [1715272559.332325691] [rviz2]:  *          VFP: no
[INFO] [1715272559.332330697] [rviz2]:  *         NEON: no
[INFO] [1715272559.332335577] [rviz2]: -------------------------
[INFO] [1715272559.332341877] [rviz2]: ******************************
*** Starting GLX Subsystem ***
******************************
[INFO] [1715272559.332447169] [rviz2]: GLX_VERSION = 1.4
[INFO] [1715272559.332478915] [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_gl_interop GLX_MESA_query_renderer GLX_MESA_swap_control GLX_NV_float_buffer 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] [1715272559.332549874] [rviz2]: Registering ResourceManager for type Texture
[INFO] [1715272559.332617496] [rviz2]: RenderSystem::_createRenderWindow "OgreWindow(0)", 1x1 windowed  miscParams: FSAA=4 border=none contentScalingFactor=1.000000 currentGLContext=false externalWindowHandle=20971521 left=0 parentWindowHandle=20971521 top=0 
[INFO] [1715272559.333134904] [rviz2]: GLXWindow::create colourBufferSize=32 gamma=0 FSAA=4
[INFO] [1715272559.336598067] [rviz2]: GLXWindow::create used FBConfigID = 235
[INFO] [1715272559.336882865] [rviz2]: GL_VERSION = 4.3.0.0
[INFO] [1715272559.337014021] [rviz2]: GL_VENDOR = VMware, Inc.
[INFO] [1715272559.337036256] [rviz2]: GL_RENDERER = SVGA3D; build: RELEASE;  LLVM;
[INFO] [1715272559.338169146] [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_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_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_draw_buffers_blend 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_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_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_shader_trinary_minmax 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_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_shading_language_include GL_ARB_texture_stencil8 GL_EXT_debug_label GL_EXT_shader_integer_mix GL_ARB_ES3_1_compatibility GL_ARB_clip_control GL_ARB_direct_state_access GL_ARB_get_texture_sub_image GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_ARB_ES3_2_compatibility GL_ARB_parallel_shader_compile GL_ARB_shader_atomic_counter_ops GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_MESA_shader_integer_functions GL_ARB_texture_filter_anisotropic GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_EGL_sync GL_NV_ES1_1_compatibility 
[INFO] [1715272559.338335761] [rviz2]: ***************************
[INFO] [1715272559.338347233] [rviz2]: *** GL Renderer Started ***
[INFO] [1715272559.338351988] [rviz2]: ***************************
[INFO] [1715272559.340959133] [rviz2]: Registering ResourceManager for type GpuProgram
[INFO] [1715272559.341038853] [rviz2]: GLSL support detected
[INFO] [1715272559.341051910] [rviz2]: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
[INFO] [1715272559.342135950] [rviz2]: FBO PF_UNKNOWN depth/stencil support: D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.343062428] [rviz2]: FBO PF_L8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.344066123] [rviz2]: FBO PF_L16 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.344893941] [rviz2]: FBO PF_A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.345814954] [rviz2]: FBO PF_BYTE_LA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.346713232] [rviz2]: FBO PF_R5G6B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.347863142] [rviz2]: FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.348759626] [rviz2]: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.349635835] [rviz2]: FBO PF_R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.350502450] [rviz2]: FBO PF_B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.351300066] [rviz2]: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.352244399] [rviz2]: FBO PF_A8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.352932676] [rviz2]: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.353781645] [rviz2]: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.354805238] [rviz2]: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.355857866] [rviz2]: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.357034517] [rviz2]: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.360031375] [rviz2]: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.361503294] [rviz2]: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.364083949] [rviz2]: FBO PF_R8G8B8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.365171118] [rviz2]: FBO PF_DEPTH16 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.366138102] [rviz2]: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.367013853] [rviz2]: FBO PF_R3G3B2 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.367722738] [rviz2]: FBO PF_FLOAT16_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.368628650] [rviz2]: FBO PF_FLOAT32_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.369414877] [rviz2]: FBO PF_SHORT_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.370256337] [rviz2]: FBO PF_FLOAT16_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.371293738] [rviz2]: FBO PF_FLOAT32_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.372172409] [rviz2]: FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[INFO] [1715272559.372270192] [rviz2]: [GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_L16 PF_A8 PF_BYTE_LA 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_SHORT_GR PF_FLOAT16_GR PF_FLOAT32_GR PF_SHORT_RGB 
[INFO] [1715272559.372627201] [rviz2]: Using FSAA from GL_ARB_multisample extension.
[INFO] [1715272559.372662409] [rviz2]: RenderSystem capabilities
[INFO] [1715272559.372670878] [rviz2]: -------------------------
[INFO] [1715272559.372687648] [rviz2]: RenderSystem Name: OpenGL Rendering Subsystem
[INFO] [1715272559.372702415] [rviz2]: GPU Vendor: unknown
[INFO] [1715272559.372707755] [rviz2]: Device Name: SVGA3D; build: RELEASE;  LLVM;
[INFO] [1715272559.372716182] [rviz2]: Driver Version: 4.3.0.0
[INFO] [1715272559.372727612] [rviz2]:  * Fixed function pipeline: yes
[INFO] [1715272559.372737248] [rviz2]:  * 32-bit index buffers: yes
[INFO] [1715272559.372743798] [rviz2]:  * Hardware stencil buffer: yes
[INFO] [1715272559.372751265] [rviz2]:    - Stencil depth: 8
[INFO] [1715272559.372756229] [rviz2]:    - Two sided stencil support: yes
[INFO] [1715272559.372778130] [rviz2]:    - Wrap stencil values: yes
[INFO] [1715272559.372827814] [rviz2]:  * Vertex programs: yes
[INFO] [1715272559.372841330] [rviz2]:    - Number of floating-point constants: 2048
[INFO] [1715272559.372846962] [rviz2]:    - Number of integer constants: 0
[INFO] [1715272559.372851634] [rviz2]:    - Number of boolean constants: 0
[INFO] [1715272559.372861438] [rviz2]:  * Fragment programs: yes
[INFO] [1715272559.372865735] [rviz2]:    - Number of floating-point constants: 2048
[INFO] [1715272559.372877165] [rviz2]:    - Number of integer constants: 0
[INFO] [1715272559.372881420] [rviz2]:    - Number of boolean constants: 0
[INFO] [1715272559.372885717] [rviz2]:  * Geometry programs: no
[INFO] [1715272559.372890013] [rviz2]:  * Tessellation Hull programs: no
[INFO] [1715272559.372900359] [rviz2]:  * Tessellation Domain programs: no
[INFO] [1715272559.372911164] [rviz2]:  * Compute programs: no
[INFO] [1715272559.372937069] [rviz2]:  * Supported Shader Profiles: arbfp1 arbvp1 glsl glsl100 glsl110 glsl120 ps_1_1 ps_1_2 ps_1_3 ps_1_4
[INFO] [1715272559.372956176] [rviz2]:  * Read-back compiled shader: no
[INFO] [1715272559.372961724] [rviz2]:  * Number of vertex attributes: 16
[INFO] [1715272559.372973154] [rviz2]:  * Textures
[INFO] [1715272559.372977743] [rviz2]:    - Number of texture units: 16
[INFO] [1715272559.372985544] [rviz2]:    - Floating point: yes
[INFO] [1715272559.372996974] [rviz2]:    - Non-power-of-two: yes
[INFO] [1715272559.373008571] [rviz2]:    - 1D textures: yes
[INFO] [1715272559.373012576] [rviz2]:    - 2D array textures: yes
[INFO] [1715272559.373017040] [rviz2]:    - 3D textures: yes
[INFO] [1715272559.373021253] [rviz2]:    - Anisotropic filtering: yes
[INFO] [1715272559.373033142] [rviz2]:  * Texture Compression: yes
[INFO] [1715272559.373037355] [rviz2]:    - DXT: yes
[INFO] [1715272559.373042278] [rviz2]:    - VTC: no
[INFO] [1715272559.373047409] [rviz2]:    - PVRTC: no
[INFO] [1715272559.373051456] [rviz2]:    - ATC: no
[INFO] [1715272559.373055836] [rviz2]:    - ETC1: no
[INFO] [1715272559.373063595] [rviz2]:    - ETC2: no
[INFO] [1715272559.373067683] [rviz2]:    - BC4/BC5: no
[INFO] [1715272559.373078988] [rviz2]:    - BC6H/BC7: no
[INFO] [1715272559.373082951] [rviz2]:    - ASTC: no
[INFO] [1715272559.373087040] [rviz2]:    - Mipmaps for compressed formats: yes
[INFO] [1715272559.373091170] [rviz2]:  * Vertex Buffers
[INFO] [1715272559.373102057] [rviz2]:    - VET_UBYTE4 element type: yes
[INFO] [1715272559.373115866] [rviz2]:    - Render to Vertex Buffer: no
[INFO] [1715272559.373119954] [rviz2]:    - Instance Data: yes
[INFO] [1715272559.373124376] [rviz2]:    - Primitive Restart: no
[INFO] [1715272559.373129006] [rviz2]:  * Vertex texture fetch: yes
[INFO] [1715272559.373133053] [rviz2]:    - Max vertex textures: 32
[INFO] [1715272559.373137475] [rviz2]:    - Vertex textures shared: yes
[INFO] [1715272559.373145568] [rviz2]:  * Read/Write Buffers: no
[INFO] [1715272559.373153702] [rviz2]:  * Hardware Occlusion Query: yes
[INFO] [1715272559.373158041] [rviz2]:  * User clip planes: yes
[INFO] [1715272559.373168595] [rviz2]:  * Infinite far plane projection: yes
[INFO] [1715272559.373173559] [rviz2]:  * Depth clamping: no
[INFO] [1715272559.373178106] [rviz2]:  * Hardware render-to-texture: yes
[INFO] [1715272559.373182487] [rviz2]:    - Multiple Render Targets: 8
[INFO] [1715272559.373190288] [rviz2]:    - With different bit depths: yes
[INFO] [1715272559.373203762] [rviz2]:  * Point Sprites: yes
[INFO] [1715272559.373215651] [rviz2]:    - Extended parameters: yes
[INFO] [1715272559.373230085] [rviz2]:    - Max Size: 80
[INFO] [1715272559.373242099] [rviz2]:  * Wide Lines: yes
[INFO] [1715272559.373246062] [rviz2]:  * Hardware Gamma: yes
[INFO] [1715272559.373250025] [rviz2]:  * PBuffer support: yes
[INFO] [1715272559.373254697] [rviz2]:  * Vertex Array Objects: no
[INFO] [1715272559.373261289] [rviz2]:  * Separate shader objects: no
[INFO] [1715272559.373272427] [rviz2]:    - redeclare GLSL interface block: no
[INFO] [1715272559.373282355] [rviz2]:  * Debugging/ profiling events: no
[INFO] [1715272559.373286318] [rviz2]:  * Map buffer storage: yes
[INFO] [1715272559.373303506] [rviz2]: DefaultWorkQueue('Root') initialising on thread main.
[INFO] [1715272559.373398535] [rviz2]: Particle Renderer Type 'billboard' registered
[INFO] [1715272559.373449346] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1715272559.373476503] [rviz2]: OpenGl version: 4.3 (GLSL 4.3)
[INFO] [1715272559.373536199] [rviz2]: Creating resource group rviz_rendering
[INFO] [1715272559.373550091] [rviz2]: Added resource location '/opt/ros/jazzy/share/rviz_rendering/ogre_media' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1715272559.373575538] [rviz2]: Added resource location '/opt/ros/jazzy/share/rviz_rendering/ogre_media/textures' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1715272559.373600693] [rviz2]: Added resource location '/opt/ros/jazzy/share/rviz_rendering/ogre_media/fonts' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1715272559.373646414] [rviz2]: Added resource location '/opt/ros/jazzy/share/rviz_rendering/ogre_media/fonts/liberation-sans' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1715272559.373678035] [rviz2]: Added resource location '/opt/ros/jazzy/share/rviz_rendering/ogre_media/models' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1715272559.373718958] [rviz2]: Added resource location '/opt/ros/jazzy/share/rviz_rendering/ogre_media/materials' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1715272559.373763178] [rviz2]: Added resource location '/opt/ros/jazzy/share/rviz_rendering/ogre_media/materials/scripts' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1715272559.373828964] [rviz2]: Added resource location '/opt/ros/jazzy/share/rviz_rendering/ogre_media/materials/glsl120' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1715272559.373856998] [rviz2]: Added resource location '/opt/ros/jazzy/share/rviz_rendering/ogre_media/materials/glsl120/include' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1715272559.373891581] [rviz2]: Added resource location '/opt/ros/jazzy/share/rviz_rendering/ogre_media/materials/glsl120/nogp' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1715272559.373934673] [rviz2]: Added resource location '/opt/ros/jazzy/share/rviz_rendering/ogre_media/materials/scripts120' of type 'FileSystem' to resource group 'rviz_rendering'
[INFO] [1715272559.373974179] [rviz2]: Parsing scripts for resource group General
[INFO] [1715272559.373991867] [rviz2]: Finished parsing scripts for resource group General
[INFO] [1715272559.373997248] [rviz2]: Creating resources for group General
[INFO] [1715272559.374002337] [rviz2]: All done
[INFO] [1715272559.374007302] [rviz2]: Parsing scripts for resource group OgreAutodetect
[INFO] [1715272559.374020526] [rviz2]: Finished parsing scripts for resource group OgreAutodetect
[INFO] [1715272559.374025365] [rviz2]: Creating resources for group OgreAutodetect
[INFO] [1715272559.374030162] [rviz2]: All done
[INFO] [1715272559.374034793] [rviz2]: Parsing scripts for resource group OgreInternal
[INFO] [1715272559.374039548] [rviz2]: Finished parsing scripts for resource group OgreInternal
[INFO] [1715272559.374043929] [rviz2]: Creating resources for group OgreInternal
[INFO] [1715272559.374054608] [rviz2]: All done
[INFO] [1715272559.374065162] [rviz2]: Parsing scripts for resource group rviz_rendering
[INFO] [1715272559.374382999] [rviz2]: Parsing script glsl120.program
[ERROR] [1715272559.374634465] [rviz2]: unknown Ogre log message level: 3
[ERROR] [1715272559.374659578] [rviz2]: unknown Ogre log message level: 3
[ERROR] [1715272559.378725668] [rviz2]: unknown Ogre log message level: 3
[ERROR] [1715272559.378864082] [rviz2]: unknown Ogre log message level: 3
[ERROR] [1715272559.379226389] [rviz2]: unknown Ogre log message level: 3
[ERROR] [1715272559.379491704] [rviz2]: unknown Ogre log message level: 3
[ERROR] [1715272559.379515274] [rviz2]: unknown Ogre log message level: 3
[ERROR] [1715272559.379830691] [rviz2]: unknown Ogre log message level: 3
[INFO] [1715272559.380347306] [rviz2]: Parsing script nogp.program
[ERROR] [1715272559.380602652] [rviz2]: unknown Ogre log message level: 3
[ERROR] [1715272559.381088897] [rviz2]: unknown Ogre log message level: 3
[ERROR] [1715272559.381441525] [rviz2]: unknown Ogre log message level: 3
[INFO] [1715272559.381905452] [rviz2]: Parsing script point_cloud_point.material
[INFO] [1715272559.382156751] [rviz2]: Parsing script default_pick_and_depth.material
[INFO] [1715272559.382489814] [rviz2]: Parsing script indexed_8bit_image.material
[INFO] [1715272559.382844695] [rviz2]: Parsing script point_cloud_tile.material
[INFO] [1715272559.383037466] [rviz2]: Parsing script point_cloud_box.material
[INFO] [1715272559.383112180] [rviz2]: Parsing script point_cloud_flat_square.material
[INFO] [1715272559.383173044] [rviz2]: Parsing script point_cloud_sphere.material
[INFO] [1715272559.383234618] [rviz2]: Parsing script point_cloud_square.material
[INFO] [1715272559.383300404] [rviz2]: Parsing script liberation_sans.fontdef
[INFO] [1715272559.383413330] [rviz2]: Finished parsing scripts for resource group rviz_rendering
[INFO] [1715272559.383425762] [rviz2]: Creating resources for group rviz_rendering
[INFO] [1715272559.383432311] [rviz2]: All done
[INFO] [1715272559.385962698] [rviz2]: RenderSystem::_createRenderWindow "OgreWindow(1)", 100x30 windowed  miscParams: FSAA=4 contentScalingFactor=1.000000 currentGLContext=false externalWindowHandle=3 left=0 parentWindowHandle=3 top=0 
[ERROR] [1715272559.386252501] [rviz2]: rviz::RenderSystem: error creating render window: RenderingAPIException: Invalid parentWindowHandle (wrong server or screen) in GLXWindow::create at ./.obj-aarch64-linux-gnu/ogre_vendor-prefix/src/ogre_vendor/RenderSystems/GLSupport/src/GLX/OgreGLXWindow.cpp (line 246)
[INFO] [1715272559.386289462] [rviz2]: RenderSystem::_createRenderWindow "OgreWindow(1)", 100x30 windowed  miscParams: FSAA=4 contentScalingFactor=1.000000 currentGLContext=false externalWindowHandle=3 left=0 parentWindowHandle=3 top=0 
...
[INFO] [1715272559.396164632] [rviz2]: RenderSystem::_createRenderWindow "OgreWindow(1)", 100x30 windowed  miscParams: FSAA=4 contentScalingFactor=1.000000 currentGLContext=false externalWindowHandle=3 left=0 parentWindowHandle=3 top=0 
[ERROR] [1715272559.396228083] [rviz2]: rviz::RenderSystem: error creating render window: RenderingAPIException: Invalid parentWindowHandle (wrong server or screen) in GLXWindow::create at ./.obj-aarch64-linux-gnu/ogre_vendor-prefix/src/ogre_vendor/RenderSystems/GLSupport/src/GLX/OgreGLXWindow.cpp (line 246)
[ERROR] [1715272559.396240264] [rviz2]: Unable to create the rendering window after 100 tries
terminate called after throwing an instance of 'std::runtime_error'
  what():  Unable to create the rendering window after 100 tries
Aborted (core dumped)
clalancette commented 4 months ago

Can you try the troubleshooting step in http://docs.ros.org/en/jazzy/How-To-Guides/Installation-Troubleshooting.html#cannot-start-rviz2 , and see if that makes a difference?

coalman321 commented 4 months ago

Yep, It appears to be the same Wayland issue! It might be good to place that warning if that kind of failure occurs in jazzy. As this resolves the issue. I'm going to close it out. Thanks for the help!