2

I had installed ubuntu 11.10 on virtualbox 4.1.8 over windows 7(64-bit, graphics card ATI Radeon HD 5470) as the host. I was trying to run opengl es programs on ubuntu wherein I faced an error during execution:-

OpenGL Warning: Enable 3d acceleration on your VM. Segmentation Fault

I went to the Display options of my VirtualBox and found 3d acceleration to be disabled. I didn't knew that OpenGL required 3d acceleration to be enabled while installing ubuntu setup and missed doing the same. Now I am unable to Enable it from virtualbox and also I am unable to run Opengl exe's on ubuntu. Kindly help on the same.

1 Answers1

1

After having shutdown the guest OS in virtualbox we may enable 3D acceleration from the machine settings:

enter image description here

A guest Ubuntu also needs the guest additions for a virtual 3D graphics driver:

After having installed the guest additions the guest OS needs a reboot for the virtual driver to be loaded.

Troubleshooting:

If this failed we may try to reinstall guest additions, and watch out for errors we may get when doing so. Older versions of Virtual Box may be incompatible with either the graphics drivers from the host, or with the guest Ubuntu version. We then have the following options we may have to install a newer version:

In case it still does not work as expected, and we may not have a graphical desktop we may update our OS from the command line as follows:

  • Update the guest operation system from command line (hold left Shift key on booting to enter a root shell) and then run:

    apt-get update && apt-get dist-upgrade
    
  • we may have to install the guest additons again.
  • Reboot the VM after an OS update
Takkat
  • 144,580