From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 29 21:36:54 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BCD41065697 for ; Wed, 29 Sep 2010 21:36:54 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id ACDA88FC12 for ; Wed, 29 Sep 2010 21:36:53 +0000 (UTC) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.4/8.14.4) with ESMTP id o8TLaqfu038917; Wed, 29 Sep 2010 16:36:52 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Wed, 29 Sep 2010 16:36:52 -0500 (CDT) From: "Sean C. Farley" To: Brandon Gooch In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="56599777-2080251521-1285796212=:30543" X-Spam-Status: No, score=-1.0 required=4.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.farley.org Cc: freebsd-emulation@FreeBSD.org Subject: Re: VirtualBox 2D acceleration X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 21:36:54 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --56599777-2080251521-1285796212=:30543 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 29 Sep 2010, Brandon Gooch wrote: > On Sat, Sep 25, 2010 at 8:21 PM, Sean C. Farley wrote: >> Here is a patch that adds 2D acceleration.  I am not sure if the >> VirtualBox_LIBS.freebsd line is needed or not, but it does not cause >> any apparent regressions.  I tested this with the Nvidia driver, and >> it shows improvement within the VM.  I do not know how other drivers >> will work.  EXA may be required over XAA. >> >> If the patch does not make it through the mailing list filter, it can >> also be found here: >> http://people.freebsd.org/~scf/virtualbox-2daccel.patch >> >> Sean > > I assume that many of us here in the FreeBSD user community would love > to have improvements regarding speed of an already GREAT > virtualization platform in VirtualBox; Would it be possible to > quantify this improvement? I did not perform any test to truly quantify it. However, applications (games :)) that use DirectDraw within the VM are noticeably faster. For example, the mouse pointer lags a lot less in higher resolutions such as 1280x1024. Unfortunately, there is still some sluggish behavior exhibited. Overall, I prefer running with it enabled as opposed to without it. > Also, I assume that patch can be applied to the current port, and > rebuilt as usual to gain these improvements, correct? It should. The patch patches the port's Makefile and adds a new patch file for use during the building of the port. Just remember to check "Enable 2D Video Acceleration" in the configuration of the VM in question. > Thank you for submitting this! You are welcome. Sean -- scf@FreeBSD.org --56599777-2080251521-1285796212=:30543--