Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running carla without display #1112

Closed
tanglrHello opened this issue Jan 9, 2019 · 5 comments
Closed

Running carla without display #1112

tanglrHello opened this issue Jan 9, 2019 · 5 comments
Labels
stale Issue has not had recent activity

Comments

@tanglrHello
Copy link

tanglrHello commented Jan 9, 2019

I've found several ways to start carla server without display:
(1) https://carla.readthedocs.io/en/latest/carla_headless/
In this documentation, several tools are required to be installed
(2)https://carla.readthedocs.io/en/latest/configuring_the_simulation/#running-off-screen
But in this documentation, only assign an empty value to DISPLAY will do
(3)#225
No display and select gpu.

In my local desktop ubuntu system, the second method seems to work well. But I always get a core dump then I start carla on remote servers as described in #1101.
My situation is: I have several remote headless server machine with nvidia driver installed (but I'm not sure if they're installed with opengl). And I want to start carla on those remote machines. I think I'd better use docker to avoid some common deployment in multiple machines. And if I pull the docker carlasim/carla:0.9.1 from with the instruction in this documentationhttps://carla.readthedocs.io/en/latest/carla_docker/#getting-it-running, I can run it successfully on my local desktop system, but have signal 11 caught when running on those remote servers. Even the server has a newer nvidia driver than that on my local system.

And to sum up my question:

  1. What's the difference behind those ways for starting carla without display?
  2. With nvidia driver properly installed on remote server, can I directly use the docker image named carlasim/carla to start a carla server? Or I should follow the instruction in https://carla.readthedocs.io/en/latest/carla_headless/ and install those tools into the docker image? Or something else? But nvidia-xconfig seems not to be supported
  3. In what circumstances should I install OpenGL, VirtualGL(VGL), TurboVNC 2.11 mamually? Maybe quite the same as the first one.
@fangchuan
Copy link

hi buddy, have you solved this issue? i occurred the same problems, i also have a remote server equipped with a GPU, but i always got signal 11 or 6 error when i launch the CarlaUE4.sh (version==0.8.2). In addition, my remote server had install the OpenGL 3.0, but it seemed the UE4.18 needs OpenGL4.3 at least.

@stale
Copy link

stale bot commented Apr 21, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue has not had recent activity label Apr 21, 2019
@stale stale bot closed this as completed Apr 28, 2019
@DongChen06
Copy link

Hello all, any update on this problem? I am also confused with the same problems proposed by tanglrHello.

@qhaas
Copy link
Contributor

qhaas commented Jul 1, 2019

Same here, @Derekabc , the documentation could use some updates/clarification. I'm using approach 2 with CARLA 0.9.5's Docker container. I'm not trying to x-forward the server's display, instead I'm relying on data being dumped to the filesystem via the PythonAPI client. Seems to work, but some of the messages I'm seeing in the logs make me uneasy (will likely create a separate ticket).

@kimown
Copy link

kimown commented Aug 11, 2020

Same here, @Derekabc , the documentation could use some updates/clarification. I'm using approach 2 with CARLA 0.9.5's Docker container. I'm not trying to x-forward the server's display, instead I'm relying on data being dumped to the filesystem via the PythonAPI client. Seems to work, but some of the messages I'm seeing in the logs make me uneasy (will likely create a separate ticket).

I have same problem, do you use xorg to start DISPLAY in docker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue has not had recent activity
Projects
None yet
Development

No branches or pull requests

5 participants