Follow one of the following guides depending on your machine type
Make sure to enable Accelerate 3D Graphics in the VM setting. See the screenshot below for VMware in Mac. Windows user should see similar settings with a different UI.
Note: you may need to shutdown the VM to change this setting.
pora