
Using gpumodeswitch
gpumodeswitch DU-07764-001 | 5
2.3 RUNNING GPUMODESWITCH
gpumodeswitch supports two operations: listing the current mode of GPUs in the
platform, and changing the mode of individual or all GPUs.
When running on Linux, gpumodeswitch requires root permissions.
When running on Windows, gpumodeswitch requires administrator permissions (see
Figure 2 on page 11), and the nvflsh64.sys driver should be in the same directory as
the gpumodeswitch executable.
2.3.1 Listing current GPU modes
To list the current mode of all GPUs in the system, use --listgpumodes:
# 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...
EEPROM ID (47,8747) : uChip 25AA320A 1.8-5.5V 4Kx8S, page
GPU Mode: N/A
Tesla M60 (10DE,13F2,10DE,113A) H:82:SP8 S:00,B:83,PCI,D:00,F:00
Adapter: Tesla M60 (10DE,13F2,10DE,113A) H:82:SP8 S:00,B:83,PCI,D:00,F:00
Identifying EEPROM...
EEPROM ID (EF,3013) : WBond W25X40A 2.7-3.6V 4096Kx1S, page
GPU Mode: Graphics
Tesla M60 (10DE,13F2,10DE,113A) H:82:SP16 S:00,B:84,PCI,D:00,F:00
Adapter: Tesla M60 (10DE,13F2,10DE,113A) H:82:SP16 S:00,B:84,PCI,D:00,F:00
Identifying EEPROM...
EEPROM ID (EF,3013) : WBond W25X40A 2.7-3.6V 4096Kx1S, page
GPU Mode: Compute
#
2.3.1.1 Log file output
The --listgpumode command also writes GPU mode information to a log file named
listgpumodes.txt. By default gpumodeswitch creates the log file in the current