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

Force rviz2 to use eGPU

asked 2022-12-07 12:29:45 -0500

ROSkinect gravatar image

updated 2022-12-07 15:07:36 -0500

I'm using rviz2 on foxy and after a few frames at 30 fps, the fps drops to 0 fps. I checked my eGPU and it is not used at all. Gazebo however is using it. My question is how can force rviz2 to use the GPU?

I tried compiling rviz2 from source but it doesn't help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-12-09 12:12:05 -0500

shonigmann gravatar image

Assuming your drivers are installed correctly, you can (in Ubuntu at least) right click on the terminal icon from the applications list and choose to run the terminal with the Dedicated GPU. Launching RViz from that terminal should ensure that it does use your GPU.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-12-07 12:29:45 -0500

Seen: 120 times

Last updated: Dec 09 '22