To test if 3D Hardware graphic acceleration is enable on Ubuntu, you will have to install mesa-utils
sudo apt-get install mesa-utils
After you have mesa-utils installed, run glxinfo and look for “direct rendering” line (hardware acceleration)
sudo glxinfo | grep "direct rendering"
$ sudo nano /etc/vmware/config
mks.gl.allowBlacklistedDrivers = TRUE
Edit vmware’s preferences file for your specific Linux’s user, make sure the current working directory is at /home/yourusername (replace yourusername with your actual user name). You can check your current working directory by using pwd command
$ pwd
To change your current working directory (replace yourusername with your actual user name) & edit vmware’s preferences file
$ cd /home/yourusername
$ nano .vmware/preferences
mks.gl.allowBlacklistedDrivers = "TRUE"