isaac_ros_argus_camera icon indicating copy to clipboard operation
isaac_ros_argus_camera copied to clipboard

Performance seems seems bad

Open nakai-omer opened this issue 1 year ago • 3 comments

Hello,

Running this on a Jetson Xavier NX with a Raspberry Pi IMX277. Video is very laggy, barely moving, I couldn't even use it to run camera calibration. While running, CPU usage raises by ~20%. This is the only node running. JTOP Baseline (before running): Screenshot from 2023-07-19 12-36-18

JTOP during run: Screenshot from 2023-07-19 12-38-25

Image is also pixilated: Screenshot from 2023-07-19 12-20-01

BTW, running video source from the Jetson-Inference packages yields better image results, though it flips the image over: Screenshot from 2023-07-19 12-43-58

A USB camera with no gpu-optimized driver is working much smoother.

nakai-omer avatar Jul 19 '23 13:07 nakai-omer

Hi, After reviewing your jtop, it appears that there is room to optimize the performance of your Jetson:

  1. Run the following command to set the GPU and CPU clock to max. See Maximizing Jetson Orin Performance for more details:

    sudo /usr/bin/jetson_clocks
    

Note: Every time you reboot the board, it will be get back to the normal value.

  1. Run the following command to set the to power to MAX settings. See Power Mode Controls for more details:

    sudo /usr/sbin/nvpmodel -m 0
    

ikhann avatar Jul 20 '23 13:07 ikhann

@ikhann Thanks for the quick response. I will try changing the clocks. Power mode is already at the max. Nevertheless, using a basler USB3 camera, with their non gpu-optimized driver, gives much better performance, than a MIPI-CSI2 camera using this lib.

nakai-omer avatar Jul 20 '23 22:07 nakai-omer

We are aware of the performance issues with IMX 219 and 277. Will update this once it is resolved.

swapnesh-wani-nvidia avatar Jul 24 '23 22:07 swapnesh-wani-nvidia