Problem description
For latest release-3.2 version #186 , 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
Due to rebuilding nvblox_ros (including the package nvblox_rviz_plugin) from source cannot solve this problem, limiting the version of rviz_rendering to 11.2.22 when building the Issasc ROS container could be a better choice.
Problem description
For latest release-3.2 version #186 , package
ros-humble-rviz-renderingversion (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 withnvblox_rviz_plugin.Environment
Solution (bad option)
Just replace the directory
/opt/ros/humble/share/rviz_rendering/ogre_media/meterials/rviz_rendering/ogre_media/meterialsin 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 scripts120After:
$ls /opt/ros/humble/share/rviz_rendering/ogre_media/meterials glsl120 glsl150 scripts scripts120 scripts150Due to rebuilding
nvblox_ros(including the packagenvblox_rviz_plugin) from source cannot solve this problem, limiting the version ofrviz_renderingto 11.2.22 when building the Issasc ROS container could be a better choice.