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

Error trying to run rviz

asked 2011-06-20 04:11:06 -0500

davincho84 gravatar image

Hi, I'm new in ros, when I try to run rviz on my laptop I get the following crash message:

The program 'rviz' received an X Window System error.

This probably reflects a bug in the program.

The error was 'BadWindow (invalid Window parameter)'.

(Details: serial 28 error_code 3 request_code 138 minor_code 4) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)

my laptop has an nvidia gts 360m and the version 260.19.44 of nvidia driver.

edit retag flag offensive close merge delete


Hi, I am running the latest nvidia driver (270.41.19) on my gts 360m with Lucid without problems. Can you check to make sure nvidia module is loaded (lsmod) and post the output from glxinfo? thanks.
hsu gravatar image hsu  ( 2011-06-20 05:19:18 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2011-06-20 05:00:17 -0500

Disable (uninstall) your nVidia proprietary drivers. Reboot, then try again. This started happening to me after I enabled the proprietary drivers for my ATI Radeon card.

edit flag offensive delete link more


Nvidia has much better proprietary drivers than ATI, they usually work better than the open source drivers.
tfoote gravatar image tfoote  ( 2011-06-20 05:35:44 -0500 )edit
problem solved reinstalling the nvidia drivers. thanks.
davincho84 gravatar image davincho84  ( 2011-06-21 03:05:39 -0500 )edit

answered 2011-06-20 06:54:31 -0500

davincho84 gravatar image
edit flag offensive delete link more


I've upvoted your question. You should now have enough karma to place additional replies via comments rather than answers.
Asomerville gravatar image Asomerville  ( 2011-06-20 07:24:16 -0500 )edit

answered 2011-06-20 05:34:46 -0500

tfoote gravatar image
edit flag offensive delete link more

Question Tools


Asked: 2011-06-20 04:11:06 -0500

Seen: 355 times

Last updated: Jun 20 '11