4 ms·
Vulkan has always supported headless mode, everything related to graphics and presentation is optional. It has a way to go before its compute model is as power
by jsheard 3y ago
Vulkan has always supported headless mode, everything related to graphics and presentation is optional.
It has a way to go before its compute model is as powerful and easy to use as CUDA is though.
- zozbot234 3y agoThere are various efforts to compile OpenCL and SYCL to Vulkan, the Mesa folks are working on this as part of the RustiCL project. But full capability will require some extensions beyond what plain Vulkan provides.
- moffkalast 3y agoWait, really? How does one set that up without just getting llvmpipe? I've turned over half the internet and I could never get it to work without installing some kind of window system.
- jsheard 3y agoI'm just speaking from the perspective of the spec, which defines surfaces and swapchains as extensions that are never guaranteed to be available, so a compliant driver may work in the absense of any kind of GUI by just reporting those extensions as not supported. Whether your Vulkan driver actually supports running in a headless context is another question though, and of course the Vulkan software you're trying to run has to gracefully handle the case where surface/swapchain aren't available.