microsoft / wslg

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

GPU Driver for WSL on ARM platform #260

Open JustinKJChen opened 3 years ago

JustinKJChen commented 3 years ago

I have the GPU Driver for WSL contains Intel, AMD and nVidia.

For ARM platform, for example Qualcomm and MTK, when can we find GPU Driver for WSL?

Thanks.

Gerdya commented 3 years ago

Same question. My Surface Pro X GPU driver is still WDDM2.6 so i assume OpenGL/HW acceleration is not possible yet. Is there an ETA for Qualcomm GPUs?

mmichal3 commented 10 months ago

Unfortunatly Microsoft is not actually serious about windows on arm. It seem to be one of those things they play with from time to time but never really get behind and then kill off. If they were serious they would support these sorts of things on their own hardware. But sadly, the the surface pro x gets no love.

mmichal3 commented 10 months ago

But, this seems to get some interesting results.

https://github.com/microsoft/wslg/issues/474

Gerdya commented 10 months ago

It is working for me on 8CX Gen3. In addition, this never really was a Microsoft issue - Qualcomm was just slow updating the GPU driver. For the 8CX Gen3 devices they finally released a driver - which enabled GPU acceleration under WSL.

If you compile MESA you can also get Vulkan acceleration via Dozen under WSL.

mmichal3 commented 9 months ago

Did you already have it working or did you follow,the instructions I left. (They honestly look kinda hinkey even to me) If it really was that installation, I wonder what registry entries you need. It looks like there are a few drivers that get installed in the other driver. So maybe it really is the driver. I'm just kinda shocked it seems to work.

On Mon, Sep 25, 2023, 1:03 PM Gerdya @.***> wrote:

It is working for me on 8CX Gen3. In addition, this never really was a Microsoft issue - Qualcomm was just slow updating the GPU driver. For the 8CX Gen3 devices they finally released a driver - which enabled GPU acceleration under WSL.

If you compile MESA you can also get Vulkan acceleration via Dozen under WSL.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/wslg/issues/260#issuecomment-1734384781, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXTKJWPWUBH4Q3MMLATQMKDX4HPQ7ANCNFSM46ABKBQQ . You are receiving this because you commented.Message ID: @.***>

CAUTION: EXTERNAL SENDER Do not click any links, open any attachments, or REPLY to the message unless you trust the sender and know the content is safe.

Gerdya commented 9 months ago

It just worked after an update. What was missing was the Qualcomm D3D12 UMD for Linux, which is apparently present by now. It initially only worked for OpenGL and not for Vulkan, but this issue I solved by compiling a new MESA package. Now both OpenGL and Vulkan reporting to use the GPU.