Skip to content

RViz2 (humble) crashed due to lack of GLSL 150 files in Isaac ROS container #159

@MyDearestJingo

Description

@MyDearestJingo

Problem description

For latest release-3.2 version , package ros-humble-rviz-rendering version (11.2.23) which Isaac ROS container chooses when building has removed glsl150 shader definitions. This change caused RViz2 crashed when running the example of Nvblox and visualizing with nvblox_rviz_plugin.

[rviz2-3] [ERROR] [1767498240.394272445] [rviz2]: ItemIdentityException: Unable to locate geometry program called rviz/glsl150/box.geom. in GpuProgramUsage::_getProgramByName at ./.obj-x86_64-linux-gnu/ogre-v1.12.1-prefix/src/ogre-v1.12.1/OgreMain/src/OgreGpuProgramUsage.cpp (line 92)
[rviz2-3] terminate called after throwing an instance of 'Ogre::ItemIdentityException'
[rviz2-3]   what():  ItemIdentityException: Unable to locate geometry program called rviz/glsl150/box.geom. in GpuProgramUsage::_getProgramByName at ./.obj-x86_64-linux-gnu/ogre-v1.12.1-prefix/src/ogre-v1.12.1/OgreMain/src/OgreGpuProgramUsage.cpp (line 92)

Environment

Version
Host OS 5.15.0-139-generic #149~20.04.1-Ubuntu
GPU and driver RTX 4090-D and 570.86.16
Isaac ROS 3.2
Isaac ROS common 3.2
Isaac ROS Nvblox 3.2
ros-humble-rviz-rendering 11.2.23-1jammy.20251108.015125
ros-humble-rviz2 11.2.23-1jammy.20251119.020146
OpenGL version 4.6.0 NVIDIA 570.86.16

Solution (bad option)

Just replace the directory /opt/ros/humble/share/rviz_rendering/ogre_media/meterials/rviz_rendering/ogre_media/meterials in the container with the one of version 11.2.22 which can be found at RViz repo or ROS Humble official Docker image.
Before (in container):

$ls /opt/ros/humble/share/rviz_rendering/ogre_media/meterials
glsl120  scripts  scripts120

After:

$ls /opt/ros/humble/share/rviz_rendering/ogre_media/meterials
glsl120  glsl150  scripts  scripts120  scripts150

Btw, rebuilding nvblox_ros (including the package nvblox_rviz_plugin) from source didn't help. Maybe nvblox_rviz_plugin needs some changes to fit the abandon of GLSL 150.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions