OpenGL 4.1 support on Linux Guest using Workstation PRO 16

This post was originally published on this site

I’ve see in the release notes (VMware Workstation 16 Pro Release Notes) this line:

Support for DirectX 11 and OpenGL 4.1 in the Guest

I’ve installed Ubuntu 20.04 guest on Windows 10 host and OpenGL 3.3 version is reported. I’ve updated Mesa drivers to latest version (20.1.8) and the same OpenGL version is reported:

glxinfo -B

name of display: :0

display: :0  screen: 0

direct rendering: Yes

Extended renderer info (GLX_MESA_query_renderer):

    Vendor: VMware, Inc. (0x15ad)

    Device: SVGA3D; build: RELEASE;  LLVM; (0x405)

    Version: 20.1.8

    Accelerated: no

    Video memory: 1MB

    Unified memory: no

    Preferred profile: core (0x1)

    Max core profile version: 3.3

    Max compat profile version: 3.3

    Max GLES1 profile version: 1.1

    Max GLES[23] profile version: 2.0

OpenGL vendor string: VMware, Inc.

OpenGL renderer string: SVGA3D; build: RELEASE;  LLVM;

OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.1.8 – kisak-mesa PPA

OpenGL core profile shading language version string: 3.30

OpenGL core profile context flags: (none)

OpenGL core profile profile mask: core profile

 

 

OpenGL version string: 3.3 (Compatibility Profile) Mesa 20.1.8 – kisak-mesa PPA

OpenGL shading language version string: 3.30

OpenGL context flags: (none)

OpenGL profile mask: compatibility profile

 

 

OpenGL ES profile version string: OpenGL ES 2.0 Mesa 20.1.8 – kisak-mesa PPA

OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16

Can you please let me know how may I get OpenGL 4.1 support?

 

PS: I’ve also tried this guide https://docs.mesa3d.org/vmware-guest.html to build vmwgfx, but it seems outdated.
The error message is:

meson.build:269:2: ERROR: Problem encountered: swrast vulkan requires gallium swrast

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.