microsoft / microsoft/WSL

Intel Arc iGPU not work in WSL2

Open
#12,634 19 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

### Windows Version

Microsoft Windows [Version 10.0.22631.4890]

### WSL Version

2.4.8.0

### Are you using WSL 1 or WSL 2?

- [x] WSL 2
- [ ] WSL 1

### Kernel Version

5.15.167.4-1

### Distro Version

Ubuntu 24.04

### Other Software

mesa-utils: 9.0.0-2
mesa-vulkan-drivers: 24.2.8-1ubuntu1~24.04.1
WDDM driver: 3.1

### Repro Steps

a laptop with intel ultra gpu (like ultra 7 155H), install and run `glxgears` in wsl2.

### Expected Behavior

![Image](https://github.com/user-attachments/assets/ec279392-0d24-47d4-8b89-268c65d523d1)

### Actual Behavior

![Image](https://github.com/user-attachments/assets/f0e743e1-2e72-4adb-9c16-62c912480a27)

### Diagnostic Logs

more info:
```
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Microsoft Corporation (0xffffffff)
Device: D3D12 (Intel(R) Arc(TM) Graphics) (0xffffffff)
Version: 24.2.8
Accelerated: yes
Video memory: 18490MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: Microsoft Corporation
OpenGL renderer string: D3D12 (Intel(R) Arc(TM) Graphics)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.2.8-1ubuntu1~24.04.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.2.8-1ubuntu1~24.04.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 24.2.8-1ubuntu1~24.04.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
```

is there a method to diagnose or locate the issue?

some posts may be related:
- [Configure WSL 2 for GPU Workflows](https://www.intel.com/content/www/us/en/docs/oneapi/installation-guide-linux/2023-0/configure-wsl-2-for-gpu-workflows.html): **not work**
- [Intel integrated arc igpu in Core Ultra 7 not working properly with WLS2](https://community.intel.com/t5/Graphics/Intel-integrated-arc-igpu-in-Core-Ultra-7-not-working-properly/m-p/1578596)

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

Start by reproducing the report with glxgears in WSL 2 on Ubuntu 24.04 and reviewing the supplied Mesa/OpenGL diagnostic output. Compare the result with Intel's Configure WSL 2 for GPU Workflows guidance and the linked Intel discussion; done means identifying a documented root cause or a reproducible diagnosis for the Intel Arc iGPU behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu
Domain
computer-graphics, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.