Introduction
gpumodeswitch
DU-07764-001
| 2
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.
Memory BAR
256 megabytes
The GPUs a smaller memory BAR for direct access to the framebuffer.
I/O base BAR
Enabled
The GPU exposes an I/O BAR to claim the resources require to operate as
a VGA controller.
ECC protection
Disabled
ECC protection is disabled by default, though it can still be enabled by
use of the
nvidia-smi
management tool
Table 2 Graphics mode settings
The mode of the GPU is established directly at power-on, from settings stored in the
GPU’s non-volatile memory.
gpumodeswitch
is used to program the mode of the GPU
by updating the GPU’s non-volatile memory settings.
1.2
WHEN TO USE GRAPHICS MODE
We recommend that graphics mode be used whenever supported Tesla products are
used in the following scenarios:
GPU passthrough with hypervisors that do not support large BARs. At the time of
publication, this includes Citrix XenServer 6.2, 6.5, VMware ESXi 5.1, 5.5, 6.0, Red Hat
Enterprise Linux 7.0, 7.1.
GPU passthrough to Windows VMs on Xen and KVM hypervisors.
GRID Virtual GPU deployments.
VMware vSGA deployments.
Note:
consult individual NVIDIA product release notes for the latest information on
compatibility with compute and graphics modes.