From dfdeb8fe276f42d9f336fca6cc9bf728fab6d8de Mon Sep 17 00:00:00 2001 From: James McNulty Date: Wed, 20 Sep 2023 08:10:56 -0400 Subject: [PATCH] Wslg docs (#9842) # Objective - WSL documentation was out-of-date and potentially misleading. The release of WSLg makes a lot of stuff easier ## Solution - Just updating docs for now ## NB I haven't been able to get a full end-to-end GPU on WSL test going yet, but plan to update this documentation again once I have more of a grasp on that --- docs/linux_dependencies.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/linux_dependencies.md b/docs/linux_dependencies.md index 47bdbda21d91c..b123c9525f076 100644 --- a/docs/linux_dependencies.md +++ b/docs/linux_dependencies.md @@ -21,10 +21,17 @@ Depending on your graphics card, you may have to install one of the following: Compiling with clang is also possible - replace the `g++` package with `clang`. -### Windows Subsystem for Linux (WSL 2) +## Windows Subsystem for Linux (WSL 2) -Graphics and audio need to be configured for them to work with WSL 2 backend. -Please see the ubuntu [WSL documentation](https://wiki.ubuntu.com/WSL) on how to set up graphics and audio. +Up-to-date WSL Installs for Windows 10 & 11 include WSLg, which provides +necessary servers for passing graphics and audio between Windows and the WSL instance. +With WSLg, a user's WSL instance can use X11 as well as Wayland. +For more information, see WSLg [documentation](https://github.com/microsoft/wslg#wslg-architecture-overview). + +Prior to the release of [WSL Gui (WSLg)](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux#WSLg) +around 4/20/2021, users had to [manually set up servers](https://wiki.ubuntu.com/WSL#Advanced_Topics) on windows for graphic and audio. +Make note of the date for documentation found across the internet. +Following advice from before WSLg's release can lead to additional conflicts. ## [Fedora](https://getfedora.org/)