microsoft / microsoft/WSL

Cannot use GPU support in virtualized Windows 11 21H2 (22000.556)

Open
#8,179 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

Is your feature request related to a problem? Please describe.
I am not able to use my Nvidia GPU inside WSL2 in a nested virtualization scenario (WSL2 is running inside a Windows 11 Virtual Machine). The GPU works fine on both the Host and the Virtual Machine (via GPU partitioning)

Describe the solution you'd like
I would like to be able to use the GPU inside WSL2

Describe alternatives you've considered
I can run WSL2 directly on the host I guess

Additional context
Host: Windows 11 Pro
Virtual Machine: Windows 11 Pro
GPU: Nvidia RTX 3090 with latest drivers (511.79)
Kernel: 5.10.60.1-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files, tests, or entry points. Start by investigating how WSL2 exposes GPU support and how nested virtualization is handled in the stated Windows 11 and GPU-partitioning setup. Done would mean documented or implemented Nvidia GPU access from WSL2 in that scenario, with a reproducible validation path.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.