Windows 10's Linux subsystem gets GPU compute and easier install in new preview

Something for newcomers and developers alike

Credit: Microsoft / Linux

Microsoft has released improvements to its Windows Subsystem for Linux 2 (WSL) in a Windows 10 preview build, with features benefiting newcomers and developers alike.

As part of the update, WSL2 can now perform GPU compute functions, including using Nvidia’s CUDA technology. The new additions deliver on the promises Microsoft made at May’s Build 2020 conference, where the company also teased graphical user interface support for the Windows Subsystem for Linux. We’re still waiting on those capabilities.

WSL’s improvements are part of Windows 10 Build 20150, part of the Dev Channel of Insider builds. Formerly known as the Fast Ring, the Dev Channel is devoted to testing new features which aren’t necessarily tied to any upcoming Windows 10 feature release.

Simplifying the installation process

As the name suggests, the Windows Subsystem for Linux 2 allows users to run a Linux kernel from within Windows. WSL2 doesn’t perform quite as well as a full-fledged Linux distribution running natively on the hardware, but it’s close.

WSL2 isn’t natively integrated into Windows, either. It’s an optional feature that users can choose to enable using the “Turn Windows features on and off” Control Panel within Windows 10, which will then download the necessary files and ask to reboot the PC.

One of Build 20150’s new features tries to simplify that further. By typing wsl.exe install as a command, Windows will take care of all of the configuration. It’s not entirely clear whether that command can be run from the Command Line app, or if it requires the PowerShell interface.

According to a blog post authored by Windows program manager Craig Loewen, Microsoft plans to support automatic installation of a Linux distribution within WSL as well sometime in the future.

Similarly, users can type in wsl.exe update to update the Linux kernel, wsl.exe update status to check the status of the kernel, and wsl.exe update rollback to roll back the kernel to a previous version. According to Loewen, the Linux kernel updates will actually be managed by Windows Update and automatically download to your PC. The commands are there, however, to provide fine-grained control over the process, he wrote.

Credit: Microsoft

GPU compute support, too

For those of who want to dive a bit deeper into Linux, Microsoft has now implemented GPU compute support, which has been supported in hardware (and Linux) for close to a decade. It’s a new feature for WSL2, however—remember, WSL2 is moving closer to offering all of the capabilities that a native Linux installation does, but it’s not there yet.

”This preview will initially support artificial intelligence (AI) and machine learning (ML) workflows, enabling professionals and students alike to run ML training workloads across the breadth of GPUs in the Windows ecosystem,” the company said in a blog post.

Specifically, Microsoft has partnered with Nvidia an initial preview of Nvidia’s CUDA for WSL2, including machine-learning support for ML tools, libraries, and popular frameworks, including PyTorch and TensorFlow. Microsoft is also providing a preview package of TensorFlow with a DirectML backend.

AMD also released a new graphics driver preview unlocking DirectX 12 compatible GPU-acceleration within the WSL for a wide range of its Radeon hardware.

Join the newsletter!


Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags MicrosoftLinuxWindows 10

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.
Mark Hachman

Mark Hachman

PC World (US online)
Show Comments

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Tom Pope

Dynabook Portégé X30L-G

Ultimately this laptop has achieved everything I would hope for in a laptop for work, while fitting that into a form factor and weight that is remarkable.

Tom Sellers


This smart laptop was enjoyable to use and great to work on – creating content was super simple.

Lolita Wang


It really doesn’t get more “gaming laptop” than this.

Jack Jeffries


As the Maserati or BMW of laptops, it would fit perfectly in the hands of a professional needing firepower under the hood, sophistication and class on the surface, and gaming prowess (sports mode if you will) in between.

Taylor Carr


The MSI PS63 is an amazing laptop and I would definitely consider buying one in the future.

Christopher Low

Brother RJ-4230B

This small mobile printer is exactly what I need for invoicing and other jobs such as sending fellow tradesman details or step-by-step instructions that I can easily print off from my phone or the Web.

Featured Content

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?