Argus logs for remote deivce

Hi,
I’m testing Jetson Orin with custom board. It’s a remote device and I don’t have physical access to it.
I’m testing image captures at low light conditions and would like to capture the nvargus-daemon exhaustive logs to fetch the sensor controls such as lux level, exposure, gain, etc with the below commands.
sudo su
# pkill nvargus-daemon
# export enableCamPclLogs=5
# nvargus-daemon 2>&1 | tee argus-output.log
But with this command running in the background, the image capture or streaming with nvarguscamerasrc fails immediately and I’m unable to capture any logs.
Is there a better way to capture nvargus-daemon exhaustive logs over ssh?
Thanks.

Hi,

For the camera basic functionality first needs to check the device and driver configuration.
You can reference to below program guide for the detailed information of device tree and driver implementation.
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/SD/CameraDevelopment/SensorSoftwareDriverProgramming.html?highlight=programing#sensor-software-driver-programming

Please refer to Applications Using V4L2 IOCTL Directly by using V4L2 IOCTL to verify basic camera functionality.
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/SD/CameraDevelopment/SensorSoftwareDriverProgramming.html?highlight=programing#to-run-a-v4l2-ctl-test

Once confirm the configure and still failed below link help to get log and some information and some tips for debug.
https://elinux.org/Jetson/l4t/Camera_BringUp#Steps_to_enable_more_debug_messages

Thanks!

What’s the BSP version?

cat /etc/nv_tegra_release

Hi @userc1274

I think you can test two ways to do it.

  1. On one terminal run:
sudo service nvargus-daemon stop
sudo nvargus-daemon 2>&1 | tee argus-output.log

Open other terminal and run the pipe here.

  1. By using journalctl. On the background run a command like this
journalctl -u nvargus-daemon -f | tee argus-output.log

While your pipe is running this would be capturing the logs from the service.

Please tell me if any of it works for you. We will be glad to help you

Regards,

Oscar Fallas
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: https://www.ridgerun.com/

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.