Microsoft has released a new DirectX kernel driver for Linux on Kernel.org. The updated driver reflects feedback from Microsoft’s first attempt to bring the technology to the open source operating system.
Specifically, the driver has been rewritten from scratch and organized into logical layers to help open source reviewers better understand how the driver is built, DirectX driver code has been moved to the Hyper-V area of the Linux kernel, and the driver now fully supports virtualized graphics hardware. There is now also a fully open source userspace for the OpenCL, OpenVINO, and OneAPI family of compute APIs on Intel GPU platforms, allowing developers to write GPU compute code that can run on both Linux and Windows.
Microsoft Principal Software Engineer Yuri Tarasov writes:
A lot of effort has gone into responding to community feedback in this revised set of fixes and we hope it comes close to what the community
would like to see.
Between the Intel compute runtime project and libdxg, we now have a fully open source implementation of our virtualized compute stack inside WSL. We will continue to support both the open-source userspace API against our compute abstraction as well as the closed-source one (CUDA, DX12), leaving it up to API owners and partners to decide what suits them best.
Microsoft has also updated WSL in the Microsoft Store to the bundled version 0.51.0, which now includes Microsoft Store kernel version 220.127.116.11. The update improves kernel configuration and enables some previously missing options for ARM64. See the full changelog on GitHub here.