Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Windows AMD Intel Linux

Windows 10 Linux Subsystem: You Get GPU Acceleration -- With Intel, AMD, Nvidia Drivers (zdnet.com) 56

Nvidia, Intel and AMD have announced their support for Microsoft's new effort to bring graphics processor support to the Windows 10 Windows Subsystem for Linux to enhance machine-learning training. From a report: GPU support for WSL arrived on Wednesday in the Dev Channel preview of Windows 10 build 20150 under Microsoft's reorganized testing structure, which lets it test Windows 10 builds that aren't tied to a specific future feature release. Microsoft announced upcoming GPU support for WSL a few weeks ago at Build 2020, along with support for running Linux GUI apps. The move on GPU access for WSL is intended to bring the performance of applications running in WSL2 up to par with those running on Windows. GPU compute support is the feature most requested by WSL users, according to Microsoft. The 20150 update includes support for Nvidia's CUDA parallel computing platform and GPUs, as well as GPUs from AMD and Intel. It also supports DirectML (Direct Machine Learning), Microsoft's Windows 10 API for hardware-accelerated machine learning.
This discussion has been archived. No new comments can be posted.

Windows 10 Linux Subsystem: You Get GPU Acceleration -- With Intel, AMD, Nvidia Drivers

Comments Filter:
  • How long have we been waiting for proper drivers for linux ? I wonder what incentive Microsoft gave them.
    • by q4Fry ( 1322209 ) on Monday June 22, 2020 @09:18AM (#60212424)

      I wonder what incentive Microsoft gave them.

      Users. *ducks*

    • by DrYak ( 748999 ) on Monday June 22, 2020 @09:53AM (#60212550) Homepage

      Note that, this is *not* proper GPU driver, and the bare metal graphic card *is not* being forwarded to the Hyper-V VM running the linux kernel.
      (i.e.: it is not like making a physical graphic card show up inside a VMware VM, or the USB forwarding used by VirtalBox).
      This would have had benefited the whole Linux world, including HPC users.

      This is the other way around.

      This is a special custom drivers (dxgkrnl) written by Microsoft which is used by the Linux kernel, and which communicates to the Windows kernel which then executes on top of the DirectML windows stack.
      (i.e.: the same class of idea as the VirGL driver inside VirtalBox that forward the OpenGL command stream to the host OS).
      This will only exclusively benefit Windows users, who run their Linux VMs ontop of a windows host with proper DirectX drivers.
      What. A. Suprise.

      1. Fuck you Microsoft. Go fuck yourself. The Linus Torvalds comment applies here too.
      2. As a single-use specific driver that needs to communicate with closed source blob (the DirectX installation running on the host Windows), it doesn't stand any more chance to get accepted into mainline than any other kernel shim driver used by other closed source stacks (same situation as Nvidia's shim).

      • Beat me to it. Mod up. This is NOTHING to do with running Linux GUI with native hw acceleration

      • Note that, this...

        Your post reminds me of an article I read nearly twenty years ago about how supposedly college-ready freshmen were peppering their essays with random commas because they knew they were supposed to be in there somewhere but hadn't a clue where...

        • Your post reminds me of an article I read nearly twenty years ago about how supposedly college-ready freshmen were peppering their essays with random commas because they knew they were supposed to be in there somewhere but hadn't a clue where...

          Or, you know, English might not be my first language.

      • it doesn't stand any more chance to get accepted into mainline

        It doesn't need to. A metric fuckton of stuff isn't accepted into the mainline kernel which is none the less used on a daily basis. In other news the WSL builds of Ubuntu, Suse, Kali, Fedora, Debian, and god knows what else, are not traditional Linux builds for normal hardware either. *SHOCK*.

        So no fucks for Microsoft. They don't owe the wider community anything. Their goal was to improve their product, this should come as absolutely no surprise to you.

        • It doesn't need to. A metric fuckton of stuff isn't accepted into the mainline kernel which is none the less used on a daily basis.

          The problem is that by Linux kernel version 5.12.0 "The horny octopus edition", Linus might change some sub-system which will completely break this driver (only mainlined drivers are guaranteed to get attention).
          And it won't be his fault either: if this driver uses only some obscure proprietary blob developed by Microsoft, the vast open-source community will not be able to test it and make sure it doesn't break: hence the strong requirement of having more than a single proprietary use case for mainlining (b

    • by Kjella ( 173770 )

      How long have we been waiting for proper drivers for linux ? I wonder what incentive Microsoft gave them.

      Just this? Probably didn't need that much, CUDA already exists for both Windows and Linux. It's made by Nvidia so they control the spec and don't need to take anyone's opinion on design or integration. All they needed to do is pass the same commands/data through to the Windows driver. Making complete drivers that actually take into account the kernel/windowing system differences between Linux and Windows will be much harder.

    • by ufgrat ( 6245202 )

      I haven't been waiting-- I've had great video drivers under Linux for years.

  • I've been running WSL for quite some time, but to get GUI stuff to work I've been using VCXSRV. Using something like VCXSRV seems to outside of WSL - I'm not sure if it can use the native Windows acceleration or not. Or did they add X to WSL while I wasn't looking.

    • Native support is being added. They announced it at Build. Iâ(TM)ve been using x410 for a while and itâ(TM)s been great for most things. Native support and acceleration should make things much better though.
    • by JBMcB ( 73720 )

      From what I understand, acceleration is the job of the server. If the server is a native windows app, wouldn't it take advantage of the native Windows drivers? X is so weird to me, though, I might be wrong. I seem to remember an X server for Macintosh that supported OpenGL acceleration back in the classic OS days. You could hook it up to a Linux box and run (very early) 3d accelerated games. At that time it mostly meant Quake 2.

  • by Anonymous Coward
    As they keep putting propietary APIs in their "Linux on Windows", NVIDIA only has to keep degrading the Linux propietary driver (something they excel at). I am quite sure this ends very badly for whatever remains for desktop Linux :(
    • by crazy blade ( 519548 ) on Monday June 22, 2020 @09:39AM (#60212504)

      Well, AMD is going in the opposite direction with fully OSS drivers so there's hope.

      Now if only "Big Navi" turns out to be competitive and heralds that "come-back" of AMD in GPUs (like Ryzen did for CPUs) then we'll at least have that...

      I'm already buying AMD-only (my last two purchases were an RX-480, RX-570) precisely to use my wallet and support the fully-OSS drivers. Also bought a Ryzen APU laptop for my son and will make buy I Ryzen laptop for myself next (hoping for the Surface Laptop 4).

      • Yeah, but here Microsoft is actually embracing something which will extinguish windows....haha, they think its the other way around....once people get a taste of linux and used to running it under windows, they'll ask themselves WTF am I doing running a secure system under a insecure one?
        And they will just install linux without windows....
        familiarity with linux will breed contempt for windows, in mass.

        • Microsoft is going all-in on Azure and Xbox, they've even made a few statements at conferences suggesting Windows 10 will be the last desktop OS they make, and are considering putting together a Linux distribution instead.
          • So going back to their origins when they were a reseller of XENIX, what they called a "universal operating system".
      • by gweihir ( 88907 )

        Same here. I will not touch Nvidia or Intel.

  • 2020 (Score:5, Funny)

    by tobiasly ( 524456 ) on Monday June 22, 2020 @09:38AM (#60212502) Homepage

    Very fitting addition to the dumpster fire that is 2020: the Year of the Linux Desktop was finally brought about by... Microsoft.

    • by ufgrat ( 6245202 )

      No, this isn't the year of the Linux Desktop. It's the year of the Linux application on the Windows desktop.

      All this crap runs as a user process tied to the user profile, so good luck trying to deploy multi-user apps to Windows desktops via WSL.

    • The year when the desktop is slowly becoming irrelevant, and Microsoft desktop division are worried

    • Very fitting addition to the dumpster fire that is 2020: the Year of the Linux Desktop was finally brought about by... Microsoft.

      More like "2020: the Death of Linux on the Desktop". Now the only way regular Joes and Janes are going to use Linux is through the stained-glass Window. Maybe not classic embrace and extinguish, but conquer and control. If you can't beat 'em, confine 'em.

  • by crazy blade ( 519548 ) on Monday June 22, 2020 @09:40AM (#60212508)

    One day, we'll be able to run a Windows 10 application under WINE under WSL under Windows 10 and we'll have finally come full-circle...

  • I'm on Windows 10 Pro, build 2004. It's not dev, it's main update channel. It breaks hardware accelerated video in Edge & Netflix on Intel Atom Cherry Trail. So I'm having a hard time getting excited about my WSL Debian getting reliable GPU acceleration any time soon, or even not soon.

  • by phantomfive ( 622387 ) on Monday June 22, 2020 @11:19AM (#60212976) Journal
    That's great, with hardware acceleration now I can finally play Starcarft under Wine.
  • Embrace
    Extend ---------- We are here
    Extinguish

    https://en.wikipedia.org/wiki/Halloween_documents

    • by amorsen ( 7485 )

      Sure sure, just like IBM did with the OS/2 for Windows release. A better Windows than Windows. Popped that Microsoft bubble right out of existence, and now they're a tiny company surviving on revenue from a flight simulator and a spreadsheet.

  • Doesn't this seem strange and what is the end-game goal with this?

    Is Linux THAT much of a market leading platform for ML that Microsoft can not move them directly to Windows API?

    Think about this, they put a kernel shim in Windows to let Linux native apps run under a Windows host to increase performance over pure VM solutions.
    Now they are creating a GPU shim specifically for ML access from the Linux pseudo VM so Linux based ML training can run on a Windows box.

    Are there THAT many ML developers booting Linux
    • by sfcat ( 872532 )

      Doesn't this seem strange and what is the end-game goal with this? Is Linux THAT much of a market leading platform for ML that Microsoft can not move them directly to Windows API?

      Yes. ML isn't done on the desktop too much and when it is its done by a dev on a Linux machine to test some cloud based ML framework on minikube. But the applied ML is all done in clusters of Linux machines. Windows is rarely even supported for most frameworks. The idea that Windows could even compete in that market is about as likely as them resuming Windows phone and somehow challenging Android and iPhone with it.

  • So, they are moving on the extend portion of their mantra?
  • Well if you asked... I would say I want windows running as a VM/Container on KVM so that I can run Linuix on the hardware. Then the average user would want the applicaitons to run in WINE so they can switch to a better platform and use WINE for those one or two Win32 apps they still need. WINE on Mac would be OK as well so the Mac Heads get windows apps wihout a windows license or a full VM just to run one APP and still have to patch and av update the windows VM!

    The only people who want Linux to run as a

    • Datacenters are high-volume, low-margin, and a race to the bottom for everyone.

      Microsoft is probably aiming for the lucrative ML market (along with Google). The GPU support isn't primarily for graphics; it's to make deep learning an Azure service they can sell at high margin to suits.

  • I guess we're at the "Extend" part now.
  • It's great to see Microsoft embrace and extend Linux like this! Can't wait to see what comes next!

  • Thanks, but I'm fine living without Windows polluting my Linux laptop, my Linux desktop, my Linux phone, my Linux TV...

There is no opinion so absurd that some philosopher will not express it. -- Marcus Tullius Cicero, "Ad familiares"

Working...