bhyve RHEL10 on bhyve

I don't know if this will interest anyone, but I installed the RedHat EL 10 beta on bhyve today. I was curious as they've completely dropped Xorg for Wayland (though I think they have Xwayland). Anyway, it installed and booted without problem. Running echo $XDG_SESSION_TYPE showed that it was running Wayland, though my FreeBSD host was running X11. As more Linux distributions seem to be going to Wayland as first choice, I was wondering if I'd be able to run Wayland desktops in X. It turns out that I can, so that's a good thing.
 
i never got into using bhyve because i only have one gpu in my laptop

to use the gpu in the byhve vm
i think you have to disable it on the host so you can pass it through to the vm

which would mean no graphics card on the host

unless i have that wrong

using a jail you can mount the /tmp directory
and pass in the DBUS_SESSION_BUS_ADDRESS when you launch obs in the jail

which allows you to select the displays on the freebsd host with obs running in a jail
and record the freebsd screens

one reason why you might want to do that is because there are more linux plugins for obs
i wonder if the same things is possible running obs in a byhve vm

i see you can run byhve in a jail and use devfs.rules to unhide devices like the gpu
the same way you would running linux in a jail


i wonder if that would let me use the gpu in the jailed bhyve vm
without disabling the gpu on the host
 
most of the applications i would want to use in a vm require the gpu
like davinci resolve, whisperx or obs studio

thats why i never really looked into using byhve and always used a jail
 
I don't know. For me, I use it on a machine with a single NVidia card and do nothing special. I can run a GUI on the bhyve VM (not doing anything intensive, just, for example, at the most running a web brower but not playing any media with it) while I run graphics on my main workstation, the bhyve host. vermaden has some pages on bhyve, he might know more about the limitations. What I do makes few demands on guest or host, so it hasn't been a problem.
 
Back
Top