It's a VM, I'm trying to install a gui in freebsd for the first time. I used this (https://docs.freebsd.org/en/books/handbook/wayland/) guide, and did everything until actually starting sway. I got this error below
You can not run a wayland compositor (sway) in a VM without PCI passthrough a host graphics card and loading a drm-kmod video driver in the FreeBSD VM. If the VM host has two GPUs, one can be reserved for the VM guest. Not all hypervisor provide the passthrough possibility, though. Check out the corresponding documentation of the virtualizer.
All of the compositors described here should work with graphics/drm-kmod open source drivers; however, the NVIDIA® graphics cards may have issues when using the proprietary drivers. Begin by installing the following packages:
I use the integrated GPU, which is intel hd 620. I made it work by launching x (startx) first, and then launching sway from the terminal, but that's not optimal, of course. I don't even know how to make xterm fullscreen in the basic x environment, to be able to make it automatic, like if it just worked normally.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.