GPU Status
GPU Status
This page documents the CUDA GPU validation performed on NVIDIA Jetson AGX Xavier and Jetson Xavier NX. It uses the CUDA bandwidthTest sample and tegrastats to verify GPU operation and report usage.
Check CUDA installation
1. Check if CUDA is installed on the board:
ls /usr/local/cuda/
2. If not, execute the following command:
sudo apt install cuda-toolkit*
3. Add the following lines to the ~/.bashrc file:
export PATH=/usr/local/cuda-11.4/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda-11.4/lib64:$LD_LIBRARY_PATH
4. Apply the changes:
source ~/.bashrc
5. Check CUDA version with nvcc
nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Sun_Oct_23_22:16:07_PDT_2022 Cuda compilation tools, release 11.4, V11.4.315 Build cuda_11.4.r11.4/compiler.31964100_0
Execute a CUDA sample
For this sample, the /usr/local/cuda/samples/1_Utilities/bandwidthTest is executed.
1. Move to the /usr/local/cuda/samples/1_Utilities/bandwidthTest directory
cd /usr/local/cuda/samples/1_Utilities/bandwidthTest
2. Build the sample:
sudo make
3. Execute the sample:
sudo ./bandwidthTest
4. Check the expected outputs:
4.1. AGX Xavier board output:
sudo ./bandwidthTest [CUDA Bandwidth Test] - Starting... Running on... Device 0: Xavier Quick Mode Host to Device Bandwidth, 1 Device(s) PINNED Memory Transfers Transfer Size (Bytes) Bandwidth(GB/s) 32000000 3.2 Device to Host Bandwidth, 1 Device(s) PINNED Memory Transfers Transfer Size (Bytes) Bandwidth(GB/s) 32000000 3.2 Device to Device Bandwidth, 1 Device(s) PINNED Memory Transfers Transfer Size (Bytes) Bandwidth(GB/s) 32000000 51.0 Result = PASS NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled. nvidia@ubuntu:/usr/local/cuda/samples/1_Utilities/bandwidthTest$ date mié 3 jun 10:24:21 CST 2026
4.2. Xavier NX board output:
sudo ./bandwidthTest [CUDA Bandwidth Test] - Starting... Running on... Device 0: Xavier Quick Mode Host to Device Bandwidth, 1 Device(s) PINNED Memory Transfers Transfer Size (Bytes) Bandwidth(GB/s) 32000000 15.6 Device to Host Bandwidth, 1 Device(s) PINNED Memory Transfers Transfer Size (Bytes) Bandwidth(GB/s) 32000000 27.1 Device to Device Bandwidth, 1 Device(s) PINNED Memory Transfers Transfer Size (Bytes) Bandwidth(GB/s) 32000000 53.9 Result = PASS NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.
For the tegrastats output, run the following command:
sudo tegrastats --readall
Expected output:
AGX Xavier example:
06-03-2026 10:24:22 RAM 1002/15080MB (lfb 3325x4MB) SWAP 0/7540MB (cached 0MB) CPU [0%@1190,0%@1190,0%@1190,0%@1268,3%@1190,0%@1190,13%@1191,0%@1190] EMC_FREQ 5%@204 GR3D_FREQ 99%@[114] VIC_FREQ 1036 APE 150 AUX@33C CPU@34C thermal@33.6C Tboard@35C AO@33.5C GPU@34C Tdiode@37C GPU 309mW/257mW CPU 928mW/619mW SOC 1238mW/877mW CV 0mW/0mW VDDRQ 154mW/154mW SYS5V 1211mW/1116mW
Xavier NX example:
07-31-2026 18:07:58 RAM 1086/7027MB (lfb 1058x4MB) SWAP 0/3514MB (cached 0MB) CPU [8%@1189,0%@1190,0%@1190,0%@1189,48%@1191,3%@1192] EMC_FREQ 1%@1600 GR3D_FREQ 99%@[408] VIC_FREQ 601 APE 150 AUX@42.5C CPU@43.5C thermal@43C AO@41C GPU@42.5C VDD_IN 4266mW/4090mW VDD_CPU_GPU_CV 943mW/820mW VDD_SOC 1351mW/1427mW