onomatopellan
onomatopellan
@bejota OpenGL acceleration in WSL2 [only works in Windows 11](https://github.com/microsoft/wslg#pre-requisites).
Issue is being tracked in https://github.com/microsoft/wslg/issues/554
@moracabanas I think you are missing these: ``` -e LD_LIBRARY_PATH=/usr/lib/wsl/lib -v /usr/lib/wsl:/usr/lib/wsl ``` Take a look at the [samples](https://github.com/microsoft/wslg/tree/main/samples/container).
@moracabanas >Mesa 18.3.6 You also need to install Mesa 21.x inside the container.
@moracabanas On Debian bullseye you need to add the `deb http://http.us.debian.org/debian/ testing non-free contrib main` line to your `/etc/apt/sources.list` and run `sudo apt update && sudo apt upgrade -y` after...
@moracabanas glxgears is somewhat outdated. Try better `es2gears` from the mesa-utils-extra package.
@qiangxinglin This thread's issue is from real Linux and has nothing to do with WSL2. For a similar issue in WSL2 look at #1496
@selmiskr If it works in WSL2 but not in the docker container take a look at the required environment variables for ["Containerized applications access to the vGPU"](https://github.com/microsoft/wslg/blob/main/samples/container/Containers.md).
VSCode also looks great when you change the titlebar style to custom 
Make sure after the script install you terminate the distro with `wsl.exe -t Ubuntu-20.04`. After reopening the terminal you should be able to see the output of `snap version`.