ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

i am trying to get rviz to work but it just doesnt (on windows 10)

asked 2018-06-13 06:49:36 -0500

zach gravatar image

updated 2018-06-18 03:05:26 -0500

this is the latest error message i have got

zach@DESKTOP-SOP45BA:~$ xvfb-run rosrun rviz rviz
[ INFO] [1528890105.462689900]: rviz version 1.12.16
[ INFO] [1528890105.464231000]: compiled against Qt version 5.5.1
[ INFO] [1528890105.465839700]: compiled against OGRE version 1.9.0 (Ghadamon)
Unsupported screen format: depth: 8, red_mask: 0, blue_mask: 0
Unsupported screen format: depth: 8, red_mask: 0, blue_mask: 0
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
Unsupported screen format: depth: 8, red_mask: 0, blue_mask: 0
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::setPen: Painter not active
Segmentation fault (core dumped)
edit retag flag offensive close merge delete



If you are attempting this on Windows 10 (with I assume the WSL), then please indicate that in your question. This is not something we can guess and makes diagnosing errors like you show us impossible.

gvdhoorn gravatar image gvdhoorn  ( 2018-06-15 04:06:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-13 19:37:55 -0500

Robert_d1968 gravatar image

updated 2018-06-13 19:45:19 -0500

I just went through the same thing, turned out it was OpenGL was not installed on my system, you may want to check that first. After I installed it, rvis ran with no issues...

link text check this link also, there is a troubleshooting guide link there.


edit flag offensive delete link more


im running windows 10 could you tell me how you downloaded it because i cant find it online

zach gravatar image zach  ( 2018-06-14 07:04:06 -0500 )edit

I just did this on my Firefly rk3399 but, it's an 64 bit Linux embedded OS, not windows. I have heard windows 10 can run ros, but I have never tried it out.

For installation of OpenGL it took some time to search everything, but by using the command line I got it running inside of an hour.

Robert_d1968 gravatar image Robert_d1968  ( 2018-06-14 21:24:37 -0500 )edit

Question Tools

1 follower


Asked: 2018-06-13 06:49:36 -0500

Seen: 1,171 times

Last updated: Jun 18 '18