From owner-freebsd-x11@freebsd.org Tue May 21 19:29:55 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 123AB15B7478 for ; Tue, 21 May 2019 19:29:55 +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 A04F5756C9 for ; Tue, 21 May 2019 19:29:54 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 645F315B7476; Tue, 21 May 2019 19:29:54 +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 3CA1615B7474 for ; Tue, 21 May 2019 19:29:54 +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 D6CDF756C6; Tue, 21 May 2019 19:29:53 +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 6F719980E; Tue, 21 May 2019 19:29:53 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Subject: Re: Accelerated graphics in vbox 6 References: <4a697e5a-8ecc-cda9-6f80-3e78d09c924f@FreeBSD.org> <874a0def-1e1e-971b-ae65-4e700295a9e9@FreeBSD.org> To: FreeBSD X11 From: Johannes Lundberg X-Tagtoolbar-Keys: D20190521122952299 Message-ID: <8ce731b1-2f03-820e-125a-102f3592f464@FreeBSD.org> Date: Tue, 21 May 2019 12:29:52 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: D6CDF756C6 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.94 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.94)[-0.937,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] 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 19:29:55 -0000 On 5/21/19 12:13 PM, Jung-uk Kim wrote: > On 19. 5. 21., Johannes Lundberg wrote: >> Hi >> >> On 5/21/19 11:46 AM, Jung-uk Kim wrote: >>> On 19. 5. 21., Johannes Lundberg wrote: >>>> 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. >>> Actually, they moved vboxvideo KMS/DRM driver to Linux kernel. >>> >>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/vboxvideo >> It's been there for quite some time and no progress have been made for >> the time I've been tracking it. Seems abandoned to me and my impression >> is that that one is scrapped in favor of vmwgfx... Do anyone know if >> vboxvideo is suppose to be in working state (the one in linux kernel)? > It was added to staging for almost two years ago. Please see the > original patch submission. > > https://lwn.net/Articles/726355/ > > Recently they moved it out of staging (via merging drm-next-2019-05-09). > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=131abc56e1bacef23cb7b340519d36e2f5adb2a9 > > It means Linux 5.2 release will have it by default. > > It doesn't look dead to me. ;-) Oh great! It's finally made it's way out of staging :)  Hmm, but that makes the vmwgfx move even more confusing.. Why would they support both?... > >>> And DDX driver was moved to Xorg repository. >>> >>> https://cgit.freedesktop.org/xorg/driver/xf86-video-vbox >>> >>>> 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. >>> Can you please port the vboxvideo driver to linuxkpi? >> vmwgfx seems like the better choice if it's used by both vmware and vbox >> (v6+). But if it's suppose to be in a working state I can take a look.. > ... > > AFAIK VirtualBox graphics stack is in a working state. > > Jung-uk Kim >