From 27915708ed4519cc5606e81fb789e8427501f355 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 13 Jan 2012 10:54:22 -0700 Subject: docs: new page describing how to build, install VMware SVGA3D guest driver --- docs/contents.html | 1 + docs/vmware-guest.html | 185 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 186 insertions(+) create mode 100644 docs/vmware-guest.html diff --git a/docs/contents.html b/docs/contents.html index e3cea2a7ce3..33c2191ee00 100644 --- a/docs/contents.html +++ b/docs/contents.html @@ -63,6 +63,7 @@ a:visited {
  • Mesa Extensions
  • Function Name Mangling
  • Gallium llvmpipe driver +
  • VMware SVGA3D guest driver
  • Gallium post-processing
  • Viewperf Issues diff --git a/docs/vmware-guest.html b/docs/vmware-guest.html new file mode 100644 index 00000000000..9295644c14f --- /dev/null +++ b/docs/vmware-guest.html @@ -0,0 +1,185 @@ + + +VMware guest GL driver + + + + + + +

    VMware guest GL driver

    + +

    +This page describes how to build, install and use the 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. +VMware Workstation running on Linux or Windows and VMware Fusion running on +MacOS are all supported. +

    + +

    +End users shouldn't have to go through all these steps once the driver is +included in newer Linux distributions. +

    + + + +

    Components

    + +The components involved in this include: + + + +

    Prerequisites

    + + + +

    +Depending on your Linux distro, other packages may be needed. +The configure scripts should tell you what's missing. +

    + + + +

    Getting the Latest Source Code

    + +Begin by saving your current directory location: +
    +  export TOP=$PWD
    +  
    + + + + +

    Building the Code

    + + + + +Now try to load the kernel module by issuing +
    +  sudo modprobe vmwgfx
    +Then type +
    +  dmesg
    +to watch the debug output. It should contain a number of lines prefixed with "[vmwgfx]". + +

    +Then restart the Xserver (or reboot). +The lines starting with "vmwlegacy" or "VMWARE" in the file /var/log/Xorg.0.log +should now have been replaced with lines starting with "vmwgfx", indicating that +the new Xorg driver is in use. +

    + + +

    Running OpenGL Programs

    + +

    +In a shell, run 'glxinfo' and look for the following to verify that the +driver is working: +

    + +
    +OpenGL vendor string: VMware, Inc.
    +OpenGL renderer string: Gallium 0.4 on SVGA3D; build: RELEASE;
    +OpenGL version string: 2.1 Mesa 8.0
    +
    + +If you don't see this, try setting this environment variable: +
    +  export LIBGL_DEBUG=verbose
    +then rerun glxinfo and examine the output for error messages. +

    + + + + + -- cgit v1.2.3