Nvidia Clara AGX User Manual page 14

Hide thumbs Also See for Clara AGX:
Table of Contents

Advertisement

$ nvgpuswitch.py query
iGPU (nvidia-l4t-cuda, 32.5.0-20201012161040)
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:
{iGPU,dGPU}
optional arguments:
-h, --help
-f, --force
-d, --dry
executed but not actually executing them
-i, --interactive
command)
-v, --verbose
the commands that would be run)
-l LOG, --log LOG
-r [L4T_REPO], --l4t-repo [L4T_REPO]
mirror; default is repo.download.nvidia.com/jetson)
4. The dGPU driver install may be verified using the query command:
$ nvgpuswitch.py query
dGPU (cuda-drivers, 510.73.08-1)
Quadro RTX 6000, 24576 MiB
5. After the dGPU drivers have been installed, rebooting the system will complete the switch to the
dGPU. At this point the Ubuntu desktop will be output via DisplayPort on the dGPU, so the display
cable must be switched from the onboard HDMI (port 10) to DisplayPort (port 4) on the dGPU.
Note: If the output connection isn't switched before the Clara AGX Developer Kit finishes
rebooting, the terminal screen will hang during booting.
6. Modify the PATH and LD_LIBRARY_PATH . CUDA installs its runtime binaries such as nvcc into
its own versioned path, which is not included by the default $PATH environment variable.
Because of this, attempts to run commands like nvcc will fail on dGPU unless the CUDA 11.6
path is added to the $PATH variable. To add the CUDA 11.6 path for the current user, add the
following lines to $HOME/.bashrc after the switch to dGPU:
export PATH=/usr/local/cuda-11.6/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-11.6/lib64:$LD_LIBRARY_PATH
Clara AGX Developer Kit User Guide
install iGPU or dGPU driver stack
show this help message and exit
force reinstallation of the specified driver stack
do a dry run, showing the commands that would be
run commands interactively (asks before running each
enable verbose output (used with --dry to describe
writes a log of the install to the specified file
specify the L4T apt repo (i.e. when using an apt
Version 1.9 | 11

Advertisement

Table of Contents
loading

Table of Contents