I have an ubuntu 18.04 computer with an nvidia P5000 Quadro video card. I have installed the nvidia-440.82 drivers and seems like they are working fine, as indicated by nvidia-smi as shown below.

I would like to use VMWare Workstation with SVGA GPU sharing, so that i can run OpenGL based applications inside an instance of a virtual machine. But it looks like there is some misconfiguration with regards to OpenGL on the ubuntu 18.04 host. Instead of using the nvidia drivers, it seems to use the llvmpipe drivers. Please find the results of glxinfo | grep “:”,
glxinfo | grep “:”
name of display: localhost:10.0
display: localhost:10 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX version: 1.4
GLX extensions:
Extended renderer info (GLX_MESA_query_renderer):
Vendor: VMware, Inc. (0xffffffff)
Device: llvmpipe (LLVM 9.0, 256 bits) (0xffffffff)
Version: 19.2.8
Accelerated: no
Video memory: 128337MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 3.3
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.0
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 9.0, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 19.2.8
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 19.2.8
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 19.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
70 GLXFBConfigs:
I have already tried re-installing the nvidia drivers as some people had suggested in similar posts in the forums, but that hasn’t helped. I have attached the logs for nvidia-bug-report as well. Any help on this regard would be significantly helpful. Kindly let me know incase of any additional information.
nvidia-bug-report.log (1001.8 KB)