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...
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.
Introduction SUPPORTED PRODUCTS At the time of writing, gpumodeswitch is supported on the following products: Tesla M60 Tesla M6 gpumodeswitch DU-07764-001...
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...
--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...
# 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>...
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...
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...
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...
[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.