3D Acceleration and Compiz Inside VirtualBox Guests

Your Ad Here

Sun has just released the major 2.2 update to their VirtualBox virtualization software. The most exciting new feature in this release is 3D acceleration for Linux guest operating systems! See the changelog for all the new features and fixes.

Install VirtualBox
VirtualBox offers Ubuntu package downloads as well as a software repository from their Linux downloads page. Neither of these options have been updated for Ubuntu 9.04 yet, so I just downloaded and installed the 8.10 package for now.
Start VirtualBox from Applications->System Tools->Sun VirtualBox.
Install Guest Additions
Here’s how I installed the VirtualBox guest additions in an Ubuntu 9.04 guest. Start up your Ubuntu guest OS. In VirtualBox, click Devices->Install Guest Additions.
Click Run when the autorun prompt opens in the guest. The installation could take a minute while kernel modules are being built. When it’s finished, the installer should prompt you to reboot the guest.
Shared Folders
I wanted to copy some files into my Ubuntu 9.04 virtual machine using VirtualBox’s shared folders feature. It isn’t obvious how to do this, and a bug also complicates things.
Set up a shared folder in VirtualBox and make sure you have the guest additions installed in your guest. In the guest, open a terminal and use this command to mount the share:
sudo mount -t vboxsf shared_folder_name mount_point

If this gives you a protocol error message, you’ll need to get a root prompt to work around this bug. Use the commands below to do this:
sudo -i<br />mount -t vboxsf shared_folder_name mount_point

Press Ctrl-D to exit the root prompt when you’re done. Your shared folder should now to available from the mount point you specified.
3D Acceleration
To take advantage of 3D acceleration in your guest operating systems, you’ll need to first install the VirtualBox guest additions. Then, open the settings for your virtual machine and enable the 3D acceleration option.
I tried out the 3D acceleration with an Ubuntu 9.04 guest running on an Ubuntu 9.04 host with the Nvidia graphics driver. After enabling 3D, the guest detected it and started up Compiz.
Compiz runs smoothly on the guest, including intensive effects such as wobbly windows. I encountered a few graphical glitches. As seen below, transparency seems to be a problem for some windows:

I tried the 3D game Nexuiz, running the game just produced a blank screen. Google Earth was sluggish at first, but after turning down the graphics settings it was completely usable.
I have had one virtual machine crash when pasting text copied from the guest, but no stability problems with the 3D acceleration so far.

[via tombuntu.com]
 

Comments (7)

RSS Collapse / Expand
+
0
Personally I think, that this entry is really great and informative indeed. I have to admit that it was quite interesting to read this your post but I have never heard about the report called Virtual Box. It would be really interesting to read it for myself because you have made me to be very interested in it. Moreover it is really great that you have shared the link there I would find this report. Thanks a lot one more time for the useful and interesting information. Good luck in the future work too! Regards, Glen from outside clothes
avatar

Glen77

  • 27 November 2010, 22:05
+
0
I think this software is so amazing to use. The technology behind it is so good. The developers have done such a great job with it. I use it at work and just love it. It definitely saves me a lot of time.
free credit report
avatar

inter4522

  • 07 December 2010, 00:35
+
0
This is the most informed writing I’ve ever seen on this subject. Recently I tried to install this soft. First of all I should say that it took me not so much time as I expected.Linux works without problems and most importantly, all can be deleted by pressing the button.In addition I'd like to say that the author of this post is so beautifully tells us about installing VirtualBox software, that I needn't any help and coped with it by myself, it really lightened the work of my computer.
avatar

samanta

  • 23 March 2011, 11:21
+
0
I think the software is quite fantastic in use as its technology is also very nice. Actually, 3D acceleration is considered as one of the most exciting new feature which is generally used for Linux guest operating systems.
Best Search Engine Optimization Company
SEO Companies
avatar

TomSmith

  • 29 March 2011, 04:11
+
0
VirtualBox is an x86 software package that was originally created by innotek GmbH and purchased by Sun Micro systems, and now developed by Oracle Corporation. Mypayday | Payday loan

avatar

JohnsonSmith

  • 01 April 2011, 12:54
The comment has been deleted


Only Registered and authorized users may post comments