Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2010 16:36:52 -0500 (CDT)
From:      "Sean C. Farley" <scf@FreeBSD.org>
To:        Brandon Gooch <jamesbrandongooch@gmail.com>
Cc:        freebsd-emulation@FreeBSD.org
Subject:   Re: VirtualBox 2D acceleration
Message-ID:  <alpine.BSF.2.00.1009291627290.30543@thor.farley.org>
In-Reply-To: <AANLkTikkHGkCJaF9qtGsggEwF1P_axshUY3Afp-N-vk7@mail.gmail.com>
References:  <alpine.BSF.2.00.1009252014010.37904@thor.farley.org> <AANLkTikkHGkCJaF9qtGsggEwF1P_axshUY3Afp-N-vk7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  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 <scf@freebsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1009291627290.30543>