Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance seems seems bad #28

Open
nakai-omer opened this issue Jul 19, 2023 · 3 comments
Open

Performance seems seems bad #28

nakai-omer opened this issue Jul 19, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@nakai-omer
Copy link

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.

@ikhann
Copy link

ikhann commented Jul 20, 2023

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

@nakai-omer
Copy link
Author

@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.

@swapnesh-wani-nvidia swapnesh-wani-nvidia self-assigned this Jul 24, 2023
@swapnesh-wani-nvidia swapnesh-wani-nvidia added the bug Something isn't working label Jul 24, 2023
@swapnesh-wani-nvidia
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants