microsoft / microsoft/WSL

dxgkrnl under GPU-P (nested virtualization)

Open
#10,357 1 comment 0 reactions 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.**
We are running a Frakenstein WSL2 setup, that we are using Nested Virtualization to run WSL2 inside of a Windows 11 VM, which was attached a RTX 4070 Ti with GPU-P. It seems like GPU was not available inside the nested WSL2 VM because nvidia-smi doesn't work. However, the right drivers are copied from the Windows VM into the VM.

**Describe the solution you'd like**
Let us use WSL under GPUP

**Describe alternatives you've considered**
We considered to expose the Docker Desktop instance on host machine and let our engineer to connect to the remote Docker host machine using TCP socket, but this would come at a performance cost.

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 files, tests, or entry points. Start by reproducing WSL2 inside nested virtualization with GPU-P and checking why nvidia-smi cannot access the GPU; done means the GPU is available inside the nested WSL2 environment.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.