Using gpumodeswitch
gpumodeswitch
DU-07764-001
| 12
2.5
TROUBLESHOOTING
2.5.1
Unloading an existing NVIDIA driver
If
gpumodeswitch
is run in non-Windows environment where an existing NVIDIA
driver is already loaded on the GPU, an error is reported:
[root@xenserver ~]# ./gpumodeswitch --listgpumodes
NVIDIA GPU Mode Switch Utility Version 1.02
Copyright (C) 2015, NVIDIA Corporation. All Rights Reserved.
...
ERROR: In order to avoid the irreparable damage to your graphics
adapter it is necessary to unload the NVIDIA kernel driver first:
rmmod nvidia
[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
gpumon
service before you can run
gpumodeswitch
.
To halt
gpumon
, use ‘
service xcp-rrdd-gpumon stop
’:
[root@xenserver ~]# service xcp-rrdd-gpumon stop
Stopping XCP RRDD plugin xcp-rrdd-gpumon: [ OK ]
Then use ‘
rmmod’
to unload the NVIDIA kernel driver:
[root@xenserver ~]# rmmod nvidia