You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I follow the steps in 'Building Docker image' and succeed building the image. Then I create container, build components, all succeed. but when I run Gazebo simulator with 'make posix_sitl_default gazebo' there comes errors. I realize these errors are about gazebo. so i just run 'gazebo' in the terminal inside the container. the terminal outputs:
root@yang-X556UQK:~# gazebo
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 30
Current serial number in output stream: 31
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 30
Current serial number in output stream: 31
Hello,
We usually run everything, including Gazebo, from Docker. Our simulator Docker image is pretty large so what I recommend is to try running smaller image like the one described here and see if Gazebo works in such configuration. Also, try this (I haven't tried it so I don't know if it's going to work).
I follow the steps in 'Building Docker image' and succeed building the image. Then I create container, build components, all succeed. but when I run Gazebo simulator with 'make posix_sitl_default gazebo' there comes errors. I realize these errors are about gazebo. so i just run 'gazebo' in the terminal inside the container. the terminal outputs:
root@yang-X556UQK:~# gazebo
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 30
Current serial number in output stream: 31
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 30
Current serial number in output stream: 31
I guess it's because gazebo need glx. but according to https://github.com/NVIDIA/nvidia-docker/wiki/Frequently-Asked-Questions#is-opengl-supported opengl+glx is not supported by nvidia docker. so i'm confused about how to run gazebo simulator. confirm my config below:
host computer: Ubuntu 16.04 x64 with Nvidia Geforce 940MX
docker image: nvidia-redtail-sim:kinetic, built according to https://github.com/NVIDIA-Jetson/redtail/wiki/Testing-in-Simulator
gazebo simulator: running inside container with 'make posix_sitl_default gazebo'. should I run this inside the container or just in the host computer?
The text was updated successfully, but these errors were encountered: