WSL2 OpenGL apps with sound

Install VcXsrv Start VcXsrv:Multiple windows,Start no client,Native OpenGL – unchecked,Disable access control – checked. Download Pulse audio server from https://www.freedesktop.org/wiki/Software/PulseAudio/Ports/Windows/Support/Edit ‘etc\pulse\default.pa’Addload-module module-native-protocol-tcp auth-ip-acl=YourLinuxOrWSLIp auth-anonymous=1load-module module-waveout sink_name=output source_name=input record=0 Edit ‘etc\pulse\daemon.conf’exit-idle-time = -1 Run ‘bin\pulseaudio.exe’ In WSL Ubuntu: Add to /.bashrcexport DISPLAY=YourMainIp:0export LIBGL_ALWAYS_INDIRECT=0export PULSE_SERVER=YourMainIp sudo apt-get install x11-appsxeyessudo apt-get install mesa-utilsglxgearsglxinfo | grep rendererglxinfo | grep […]