
Clara AGX Developer Kit User Guide
Switching between iGPU and dGPU
The Clara AGX Developer Kit can use either the Xavier AGX module GPU (iGPU, integrated
GPU) or the RTX6000 add-in card GPU (dGPU, discrete GPU). You can only use one type of
GPU at a time.
By default, the Clara AGX Developer Kit uses the iGPU. Switching between the iGPU and dGPU
is performed using the nvgpuswitch.py script, located at the /opt/nvidia/l4t-gputools/bin/
directory. To make the nvgpuswitch.py script accessible globally, copy it to a directory
included in $PATH if it hasn’t been already:
$ sudo cp /opt/nvidia/l4t-gputools/bin/nvgpuswitch.py /usr/local/bin/
To switch from the iGPU to the dGPU, follow these steps:
1.
Connect the Clara AGX Developer Kit to the Internet using one of the following methods:
a.
An Ethernet cable connected to a router or Wi-Fi extender
i.
Use the 1GbE connector to the Xavier module at port 7
b.
A USB Wi-Fi receiver
i.
Not all USB Wi-Fi receivers will work out of the box on the Clara AGX
Developer Kit.
ii.
The USB Wi-Fi receiver should have support for Ubuntu 20.04
iii.
The TP-Link Archer T2U Nano USB Wi-Fi Adapter which has previously
been working with the Ubuntu 18.04 based Holoscan SDK versions will
no longer work with the Ubuntu 20.04 based Holoscan SDK v0.2.
2.
To view the currently installed drivers and their version, use the
query
command:
$ nvgpuswitch.py query
iGPU (nvidia-l4t-cuda, 34.1.2-20220613164700)
3.
To install the dGPU drivers, use the
install
command with the
dGPU
parameter (note that
sudo
must be used to install drivers):
$ sudo nvgpuswitch.py install dGPU
The
install
command prints out the list of commands that will be executed as part of
the driver install, and then continues to execute those commands. This aids with
debugging if any of the commands fail to execute.
The following arguments may also be provided with the
install
command:
$ nvgpuswitch.py install -h
usage: nvgpuswitch.py install [-h] [-f] [-d] [-i] [-v] [-l LOG] [-r
[L4T_REPO]] {iGPU,dGPU}
positional arguments: