microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
10.12k stars 303 forks source link

No GPU HW acceleration on Windows Dev Kit 2023 (Project Volterra) #882

Open Gerdya opened 1 year ago

Gerdya commented 1 year ago

Windows build number:

10.0.22623.875

Your Distribution version:

22.04

Your WSL versions:

WSL version: 0.70.5.0 Kernel version: 5.15.68.1 WSLg version: 1.0.45 MSRDC version: 1.2.3575 Direct3D version: 1.606.4 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22623.875

Steps to reproduce:

xxxxx@DevKit:~$ glxinfo .... .... Extended renderer info (GLX_MESA_query_renderer): Vendor: Mesa/X.org (0xffffffff) Device: llvmpipe (LLVM 13.0.1, 128 bits) (0xffffffff) Version: 22.0.5 Accelerated: no ....

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

I am expecting HW acceleration since the Windows GPU driver is WDDM3.0 At least that is what I understood, that from WDDM2.9 the Windows GPU driver includes all the prerequisites for Linux/WSLg HW acceleration.

Actual behavior:

OpenGL under WSLg is using llvmpipe - still the SW renderer

hideyukn88 commented 1 year ago

@Gerdya, thanks for reporting the issue, would you please share your GPU model and the driver version on Windows's device manager? thanks!

Gerdya commented 1 year ago

@hideyukn88
GPU is Qualcomm 8CX Gen 3 and the driver version is 30.0.3542.2200 It is the recently released Windows Dev Kit 2023 from Microsoft (aka Project Volterra). DXDIAG says the driver is WDDM3.0.

hideyukn88 commented 1 year ago

@Gerdya, as far as I know, it doesn't support Linux GPU driver in public release driver.

Gerdya commented 1 year ago

@hideyukn88 I see, thanks! I thought shipping a Linux UMD was a prerequisite for WDDM3.0 - at least that is what I understood based on the public available information. Now from what you are saying I get, that Microsoft is shipping the device with a WDDM3.0 GPU driver but without a Linux driver?

Can you please give an outlook, what are the missing pieces and when they might be available?