← Back to context

Comment by okanat

7 hours ago

This is a much less efficient way of running Linux GUI apps over WSL since it will use software rendering.

WSL2 provides a GPU accelerated Wayland server. If your Mesa build (ver > 22) has d3d12 drivers you can use Windows DirectX as your OpenGL driver. Combined with the WSLg Wayland server you get near native desktop performance out of GUI apps.

One other nit was that WSL2 does not expose the USB ports to the Arch guest very easily.

So I had to install USBIP on the Windows11 host, and bring in a tool chain and compile a Linxux 6.x kernel in order to add external storage for my QGIS data.

  • WSL2's default kernel has USBIP modules built-in. I am using it daily at work for FW development. So I don't think that's your problem. However, WSL kernel might be missing specific USB device classes. Luckily they rolled out kernel module support lately and you can compile modules instead of the full kernel now.