Robotics StackExchange | Archived questions

Force rviz2 to use eGPU

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.

Asked by ROSkinect on 2022-12-07 13:29:45 UTC

Comments

Answers

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.

Asked by shonigmann on 2022-12-09 13:12:05 UTC

Comments