Headless mode can't use GPU

I followed the steps to operate in headless mode, but I’m experiencing an issue where the GPU doesn’t seem to be functioning properly—it consistently shows as 0. Could you please advise on how to resolve this?What is the best way to control the jetson Orin GUI remotely? - #5 by KevinFFF

Hi 1326094746,

Are you using the devkit or custom board for Orin NX?
What’s your Jetpack version in use?

Could you share how do you check this?

I’m using the NVIDIA Orin NX Developer Kit with Jetpack 5.1 [L4T 35.2.1], as shown in the image below. I’ve been monitoring GPU usage using jtop and the Jetson Power GUI, but it consistently shows 0%, as depicted in the screenshot.

Can you also verify with the latest JP5.1.3(R35.5.0) for the dekvit?

Do you run any application needing the GPU?
If not, 0% may be the expected result for less power consumption.

Thank you very much for your help; the GPU is running well. I have another question to ask you: is there a way to prioritize performance over power consumption? Currently, applications like ROS and RViz cannot utilize the GPU. Is there a method to fully leverage the GPU to enhance the performance of the Jetson NX without worrying about power consumption?

You can run sudo jetson_clocks to run CPU/GPU at the maximum frequency.

I tried the method you suggested, and indeed, the GPU frequency has increased. However, when I open rviz, the GPU usage remains at 0%. Does the GPU only get utilized when explicitly called upon, especially when using a virtual display? Is there a way to leverage GPU for performance improvement when using ROS、rviz and gazebo?

Sorry that I’m not clear about your application.
Have you tried to run yolo example from deepstream?

I mainly operate on drones. When I connect to a real monitor, GPU accelerates rendering for applications like rviz and gazebo. However, since drones can’t have physical monitors, I’ve set up a virtual display. With the virtual display, rviz and gazebo run on the CPU, which is nearly maxed out, while the GPU usage remains at 0.So I want to know if there’s a way to accelerate rendering for visualization tools like rviz using the GPU when using a virtual display.

Could you try if the following command help for your case?

$ sudo apt-get install virtualgl
$ vglrun rviz

hello, is this available for jetpack 6? im having an issue to where i need to see the rviz display on my laptop while running ros on the jetson

It should be the similar steps for headless mode in Jetpack 6.