Below is my configuration:
1. Workstation 15
2. Host Linux OS: RHEL 7.8
3. Guest OS: Windows 10
4. Host machine GPU: Nvidia quadro k620
5. Enabe 3D acceleration in VM
6. glxinfo | grep "renderer string" on host machine ---> llvmpipe
7. Host machine: OpenGL version string: 2.1 Mesa 18.3.4
And I get the below error while powering up the VM:
No 3D support available from host
And I can't use 3D applications properly inside the VM
Does any one know what is wrong with this configuration?
Your comments were very helpful, I updated the X11 configuration and started the X server on display 0 with Nvidia GPU.
Currently I don't get the message of no 3d support when opening the VM , but only when I invoke Vmware as root , when I open Vmware with other user permissions .. I still get the message.
Do you have an idea about this ?
I compared the vmware.log in both cases , it seems that as root , vmware keep searching for displays till it find (unix:0.0) display with Nvidia GPU and so it supports 3d.
For the other user , it just check the display I run on (VNC session) which is in my case :1
X11 has an access-control mechanism tied to a cookie file in your homedir called .Xauthority . You normally have to give the other users your cookie in order for them to be able to put things on your X server, including use it for 3D.
There are fancy ways of doing it, but I normally just copy the .Xauthority into the target user's account (and then chown it appropriately) if I need to share X servers across users.
Worked for me Ubuntu 22.04 / Workstation Pro 16.2.3
nano .vmware/preferences mks.gl.allowBlacklistedDrivers = "TRUE"