carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.34k stars 3.68k forks source link

make launch return error - cannot find a compatible Vulkan driver #1977

Closed Siqi-Wang47 closed 5 years ago

Siqi-Wang47 commented 5 years ago

I am the new to carla simulator. I have followed the document to install carla on Ubuntu 18.04. When I run 'make launch', it occurred an error like 'cannot find a compatible Vulkan dirver '. I tried to run './UE4Editor -opengl4' under the folder ~/Engine/Binaries/Linux, but it still doesn't work. Anyone knows how to solve this issue? I really appreciate your help. Screenshot from 2019-08-06 19-17-39

qingmingjie commented 5 years ago

You can modify the file yourself. PixelReader.cpp(No need to change it at present) and BuildCarlaUE4.sh(Delete Vulkan-related, if it doesn't work, delete opengl-related). No thanks.

asharalam11 commented 5 years ago

You can always install Vulcan from http://linuxconfig.org/install-and-test-vulkan-on-linux

Siqi-Wang47 commented 5 years ago

@qingmingjie @asharalam11 Thank you guys! I have solved it.

cassfalg commented 5 years ago

@Siqi-Wang47: If the issue is resolved, please use the comment and close function to close this issue.

jgollenz commented 5 years ago

@Siqi-Wang47 How did you resolve it exactly? I have the same issue.

ankurjainjob commented 5 years ago

how did you solve this issue , i am getting this issue on vmware

jgollenz commented 5 years ago

@ankurjainjob I resolved this by checking if I had the newest driver installed for my gpu. By default there was some generic driver, so I downloaded and installed the current nVidia driver. It worked fine afterwards (you need to restart then and check if the driver did actually update)

ankurjainjob commented 5 years ago

Thanks, but did you worked on VMware, sir I am working on VMware.

jgollenz commented 5 years ago

@ankurjainjob No, I didn't. Actually, I was just trying to get UE4 running. I do not use carla, if that is relevant for you

cassfalg commented 5 years ago

If you want this to run in a virtual machine you need to ensure that you have proper 3D acceleration with according drivers. I don't know what the current state of affairs is for that, you need to investigate. A heavy 3D application like carla is not the ideal candidate for a vm though. Best open your own issue, also.

ibster123 commented 4 years ago

Heres A way I found in order to avoid this issue and work with the Unreal Editor without messing around with graphic drivers. In this way the Vulkan requirement is skipped and the editor can start properly. Using the terminal reach the linux binaries folder( cd /UnrealEngine/Engine/Binaries/Linux ) and then use this code in order to launch the editor under ( Opengl4 ./UE4Editor -opengl4 ) or ( cd UnrealEngine/Engine/Binaries/Linux ) then type ( UE4Editor ). It should work, if it doesnt go to this site to install the vulkan driver https://linuxconfig.org/install-and-test-vulkan-on-linux

ibster123 commented 4 years ago

I am the new to carla simulator. I have followed the document to install carla on Ubuntu 18.04. When I run 'make launch', it occurred an error like 'cannot find a compatible Vulkan dirver '. I tried to run './UE4Editor -opengl4' under the folder ~/Engine/Binaries/Linux, but it still doesn't work. Anyone knows how to solve this issue? I really appreciate your help. Screenshot from 2019-08-06 19-17-39

Heres A way I found in order to avoid this issue and work with the Unreal Editor without messing around with graphic drivers. In this way the Vulkan requirement is skipped and the editor can start properly. Using the terminal reach the linux binaries folder( cd /UnrealEngine/Engine/Binaries/Linux ) and then use this code in order to launch the editor under ( Opengl4 ./UE4Editor -opengl4 ) or ( cd UnrealEngine/Engine/Binaries/Linux ) then type ( UE4Editor ). It should work, if it doesnt go to this site https://linuxconfig.org/install-and-test-vulkan-on-linux

qitong-wei commented 3 years ago

if you have Intel HD Graphic Card,try this method $ sudo apt-get install libvulkan1 libvulkan1:i386 mesa-vulkan-drivers mesa-vulkan-drivers:i386

cristinayinfa commented 3 years ago

I have the same issue, I have installed Vulkan, but that did not fix it. I am also working in VM ware with installing carla

ozanpali commented 3 years ago

if you have installed "nvidia x server settings" at ubuntu, launch and select "NVIDIA (Performance Mode)" or NVIDIA on-demand instead of Intel(Power Saving Mode) and reboot.

gurkansahin28 commented 3 years ago

On Mint Mesa-Vulkan-Drivers can solve it. https://mesa3d.org/

likeafishinthesea commented 2 years ago

I have the same problem and none of these solutions worked for me. I have a Debian with VGA controller: intel corporate device 591b and install a Vulkan driver but I got the same error again. Could you please someone tell me what else I can do?