From owner-freebsd-virtualization@freebsd.org Fri May 27 08:36:51 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED54AB4965B for ; Fri, 27 May 2016 08:36:51 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B48C51E58; Fri, 27 May 2016 08:36:51 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-ig0-x235.google.com with SMTP id l10so61624848igk.0; Fri, 27 May 2016 01:36:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=Uzrq0kckVwI3KwMeOT1JbLjRWc7HRDUS8pnssPDzEWM=; b=C2kKa4Ln7wrWPP6vtaNQ0C85yuoj5fa3Kc/G63N3511RutyVdRnQfDDJtkAIqCEx/t uB7ETBe8H4UH0nvsk2o4yWg8AD1r9RrF9kKE6kNx4R35IHDbPD4NkqPur0OZ9vAgQ6/E md0s4AWcrIzb8kjsJ9VtyxpZaKjwq+Kl7RVrO3XPyCjltBDKi8vCU4pOnbYp5tkt0kfj vIwxjOMcVh8ltYCd6oX9nntFQ8BWPvhJbWGMIuYNFIf9SM+Vb5/w4u8p/ZwXZaz6YDur eMScKuSOL0+KMA7Mk3D/Iudu/CNdOtYZvD5aYEP8CpnemZ+/YIdwYWNfhkVHk/RWIdJr ApJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=Uzrq0kckVwI3KwMeOT1JbLjRWc7HRDUS8pnssPDzEWM=; b=YjocxHGV8dToz6gdiK8yQ+uVUPLo+SxE4Enc+LHgHUWuFTA78w2m/HiQRClYgxwAj0 rKfZ9NjYx4Il40Wn5g3CSijkiSo1sM9Z/mJPZv/LaUHeJlKbJrH6WVQ6d4MiPROglot7 npGGkUdwBbGFhbwPOEcUEd0gHE/z7aVyz1FIcBgMwSQKSzTvu7X7q+jZSKMRlTDkW7hC NG32Wrta/H99kuN0WBQgdxrRu4bnMpDSL4ckuObPPNlM0CCKih7gt15stq/28M5Wp7AK M6zQ+7v8icjMyiALcII3FDerMOCJeNFeFzdUjIYWwDKzksBTP2QB+Kt7nJil84ylJ4wb A2yQ== X-Gm-Message-State: ALyK8tJ5t/dNzCSvVo2ifj+Yed9ly+7vWlMVQUDk2E+hR78FrsmWynypTjSaGAbdZONpc+apgrT9WqQxeuaEOA== MIME-Version: 1.0 X-Received: by 10.50.160.35 with SMTP id xh3mr7266700igb.95.1464338211124; Fri, 27 May 2016 01:36:51 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.107.132.212 with HTTP; Fri, 27 May 2016 01:36:51 -0700 (PDT) In-Reply-To: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> Date: Fri, 27 May 2016 01:36:51 -0700 X-Google-Sender-Auth: LbOk_Ftzwc7p107VBkCtkYVpe84 Message-ID: Subject: Re: bhyve graphics support From: "K. Macy" To: Peter Grehan Cc: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 27 May 2016 08:36:52 -0000 Cool stuff. FYI new i915 driver has vgpu support, incliuding 3D. On Friday, May 27, 2016, Peter Grehan wrote: > As of r300829, support for graphic output has been checked into the > projects/bhyve_graphics branch. This is just the usr.sbin/bhyve executable, > so is quick and easy to build from source. > > Assuming a reasonably current source tree is in /usr/src, > svn co http://svn.freebsd.org/base/projects/bhyve_graphics path/to/dir > cd path/to/dir > make BHYVE_SYSDIR=/usr/src -m /usr/src/share/mk > > UEFI GOP support has been checked into the freebsd/edk2 repo: > > > https://github.com/freebsd/uefi-edk2/commit/a36132939e259df79b16699c03c6f1d63c7454b9 > > A pre-built bhyve/UEFI binary image with GOP support is available at: > https://people.freebsd.org/~grehan/bhyve_uefi/BHYVE_UEFI_20160526.fd > > The new bhyve executable supports some new devices. An example of using > them for Windows10 is: > > bhyve \ > -c 2 \ > -s 3,ahci-cd,/images/win10_install.iso \ > -s 4,ahci-hd,/images/win10.img \ > -s 11,fbuf,tcp=0.0.0.0:5900,w=1600,h=900,wait \ > -s 20,xhci,tablet \ > -s 31,lpc \ > -l bootrom,/images/BHYVE_UEFI_20160526.fd \ > -m 2G -H -w \ > windows > > The framebuffer device, "fbuf", takes parameters describing the VNC > server options. The optional "wait" parameter will hold execution of the > guest until a VNC client is connected. The height and width of the frame > buffer can be specified, with the constraints that the maximum is 1920x1200. > > Arbitrary resolutions are not yet supported by UEFI. That will be fixed, > but in the meantime, available resolutions are: > 1920 x 1200 > 1920 x 1080 > 1600 x 1200 > 1600 x 900 > 1280 x 1024 > 1280 x 720 > 1024 x 768 > 800 x 600 > 640 x 480 > Specifying an unsupported resolution will result in UEFI falling back to > 800x600. > > The XHCI emulation currently only has a tablet back end. This connects to > pointer input from VNC. If not present, pointer input defaults to the ps2 > mouse emulation. Note the latter only suppports relative coordinates which > don't track the cursor very well in VNC. > > Keyboard input currently defaults to the PS2 keyboard. > > The code has been tested with Windows 7/8/8.1/10 and Server 2k12/2k16, > Ubuntu 15.10, and FreeBSD 10.3/11-CURRENT. Note that older versions of > Windows, and FreeBSD, don't like the XHCI tablet - the default ps2 mouse > should be used with those. > > For VNC clients, TightVNC, TigherVNC, and RealVNC (aka VNC Viewer) have > been tested on various hosts. The OSX VNC client is known not to work. > > Give it a try and let us know how it goes ! > > Many thanks to Michael Dexter for helping out with the testing of this. > > later, > > Peter. > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" >