From owner-freebsd-virtualization@freebsd.org Sat Aug 3 21:50:47 2019 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 248EFBC7F7 for ; Sat, 3 Aug 2019 21:50:47 +0000 (UTC) (envelope-from henrik@gulbra.net) Received: from srv.gulbra.net (ec2-174-129-193-206.compute-1.amazonaws.com [174.129.193.206]) by mx1.freebsd.org (Postfix) with ESMTP id 461HlV3JY4z3Hpv for ; Sat, 3 Aug 2019 21:50:46 +0000 (UTC) (envelope-from henrik@gulbra.net) Received: from srv.gulbra.net (localhost [127.0.0.1]) by srv.gulbra.net (Postfix) with ESMTP id 5AFC1620 for ; Sat, 3 Aug 2019 21:50:45 +0000 (UTC) Received: by srv.gulbra.net (Postfix, from userid 33) id 2DBE0622; Sat, 3 Aug 2019 21:50:45 +0000 (UTC) To: Nick Wolff Subject: Re: Bhyve virtual graphics card. X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Date: Sat, 03 Aug 2019 23:50:45 +0200 From: Henrik Gulbrandsen Cc: freebsd-virtualization@freebsd.org In-Reply-To: References: Message-ID: X-Sender: henrik@gulbra.net User-Agent: Roundcube Webmail/1.2-beta X-Rspamd-Queue-Id: 461HlV3JY4z3Hpv X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of henrik@gulbra.net has no SPF policy when checking 174.129.193.206) smtp.mailfrom=henrik@gulbra.net X-Spamd-Result: default: False [2.34 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(-0.50)[ipnet: 174.129.0.0/16(0.79), asn: 14618(-3.26), country: US(-0.05)]; HAS_X_POS(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[gulbra.net]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; URI_COUNT_ODD(1.00)[3]; AUTH_NA(1.00)[]; PHP_SCRIPT_ROOT(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.65)[-0.655,0]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:14618, ipnet:174.129.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_WWW(0.50)[] Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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: Sat, 03 Aug 2019 21:50:47 -0000 On 2019-08-02 17:43, Nick Wolff wrote: > I was curious if anyone especially henrick had ever looked at pulling in virgil3d https://virgil3d.github.io/ a virtio-gpu implementation . > > Virgil3d is a virtual video card that passes opengl calls down to the host instead of trying to pass through a video card itself. Allowing multiple guests to have acceleration using opengl cards and using a single card for both hosts and the VM. > > The code appears to be 3-clause BSD. > > I apologize if I missed a previous conversation on this. I'm sorry. I'm pretty sure I have heard about Virgil 3D before, but I have never looked closer at it. I agree that accelerated graphics would be the logical next step once the basics work, and something like this would provide more isolation than GPU pass-through. Of course, for my test case of live ISO images, it would be nicer to emulate a well-known graphics card rather than introducing bhyve-specific drivers. In any case, I'm new on the list, so maybe someone else knows more about this. /Henrik