Advertisement

Quick Links

GPUMODESWITCH
DU-07764-001 | September 2015
User Guide

Advertisement

Table of Contents
loading

Summary of Contents for Nvidia DU-07764-001

  • Page 1 GPUMODESWITCH DU-07764-001 | September 2015 User Guide...
  • Page 2 DOCUMENT CHANGE HISTORY DU-07764-001 Version Date Authors Description of Change 8/30/2015 Initial release gpumodeswitch DU-07764-001 | ii...
  • Page 3: Table Of Contents

    Switching GPU modes ................ 6 Linux bootable images ................9 2.4.1 Booting directly from ISO ..............10 2.4.2 Booting from a USB flash key .............. 10 Troubleshooting ..................12 2.5.1 Unloading an existing NVIDIA driver ............12 gpumodeswitch DU-07764-001 | iii...
  • Page 4: List Of Figures

    Figure 1 Connecting gpumodeswitch.iso via server remote management ....10 Figure 2 Launching an administrator command prompt ........11 LIST OF TABLES Table 1 Compute mode settings ..............1 Table 2 Graphics mode settings ..............2 gpumodeswitch DU-07764-001 | iv...
  • Page 5: Chapter 1. Introduction

    Chapter 1. INTRODUCTION gpumodeswitch is a command-line tool that is used to switch supported NVIDIA GPUs between compute and graphics mode. This chapter describes these modes and when to use them. Chapter 2 describes how to use gpumodeswitch. COMPUTE AND GRAPHICS MODE...
  • Page 6: When To Use Graphics Mode

    Introduction  Some hypervisors cannot support passthrough of GPUs with large memory BARs to guest virtual machines. To address these problems, certain NVIDIA Tesla GPUs support setting the GPU into graphics mode: Setting Value Notes Classcode VGA Controller This classcode indicates to OS that the GPU can function as a primary display device.
  • Page 7: Supported Products

    Introduction SUPPORTED PRODUCTS At the time of writing, gpumodeswitch is supported on the following products:  Tesla M60  Tesla M6 gpumodeswitch DU-07764-001...
  • Page 8: Chapter 2. Using Gpumodeswitch

    WHAT’S IN THE PACKAGE File Description Windows executable gpumodeswitch.exe Windows 64-bit driver module nvflsh64.sys Linux executable, also usable on XenServer dom0 gpumodeswitch Bootable Linux ISO image gpumodeswitch.iso Bootable Linux image for use with USB storage (e.g. a flash key) gpumodeswitch.zip gpumodeswitch DU-07764-001...
  • Page 9: Running Gpumodeswitch

    --listgpumodes To list the current mode of all GPUs in the system, use # gpumodeswitch --listgpumodes NVIDIA GPU Mode Switch Utility Version 1.02 Copyright (C) 2015, NVIDIA Corporation. All Rights Reserved. PLX (8747h) (10B5,8747,10B5,8747) H:--:NRM S:00,B:81,PCI,D:00,F:00 Adapter: PLX (8747h) (10B5,8747,10B5,8747) H:--:NRM S:00,B:81,PCI,D:00,F:00 Identifying EEPROM...
  • Page 10: Switching Gpu Modes

    # gpumodeswitch --gpumode graphics NVIDIA GPU Mode Switch Utility Version 1.02 Copyright (C) 2015, NVIDIA Corporation. All Rights Reserved. Update GPU Mode of all adapters to "graphics"? Press 'y' to confirm or 'n' to choose adapters or any other key to abort: Updating GPU Mode of all eligible adapters to "graphics"...
  • Page 11 NOTE: Preserving straps from original image. Clearing original firmware image... Storing updated firmware image....Verifying update... Update successful. Firmware image has been updated from version 84.04.7C.00.00 to 84.04.7C.00.00. A reboot is required for the update to take effect. gpumodeswitch DU-07764-001...
  • Page 12 # gpumodeswitch --gpumode graphics NVIDIA GPU Mode Switch Utility Version 1.02 Copyright (C) 2015, NVIDIA Corporation. All Rights Reserved. Update GPU Mode of all adapters to "graphics"? Press 'y' to confirm or 'n' to choose adapters or any other key to abort: Select display adapter: <0>...
  • Page 13: Linux Bootable Images

    LINUX BOOTABLE IMAGES gpumodeswitch If your server platform is not running one of the supported environments, use one the Linux bootable images included in the release to boot your gpumodeswitch server to a minimal Linux environment that includes gpumodeswitch DU-07764-001...
  • Page 14: Booting Directly From Iso

    Connect a USB flash key of at least 64 megabytes in size.  In Windows Explorer, right-click on the USB drive and select Format to format it. Note the driver letter that is assigned to the USB drive (for example, gpumodeswitch DU-07764-001 | 10...
  • Page 15: Figure 2 Launching An Administrator Command Prompt

    Close the command prompt’s window, eject / unplug the USB drive. Boot the server from the USB drive. The image boots to a Linux shell prompt from which gpumodeswitch can be run directly. Refer to section 2.3 for instructions on running gpumodeswitch from the shell. gpumodeswitch DU-07764-001 | 11...
  • Page 16: Troubleshooting

    [root@xenserver ~]# 2.5.1.1 Linux On Linux, halt any services using the GPU, then use rmmod to unload the NVIDIA driver: [root@linux ~]# rmmod nvidia 2.5.1.2 XenServer On XenServer, you must halt any VMs that are using the GPU, and XenServer’s...
  • Page 17 OpenCL is a trademark of Apple Inc. used under license to the Khronos Group Inc. Trademarks NVIDIA and the NVIDIA logo are trademarks or registered trademarks of NVIDIA Corporation in the U.S. and other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

Table of Contents