From owner-freebsd-x11@freebsd.org Tue May 21 17:26:06 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 225EC15B36EE for ; Tue, 21 May 2019 17:26:06 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B216C6F74B for ; Tue, 21 May 2019 17:26:05 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 691D215B36EB; Tue, 21 May 2019 17:26:05 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5337215B36EA for ; Tue, 21 May 2019 17:26:05 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AA5C86F749; Tue, 21 May 2019 17:26:04 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from [10.46.14.95] (wsip-72-212-151-146.ph.ph.cox.net [72.212.151.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: johalun) by smtp.freebsd.org (Postfix) with ESMTPSA id 41B4289EF; Tue, 21 May 2019 17:26:04 +0000 (UTC) (envelope-from johalun@FreeBSD.org) To: vbox@freebsd.org From: Johannes Lundberg Subject: Accelerated graphics in vbox 6 Cc: FreeBSD X11 Message-ID: <4a697e5a-8ecc-cda9-6f80-3e78d09c924f@FreeBSD.org> Date: Tue, 21 May 2019 10:26:02 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: AA5C86F749 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2019 17:26:06 -0000 Hi vbox folks! (cc: x11 list) According to this https://www.phoronix.com/scan.php?page=article&item=virtualbox-60-vmsvga&num=1 vbox can now use the vmwgfx kernel driver for accelerated graphics. With that I assume that virtualbox's own drm driver project is scrapped. I've been working on porting vmwgfx from Linux to our linuxkpi. It works pretty well with freebsd 13 as vmware guest on macos as long you're using only one vcpu (some race condition issue to be solved..).  It would be cool if we could get accelerated graphics in vbox, with freebsd as both host and guest since vmware can't run as host on freebsd. Do you have any idea what would be required to get the host side of things working? Will it work automagically if the freebsd host has a drm driver loaded or do we need to port some code form linux/ to freebsd/ within virtualbox? I'm happy to work together with you and put more effort into getting vmwgfx running stable in vmware/vbox if we can get host side of things working in vbox 6. Cheers! /Johannes