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 an open source operating system.
Specifically, the driver has been rewritten from the ground up and organized into logical layers to help open source reviewers better understand how the driver is built. The DirectX driver code has been moved to the Linux kernel's Hyper -V region, the driver now fully supports virtualized graphics hardware. The OpenCL, OpenVINO and OneAPI compute family APIs on Intel GPU platforms now also have a fully open source user space, allowing developers to write GPU compute code that runs on Linux and Windows.
Microsoft principal software engineer Iouri Tarassov wrote:
In this revised set of patches, we have put in the effort to address community feedback. A lot of hard work and we hope this gets closer to what the community
wants to see.Between the Intel Compute Runtime Project and libdxg, we now have a fully open source implementation of our virtualized compute stack in WSL. We will continue to support open source user space APIs for our compute abstractions as well as closed source APIs (CUDA, DX12), letting API owners and partners decide what makes the most sense for them.
Microsoft has also updated WSL in the Microsoft Store to the available version 0.51.0, which now includes kernel version 5.10.81.1 from the Microsoft Store. This update improves kernel configuration and enables some previously missing ARM64 options. View the full changelog on GitHub here.
The above is the detailed content of Microsoft port DirectX to Linux (again), updates WSL kernel. For more information, please follow other related articles on the PHP Chinese website!