-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Setup
Describe the setup you are using to run CARLA along with its version:
- CARLA version: ue5-dev (with some minor fixes in the build to download boost and provide the isoc23 symbols)
- Platform: Kubuntu 24.04
- Python version: 3.9
- GPU: GeForce 4070 Ti
- GPU Drivers: 570.133.20
Describe the bug
I can run the (self build) editor. I can run the maintainer's Carla package from the website (https://tiny.carla.org/carla-0-10-0-linux-tar). But when I try to run my own build package, it doesn't run. Sometimes complaining in a popup about Vulkan, sometimes not. But the self-build package never runs.
Steps to reproduce
cmake -G Ninja -S . -B Build/Debug --toolchain=$PWD/CMake/Toolchain.cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_ROS2=ON
cmake --build Build/Debug
cmake --build Build/Debug --target carla-python-api-install # Not sure if this is required
cmake --build Build/Debug --target launch # Not sure if this is required
cmake --build Build/Debug --target package
cd Build/Debug/Package/Carla-0.10.0-Linux-Development/Linux/
./CarlaUnreal.sh
Expected behavior
Carla should open a window.
Logs
[2025.07.08-09.37.45:534][ 0]LogVulkanRHI: Display: Found VULKAN_SDK=/opt/vulkan-sdk/x86_64
[2025.07.08-09.37.45:534][ 0]LogVulkanRHI: Display: Registering provided Vulkan validation layers
[2025.07.08-09.37.45:534][ 0]LogVulkanRHI: Display: Updated VK_ADD_LAYER_PATH=../../../Engine/Binaries/ThirdParty/Vulkan/Linux
[2025.07.08-09.37.45:534][ 0]LogVulkanRHI: Display: Updated LD_LIBRARY_PATH=/opt/vulkan-sdk/x86_64/lib::../../../Engine/Binaries/ThirdParty/Vulkan/Linux
[2025.07.08-09.37.45:536][ 0]LogInit: Using SDL_WINDOW_VULKAN
[2025.07.08-09.37.45:536][ 0]LogVulkanRHI: Display: Vulkan RHI ShaderPlatform for SM6: VULKAN_SM6.
[2025.07.08-09.37.45:536][ 0]LogVulkanRHI: Vulkan PSO Precaching = 1, PipelineFileCache = 0
[2025.07.08-09.37.45:536][ 0]LogVulkanRHI: Display: Built with Vulkan header version 1.3.290
[2025.07.08-09.37.45:536][ 0]LogVulkanRHI: Starting Vulkan Profile check for VP_UE_Vulkan_SM6_RT:
[2025.07.08-09.37.45:538][ 0]LogVulkanRHI: Error: vpCreateInstance(&ProfileInstanceCreateInfo, VULKAN_CPU_ALLOCATOR, &TempInstance) failed, VkResult=-9
at ./Runtime/VulkanRHI/Private/VulkanRHI.cpp:323
with error VK_ERROR_INCOMPATIBLE_DRIVER
[2025.07.08-09.37.45:538][ 0]LogCore: FUnixPlatformMisc::RequestExit(1, VerifyVulkanResult)
Scripts
Add any scripts relevant for the reproducibility of the error.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I tried with and without manually installing the Vulkan SDK.
I sometimes get popups at launch, but if they appear and what the message is, seems quite random.
Cannot find a compatible Vulkan Driver (ICD)
Please look at the Getting Started Guide for additional information.
Vulkan failed to select physical device after passing profile checks.
Unable to create a Vulkan window - make sure an up-to-date libvulkan.so.1 is installed