WSL2 Update from 2.5.9 to 2.5.10 Broke GPU Hardware Acceleration on Surface Pro 11
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
### Windows Version
Microsoft Windows 11 Pro 24H2 OS Build 26100.4652
### WSL Version
2.5.10.0
### Are you using WSL 1 or WSL 2?
- [x] WSL 2
- [ ] WSL 1
### Kernel Version
6.6.87.2-1
### Distro Version
Ubuntu 24.04
### Other Software
Ubuntu mesa-utils version 9.0.0-2
### Repro Steps
Install mesa-utils, run command "glxinfo -B" in Ubuntu terminal window.
### Expected Behavior
Run "glxinfo -B" in Ubuntu terminal and lines starting "Device:" and "Accelerated:" should say, "D3D12 (Qualcomm(R) Adreno(TM) X1-85 GPU)" and "Yes" respectively.
### Actual Behavior
Run glxinfo -B in Ubuntu terminal and lines starting "Device:" and "Accelerated:" now says, "llvmpipe (LLVM 19.1.1, 128 bits) (0xffffffff)" and "No" respectively.
GPU hardware acceleration was working fine until I run a "WSL --update" command when WSL was updated from version 2.5.9.0 to version 2.5.10.0
Immediately after the WSL update, GPU hardware acceleration no longer worked.
As there is no longer any option to roll-back to a previous WSL release, I tried completely uninstalling and reinstalling, but the this also failed to resolve the issue, as WSL version 2.5.10.0 was now being installed by default.
In desperation, I completely wiped my Surface Pro 11 (model with Snapdragon X Elite processor and 32GB RAM) and downloaded installed the latest Surface Pro 11 image, identified via entering my Surface Pro's serial number on the Microsoft website, then completed windows and system updates to ensure I was running with latest OS and drivers, plus updated to Windows Pro 11, as per prior build when running WSL version 2.5.9.0, but even after installing a fresh build of WSL with Ubuntu 24.04, which now defaults to WSL 2.5.10.0, GPU hardware acceleration still does not work. I also noticed this new install of WSL / Ubuntu no longer reads my .cloud-init file "Ubuntu-24.04.user-data" as per previous WSL installs prior to 2.5.10.0 update, as "locale" was not changed from C to GB and Ubuntu Octave app was not installed automatically.
Is there any mechanism to roll-back WSL to version 2.5.9.0 and restore GPU hardware acceleration? I did try downloading the WSL 2.5.9.0 .msix package from the WSL GitHub site and manually installing. It did warn it would replace WSL 2.5.10.0 and confirmed successful completion after I pressed the prompt to proceed, but GPU hardware acceleration still did not work, and when I checked WSL --version in Windows terminal app, it was still reporting WSL 2.5.10.0 installed.
### Diagnostic Logs
mannk@SURFACEPRO11:~$ glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa (0xffffffff)
Device: llvmpipe (LLVM 19.1.1, 128 bits) (0xffffffff)
Version: 25.0.7
Accelerated: no
Video memory: 15744MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 4.5
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 63 MB, largest block: 63 MB
VBO free aux. memory - total: 15122 MB, largest block: 15122 MB
Texture free memory - total: 63 MB, largest block: 63 MB
Texture free aux. memory - total: 15122 MB, largest block: 15122 MB
Renderbuffer free memory - total: 63 MB, largest block: 63 MB
Renderbuffer free aux. memory - total: 15122 MB, largest block: 15122 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 4294525590 MB
Total available memory: 4294541334 MB
Currently available dedicated video memory: 63 MB
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 19.1.1, 128 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 25.0.7-0ubuntu0.24.04.1
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.5 (Compatibility Profile) Mesa 25.0.7-0ubuntu0.24.04.1
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 25.0.7-0ubuntu0.24.04.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
mannk@SURFACEPRO11:~$
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the regression on WSL 2.5.10.0 with Ubuntu 24.04 using mesa-utils and `glxinfo -B`, then compare the reported renderer with the expected D3D12 Qualcomm GPU output from WSL 2.5.9.0. Done means GPU hardware acceleration is restored, with `Device:` reporting the Adreno GPU and `Accelerated:` reporting `Yes`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100