As you can probably picture, the Windows display driver for your hardware is being used for this function. Graphics capabilities are provided through WSLg, which actually uses the RDP protocol to display Wayland and X applications in a virtual RDP session that WSL automatically connects to from Windows. The container relies on the host VM's (WSL2's in this case) kernel and drivers (virtual WSL2 drivers, in this case). Again, inside containers, we rarely install hardware drivers. This is similar to the way Docker and other container technologies work. Your Ubuntu distribution runs inside a "container" inside that VM, using namespaces and cgroups. For instance, when interacting with VirtualBox, you install the VirtualBox display driver, and the host operating system provides the hardware display driver. As it is virtualized anyway, we would rarely install hardware drivers into it. As end users, we don't actually interact with the VM itself. WSL2 itself is a "managed virtual machine". WSL2 is an interesting combination of technologies: As mentioned in the comments, you don't actually install (most 1) hardware drivers into Ubuntu when it is running under WSL2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |