WSL 2 will be able to run graphic applications
|
Microsoft’s build 2020 brought several new features for WSL 2 (Windows subsystem Linux) among them is the upcoming support for DX12 acceleration, NVIDIA CUDA, OpenGL and OpenCL in the Windows subsystem for Linux, this means that we will be able to run Gnu/Linux graphics applications on Windows 10.
Microsoft has developed a Direct X driver for the Linux kernel that it says allows «…applications running within the Linux environment [to] have the same GPU access as native Windows applications.
Microsoft will use a new Linux kernel driver, dxgkrnl, whose code can be found in GitHub in the WSL branch of the Linux kernel. Here is a exṕlicacion from the blog article (DirectX ❤ Linux).

Dxgkrnl is a brand-new kernel driver for Linux that exposes the /dev/dxg device to user mode Linux. /dev/dxg exposes a set of IOCTL that closely mimic the native WDDM D3DKMT kernel service layer on Windows. Dxgkrnl inside the Linux kernel connects over the VM Bus to its big brother on the Windows host and uses this VM bus connection to communicate with the physical GPU.
21 May 2020 Now You Can Run Linux Apps in Windows (Thanks to WSL)
20 May 2020 Windows 10 is Getting Support for GUI Linux Apps