I am also facing problems with Linux+Vulkan and offscreen rendering. I am trying my packaged binaries in a docker container, and while they work with -opengl4, the default Vulkan mode does not run at all, even if the DISPLAY argument is set to enable GUI. The errors I am getting are:
[2020.03.23-00.01.47:970] 0]LogVulkanRHI: Error: VulkanRHI::vkGetPhysicalDeviceSurfaceFormatsKHR(Device.GetPhysicalHandle(), Surface, &NumFormats, nullptr) failed,
VkResult=-3 at /media/UE/Engine/Source/Runtime/VulkanRHI/Private/VulkanSwapChain.cpp:152 with error VK_ERROR_INITIALIZATION_FAILED
Fatal error: [File:/media/UE/Engine/Source/Runtime/VulkanRHI/Private/VulkanUtil.cpp] [Line: 772] VulkanRHI::vkGetPhysicalDeviceSurfaceFormatsKHR(Device.GetPhysicalHandle(), Surface, &NumFormats, nullptr) failed,
VkResult=-3 at /media/UE/Engine/Source/Runtime/VulkanRHI/Private/VulkanSwapChain.cpp:152 with error VK_ERROR_INITIALIZATION_FAILED [2020.03.23-00.01.47:976] 0]LogCore: Error: appError called: Fatal error: [File:/media/UE/Engine/Source/Runtime/VulkanRHI/Private/VulkanUtil.cpp] [Line: 772]
VulkanRHI::vkGetPhysicalDeviceSurfaceFormatsKHR(Device.GetPhysicalHandle(), Surface, &NumFormats, nullptr) failed, VkResult=-3 at /media/UE/Engine/Source/Runtime/VulkanRHI/Private/VulkanSwapChain.cpp:152 with error VK_ERROR_INITIALIZATION_FAILED
0x00000000043ef89f AirSimNH!UnknownFunction(0x41ef89e)
0x000000000441f563 AirSimNH!UnknownFunction(0x421f562)
0x000000000441f38a AirSimNH!UnknownFunction(0x421f389)
0x0000000004424618 AirSimNH!UnknownFunction(0x4224617)
0x000000000485f4e1 AirSimNH!UnknownFunction(0x465f4e0)
0x0000000003387e6d AirSimNH!UnknownFunction(0x3187e6c)
0x00000000050e114f AirSimNH!UnknownFunction(0x4ee114e)
0x0000000004c12039 AirSimNH!UnknownFunction(0x4a12038)
0x00000000026e68d5 AirSimNH!UnknownFunction(0x24e68d4)
0x00000000026dcf6a AirSimNH!UnknownFunction(0x24dcf69)
0x0000000005f834dd AirSimNH!UnknownFunction(0x5d834dc)
0x00007f62a98fcb97 libc.so.6!__libc_start_main(+0xe6)
0x00000000026d0029 AirSimNH!UnknownFunction(0x24d0028)
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119
Malloc Size=99968 LargeMemoryPoolOffset=231104
[2020.03.23-00.01.48:004] 0]LogCore: === Critical error: === Unhandled Exception: SIGSEGV: invalid attempt to write memory at address 0x0000000000000003
2020.03.23-00.01.48:004] 0]LogCore: Fatal error: [File:/media/UE/Engine/Source/Runtime/VulkanRHI/Private/VulkanUtil.cpp] [Line: 772] VulkanRHI::vkGetPhysicalDeviceSurfaceFormatsKHR(Device.GetPhysicalHandle(), Surface, &NumFormats, nullptr) failed, VkResult=-3 at /media/UE/Engine/Source/Runtime/VulkanRHI/Private/VulkanSwapChain.cpp:152 with error VK_ERROR_INITIALIZATION_FAILED