Gazebo failing to create OpenGL context in eval container on RTX 5090/ NVIDIA driver 575

hi everyone,

I just joined the AIC challenge and going through the setup steps. My setup is failing at step2 # Inside the container, start the environment
/entrypoint.sh ground_truth:=false start_aic_engine:=true

I have also filed a github issue with all the details. has anybody else in the community who have rtx5090 with Driver Version: 575.57.08 CUDA Version: 12.9 faced this. any workarounds.

thanks for any pointers!

hi @jlamperez I noticed you have a RTX5090 as well. wondering if you ran into this Gazebo issue or you have a different driver. thanks!

Not sure if this will help but I had to go through the ringer to get my env setup.. This is how I have to setup my distrobox container

distrobox create
–name aic_eval
–image Package aic/aic_eval · GitHub
–nvidia
–additional-flags "
–gpus all
-v /usr/lib/wsl:/usr/lib/wsl
-v /usr/lib/wsl/lib:/usr/lib/wsl/lib
-v /mnt/wslg:/mnt/wslg
-e DISPLAY=$DISPLAY
-e WAYLAND_DISPLAY=$WAYLAND_DISPLAY
-e XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR
-e PULSE_SERVER=$PULSE_SERVER
-e NVIDIA_VISIBLE_DEVICES=all
-e NVIDIA_DRIVER_CAPABILITIES=all"

Hi @Pranav_Saroha

This is my setup

$ nvidia-smi
Mon Apr 20 19:15:20 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.126.09             Driver Version: 580.126.09     CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 5090        Off |   00000000:09:00.0  On |                  N/A |
|  0%   32C    P5             65W /  575W |    1482MiB /  32607MiB |     13%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

I had no problem, was working for me.

Regards!

thanks. it turns out I had to set following in my env and then glxinfo -B and the gazebo worked.
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia

1 Like