Apollo: cannot run cyber_visualizer

Created on 20 May 2019  ·  5Comments  ·  Source: ApolloAuto/apollo

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.

System information

  • **OS Platform and Distribution (Linux Ubuntu 16.04)
  • **Apollo installed from (source)
  • **Apollo version (3.5)

Steps to reproduce the issue:

I install nvidia-docker out of docker and get the right nvidia info in docker. But I cannot run cyber_visualizer.

nvidia

Supporting materials (screenshots, command lines, code/script snippets):

tao@in_dev_docker:/apollo/cyber$ cyber_visualizer
libGL error: failed to load driver: swrast
Unrecognized OpenGL version
Unrecognized OpenGL version

waiting for response Cyber Help wanted

Most helpful comment

If you install nvidia driver inside docker by yourself, it could be the problem of incomplete driver of openGL and Nvidia driver. Please refer to https://github.com/ApolloAuto/apollo/issues/6693 and https://github.com/ApolloAuto/apollo/issues/1832.

I met same issue of this by using nvidia-docker2 to running apollo docker. Acoording to Nvidia-docker team https://github.com/NVIDIA/nvidia-docker/issues/534, nvidia docker 2 doesn't support OpenGL. You may downgrade from nvidia docker2 to 1.0 if you use nvidia docker. Otherwise, it needs us to install opengl mannually.

UPDATE: nvidia-docker1 only supports under ubuntu 17.04.

All 5 comments

If you install nvidia driver inside docker by yourself, it could be the problem of incomplete driver of openGL and Nvidia driver. Please refer to https://github.com/ApolloAuto/apollo/issues/6693 and https://github.com/ApolloAuto/apollo/issues/1832.

I met same issue of this by using nvidia-docker2 to running apollo docker. Acoording to Nvidia-docker team https://github.com/NVIDIA/nvidia-docker/issues/534, nvidia docker 2 doesn't support OpenGL. You may downgrade from nvidia docker2 to 1.0 if you use nvidia docker. Otherwise, it needs us to install opengl mannually.

UPDATE: nvidia-docker1 only supports under ubuntu 17.04.

If you install nvidia driver inside docker by yourself, it could be the problem of incomplete driver of openGL and Nvidia driver. Please refer to #6693 and #1832.

I met same issue of this by using nvidia-docker2 to running apollo docker. Acoording to Nvidia-docker team NVIDIA/nvidia-docker#534, nvidia docker 2 doesn't support OpenGL. You may downgrade from nvidia docker2 to 1.0 if you use nvidia docker. Otherwise, it needs us to install opengl mannually.

thx!

@flnlucifer let us know if that resolved your issue. Thanks!

@flnlucifer let us know if that resolved your issue. Thanks!

no issue now. Thanks.

@flnlucifer let us know if that resolved your issue. Thanks!

no issue now. Thanks.

Hi could you share the solution to this issue? I tried the one mentioned in #6693 but it didn't work. Thanks!

Was this page helpful?
0 / 5 - 0 ratings