[VGL] ERROR: Could not open display /dev/dri/card0

Using local backend, Gazebo sim is not displayed in the browser when using Nvidia acceleration, neither in Firefox or Chrome. The error:
[VGL] ERROR: Could not open display /dev/dri/card0
is shown in the terminal where docker was launched.

Iván López Broceño

Hi @ivrolan ,

the Nvidia acceleration feature is currently in beta state. Please use the regular RADI, without GPU support for working on the exercises. What Gazebo RTF (Real Time Factor) do you achieve in Gazebo using local backend with the regular RADI?

BTW the Nvidia acceleration does not depend on the browser, mainly on the underlying host machine. Do you use Linux? Windows? What version of CUDA?

Cheers,

Thanks for the reply, @jmplaza ,

I didn’t know the nvidia acceleration was a beta feature. My sim RTF in IDLE (without running heavy computations, just launching the sim) is 0.99 with the regular RADI. However, I wanted to set up the nvidia acceleration in case I need it in the future.

I’m using Ubuntu 22.04.1 LTS and the version 11.6 of CUDA.

Sincerely,
Iván