How to fix slow performance ubuntu 13.04 running in virtualbox

Having very slow perform when running Ubuntu 12.10 and 13.04 in virtualbox? It’s because Ubuntu can’t use graphics card for acceleration, ubuntu uses CPU for rendering graphics trough LLVMpipe. It makes running ubuntu in virualbox really slow.

To check if your Ubuntu 12.10 or 13.04 guest is using 3D acceleration

You should see something like this

If you see “Not software rendered” and “Unity 3D supported” both say no. This means Unity is using slow LLVMpipe.

To enable 3D supported, fist you will need to update linux-headers

Now insert vitualbox guest iso from devices and to install manually

Note: VirtualBox Guest Additions may no automatic activate on your Ubuntu. In my case, Ubuntu 12.04 I have to go to System Settings, Additional Drivers to activate Oracle VM VirtualBox Guest Additions for Linux Module.

Insert vboxvideo to /etc/modules

Add “vboxvideo” at the end of the file

Reboot the machine

Check “Not software rendered” and “Unity 3D supported” are enabled or not after rebooting

The next thing you want to do is to increase video memory. Look for .vbox file

Replace

To

(by namhuy | http://www.namhuy.net/)

(video by babarehner | https://www.youtube.com)