MakeTechEasier
  • Home
  •  
  • About
  •  
  • Archives
  •  
  • Jobs
  •  
  • Advertise
  •  
  • Contact Us
  • Windows
  • Linux
  • Mac
  • Internet
  • WordPress
  • iPhone
  • Android
  • All Categories
    • Android RSS
    • Firefox RSS
    • Gaming RSS
    • Google RSS
    • google chrome RSS
    • Internet RSS
    • iPhone/iPod Touch RSS
    • Linux RSS
    • Mac RSS
    • Mobile RSS
    • OpenOffice RSS
    • PC Hardware RSS
    • Review RSS
    • Roundup RSS
    • Windows RSS
    • Windows Mobile RSS
    • WordPress RSS
    • WordPress Plugins RSS
  • rss icon
  • email icon
  • facebook icon
  • twitter icon

How To Enable 3D Acceleration In VirtualBox

Posted by: Sharninder on May 21st, 2009
  • 11 Comments
  • Share

VirtualBox LogoVirtualbox is an excellent application to have if you’re looking to try out new operating systems and/or are generally interested in virtualisation for the many benefits it offers.

Make Tech Easier has extensively covered VirtualBox a couple of times earlier and we are great fans of this cross platform, open source application.

One thing which VirtualBox was missing till some time back was support for 3D acceleration for guest operating systems. What this means is that the graphics driver used inside the guest virtual machines was only capable of simple 2D graphics and thus interfaces like Compiz on Linux and Aero on Vista were not useable.

There was basic 3D support for Windows guests in Virtualbox 2.1 but users using Virtualbox to run Linux guests were mostly confined to the 2D graphics driver. That has changed with the release of VirtualBox 2.2 recently and VirtualBox now supports 3D acceleration. The 3D acceleration support built in VirtualBox uses your native machine’s graphics hardware to provide this capability, so if your native graphics driver doesn’t have 3D capability, VirtualBox cannot make use of it.

The support for 3D acceleration is not enabled by default and with this tuturial we aim to help you guys set up a new virtual machine with 3D accelerated graphics support.

First create a new Machine the usual way, and install a guest operating system in it. We used Ubuntu for our testing.

VirtualBox

Now, you need to edit the settings of your newly created virtual machine. To edit the settings for any virtual machine, the virtual machine has to be shut down. So, first shutdown whatever operating system you have running inside the virtual machine.

Now, while the virtual machine is highlighted, click on the Settings button to open up the settings window.

VirtualBox

In the general settings pane, check the check box titled, “Enable 3D acceleration”.

VirtualBox

That’s it. The virtual machine has been enabled for 3D accelerated graphics now. But, to actually start using 3D effects inside your guest operating system, you need to be using the special VirtualBox graphics driver, which is distributed with the “Guest Additions”.

To Install the VirtualBox “Guest Additions” drivers in your guest operating system, while the guest is running, click on the Devices menu and select the “Install Guest Additions” option.

VirtualBox Guest Additions

Now, follow the instructions to install the drivers in the guest operating system.

Now, you can enable Aero or Compiz effects in the guest operating system and make full use of the graphical capabilities of your machine’s graphics card.


Sharninder is a programmer, blogger and a geek making a living writing software to change the world. He also loves to travel. Read all about his exploits at his weblog - Geeky Ninja.

Tags: 3d acceleration, VirtualBox, virtualization
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Share and Enjoy!

  • Rss feed
  • StumbleUpon It!
  • Del.icio.us
  • reddit

Related Posts

  • Upgrading to Virtualbox 2.1 In Ubuntu Intrepid
  • How to Install VirtualBox in Your USB Drive and Run any Operating System
  • How To Share Files In VirtualBox With Vista Guest And Ubuntu Host
  • How to Install Windows In Ubuntu Hardy with VirtualBox
  • How To Install Windows Vista In Ubuntu Gutsy Using VMware

Popular Posts

  • Turn Your Ubuntu Hardy to Mac OSX Leopard 498 comment(s)
  • Turn Your Ubuntu Intrepid Into Mac OSX Leopard 311 comment(s)
  • 28 Coolest Firefox About:Config Tricks 122 comment(s)
  • How To Boot And Install Windows 7 From USB Flash Drive 122 comment(s)
  • Best 101 Free Computer Software For Your Daily Use 101 comment(s)

Enjoyed the article? Subscribe to Make Tech Easier today to get your daily updates of technology tutorials, tips and tricks.

Enter your email:

3 pingbacks/trackbacks (Click to open)

  • How To Enable 3D Acceleration In VirtualBox | RACKKAS.COM
  • May 21st, 2009 - Technology
  • HowtoMatrix » How To Enable 3D Acceleration In VirtualBox
[Click to close]

11 Responses

  • Gutera says:
    June 17, 2009 at 5:46 am

    Great post on 3d acceleration for macs with virtuL box…howevere, i’m having some trouble installing the Guest Additions. The Guest Systems Assistant, windows in my case, is asking for the drivers CD. Wich CD is that? windows or mac’s?

    Cheers!

    Reply
    • Sharninder says:
      June 30, 2009 at 9:58 am

      I used a Linux host for this so I’m not sure what problem you’re facing. Try with the windows CD. Maybe it needs some drivers not present by default on your setup.

      Reply
  • redhand says:
    June 30, 2009 at 8:28 am

    I can’t check ‘Enable 3d Acceleration’. It’s unavailable.
    What I have done wrong?

    Reply
    • Sharninder says:
      June 30, 2009 at 9:56 am

      What version of virtualbox are you using ? You should be using the latest version for this to work.

      Reply
  • redhand says:
    July 1, 2009 at 7:53 am

    Nevermind. It’s ok now. My fault.

    Reply
  • essaion says:
    November 29, 2009 at 9:36 am

    Hi there,

    I’m wondering : did you actually manage to enable Aero effects (say, transparency) in a Vista or 7 Windows guest ?

    I’m trying to do so, with no success. 3D Acceleration is enabled for the guest, as well as 128 Mo V-RAM. GPU is a Geforce GTX 260+ card, though i don’t think it matters (VirtualBox does not really use this, as far as i understand, it virtualizes a “standard” VGA card with OpenGL 2.0 implementation – no DX10 so far). VBoxGuestAdditions are installed.

    The Windows 7 diagnostic tool indicates that the video driver is not WDDM compliant, wich seems confirmed some searches i made.

    So the question still is : did you (or someone) actually manage to enable Aero effects ?!

    Thanks for any input on this !

    Reply
    • Sharninder says:
      November 29, 2009 at 10:14 am

      Windows 7 Aero requires a driver built with the new WDDM architecture so that won’t work. Vista should work. I used Ubuntu and 3D effects worked for me on Ubuntu.

      Reply
  • diZzyCoDeR says:
    January 14, 2010 at 12:55 pm

    Thanks for your post! I didn’t really know VB had come so far — it is definitely a god-send, considering VMW is pooching my ubuntu box when trying to get Win7 as a guest installed. I was racking my brain, but no longer. VB is the way to go!!

    Reply
Cancel reply

Leave a Comment




Comment

Please Note: Comments maybe under moderation after you submit your comments so there is no need to resubmit your comment again

write for MTE

Latest Posts

  • OfficeMedium – A Social Collaboration Platform For The Small Business + Free Promotions
  • MakeTechEasier Is Now Hosted On KnownHost
  • KTorrent: KDE’s BitTorrent client
  • How to Create a Customized Toolbar for Your Browser
  • 13 Ways To Customize Ubuntu Netbook Remix For Better Usability

Our Writers

  • Damien Oh - Chief Editor
  • Sharninder - Geeky Ninja
  • Joshua Price
  • Tavis J. Hampton - Lantern Torch
  • Shevonne Polastre - FreeAgentWriter
  • Trevor Dobrygoski
  • Soumen Halder - Ampercent
  • Tanmay Ahmed - Tech-Tips-Geek
Make Tech Easier on Facebook
Jobs by SimplyHired
Job Widgets

Copyright

All the articles (including the text, images and tutorials) are properties of MakeTechEasier.

You cannot copy whole tutorials, either in English or translate to another language without our permission.

Write for us

Writing a tutorial or article for MakeTechEasier is a great way to get exposure and give back to the community.

Read More Details

Suggestions

We need your help to help us serve you better! This is YOUR site, so if you have suggestions/feedbacks on how we can improve it for you, please let us know! We do our best to make this place better!

Make a Suggestion

Navigation

  • Home
  • About Us
  • Advertise
  • Archives
  • Contact Us

Copyright © 2007-2010 Make Tech Easier | All Right Reserved.