I set up a FreeBSD 14.2 bhyve guest on 14.2 host that uses amdgpu. I can attach to the guest with vncviewer. However, I can't get startx to work. I have a working .xinitrc that calls openbox which is installed. I've installed various video drivers, and when none worked (I tried amdgpu as that's what the host runs, vesa, sfcb, vmware, and probably a few others) I installed on the guest drm-kmod. I've seen vermaden's excellent web page about running a FreeBSD guest on bhyve, but though he goes over booting it with uefi, he doesn't mention running X on it anywhere that I can find. https://vermaden.wordpress.com/2023/08/18/freebsd-bhyve-virtualization/
I thought this would be easy to find, but it hasn't been, at least for me. Most things I see assume you're accessing the guest though console. I even tried chatgpt which said that if using VNC the system should fall back to a vesa driver, but I still get No screens found.
I thought this would be easy to find, but it hasn't been, at least for me. Most things I see assume you're accessing the guest though console. I even tried chatgpt which said that if using VNC the system should fall back to a vesa driver, but I still get No screens found.