microsoft / wslg

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

WSLg GPU Acceleration stopped #478

Open surmitbhui opened 2 years ago

surmitbhui commented 2 years ago

Environment

Windows build number: Windows 11 (10.0.22000.194)
Your Distribution version: Ubuntu 18.04
Your WSLg version: 1.0.26

Expected behavior

Hi, I recently updated to Windows 11 in the beta channel and been using wslg for a while now. However, I recently noticed that I am unable to access GPU support in my system.

Actual behavior

If I run wsl --list -v on powershell as administrator, it shows that I have no WSL distribution installed but I am able to use my Ubuntu 18.04 normally when I use my terminal as a normal user.

Screenshot from powershell running as an administrator:

image

Screenshot from powershell running as a normal user:

image

As you can see from the screenshot above, I am able to access my WSL Ubuntu distribution but I no longer have access to the GPU Acceleration in it.

Would greatly appreciate if I could receive some help in fixing this issue.

Thanks

hideyukn88 commented 2 years ago

@surmitbhui, thanks for reporting the issue, would you please run 'glxinfo -B' in Linux and share the output with us, and do you see /dev/dxg? thanks!