From owner-freebsd-virtualization@freebsd.org Thu Sep 24 21:07:56 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B96513E0948 for ; Thu, 24 Sep 2020 21:07:56 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4By7184Xz8z4F7y for ; Thu, 24 Sep 2020 21:07:56 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9A5323E0947; Thu, 24 Sep 2020 21:07:56 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9A1D53E0946 for ; Thu, 24 Sep 2020 21:07:56 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from vito-vars.onthenet.com.au (vito-vars.OntheNet.com.au [203.13.68.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4By7180p07z4F7x for ; Thu, 24 Sep 2020 21:07:55 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto2.onthenet.com.au [203.13.68.14]) by vito-vars.onthenet.com.au (Postfix) with ESMTPS id DF1F120917BD for ; Fri, 25 Sep 2020 07:07:50 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id C655420AE981 for ; Fri, 25 Sep 2020 07:07:50 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id BF2D5209C01D for ; Fri, 25 Sep 2020 07:07:50 +1000 (AEST) Received: from iredmail.onthenet.com.au ([127.0.0.1]) by iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Jt6E8jzlguLm for ; Fri, 25 Sep 2020 07:07:50 +1000 (AEST) Received: from MacBook-Air-4.local (CPE-120-29-40-28.dsl.OntheNet.net [120.29.40.28]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 24B0D209C01E; Fri, 25 Sep 2020 07:07:50 +1000 (AEST) Subject: Re: bhyve: vnc limited to 1920x1080? To: xtouqh@mm.st References: Cc: virtualization@freebsd.org From: Peter Grehan Message-ID: Date: Fri, 25 Sep 2020 07:07:48 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=bM+N3M2Z c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=a/DZ3n0cyhrV6N79ug6kLQ==:17 a=IkcTkHD0fZMA:10 a=reM5J-MqmosA:10 a=6I5d2MoRAAAA:8 a=KTOUC6B0XHUhKfLf2GgA:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=LtAJNkVc c=1 sm=1 tr=0 a=eF5wA05EhuPcU0j7PNT2Vg==:117 a=a/DZ3n0cyhrV6N79ug6kLQ==:17 a=IkcTkHD0fZMA:10 a=reM5J-MqmosA:10 a=6I5d2MoRAAAA:8 a=KTOUC6B0XHUhKfLf2GgA:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 X-Rspamd-Queue-Id: 4By7180p07z4F7x X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:9313, ipnet:203.13.68.0/23, country:AU] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2020 21:07:56 -0000 > 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=: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.