Vulkan context without X11

I am trying to get a vulkan context without running X11.

It works really well with egl and I am unable to do something similar for Vulkan

MartijnBerger,

Do you mean your app with egl+vulkan works well and you would like to know if there is a non-X11 case for vulkan?

egl + opengl works well when no Xserver / X11 is running.

The vulkan implementation seems to require a DISPLAY variable and Xserver. is that correct ?
Which is also what the icd seems to say:

cat /etc/vulkan/icd.d/nvidia_icd.json
{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "libGLX_nvidia.so.0",
        "api_version" : "1.0.61"
    }
}

MartijnBerger,

Even egl + openGL also needs Xserver if you need to render to display.

Currently, only DRM-KMS is able to be used for rendering under non-X scenario.