Repository: carla-simulator/carla

Issue #5743: Carla exits on startup
Created: 2022-09-09T09:55:37Z
Error Description
I'm trying to run Carla on our GPU server. I've downloaded the pre-built binary version given in the release file, and executed as below:
./CarlaUE4.sh -RenderOffScreen       // 0.9.12+

// DISPLAY= ./CarlaUE4.sh -opengl for 0.9.11 or lower
The output can be seen below:

As you can see, no error reported, but Carla simply exits. I've followed the Docker-version instruction, same thing happened.
Platform
Carla version: 0.9.10-0.9.13
OS: Ubuntu 18.04 (display-less server)
GPU: RTX 2080ti
Memory: 256GB
Compile from source
I've also tried to compile from source. After compiling the UE4 engine, I tried to start it, and it gives message as such:

This is no big deal, since I don't have any display. So I add -RenderOffScreen, and it crash too:

From the message, I suspect that's something wrong with the GPU driver, but updating the driver to latest version didn't make any difference. Did anyone meet the same problem? How to solve this other than port to Windows.

Duplicate issue #6101: CarlaUE4.sh crash without logs in docker
Created: 2023-01-10T11:45:02Z
CARLA version: 0.9.13
Platform/OS: Ubuntu 18.04
Problem you have experienced: CarlaUE4.sh crash without logs
What you expected to happen: Find CarlaUE4 logs to debug the reason
Steps to reproduce:
I'm trying to run Carla in a customized docker image with off-render mode, the required dependencies are already installed, but the CarlaUE4.sh crashs without logs, so I don't have any clue about the reason.
> ./CarlaUE4.sh -RenderOffScreen
4.26.2-0+++UE4+Release-4.26 522 0
Disabling core dumps.
> nvidia-smi
Tue Jan 10 11:49:01 2023       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.43.04    Driver Version: 515.43.04    CUDA Version: 11.7     |
|-------------------------------+----------------------+----------------------+
| 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 ...  On   | 00000000:01:00.0  On |                  N/A |
| N/A   44C    P8     7W /  N/A |    812MiB /  6144MiB |     12%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+

Also tried methods in #3834, doesn't work.

Closing comment (2025-03-03T09:24:15Z): This might be related to:
#5743