Is VkDisplayKHR supposed to work for window-system-less usage?

I’ve been experimenting with VkDisplayKHR and using it to get an application rendering without a window system - running on a linux console.

I’ve got my code working on Intel hardware, but on nvidia it fails to create the swapchain. I’ve tried the vkcube example ( and that works on Intel too, but segfaults in GetSwapchainImagesKHR on nvidia.

Is this even expected to work? I have a suspicion VkDisplayKHR was only implemented to support display stealing for VR with a window system already running. Is that true? Otherwise, is there some example showing successful standalone usage?


Vulkan can render/compute/trace rays completely out of WSI. Examples from that names conatin “headless” are probably what you want.