Share via

Version 21354, gpu compute not available within WSL2?

Anonymous
2021-04-08T14:21:41+00:00

I've been using GPU compute in the last several builds (except for version 21327 which I actually coincidentally skipped, where the was a known issue that the GPU would be unreachable). However, after updating yesterday, I've been getting the below error:

$nvidia-smi

Failed to initialize NVML: GPU access blocked by the operating system

Failed to properly shut down NVML: GPU access blocked by the operating system

Do I need to update my driver or is this a bug? 

I was unsure if this is what was referred to in the last bullet point of the known issues on the blog

Announcing Windows 10 Insider Preview Build 21354 | Windows Insider Blog

"Accessing the virtual GPU is broken for Windows and Linux guests, adding a vGPU to a VM will have no effect and the VM will continue running with software rendering."

Windows Insider program | Windows Insider preview | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2021-04-14T22:55:48+00:00

This is supposedly fixed in the new 21359.1 update which is now available for me.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

Answer accepted by question author

Anonymous
2021-04-08T15:23:03+00:00

I've been using GPU compute in the last several builds (except for version 21327 which I actually coincidentally skipped, where the was a known issue that the GPU would be unreachable). However, after updating yesterday, I've been getting the below error:

$nvidia-smi

Failed to initialize NVML: GPU access blocked by the operating system

Failed to properly shut down NVML: GPU access blocked by the operating system

Do I need to update my driver or is this a bug? 

I was unsure if this is what was referred to in the last bullet point of the known issues on the blog

Announcing Windows 10 Insider Preview Build 21354 | Windows Insider Blog

"Accessing the virtual GPU is broken for Windows and Linux guests, adding a vGPU to a VM will have no effect and the VM will continue running with software rendering."

Please check the WSL GitHub repro for issues, and if it's not a known one, please add it.  Issues · microsoft/WSL (github.com)

-Eddie

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2021-04-08T17:03:21+00:00

    Was this answer helpful?

    0 comments No comments