Ubuntu 18 Cannot find compatible Vulkan driver (ICD)

I followed the instructions on Linux Game Development in Unreal Engine | Unreal Engine 5.1 Documentation

When I run Engine/Binaries/Linux/UE4Editor, I get the following error Cannot find compatible Vulkan driver (ICD).
I did however install Vulkan SDK.
I am using Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07).

[2019.02.24-14.32.13:061][  0]LogVulkanRHI: Display: - Found instance layer VK_LAYER_LUNARG_standard_validation
[2019.02.24-14.32.13:061][  0]LogVulkanRHI: Display: - Found instance layer VK_LAYER_LUNARG_starter_layer
[2019.02.24-14.32.13:061][  0]LogVulkanRHI: Display: - Found instance layer VK_LAYER_LUNARG_vktrace
[2019.02.24-14.32.13:061][  0]LogVulkanRHI: Display: - Found instance extension VK_EXT_debug_report
[2019.02.24-14.32.13:061][  0]LogVulkanRHI: Display: - Found instance extension VK_EXT_debug_utils
Unable to read VR Path Registry from /home/toni/.config/openvr/openvrpaths.vrpath
[2019.02.24-14.32.13:072][  0]LogHMD: Failed to initialize OpenVR with code 110
[2019.02.24-14.32.13:074][  0]LogVulkanRHI: Display: Not using instance layers
[2019.02.24-14.32.13:074][  0]LogVulkanRHI: Display: Not using instance extensions

Try running UE4Editor with the -opengl4 switch. I had the same problem and that worked for me.

How do you do that?

Go in your build folder (ex Build/Linux) and run the command ./UE4Editor -opengl4.
That worked for me too!

You might need to install the ‘mesa-vulkan-drivers’ package

1 Like

The (only) solution that worked for me was to install Steam.
It installed all the required drivers as it installed itself.
(and triggered the software update to install the latest Vulkan drivers)

Im a OpenSUSE user so Im not sure is my solution helps to Ubuntu but I solved it by installing package called “Mesa-vulkan-overlay”. It were containing libvulkan_intel libvulkan_lvp libvulkan_radeon Mesa-vulkan-overlay packages too. Now no more Vulkan error

For me in Ubuntu 18.04 worked
1 install the ‘mesa-vulkan-drivers’ package
2 Go in your build folder (ex Build/Linux) and run the command ./UE4Editor -opengl4
Compiled from sources by this manual

I fix it by the above steps
sudo apt-get install cmake git gcc g++ mesa-* libwayland-dev libxrandr-dev
sudo apt-get install libvulkan1 mesa-vulkan-drivers vulkan-utils libxcb-keysyms1-dev
sudo apt-get install libxcb1-dev libx11-dev
wget https://sdk.lunarg.com/sdk/download/1.2.162.1/linux/vulkansdk-linux-x86_64-1.2.162.1.tar.gz
mkdir vulkan
mv vulkansdk-linux-x86_64-1.2.162.1.tar.gz vulkan
cd vulkan
tar xf vulkansdk-linux-x86_64-1.2.162.1.tar.gz

下载github

cd 1.2.162.1/source/shaderc
python update_shaderc_sources.py

编译

cd 1.2.162.1
bash vulkansdk # 编译vulkan
source setup-env.sh # vulkan → 系统环境变量
./x86_64/bin/vulkaninfo

1 Like