RViz crashes when use nvidia-375 driver

183 views
Skip to first unread message

boooooo...@gmail.com

unread,
Jul 24, 2017, 1:26:14 PM7/24/17
to swri-ros-pkg-dev
Hi:

System: Ubuntu 14.04
ROS distro: Indigo

I am currently using the fanuc M20ia moveit package user the ROS-I, and till now, everything works fine. But apart from that, I want to use a KinectV2 sensor as the vision system for the robot and tried to use the Nvidia driver and the cuda to speed up the processing time. But once I update the graphic driver to nvidia-375 (I do that with in the Software & Update-->Additional Drivers tab), the RViz just crashes every time it got started, I searched the troubleshooting page (here) and it says that the RViz does not support hardware acceleration, but I am not quite sure whether this is the problem.

So anyone is using the nvidia graphic card and using the RViz at the same time? Any comment is welcome, I have been struggling with this driver problem for a pretty long time...

Many thanks
Best,
Bosch Tang

Mitch

unread,
Jul 24, 2017, 1:37:18 PM7/24/17
to swri-ros-pkg-dev
Hey,

It happened to me before.I upgraded ubuntu to 16.04 and everything works well now. 

在 2017年7月24日星期一 UTC-5下午12:26:14,boooooo...@gmail.com写道:

Boshi Tang

unread,
Jul 24, 2017, 4:08:41 PM7/24/17
to swri-ros...@googlegroups.com
Hi, Mitch:

Thanks for the reply, but I probably needs to stay at the Ubuntu 14.04 and the ROS Indigo since my other packages are Indigo and I probably don't have enough time for me to swap to 16.04. By the way, how do you install the nvidia driver? Using the Software & Update or download the deb from the nvidia website?

Many thanks!
Bosch Tang

Best,

Bosch Tang
Mechanical Engineering
Carnegie Mellon University

--
You received this message because you are subscribed to a topic in the Google Groups "swri-ros-pkg-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swri-ros-pkg-dev/xj8IhcVoEtU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swri-ros-pkg-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shaun Edwards

unread,
Jul 24, 2017, 6:02:40 PM7/24/17
to swri-ros...@googlegroups.com
You can set LIBGL_ALWAYS_SOFTWARE=1 in your bash file.  This disables hardware rendering.  Not ideal, but it should prevent crashes.

To unsubscribe from this group and all its topics, send an email to swri-ros-pkg-d...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "swri-ros-pkg-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swri-ros-pkg-d...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
Shaun Edwards

Boshi Tang

unread,
Jul 24, 2017, 10:55:09 PM7/24/17
to swri-ros...@googlegroups.com
Many thanks, I will try this out tomorow!

Best,
Bosch Tang

Mitch

unread,
Jul 27, 2017, 9:09:18 PM7/27/17
to swri-ros-pkg-dev
Right, but I guess it wouldn't help you much since you need to stay in indigo. 

在 2017年7月24日星期一 UTC-5下午3:08:41,Boshi Tang写道:
To unsubscribe from this group and all its topics, send an email to swri-ros-pkg-d...@googlegroups.com.

Boshi Tang

unread,
Jul 28, 2017, 1:24:10 PM7/28/17
to swri-ros...@googlegroups.com
Hi, Shaun:

Sorry for the delayed reply, I checked the LIBGL_ALWAYS_SOFTWARE variable, it is already set to 1 and the RViz still crashes, I tried to run rviz alone by rossun rviz rviz and it gives me a segmentation fault, I tried to set the OGRE_RTT_MODE to different values but still have a segmentation fault. So does that mean actually RViz might not work with the nvidia graphic driver? I am not quite familiar with driver stuff, so I am not sure how to solve this. Actually I just want to use the KinectV2, but the libfreenect2 needs a nvidia driver, or the OpenGL version is to low to run.

Best,
Bosch Tang

Best,

Bosch Tang
Mechanical Engineering
Carnegie Mellon University

To unsubscribe from this group and all its topics, send an email to swri-ros-pkg-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "swri-ros-pkg-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swri-ros-pkg-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
Shaun Edwards

--
You received this message because you are subscribed to a topic in the Google Groups "swri-ros-pkg-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swri-ros-pkg-dev/xj8IhcVoEtU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swri-ros-pkg-dev+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages