bhyve: vnc limited to 1920x1080?

Peter Grehan grehan at freebsd.org
Thu Sep 24 21:07:56 UTC 2020


> I used the following option for bhyve command: > > -s 29,fbuf,rfb=192.168.1.6:8001,wait,w=2560,h=1440> > ...and got 
rather confusing error message:> > Invalid fbuf emulation option "w"> 
fbuf: {wait,}{vga=on|io|off,}rfb=<ip>:port{,w=width}{,h=height}> device 
emulation initialization error: Inappropriate ioctl for device> > Had to 
check the man page/source to find the hardcoded 1920x1080 > limitation 
-- is there any technical reason for it, or is it just "ought > to be 
enough for anybody"?
  The framebuffer is 16MB, and the max of 1920x1200 was chosen as a 
compromise between a common resolution that would fit in that, the 
amount of CPU used in the tile-based motion detection, and the amount of 
bandwidth required to transmit full-screen's worth of data at 30 fps.

  The original intent was the VNC console would only be used for setup, 
and after that a more efficient remote desktop would be set up on the guest.

  (More details at 
https://people.freebsd.org/~grehan/talks/bhyve_bsdtw_bhyve_graphics.pdf)

later,

Peter.


More information about the freebsd-virtualization mailing list