Ask Your Question
0

rviz crashing on startup with nvidia drivers installed

asked Mar 06 '11

tfoote gravatar image tfoote flag of United States
11130 27 85 172
http://www.ros.org/

updated Mar 06 '11

I'm trying to get rviz running on my laptop. It has an Nvidia 285M graphics card and I'm running the latest nvidia_current driver from the xswat PPA (version 270.29) It has run before on this machine but recently stopped.

I get the following crash on startup:

[ INFO] [1299351402.417784177]: Loading general config from [/home/tfoote/.rviz/config]
[ INFO] [1299351402.418640732]: Loading display config from [/home/tfoote/.rviz/display_config]
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 29 error_code 3 request_code 137 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.)

How can I fix this?

delete close flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered Mar 06 '11

tfoote gravatar image tfoote flag of United States
11130 27 85 172
http://www.ros.org/

The problem is that the graphics drivers are installed but the kernel module is now named "nvidia_current" instead of "nvidia" which the system was looking for.

I ran "modprobe nvidia_current" and it worked.

I added nvidia_current to the list in /etc/modules and it now is loaded on boot.

link delete flag offensive edit
0

answered Mar 06 '11

sam gravatar image sam
871 3 21 51

How you find that kernel module name is wrong? I can't find it on your log information. Thanks.

link delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: Mar 06 '11

Seen: 271 times

Last updated: Mar 06 '11