The Year of the linux desktop has come
Actually, the year of Linux on the desktop will never come also thanks to this. Developers will find more comfortable writing Linux software on Windows (some already do); desktop users will have both worlds at hand without being forced to dual boot; Linux gamers won't have any reasons to keep using native Linux. Etc. I foresee in a not so distant future Microsoft integrating Windows UI elements and events hooks right…
DirectX is coming to the Windows Subsystem for Linux
121–130 of 548 posts
Re: DirectX is coming to the Windows Subsystem for Linux
#122Earlier quoted context omitted.
Yup, from one of the MS staff replies further in the thread[1] > There is a single usecase for this: WSL2 developer who wants to run machine learning on his GPU. The developer is working on his laptop, which is running Windows and that laptop has a single GPU that Windows is using. Can't say I can get behind MS trying to shift maintenance for a Windows only "feature" onto the Linux devs here. 1. https://lkml.org/lkml…
Is there a possibility Linux upstream won't accept it?
I doubt the linux devs ever see WLS as a target they have to maintain themselves.
Re: DirectX is coming to the Windows Subsystem for Linux
#123Earlier quoted context omitted.
Thank you. In the meantime I also noticed the following comment from Dave Airlie on LKML [1]: > This is a driver that connects a binary blob interface in the Windows kernel drivers to a binary blob that you run inside a Linux guest. It's a binary transport between two binary pieces. [...] I can see why it might be nice to have this upstream, but I don't forsee any other Linux distributor ever enabling it or having to…
He's pretty against it on a number of fronts. That being said I don't see why distros like Ubuntu that allow non free code wouldn't ship with it out of the box. They already support Nvidia binary drivers anyway, so why wouldn't they support a transport bridge that'd let people use them on WSL too? Also, he notices that it's intended to be more than a bridge in the future, as they're already working on integrating it…
Microsoft can ship it however they please though within bounds of licenses.
Re: DirectX is coming to the Windows Subsystem for Linux
#124Re: DirectX is coming to the Windows Subsystem for Linux
#125The 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
#126> 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…
The associated blog post ( https://devblogs.microsoft.com/directx/directx-heart-linux/ ) does have more details on exposing display functionality. There is no swapchain functionality yet, but it's clear they're working on it, and part of the work is "DxCore", which seems to be a cleaned up and simplified version of DXGI. So not now, but soon.
Re: DirectX is coming to the Windows Subsystem for Linux
#127I found this reply to be especially interesting: https://lkml.org/lkml/2020/5/19/1309 > I also have another concern from a legal standpoint I'd rather not review the ioctl part of this. I'd probably request other DRI developers abstain as well. > This is a Windows kernel API being smashed into a Linux driver. I don't want to be tainted by knowledge of an API that I've no idea of the legal status of derived works. (it…
Re: DirectX is coming to the Windows Subsystem for Linux
#128The title is misleading. This isn't DirectX on Linux. This is DirectX API access for WSL exclusively. It will lock ML projects into Windows/WSL for the price of access to the DirectX API and at the expense of development of other projects like Vulkan for native Linux.
Re: DirectX is coming to the Windows Subsystem for Linux
#129Is 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
#130This is probably a better article directly from Microsoft: https://devblogs.microsoft.com/directx/directx-heart-linux/ OpenCL, DirectX and CUDA all seem to be available for GPU acceleration on WSL. One other exciting thing is GPU accelerated GUI Linux apps on Windows. You may not need an X server anymore. I'm looking forward to using i3 on Windows.