Tuesday, February 5, 2013

Ubuntu 12.10 x64 Mouse Glitch in VirtualBox

Ask Ubuntu has the answer:


This method involves compiling the guest add-ons and then enabling vboxvideo in /etc/modules seems to fix it.  I have the instructions copied below.

Unfortunately, you can't simply copy/paste these into the VM, since the guest addons need to be installed for the clipboard to work, so type very carefully.


How to enable 3D acceleration (VirtualBox 4.2.x only) - Courtesy AskUbuntu.com

These instructions are intended for VirtualBox 4.2.4 or 4.2.6, installed from VirtualBox's website, not from Ubuntu's repo. Future versions of VirtualBox may fix this problem automatically, or may need a different workaround.
  1. Install VirtualBox Oracle VM VirtualBox Extension Pack.
  2. Create a VirtualBox instance and install Ubuntu 12.10 on it.
  3. Install some required packages for the guest additions:
    sudo apt-get install linux-headers-$(uname -r) build-essential
  4. Install the guest additions by clicking Devices, Install Guest Additions and running this command from the CD-ROM's directory:
    sudo ./VBoxLinuxAdditions.run
  5. Add the vboxvideo driver to the instance by running:
    sudo bash -c 'echo vboxvideo >> /etc/modules'
  6. Shutdown the VirtualBox instance.
  7. Open the settings of the Virtualbox instance, navigate to "Display", and tick "Enable 3D acceleration".
  8. Boot your Ubuntu 12.10 guest, and check that 3D acceleration is working by running:
    /usr/lib/nux/unity_support_test -p
If windows seem to disppear, install CompizConfig Settings Manager and disable FBO in the OpenGL section.

No comments: