X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=docs%2Fvmware-guest.html;h=b495bc255cece3f5feac187ccef329b338932043;hb=59f57289959702e528b68bdd0d06488089517a00;hp=abb904c4378893feaa764f8036fb456117b6e836;hpb=fd64b397277c66e4cbb83222454d33b890648471;p=mesa.git diff --git a/docs/vmware-guest.html b/docs/vmware-guest.html index abb904c4378..b495bc255ce 100644 --- a/docs/vmware-guest.html +++ b/docs/vmware-guest.html @@ -7,11 +7,18 @@ +
+

The Mesa 3D Graphics Library

+
+ + +
+

VMware guest GL driver

This page describes how to build, install and use the -VMware guest GL driver +VMware guest GL driver (aka the SVGA or SVGA3D driver) for Linux using the latest source code. This driver gives a Linux virtual machine access to the host's GPU for hardware-accelerated 3D. @@ -20,17 +27,44 @@ MacOS are all supported.

-End users shouldn't have to go through all these steps once the driver is -included in newer Linux distributions. +With the August 2015 Workstation 12 / Fusion 8 releases, OpenGL 3.3 +is supported in the guest. +This requires: +

+

+ +

+Otherwise, OpenGL 2.1 is supported. +

+ +

+OpenGL 3.3 support can be disabled by setting the environment variable +SVGA_VGPU10=0. +You will then have OpenGL 2.1 support. +This may be useful to work around application bugs (such as incorrect use +of the OpenGL 3.x core profile). +

+ +

+Most modern Linux distros include the SVGA3D driver so end users shouldn't +be concerned with this information. +But if your distro lacks the driver or you want to update to the latest code +these instructions explain what to do.

For more information about the X components see these wiki pages at x.org:

@@ -45,6 +79,13 @@ The components involved in this include:
  • Mesa/gallium OpenGL driver: "svga" +

    +All of these components reside in the guest Linux virtual machine. +On the host, all you're doing is running VMware +Workstation or +Fusion. +

    +

    Prerequisites

    @@ -91,8 +132,9 @@ Begin by saving your current directory location:
       git clone git://anongit.freedesktop.org/git/mesa/vmwgfx
       
    - -
  • libdrm, A user-space library that interfaces with drm. Most distros ship with this driver. Safest bet is really to replace the system one. Optionally you can point LIBDRM_CFLAGS and LIBDRM_LIBS to the libdrm-2.4.22 package in toolchain. But here, we replace: +
  • libdrm, a user-space library that interfaces with drm. +Most distros ship with this but it's safest to install a newer version. +To get the latest code from git:
       git clone git://anongit.freedesktop.org/git/mesa/drm
       
    @@ -106,10 +148,33 @@ Begin by saving your current directory location:

    Building the Code

    @@ -194,5 +286,16 @@ If you don't see this, try setting this environment variable: then rerun glxinfo and examine the output for error messages.

    +

    +If OpenGL 3.3 is not working (you only get OpenGL 2.1): +

    +