Command to check if GPU's are enabled on NVIDIA Jetson TX2

Hi,

./ sudo jetson_clocks.sh ./tegrastats
$sudo nvpmodel -p --verbose

These are the commands that can be used to check the status of the CPU cores that are enabled.
Is there any command to check the GPU’s that are currently active/enabled ?

Kindly help.

Thanks

Hi Pratosha,

By using tegrastats, you can check GR3D which is the GPU engine, ex:
RAM 827/7854MB (lfb 1593*4MB) cpu [4%@346, 0%@358, 0%@353, 0%@348, 3%@347, 1%@348] EMC 5%@665 APE 150 VDE 1203 GR3D 0%@140

Please get the details from driver package document - > TegraStats Utility section.

Thanks

1 Like

I don’t think the GPU can be turned off.
You can see its usage with tegrastats (using sudo is important) labeled GR3D:

sudo ./tegrastats 
[sudo] password for ubuntu: 
RAM 1614/7851MB (lfb 1276x4MB) cpu [0%@1562,0%@345,0%@345,0%@1489,0%@1483,0%@1490] EMC 1%@1866 APE 150 <b>GR3D 8%@114</b>

Hi Honey_Patouceul

head -1 /etc/nv_tegra_release

commands show

R28 (release), REVISION: 1.0, GCID: 9379712, BOARD: t186ref, EABI: aarch64, DATE: Thu Jul 20 07:59:31 UTC 2017

but sudo ./tegrastats show
RAM 853/7852MB (lfb 1611x4MB) cpu [1%@2004,0%@2034,0%@2034,1%@2019,3%@2024,3%@2025] EMC 5%@1866 APE 150 GR3D 3%@1300
Why does VDE not enable ?

I suppose that when VDE is not used, it is not reported.
What if you launch this gstreamer pipeline in another shell?

gst-launch-1.0 nvcamerasrc ! 'video/x-raw(memory:NVMM), width=640, height=480' ! omxh265enc control-rate=2 bitrate=4000000 ! fakesink

I cannot check on R28.1, but with R28.2-DP, running this leads to display MSENC value.

Hi,

R28 (release), REVISION: 1.0, GCID: 9379712, BOARD: t186ref, EABI: aarch64, DATE: Thu Jul 20 07:59:31 UTC 2017

RAM 1943/7851MB (lfb 529x4MB) cpu [46%@2035,18%@345,7%@345,31%@2035,27%@2035,33%@2035]

Have someone to tell me how to show GR3D?

Thanks,
Stephen

You need to run tegrastats with sudo to get all the infos.

sudo /home/nvidia/tegrastats
1 Like

Thank you !!!
Honey_Patouceul

Have a nice day
Stephen