> This also enables third party APIs, such as the popular NVIDIA Cuda compute API, to be hardware accelerated within a WSL environment. Dollars to donuts this is why Microsoft is implementing this. GPU acceleration is becoming a critical feature for many users (but especially developers) and this will continue. If WSL is to be a serious competitor, this is necessary and I'm glad to see it showing up. This is true of…
Do ML people actually care about DirectX? I thought everyone is using CUDA? Anyway in my university building I have not seen anyone that does machine learning on Windows.
DirectX is coming to the Windows Subsystem for Linux
11–20 of 548 posts
Re: DirectX is coming to the Windows Subsystem for Linux
#12Re: DirectX is coming to the Windows Subsystem for Linux
#13> This also enables third party APIs, such as the popular NVIDIA Cuda compute API, to be hardware accelerated within a WSL environment. Dollars to donuts this is why Microsoft is implementing this. GPU acceleration is becoming a critical feature for many users (but especially developers) and this will continue. If WSL is to be a serious competitor, this is necessary and I'm glad to see it showing up. This is true of…
Do ML people actually care about DirectX? I thought everyone is using CUDA? Anyway in my university building I have not seen anyone that does machine learning on Windows.
And yet another piece is a layer to get OpenGL and OpenCL workloads running on DX12 as well, rather similar in scope to how MoltenVK and the gfx-hal Vulkan Portability work are a layer to get Vulkan workloads running on Metal. This is a big effort, and it seems to me their goal is to get things to the point where stuff Just Works and you don't have to think too hard about the various bits of (technically difficult!) infrastructure to get you there.
Re: DirectX is coming to the Windows Subsystem for Linux
#14...and extend. I'm sure this architecture was easier for MS but it opens the door to code that runs on WSL2 that doesn't run on regular Linux.
Re: DirectX is coming to the Windows Subsystem for Linux
#15Re: DirectX is coming to the Windows Subsystem for Linux
#16Re: DirectX is coming to the Windows Subsystem for Linux
#17...and extend. I'm sure this architecture was easier for MS but it opens the door to code that runs on WSL2 that doesn't run on regular Linux.
This patch adds WDDM (Windows Display Driver Model) as a Linux kernel API. The implementation just forwards to the Windows kernel, but it seems to me like someone could implement it natively in Linux. Then Windows user mode graphics drivers would work natively in Linux without WSL, and DX12 too.
This is exactly what we don't want. There's already plenty of effort wasted on GBM vs. EGLStream so introducing a third API would just lower quality even more.
Re: DirectX is coming to the Windows Subsystem for Linux
#18Not a fan but also not a graphics programmer.
Re: DirectX is coming to the Windows Subsystem for Linux
#19The linked blog post in TFA has a clearer title: "DirectX is coming to the Windows Subsystem for Linux"
Re: DirectX is coming to the Windows Subsystem for Linux
#20I remember when DirectX was a huge obstacle to porting games to Linux. This feels like a great, great victory for Linux to me!
[0] I use this word specifically because it's a martial art about using an opponent's strength against themselves. MS's use of Chrome as the basis for their new browser is another example of this.