SEARCH

How-To Geek

How To Enable 3D Acceleration and Use Windows Aero in VirtualBox

image

VirtualBox’s experimental 3D acceleration allows you to use Windows 7’s Aero interface in a virtual machine. You can also run older 3D games in a virtual machine – newer ones probably won’t run very well.

If you installed Windows 7 in VirtualBox, you may have been disappointed to see the Windows 7 Basic interface instead of Aero – but you can enable Aero with a few quick tweaks.

Adjust Virtual Machine Settings

First, power your Windows 7 virtual machine off – you won’t be able to change its settings if the virtual machine is running or if it’s suspended (also known as “saved”).

Right-click the virtual machine and select Settings to access its settings.

image

Click over to the Display category and activate the Enable 3D Acceleration checkbox. You must also increase the video memory slider to at least 128 MB. You’ll need the full 256 MB if you’re using multiple monitors with your virtual machine.

The Enable 2D Video Acceleration option here is not required, but it accelerates video-playing applications that use 2D overlays.

image

Install 3D Drivers

After you’ve changed these settings, click OK and boot the virtual machine by double-clicking it.

Once the virtual machine is running, click the Devices menu and select Install Guest Additions.

image

Click the Run option in the AutoPlay window to launch the installer.

image

Proceed through the installer until you reach the Choose Components window. When you do, click the Direct3D Support (Experimental) check box.

image

You’ll be asked if you want to install basic Direct3D support instead – click No to install the WDDM driver, which includes support for Windows Aero.

Note that, if you want to install the basic Direct3D driver instead, you’ll need to install it from safe mode – restart your virtual machine, press F8 while it’s booting, select Safe Mode, and install the guest additions from there. The basic Direct3D driver doesn’t support Aero, but it’s theoretically more stable. However, we haven’t had any issues with the more experimental driver.

image

VirtualBox warns that you should have at least 128 MB of video memory, which you should have configured above. If you haven’t done this yet, you can adjust your virtual machine’s settings after installing the drivers.

image

Click Install and VirtualBox will install the guest additions and experimental 3D driver in your virtual machine. You’ll be prompted to restart your virtual machine after installing the drivers.

Enable Windows Aero

Your virtual machine now has 3D support, so you can try playing older 3D games and using other applications that require 3D acceleration.

However, Windows Aero is not enabled by default. If you want to enable Windows Aero, right-click your virtual machine’s desktop and select Personalize.

image

The default theme is Windows 7 Basic, which doesn’t use Aero. Scroll up in the Personalization window and select one of the Aero themes, such as Windows 7. Aero will be enabled.

image

Note that 3D acceleration and the driver are experimental in VirtualBox – if you encounter any issues, you may want to disable 3D acceleration and uninstall the driver to make your virtual machine more stable.

Chris Hoffman is a technology writer and all-around computer geek. He's as at home using the Linux terminal as he is digging into the Windows registry. Connect with him on Google+.

  • Published 09/15/12

Comments (9)

  1. SatoMew

    Don’t forget to run the Windows Experience Index assessment or does it still crash in VirtualBox?

  2. TheFu

    Giving a Windows7 VM only 512MB of RAM (see first Vbox screen), is just cruel. I thought the Win7 minimum RAM was 1GB? I usually give it 1.5G.

    Also, when did the video memory limit change from 128MB? I’m a few vbox versions behind, but not more than a few months. Still running v4.1.18. It is very stable.

    v4.2.0 was released this week for anyone interested in testing new software and taking the hit for the rest of us chickens.

  3. r

    I’ve set up & used Win XP Mode & Win Virtual PC a lot for some clients, but haven’t tried VirtualBox yet.
    Is it any good?

  4. clamo

    Y don’t they just make a driver wrapper and be done with it.

  5. PhantomTurtle

    @r : Virtualbox is ages ahead of Windows Virtual PC. It supports OS’s other than Windows (Linux, BSD and even OSX with a little tweaking). It’s free try it out. It runs on Linux OSX, and Windows.

  6. Zakariah

    Thank you so much I have been trying to do this for a very long time! Now I don’t need VMware.

  7. r

    @ PhantomTurtle : thanks for the info !

  8. Jaeyeol

    Thank you so much.
    I was looking for this information for all day.

  9. Tourshi

    vboxmanage modifyvm MyVMBoxName –vram 256

    from Command (cmd.exe) and it will raise it to 256MB (which is virtualbox maximum)

Get Free Articles in Your Inbox!

Join 134,000 newsletter readers

Email:

Go check your email!