> 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
31–40 of 548 posts
Re: DirectX is coming to the Windows Subsystem for Linux
#32Re: DirectX is coming to the Windows Subsystem for Linux
#33This is the kind of driver that you get when you ignore all existing Linux code, then try to throw 15k LOC over the wall when its all done. Microsoft should really know better: this is not how you get your code upstreamed .
Re: DirectX is coming to the Windows Subsystem for Linux
#34I remember when DirectX was a huge obstacle to porting games to Linux. This feels like a great, great victory for Linux to me!
You won't be able to take this dxgkrnl driver and load it into a Linux workstation and get DirectX.
And also, someone else responded to you what's the point of running Linux if Windows can do everything Linux can.
I would assume that most full time Linux users are using it out of at least a tiny bit of ideological motivation. And if not ideological then habitual, having had the power and granular transparency of Linux for so many years that Windows would never be an alternative.
Re: DirectX is coming to the Windows Subsystem for Linux
#35I remember when DirectX was a huge obstacle to porting games to Linux. This feels like a great, great victory for Linux to me!
Why?
This is not DirectX on the Linux desktop, it is DirectX for WSL. This means that code written for this will NOT function on desktop Linux.
Additionally, support for DirectX for WSL is support not spent on Vulkan and OpenGL.
Re: DirectX is coming to the Windows Subsystem for Linux
#36Is it really "DirectX on Linux," or more like "DirectX on Windows Subsystem for Linux?" Is it going to be useful for Linux in general, outside WSL?
Re: DirectX is coming to the Windows Subsystem for Linux
#37This is the kind of driver that you get when you ignore all existing Linux code, then try to throw 15k LOC over the wall when its all done. Microsoft should really know better: this is not how you get your code upstreamed .
Re: DirectX is coming to the Windows Subsystem for Linux
#38Earlier quoted context omitted.
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.
someone could implement it natively in Linux 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
#39> 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…
Yes, machine learning is the first priority as they say in the thread. However, the blog post goes on to say that window system integration is coming. This will eventually be a full graphics stack. > Anyway, this isn't really a Linux port of DirectX The entire user mode side of Direct3D is ported, in addition to the user mode parts of the Nvidia, AMD, and Intel graphics drivers.
Re: DirectX is coming to the Windows Subsystem for Linux
#40Hopefully, this will enable Windows users will be able to run docker containers that use GPUs the way Linux users have been able to for years now with nvidia’s container toolkit[1]. [1]: https://github.com/NVIDIA/nvidia-docker
[1] https://devblogs.microsoft.com/directx/directx-heart-linux/