RViz is a 3D visualizer for the Robot Operating System (ROS) framework. In a lot of cases, RViz is run on a visualization workstation to monitor a robot.
However, sometimes it is useful to have RViz running on the robot itself. On the Jetson TK1 in particular this presents an issue, because running RViz causes a segmentation fault. Here’s the workaround:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install rviz on the NVIDIA Jetson TK1 | |
# Requires unsetting the GTK_IM_MODULE to avoid pcre conflict | |
# 9-8-2016 | |
sudo apt-get install ros-indigo-rviz | |
sudo apt-get install ros-indigo-robot-model | |
echo "unset GTK_IM_MODULE" >> ~/.bashrc | |
source ~/.bashrc |
The basic story is that one of the dependencies (pcre) is unhappy and needs one of the environmental variables unset. This seems to make everything happy and fluffy again.

Hi I used the jetson tx1 with rviz and followed the above advice but still have the problem of “bus error” what should i do, i really haven’t any idea.
These are instructions for the Jetson TK1. The Jetson TX1 is a different machine.
Hey there, I tested it under the TX1 and the instructions are quite the same, the only modification would be changing “indigo” for “kinetic” since the TX1 has 16.04.
Best regards!
Hi Ben,
Thanks for the info, and thanks for reading!
I had same issue on indigo mint17
Add a hdmi dongle and voila !