I have a Linux guest (Ubuntu 18.04) running on Windows 10 host, VMWare Player 14.
Host has a NVidia GTX 960M.
Is it possible for the guest to leverage the GPU? (Either by using VMWare Player, or VMWare Workstation).
Running OpenGL in Ubuntu 16.04 64bit guest on Window 10 Pro 64bit host, GTX 980m, VMware Workstation Pro 12.5.7, Intel I7-6820 cpu
There are several step how to do it
In the VMware setup for particular virtual machine enable 3D acceleration
In Ubuntu guest install vm-open-tools (three packages)
Install xserver-xorg-video-vmware, xserver-xorg-video-vmmouse
Install mesa-utils
Then all things shall work seamlessly
How to check:
glxinfo | grep Vendor shall tell you that vendor is VMware
Run glxgears. With accelerated OpenGL you'll get circa 2000 FPS. With software rendered OpenGL you'll get probably around 200 FPS (depending on CPU)